:root {
  --cream: #f3eee6;
  --paper: #faf6f0;
  --card: #fffdf9;
  --navy: #16325c;
  --navy-deep: #10243f;
  --muted: #526277;
  --line: #e4dacb;
  --header: 84px;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: #d7e3f2;
  color: var(--navy-deep);
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.kicker {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}

h1,
h2,
.serif {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

h1 {
  margin: 0;
  font-size: clamp(3.3rem, 7vw, 6.15rem);
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

p {
  margin: 0;
}

.lede {
  max-width: 38rem;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.15rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  background: var(--navy);
  color: #f7f3ec;
  font-weight: 560;
}

.btn:hover {
  background: var(--navy-deep);
}

.apply-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.apply-modal[hidden] {
  display: none;
}

.apply-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 36, 63, 0.46);
}

.apply-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(400px, calc(100% - 8px));
  max-width: 100%;
  height: min(860px, calc(100dvh - 48px));
  background: transparent;
}

.apply-modal-close {
  position: absolute;
  top: 14px;
  right: 36px;
  z-index: 2;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #f7f3ec;
  font-size: 1.25rem;
  line-height: 32px;
  cursor: pointer;
}

.apply-modal iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

body.apply-open {
  overflow: hidden;
  width: 100%;
}

.btn-line {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--navy);
}

.btn-line:hover {
  background: var(--navy);
  color: #f7f3ec;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header);
  background: rgba(243, 238, 230, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
}

.header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-row {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  margin-right: auto;
}

.brand img,
.footer-logo {
  width: auto;
  background: none;
  border: 0;
}

.brand img {
  height: 62px;
}

.footer-logo {
  height: 76px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  font-size: 0.98rem;
}

.nav a.is-current {
  box-shadow: inset 0 -1.5px 0 var(--navy);
}

.nav-apply {
  display: none;
}

.menu {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
}

.menu span {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 36px;
  align-items: end;
  padding: 42px 0 28px;
}

.hero-copy .btn {
  margin-top: 28px;
}

.fine {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-photos {
  position: relative;
  min-height: 620px;
}

.shot {
  object-fit: cover;
  border-radius: 28px;
}

.shot-main {
  width: min(100%, 430px);
  height: 560px;
  margin-left: auto;
}

.shot-side {
  position: absolute;
  left: 0;
  bottom: 18px;
  width: min(250px, 46%);
  height: 320px;
  border: 8px solid var(--cream);
  border-radius: 24px;
}

.section {
  padding: 72px 0;
}

.card-grid,
.role-grid,
.story-grid,
.link-grid {
  display: grid;
  gap: 16px;
}

.card-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 8px;
}

.card,
.role,
.story,
.faq,
.panel,
.link-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.card {
  padding: 24px 22px 26px;
}

.card h2,
.role h2,
.story h2,
.panel h2,
.link-card h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.card p,
.role p,
.story p,
.panel p,
.link-card p,
.faq p {
  margin-top: 10px;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.step-list {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.step b {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 1;
}

.step h2 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}

.step p {
  margin-top: 4px;
  color: var(--muted);
}

.page-hero {
  padding: 54px 0 10px;
}

.page-hero h1 {
  max-width: 14ch;
  font-size: clamp(3rem, 6vw, 5.2rem);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
  padding-bottom: 40px;
}

.split img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 28px;
}

.split .btn {
  margin-top: 26px;
}

.point-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.role-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 28px;
}

.role img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 24px 24px 0 0;
}

.role div {
  padding: 22px 22px 26px;
}

.role ul {
  margin: 14px 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.role li + li {
  margin-top: 6px;
}

.role .btn {
  margin-top: 18px;
}

.story-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 28px;
}

.story {
  padding: 18px;
}

.story img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 50%;
}

.story blockquote {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.story h2 {
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.story span {
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-top: 28px;
}

.faq {
  padding: 0;
}

.faq summary {
  position: relative;
  padding: 20px 52px 20px 22px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 560;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 16px;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
}

.faq[open] summary::after {
  content: "–";
}

.faq p {
  margin: 0;
  padding: 0 22px 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin-top: 28px;
}

.panel {
  padding: 28px;
}

.panel + .panel {
  margin-top: 0;
}

.panel a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.panel .btn {
  margin-top: 20px;
  color: #f7f3ec;
  text-decoration: none;
}

.link-grid {
  grid-template-columns: 1.3fr 0.7fr;
  align-items: stretch;
}

.link-card {
  overflow: hidden;
  min-height: 280px;
}

.link-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.link-card div {
  padding: 22px;
}

.link-card span {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
}

.footer {
  margin-top: 20px;
  padding: 42px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 28px;
}

.footer h2 {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer p,
.footer a {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.footer-visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
}

.footer-visit h2 {
  grid-column: 1 / -1;
}

.footer-copy {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .card-grid,
  .point-grid,
  .role-grid,
  .story-grid,
  .steps,
  .split,
  .contact-grid,
  .link-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .hero-photos {
    min-height: 0;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 12px;
  }

  .shot-main,
  .shot-side {
    position: static;
    width: 100%;
    height: 420px;
    margin: 0;
    border: 0;
  }

  .split img,
  .role img {
    height: 380px;
  }
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .wrap {
    width: min(1160px, calc(100% - 28px));
  }

  .header-row {
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    max-width: calc(100vw - 210px);
  }

  .menu {
    display: block;
    order: 3;
    flex: 0 0 auto;
  }

  .header-row > .btn {
    order: 2;
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0.4rem 0.95rem;
    font-size: 0.92rem;
  }

  .header {
    overflow: visible;
  }

  .nav {
    display: flex;
    position: absolute;
    z-index: 30;
    top: 100%;
    right: 0;
    left: 0;
    height: calc(100dvh - var(--header));
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: 0;
    padding: 18px 22px 28px;
    overflow: auto;
    background: var(--cream);
    border-bottom: 0;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s ease, visibility 0s linear 0.32s;
  }

  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.32s ease, visibility 0s;
  }

  .nav a {
    width: 100%;
    padding: 10px 0;
  }

  .nav a.is-current {
    box-shadow: none;
    font-weight: 600;
  }

  .nav-apply {
    display: none;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-photos {
    display: block;
    min-height: 0;
  }

  .shot-side {
    display: none;
  }

  .shot-main {
    width: 100%;
    height: 230px;
    margin: 0;
    border-radius: 20px;
    object-position: center 68%;
  }

  .split img {
    height: 320px;
  }

  h1,
  .page-hero h1 {
    font-size: clamp(2.7rem, 12vw, 3.6rem);
  }
}
