@font-face {
  font-family: Instrument;
  src: url("instrument.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Instrument;
  src: url("instrument-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #202943;
  --secondary: #494f5f;
  --paper: #f6f5ef;
  --lavender: #e6e9fa;
  --deep: #1d263d;
  --sky: #cbd5fa;
  --line: #c7cbd3;
  --measure: 76rem;
  --gutter: clamp(1.2rem, 5vw, 5.4rem);
  --header-height: 5rem;
  --headline: Instrument, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 1.2rem); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.65 "DM Sans", system-ui, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid #5b6dcb; outline-offset: 5px; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--headline); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(4.15rem, 8.3vw, 8.5rem); line-height: .91; letter-spacing: -.035em; }
h2 { font-size: clamp(3.1rem, 5.8vw, 6.2rem); line-height: .96; letter-spacing: -.03em; }
h3 { font-size: clamp(2.1rem, 4vw, 3.85rem); line-height: 1; letter-spacing: -.025em; }
p + p { margin-top: .9rem; }
.shell { width: min(var(--measure), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 9rem); }
.lede { font-size: clamp(1.13rem, 2.15vw, 1.58rem); line-height: 1.42; }
.skip-link { position: fixed; z-index: 6; top: .5rem; left: .5rem; padding: .65rem 1rem; background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.header { min-height: var(--header-height); position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid #20294319; }
.header-inner { min-height: inherit; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; width: fit-content; text-decoration: none; }
.brand span { font-family: var(--headline); font-size: 1.62rem; line-height: .98; white-space: nowrap; }
.brand small { display: block; font: 500 .69rem/1.2 "DM Sans", system-ui, sans-serif; margin-top: .28rem; }
.mark { flex-shrink: 0; }
.nav { display: flex; align-items: center; gap: clamp(1.1rem, 3vw, 2.7rem); }
.nav a, .footer nav a { font-size: .91rem; text-decoration: none; text-underline-offset: .35rem; }
.nav a:hover, .nav a[aria-current], .footer nav a:hover { text-decoration: underline; }
.header-action { justify-self: end; display: flex; align-items: center; gap: .6rem; padding: .58rem 1rem; border: 1px solid #20294351; border-radius: 3rem; text-decoration: none; font-size: .87rem; }
.header-action:hover { background: var(--lavender); }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 35rem; min-height: max(35rem, min(49rem, calc(100svh - var(--header-height)))); background: var(--deep); color: #fffdf5; overflow: clip; }
.hero-media, .hero-media::after { position: absolute; inset: 0; }
.hero-media { z-index: -1; }
.hero-media picture, .hero-media img { display: block; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 54% center; transform: translateY(var(--hero-shift, 0px)) scale(1.08); }
.hero-media::after { content: ""; background: linear-gradient(90deg, #121929e8 0%, #151e32bc 32%, #151e323e 62%, #141b2306 100%); }
.hero-copy { padding-block: clamp(4.2rem, 10vh, 8rem); }
.hero-copy .hero-label { font-weight: 500; color: #e0e6fc; margin-bottom: 1.35rem; }
.hero-copy h1 { margin-bottom: 1.5rem; }
.hero-copy h1 em { color: #d6defb; }
.hero-copy > p:not(.hero-label) { max-width: 32ch; font-size: clamp(1rem, 2vw, 1.26rem); line-height: 1.5; }
.hero-copy .button { margin-top: 1.75rem; }
.hero-down { display: grid; place-items: center; position: absolute; bottom: 1.45rem; right: var(--gutter); width: 2.9rem; height: 2.9rem; border: 1px solid #ffffff9e; background: #1b253a60; color: #fff; border-radius: 50%; }
.hero-down:hover { background: var(--deep); }

.button, .text-link { display: inline-flex; align-items: center; gap: .8rem; width: fit-content; font-weight: 600; line-height: 1.25; text-decoration: none; }
.button { min-height: 3.15rem; padding: .82rem 1.2rem; border-radius: 2rem; background: var(--ink); color: var(--paper); }
.button:hover { background: #364767; }
.light-button { color: var(--ink); background: #e4eaff; }
.light-button:hover { background: #fffdf5; }
.text-link { padding-block: .25rem; border-bottom: 1px solid currentColor; margin-top: 1.4rem; }
.text-link:hover { color: #4e5fa4; }

.intro-grid, .next-grid, .faq-grid, .guide-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: start; gap: clamp(2rem, 7vw, 7rem); }
.intro-copy { padding-top: .25rem; }
.intro-copy p + p, .guide-grid p + p { color: var(--secondary); max-width: 42ch; margin-top: 1.05rem; }
.next-section, .faq-section, .sub-hero { background: var(--lavender); }
.next-grid { align-items: center; }
.next-grid p { max-width: 35ch; margin-bottom: 1.25rem; }

.journey { padding-block: clamp(4.5rem, 8vw, 8rem); color: #f8f8ff; background: var(--deep); }
.journey-heading { margin-bottom: 2.5rem; }
.journey-heading em { color: var(--sky); }
.story { display: grid; grid-template-columns: 1.14fr .86fr; gap: clamp(2rem, 7vw, 6.5rem); align-items: start; }
.story-visual { align-self: start; margin: 0; }
.story-photo { aspect-ratio: 1.3; border-radius: .25rem 3rem .25rem .25rem; overflow: clip; background: #373f50; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 53% center; transform: scale(1.045) translateY(var(--story-shift, 0px)); }
.story-visual figcaption { display: flex; align-items: center; gap: .85rem; font-size: .81rem; margin-top: .75rem; color: #e3e7fb; }
.story-progress { flex: 1; display: block; height: 2px; background: #8792b15d; }
.story-progress span { display: block; width: 100%; height: 100%; background: var(--sky); transform: scaleX(var(--chapter-progress, 0)); transform-origin: left; }
.story-count { font-variant-numeric: tabular-nums; }
.chapters { list-style: none; margin: 0; padding: 0; }
.chapters li { display: flex; flex-direction: column; justify-content: center; min-height: 14rem; padding: 1.45rem 0; border-top: 1px solid #a8b2d553; }
.chapters li:last-child { border-bottom: 1px solid #a8b2d553; }
.chapter-number { color: var(--sky); font-size: .87rem; margin-bottom: .75rem; }
.chapters h3 + p { margin-top: .85rem; }
.chapters li p:last-child { max-width: 35ch; color: #e2e5f1; }
@media (min-width: 851px) and (min-height: 660px) and (prefers-reduced-motion: no-preference) {
  .story-visual { position: sticky; top: calc(var(--header-height) + 1.75rem); }
  .chapters li { min-height: min(42vh, 24rem); }
}

.sub-hero { padding-block: clamp(4.6rem, 9vw, 9rem); }
.sub-hero h1 { max-width: 13ch; }
.sub-hero .lede { margin-top: 1.45rem; max-width: 40ch; }
.section-label { margin-bottom: 1.25rem; font-weight: 600; }
.split { display: grid; align-items: center; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 5.5rem); }
.editorial-photo { overflow: clip; border-radius: .2rem 3rem .2rem .2rem; background: #d5d6d6; }
.editorial-photo img { width: 100%; aspect-ratio: 1.26; height: auto; object-fit: cover; }
.contact-photo img { object-position: 66% center; }
.split-copy h2 + p, .guide-grid h2 + p, .faq-grid h2 + p { margin-top: 1.3rem; }
.split-copy p { max-width: 44ch; }
.signal-card { align-self: center; color: #e2e8ff; background: var(--deep); padding: clamp(1.2rem, 3vw, 2.5rem); border-radius: .25rem 2.5rem .25rem .25rem; }
.signal-card svg { display: block; width: 100%; height: auto; }
.signal-card figcaption { font-size: .82rem; margin-top: .75rem; }
.faq-grid details { border-top: 1px solid #20294344; }
.faq-grid details:last-of-type { border-bottom: 1px solid #20294344; }
.faq-grid details p { padding: 0 1.7rem 1.25rem 0; max-width: 45ch; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; cursor: pointer; list-style: none; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; line-height: 1; font-weight: 400; }
details[open] summary::after { content: "−"; }
.question-list { list-style: none; padding: 0; margin: 1.45rem 0 0; }
.question-list li { padding: .65rem 0; border-bottom: 1px solid #20294336; }
.preview-note { color: var(--secondary); font-size: .85rem; margin-top: 1.5rem; }
.footer { background: var(--paper); border-top: 1px solid #20294325; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 2rem; align-items: center; padding-block: 2rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; }
.footer p { font-size: .81rem; color: var(--secondary); }

@media (max-width: 850px) {
  :root { --header-height: 4.3rem; }
  .header-inner { min-height: var(--header-height); grid-template-columns: 1fr auto; gap: 0 1rem; }
  .header-action { display: none; }
  .nav { grid-column: 1 / -1; padding-block: .4rem .8rem; flex-wrap: wrap; gap: .2rem 1rem; }
  .nav a { padding-block: .4rem; }
  .has-menu .nav { display: none; }
  .has-menu .nav.is-open { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); padding-block: .35rem .75rem; }
  .has-menu .nav a { min-height: 2.75rem; display: flex; align-items: center; }
  .has-menu .menu-toggle { display: flex; min-height: 2.75rem; align-items: center; gap: .6rem; padding: .3rem .75rem; border: 1px solid #20294350; background: transparent; color: var(--ink); border-radius: 2rem; font-size: .88rem; cursor: pointer; }
  .menu-glyph { width: .9rem; height: .55rem; border-block: 1px solid currentColor; }
  .menu-toggle[aria-expanded="true"] .menu-glyph { border-bottom: 0; height: 1px; }
  .intro-grid, .story, .next-grid, .faq-grid, .guide-grid, .split { grid-template-columns: 1fr; }
  .chapters li { min-height: 0; padding-block: 1.6rem; }
  .story-visual figcaption { display: none; }
  .story-photo img { transform: none; }
  .split-section .editorial-photo { order: 2; }
}

@media (max-width: 600px) {
  .hero { min-height: max(35rem, min(47rem, calc(100svh - var(--header-height)))); }
  .hero-media img { object-position: 67% center; }
  .hero-media::after { background: linear-gradient(90deg, #121929ef, #151e32a8 68%, #151e3227), linear-gradient(0deg, #12192966, transparent 45%); }
  .hero-copy h1 { font-size: clamp(4.05rem, 15vw, 6.2rem); }
  .sub-hero h1 { font-size: clamp(3rem, 14.2vw, 4.15rem); }
  .hero-down { width: 2.55rem; height: 2.55rem; bottom: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img, .story-photo img { transform: none; }
  .story-visual figcaption { display: none; }
}
