/* ==========================================================================
   CHASTEVILLE SCHOOL — site.css (engine adapted from the Infinity Storyworks build)
   Design tokens · base · type system · components · sections · pages
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2"); }

@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("../fonts/nunito-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: italic; font-weight: 200 1000; font-display: swap; src: url("../fonts/nunito-latin-wght-italic.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  /* colour — Chasteville sky blue + dark blue */
  --midnight: #0B2A5B;
  --midnight-deep: #06183A;
  --sky: #0098DA;
  --sky-deep: #0077B6;
  --sky-light: #7FD3F7;
  --magenta: #0098DA;      /* legacy token name kept by the engine — now brand sky */
  --cyan: #7FD3F7;
  --violet: #0098DA;
  --white: #FFFFFF;
  --paper: #EEF7FC;
  --ink: #0B2A5B;
  --ink-soft: #46597A;
  --line: rgba(11, 42, 91, .14);
  --on-dark: #F2F8FC;
  --on-dark-soft: rgba(242, 248, 252, .74);
  --line-dark: rgba(242, 248, 252, .16);
  --grad: linear-gradient(100deg, #5BC8F2 0%, #0098DA 48%, #0A62A8 100%);

  /* type */
  --f-display: "Nunito", "Trebuchet MS", system-ui, sans-serif;
  --f-sans: "Outfit", "Helvetica Neue", Arial, system-ui, sans-serif;

  --t-giant: clamp(5.5rem, 17vw, 17rem);
  --t-display: clamp(2.9rem, 7.4vw, 8rem);
  --t-h1: clamp(2.6rem, 6vw, 6.5rem);
  --t-h2: clamp(2.2rem, 4.6vw, 4.9rem);
  --t-h3: clamp(1.45rem, 2.2vw, 2.1rem);
  --t-h4: clamp(1.15rem, 1.4vw, 1.35rem);
  --t-lead: clamp(1.12rem, 1.35vw, 1.38rem);
  --t-body: 1.0625rem;
  --t-small: .875rem;
  --t-eyebrow: .72rem;

  --track-eyebrow: .28em;
  --track-light: .07em;

  /* space */
  --s-1: .5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem; --s-5: 3rem; --s-6: 4.5rem; --s-7: 6.5rem; --s-8: 9rem;
  --section-y: clamp(5.5rem, 11vw, 11rem);
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --wrap: 1440px;
  --wrap-narrow: 880px;
  --measure: 36rem;

  /* motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-cine: cubic-bezier(.22, .61, .36, 1);
  --d-fast: .25s;
  --d-med: .6s;
  --d-slow: 1.1s;
  --d-cine: 1.6s;

  --nav-h: 84px;
  --stroke-c: var(--ink);
  --accent: #006FAA;      /* sky tuned for small text on light (AA) */
  --magenta-deep: #0077B6;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--f-sans); font-size: var(--t-body); line-height: 1.65; font-weight: 340;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; }
.media > picture, .hero__media > picture, .journey__img picture, .tex > picture, [class$="__tex"] > picture, .fullbleed__media picture, .pf-feature__media > picture, .watermark > picture { width: 100%; height: 100%; }
.media > div > picture { width: 100%; height: 100%; }
.media > div > picture img { width: 100%; height: 100%; object-fit: cover; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--magenta); color: #fff; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--magenta-deep); color: #fff; padding: .75rem 1.25rem; font-size: var(--t-small); letter-spacing: .1em; text-transform: uppercase; transition: top var(--d-fast); }
.skip-link:focus { top: 1rem; }

main, .finale { overflow-x: clip; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--wrap-narrow) + 2 * var(--gutter)); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); }

/* tones */
[data-tone="dark"] { background: var(--midnight); color: var(--on-dark); --ink-soft: var(--on-dark-soft); --line: var(--line-dark); --stroke-c: var(--on-dark); --accent: #6CCFF6; }
[data-tone="deep"] { background: var(--midnight-deep); color: var(--on-dark); --ink-soft: var(--on-dark-soft); --line: var(--line-dark); --stroke-c: var(--on-dark); --accent: #6CCFF6; }
[data-tone="paper"] { background: var(--paper); }
[data-tone="light"] { background: var(--white); }

/* ==========================================================================
   TYPE SYSTEM — design the type
   ========================================================================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: .9em;
  font-family: var(--f-sans); font-size: var(--t-eyebrow); font-weight: 500;
  letter-spacing: var(--track-eyebrow); text-transform: uppercase; line-height: 1.4;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 2.2em; height: 1px; background: currentColor; }
.eyebrow--plain::before { display: none; }
.eyebrow--muted { color: var(--ink-soft); }

/* lockup: stacked, hand-broken display lines */
.lockup { font-family: var(--f-display); font-weight: 850; line-height: .94; letter-spacing: -.025em; font-size: var(--t-display); }
.lockup .ln { display: block; }
.lockup .ln--light { font-family: var(--f-sans); font-weight: 200; letter-spacing: var(--track-light); font-size: .78em; line-height: 1.05; }
.lockup .ln--italic { font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.01em; }
.lockup .ln--indent { padding-left: 1.1em; }
.lockup .ln--indent-2 { padding-left: 2.2em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; }
.accent { color: var(--accent); }
.lockup--h1 { font-size: var(--t-h1); }
.lockup--h2 { font-size: var(--t-h2); }
.lockup--giant { font-size: var(--t-giant); line-height: .82; }

.h3 { font-family: var(--f-display); font-weight: 850; font-size: var(--t-h3); line-height: 1.08; letter-spacing: -.005em; }
.h4 { font-family: var(--f-sans); font-weight: 500; font-size: var(--t-h4); line-height: 1.3; letter-spacing: .005em; }
.caps { text-transform: uppercase; letter-spacing: .14em; font-size: var(--t-small); font-weight: 500; }
.lead { font-size: var(--t-lead); line-height: 1.55; font-weight: 300; max-width: var(--measure); }
.body { color: var(--ink-soft); max-width: var(--measure); }
.body p + p, .lead + .body, .body + .body { margin-top: 1.1em; }
.num { font-family: var(--f-display); font-weight: 400; font-variant-numeric: lining-nums; line-height: .8; letter-spacing: -.03em; }
.num--outline { color: transparent; -webkit-text-stroke: 1px var(--stroke-c); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ==========================================================================
   CTA — text-led, arrow line extends
   ========================================================================== */
.cta {
  --c: currentColor;
  display: inline-flex; align-items: center; gap: .9rem;
  font-size: .78rem; font-weight: 550; letter-spacing: .2em; text-transform: uppercase; line-height: 1;
  padding: .9rem 0; position: relative; white-space: nowrap;
}
.cta__arrow { position: relative; width: 2.4rem; height: 10px; flex: none; transition: width var(--d-med) var(--ease-out); }
.cta__arrow::before { content: ""; position: absolute; left: 0; right: 1px; top: 50%; height: 1px; background: var(--c); }
.cta__arrow::after { content: ""; position: absolute; right: 1px; top: 50%; width: 7px; height: 7px; border-top: 1px solid var(--c); border-right: 1px solid var(--c); transform: translateY(-50%) rotate(45deg); }
.cta:hover .cta__arrow, .cta:focus-visible .cta__arrow { width: 3.6rem; }
.cta::after { content: ""; position: absolute; left: 0; bottom: .35rem; height: 1px; width: 0; background: var(--magenta); transition: width var(--d-med) var(--ease-out); }
.cta:hover::after { width: calc(100% - 3.6rem - .9rem); }
.cta--solid { background: var(--magenta-deep); color: #fff; padding: 1.15rem 1.5rem 1.15rem 1.75rem; transition: background var(--d-fast); }
.cta--solid::after { display: none; }
.cta--solid:hover { background: #00639A; }
.cta--outline { border: 1px solid currentColor; padding: 1.05rem 1.4rem 1.05rem 1.6rem; transition: border-color var(--d-fast), color var(--d-fast); }
.cta--outline::after { display: none; }
.cta--outline:hover { border-color: var(--accent); }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  color: var(--on-dark); transition: transform var(--d-med) var(--ease-out), background var(--d-med), color var(--d-med), height var(--d-med) var(--ease-out);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-header[data-tone="light"], .site-header[data-tone="paper"] { color: var(--ink); background: transparent; }
.site-header[data-tone="dark"], .site-header[data-tone="deep"] { background: transparent; }
.site-header.is-scrolled { --nav-h: 68px; }
.site-header.is-scrolled[data-tone="light"] { background: rgba(255,255,255,.96); box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled[data-tone="paper"] { background: rgba(242,248,252,.96); box-shadow: 0 1px 0 rgba(11,42,91,.1); }
.site-header.is-scrolled[data-tone="dark"] { background: rgba(11,42,91,.96); box-shadow: 0 1px 0 var(--line-dark); }
.site-header.is-scrolled[data-tone="deep"] { background: rgba(6,24,58,.96); box-shadow: 0 1px 0 var(--line-dark); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: block; position: relative; width: clamp(118px, 9.6vw, 140px); flex: none; transition: width var(--d-med) var(--ease-out); }
.site-header.is-scrolled .brand { width: clamp(104px, 8vw, 118px); }
.brand img { width: 100%; height: auto; transition: opacity var(--d-med); }
.brand .brand__rev { position: absolute; inset: 0; opacity: 0; }
.site-header[data-tone="dark"] .brand__rev, .site-header[data-tone="deep"] .brand__rev { opacity: 1; }
.site-header[data-tone="dark"] .brand__std, .site-header[data-tone="deep"] .brand__std { opacity: 0; }
.nav { display: flex; align-items: center; gap: clamp(1.4rem, 2.6vw, 2.8rem); }
.nav__list { display: flex; gap: clamp(1.2rem, 2.2vw, 2.4rem); list-style: none; margin: 0; padding: 0; }
.nav__link { font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; position: relative; padding: .5rem 0; opacity: .82; transition: opacity var(--d-fast); }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--magenta); transform: scaleX(0); transform-origin: right; transition: transform var(--d-med) var(--ease-out); }
.nav__link:hover { opacity: 1; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { opacity: 1; }
.nav .cta { padding: .8rem 1.1rem .8rem 1.25rem; font-size: .7rem; border: 1px solid currentColor; }
.nav .cta::after { display: none; }
.nav .cta:hover { border-color: var(--accent); }
.nav .cta .cta__arrow { width: 1.6rem; }
.nav .cta:hover .cta__arrow { width: 2.2rem; }
.menu-toggle { display: none; align-items: center; gap: .8rem; font-size: .72rem; font-weight: 550; letter-spacing: .22em; text-transform: uppercase; height: 44px; }
.menu-toggle__bars { width: 26px; height: 10px; position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform var(--d-med) var(--ease-out); }
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { bottom: 0; left: 8px; }

@media (max-width: 1020px) {
  .nav__list, .nav .cta { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* mobile menu — full-screen editorial index */
.menu { --accent: #6CCFF6;
  position: fixed; inset: 0; z-index: 150; background: var(--midnight-deep); color: var(--on-dark);
  display: flex; flex-direction: column; visibility: hidden; opacity: 0;
  transition: opacity var(--d-med) var(--ease-out), visibility 0s linear var(--d-med);
  overflow-y: auto; overscroll-behavior: contain;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity var(--d-med) var(--ease-out); }
.menu__tex { position: absolute; inset: auto -20% -10% -20%; height: 60%; opacity: .35; pointer-events: none; }
.menu__tex img { width: 100%; height: 100%; object-fit: cover; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: 76px; position: relative; }
.menu__close { display: inline-flex; align-items: center; gap: .8rem; font-size: .72rem; font-weight: 550; letter-spacing: .22em; text-transform: uppercase; height: 44px; }
.menu__close-x { width: 22px; height: 22px; position: relative; }
.menu__close-x::before, .menu__close-x::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.menu__close-x::after { transform: rotate(-45deg); }
.menu__list { list-style: none; margin: 0; padding: clamp(1.5rem, 6vh, 3.5rem) 0 2rem; position: relative; display: grid; gap: .2rem; }
.menu__link { display: flex; align-items: baseline; gap: 1.1rem; padding: .35rem 0; }
.menu__link .num { font-family: var(--f-sans); font-size: .72rem; font-weight: 400; letter-spacing: .2em; color: var(--accent); width: 1.8rem; flex: none; }
.menu__link span:last-child { font-family: var(--f-display); font-weight: 850; letter-spacing: -.02em; font-size: clamp(2.4rem, 10.5vw, 4.5rem); line-height: 1; letter-spacing: -.01em; }
.menu__link[aria-current="page"] span:last-child { color: transparent; -webkit-text-stroke: 1px var(--on-dark); }
.menu__item { opacity: 0; transform: translateY(18px); transition: opacity var(--d-med) var(--ease-out), transform var(--d-slow) var(--ease-out); }
.menu.is-open .menu__item { opacity: 1; transform: none; }
.menu.is-open .menu__item:nth-child(2) { transition-delay: .05s; } .menu.is-open .menu__item:nth-child(3) { transition-delay: .1s; }
.menu.is-open .menu__item:nth-child(4) { transition-delay: .15s; } .menu.is-open .menu__item:nth-child(5) { transition-delay: .2s; }
.menu.is-open .menu__item:nth-child(6) { transition-delay: .25s; }
.menu__foot { margin-top: auto; padding-bottom: 2.5rem; position: relative; display: grid; gap: 1.5rem; }
.menu__contact { display: grid; gap: .35rem; font-size: .95rem; color: var(--on-dark-soft); }
.menu__contact a:hover { color: #fff; }

/* ==========================================================================
   SHARED SECTION PRIMITIVES
   ========================================================================== */
.section { position: relative; padding-block: var(--section-y); }
.section-head { display: grid; gap: var(--s-3); }
.media { position: relative; overflow: hidden; background: var(--midnight); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--paper { background: var(--paper); }
.watermark { position: absolute; pointer-events: none; z-index: 0; }
.watermark img { width: 100%; height: auto; }

/* ==========================================================================
   REVEALS — restrained
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity var(--d-slow) var(--ease-out), transform var(--d-slow) var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-in-out); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="clip-x"] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1.5s var(--ease-in-out); }
.js [data-reveal="clip-x"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="clip"] img, .js [data-reveal="clip-x"] img { transform: scale(1.12); transition: transform 2.2s var(--ease-out); }
.js [data-reveal="clip"].is-in img, .js [data-reveal="clip-x"].is-in img { transform: scale(1); }
.js [data-reveal="lines"] { opacity: 1; transform: none; }
.js [data-reveal="lines"] .ln { overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.js [data-reveal="lines"] .ln > span { display: inline-block; transform: translate3d(0, 108%, 0); transition: transform 1.15s var(--ease-out); }
.js [data-reveal="lines"].is-in .ln > span { transform: none; }
.js [data-reveal="lines"] .ln:nth-child(2) > span { transition-delay: .08s; }
.js [data-reveal="lines"] .ln:nth-child(3) > span { transition-delay: .16s; }
.js [data-reveal="lines"] .ln:nth-child(4) > span { transition-delay: .24s; }
.js [data-reveal][data-delay="1"] { transition-delay: .12s; }
.js [data-reveal][data-delay="2"] { transition-delay: .24s; }
.js [data-reveal][data-delay="3"] { transition-delay: .36s; }

/* ==========================================================================
   HOME — HERO
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--midnight-deep); color: var(--on-dark); }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity var(--d-cine) var(--ease-cine), visibility 0s linear var(--d-cine); }
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity var(--d-cine) var(--ease-cine); z-index: 1; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 70% 50%; will-change: transform; }
.hero__slide.is-active .hero__media img { animation: kenburns 16s linear forwards; }
@keyframes kenburns { from { transform: scale(1.0) translate3d(0,0,0); } to { transform: scale(1.09) translate3d(-1.2%, -.6%, 0); } }
.hero__shade { position: absolute; inset: 0; pointer-events: none; }
.hero__slide--dark .hero__shade { background: linear-gradient(180deg, rgba(6,24,58,.6) 0, rgba(6,24,58,0) 170px), linear-gradient(90deg, rgba(6,24,58,.86) 0%, rgba(6,24,58,.55) 38%, rgba(6,24,58,0) 68%), linear-gradient(0deg, rgba(6,24,58,.7) 0%, rgba(6,24,58,0) 35%); }
.hero__slide--light { color: var(--ink); }
.hero__slide--light .hero__shade { background: linear-gradient(180deg, rgba(255,255,255,.92) 0, rgba(255,255,255,.55) 90px, rgba(255,255,255,0) 170px), linear-gradient(90deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 45%), linear-gradient(0deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 30%); }
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: var(--nav-h); padding-bottom: 7rem; }
.hero__copy { max-width: min(60rem, 64vw); display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); justify-items: start; }
.hero__copy .lockup { font-size: clamp(3rem, 6.8vw, 7.6rem); }
@media (max-width: 900px) { .hero__copy { max-width: none; } }
.hero__sub { font-size: var(--t-lead); font-weight: 300; letter-spacing: .01em; }
.hero__slide--light .eyebrow { color: var(--accent); }
.hero__slide--dark .eyebrow { color: #6CCFF6; }
.hero__badge { display: inline-flex; align-items: center; gap: .7rem; font-size: var(--t-eyebrow); font-weight: 500; letter-spacing: var(--track-eyebrow); text-transform: uppercase; }
.hero__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 0 rgba(0,152,218,.6); animation: pulse 2.6s var(--ease-out) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0,152,218,.55); } 70%,100% { box-shadow: 0 0 0 12px rgba(0,152,218,0); } }
/* independent text entrance */
.js .hero__copy > * { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .9s var(--ease-out), transform 1.2s var(--ease-out); }
.js .hero__slide.is-active .hero__copy > * { opacity: 1; transform: none; }
.js .hero__slide.is-active .hero__copy > *:nth-child(1) { transition-delay: .45s; }
.js .hero__slide.is-active .hero__copy > *:nth-child(2) { transition-delay: .6s; }
.js .hero__slide.is-active .hero__copy > *:nth-child(3) { transition-delay: .78s; }
.js .hero__slide.is-active .hero__copy > *:nth-child(4) { transition-delay: .92s; }
.js .hero__slide.is-active .hero__copy > *:nth-child(5) { transition-delay: 1.04s; }

/* hero controls */
.hero__controls { position: absolute; z-index: 5; left: 0; right: 0; bottom: clamp(1.5rem, 4vh, 2.75rem); color: var(--on-dark); transition: color var(--d-slow); }
.hero[data-tone="light"] .hero__controls { color: var(--ink); }
.hero__controls .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.hero__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 13rem)); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.hero__tab { display: grid; gap: .7rem; text-align: left; width: 100%; padding-top: .25rem; opacity: .6; transition: opacity var(--d-med); }
.hero__tab[aria-selected="true"], .hero__tab:hover { opacity: 1; }
.hero__tab-bar { height: 1px; background: currentColor; opacity: .35; position: relative; overflow: hidden; }
.hero__tab-fill { position: absolute; inset: 0; background: var(--magenta); transform: scaleX(0); transform-origin: left; }
.hero__tab[aria-selected="true"] .hero__tab-fill { transform: scaleX(1); transition: transform var(--hero-dur, 7s) linear; }
.hero.is-paused .hero__tab[aria-selected="true"] .hero__tab-fill { transition: none; }
.hero__tab-label { display: flex; gap: .8rem; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; line-height: 1.3; }
.hero__tab-label b { font-weight: 500; color: var(--accent); }
.hero__buttons { display: flex; gap: .5rem; align-items: center; }
.icon-btn { width: 48px; height: 48px; display: inline-grid; place-items: center; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 35%, transparent); transition: border-color var(--d-fast), background var(--d-fast); }
.icon-btn:hover { border-color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.3; }
.hero__count { font-family: var(--f-display); font-size: 1rem; letter-spacing: .05em; margin-right: 1rem; font-variant-numeric: tabular-nums; }
.hero__count span { opacity: .5; }

@media (max-width: 900px) {
  .hero__content { justify-content: flex-end; padding-bottom: 8.5rem; }
  .hero__slide--dark .hero__shade { background: linear-gradient(0deg, rgba(6,24,58,.92) 0%, rgba(6,24,58,.6) 45%, rgba(6,24,58,.1) 75%); }
  .hero__slide--light .hero__shade { background: linear-gradient(180deg, rgba(255,255,255,.9) 0, rgba(255,255,255,0) 130px), linear-gradient(0deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.85) 40%, rgba(255,255,255,0) 68%); }
  .hero__media img { object-position: var(--pos-m, 72% 50%); }
  .hero__tabs { grid-template-columns: repeat(3, 2.5rem); gap: .5rem; }
  .hero__tab-label { display: none; }
  .hero__count { display: none; }
}

/* ==========================================================================
   HOME — INTRO / OUR STORY
   ========================================================================== */
.intro { padding-top: clamp(6rem, 12vw, 12rem); padding-bottom: clamp(4rem, 8vw, 8rem); overflow: visible; z-index: 2; }
.intro__tex { position: absolute; left: 0; right: 0; top: 0; height: 70%; opacity: .5; pointer-events: none; overflow: hidden; }
.intro__tex img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.intro__grid { position: relative; align-items: center; }
.intro__text { grid-column: 1 / span 6; display: grid; gap: var(--s-4); justify-items: start; position: relative; z-index: 2; }
.intro__text .lockup { font-size: clamp(2.7rem, 5.8vw, 6.3rem); }
.intro__figure { grid-column: 7 / span 6; grid-row: 1; position: relative; margin: 0 calc(-1 * var(--gutter) - max(0px, (100vw - var(--wrap)) / 2)) 0 -4vw; z-index: 1; }
.intro__figure img { width: 100%; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 26%), linear-gradient(to top, transparent 0%, #000 20%), linear-gradient(to bottom, transparent 0%, #000 18%); -webkit-mask-composite: source-in, source-in; mask-image: linear-gradient(to right, transparent 0%, #000 26%), linear-gradient(to top, transparent 0%, #000 20%), linear-gradient(to bottom, transparent 0%, #000 18%); mask-composite: intersect; }
.intro__text { grid-row: 1; }
.intro__caption { display: none; position: absolute; right: var(--gutter); top: 8%; writing-mode: vertical-rl; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 900px) {
  .intro__text, .intro__figure { grid-column: 1 / -1; }
  .intro__figure, .intro__text { grid-row: auto; }
  .intro__figure { order: -1; margin: -2rem calc(-1 * var(--gutter)) 1.5rem; }
  .intro__figure img { width: 128%; max-width: none; margin-left: -24%; -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 22%); mask-image: linear-gradient(to top, transparent 0%, #000 22%); }
  .intro__caption { display: none; }
}

/* ==========================================================================
   HOME — SERVICES (pillars)
   ========================================================================== */
.pillars { position: relative; background: var(--midnight); color: var(--on-dark); }
.pillars__head { padding-top: clamp(9rem, 16vw, 16rem); padding-bottom: clamp(3rem, 6vw, 6rem); position: relative; z-index: 2; }
.pillars__head .grid { align-items: end; row-gap: 2rem; }
.pillars__head .lockup { grid-column: 1 / span 8; font-size: clamp(2.5rem, 5.4vw, 5.8rem); }
.pillars__head .pillars__intro { grid-column: 9 / span 4; display: grid; gap: 1.5rem; justify-items: start; }
.pillars__head .body { color: var(--on-dark-soft); }
/* stacked (default / mobile / reduced motion) */
.pillar { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line-dark); align-items: start; }
.pillar__num { grid-column: 1 / span 3; font-size: clamp(5rem, 11vw, 11rem); color: transparent; -webkit-text-stroke: 1px rgba(242,248,252,.55); }
.pillar__body { grid-column: 4 / span 4; display: grid; gap: 1.4rem; }
.pillar__name { font-family: var(--f-display); font-weight: 850; letter-spacing: -.02em; font-size: clamp(2rem, 3.6vw, 3.6rem); line-height: .95; }
.pillar__list { list-style: none; margin: 0; padding: 0; display: grid; }
.pillar__list li { padding: .7rem 0; border-bottom: 1px solid var(--line-dark); font-size: 1rem; font-weight: 300; display: flex; gap: 1rem; }
.pillar__list li::before { content: ""; width: 6px; height: 1px; background: var(--magenta); margin-top: .8em; flex: none; }
.pillar__media { grid-column: 8 / span 5; aspect-ratio: 4 / 5; }
@media (max-width: 900px) {
  .pillars__head .lockup, .pillars__head .pillars__intro { grid-column: 1 / -1; }
  .pillar__num { grid-column: 1 / -1; font-size: 5rem; margin: 1.5rem 0 -.4rem; position: relative; z-index: 2; }
  .pillar__media { grid-column: 1 / -1; order: -1; aspect-ratio: 16 / 11; margin-inline: calc(-1 * var(--gutter)); }
  .pillar__body { grid-column: 1 / -1; margin-top: 1rem; }
}

/* pinned version (desktop, motion-ok) */
.pin-ok .pillars__scroller { height: 420vh; position: relative; }
.pin-ok .pillars__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.pin-ok .pillars__stage .pillar { position: absolute; inset: 0; display: block; padding: 0; border: 0; pointer-events: none; }
.pin-ok .pillars__stage .pillar.is-active { pointer-events: auto; }
.pin-ok .pillar__media { position: absolute; top: 0; bottom: 0; right: 0; width: 50vw; aspect-ratio: auto; clip-path: inset(0 0 0 100%); transition: clip-path 1.3s var(--ease-in-out); z-index: 1; }
.pin-ok .pillar__media img { transform: scale(1.15); transition: transform 2.4s var(--ease-out); }
.pin-ok .pillar.is-active .pillar__media { clip-path: inset(0 0 0 0); z-index: 2; }
.pin-ok .pillar.was-active .pillar__media { clip-path: inset(0 0 0 0); z-index: 1; }
.pin-ok .pillar.is-active .pillar__media img { transform: scale(1.02); }
.pin-ok .pillar__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,42,91,.65), rgba(11,42,91,0) 35%); }
.pin-ok .pillar__num { position: absolute; left: calc(var(--gutter) - .04em); top: calc(var(--nav-h) + 5.5rem); transform: translateY(18px); font-size: min(26vw, 36vh); line-height: .75; z-index: 3; pointer-events: none; -webkit-text-stroke: 1px rgba(242,248,252,.42); opacity: 0; transition: opacity .9s var(--ease-out), transform 1.2s var(--ease-out); }
.pin-ok .pillar.is-active .pillar__num { opacity: 1; transform: none; }
.pin-ok .pillar__body { position: absolute; left: var(--gutter); bottom: 9vh; width: min(34vw, 34rem); z-index: 4; }
.pin-ok .pillar__body > * { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .7s var(--ease-out), transform 1s var(--ease-out); }
.pin-ok .pillar.is-active .pillar__body > * { opacity: 1; transform: none; }
.pin-ok .pillar.is-active .pillar__body > *:nth-child(2) { transition-delay: .1s; }
.pin-ok .pillar.is-active .pillar__body > *:nth-child(3) { transition-delay: .2s; }
.pin-ok .pillar__name { font-size: clamp(2.6rem, 4.4vw, 4.6rem); }
.pillars__rail { display: none; }
.pin-ok .pillars__rail { display: flex; position: absolute; z-index: 6; left: var(--gutter); top: calc(var(--nav-h) + 2.5rem); gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.pillars__rail li { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; opacity: .45; transition: opacity var(--d-med); display: flex; gap: .6rem; align-items: center; }
.pillars__rail li::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; transition: width var(--d-med) var(--ease-out), background var(--d-med); }
.pillars__rail li.is-active { opacity: 1; }
.pillars__rail li span { display: inline-block; max-width: 0; overflow: hidden; white-space: nowrap; vertical-align: bottom; transition: max-width .8s var(--ease-out); }
.pillars__rail li.is-active span { max-width: 14rem; }
.pillars__rail li.is-active::before { width: 3rem; background: var(--magenta); }
.pillars__foot { padding-block: 3rem clamp(5rem, 8vw, 8rem); }

/* ==========================================================================
   HOME — JOURNEY: From possibility to picture
   ========================================================================== */
.journey { position: relative; background: var(--white); }
.journey__path { width: 100%; height: auto; overflow: visible; }
.journey__path .track { fill: none; stroke: currentColor; stroke-opacity: .16; stroke-width: 1.2; }
.journey__path .draw { fill: none; stroke: url(#jgrad); stroke-width: 2.2; stroke-linecap: round; }
.journey__path .node circle { fill: var(--white); stroke: currentColor; stroke-opacity: .4; stroke-width: 1.2; transition: fill var(--d-med), stroke var(--d-med), r var(--d-med); }
.journey__path .node.is-on circle { fill: var(--magenta); stroke: var(--magenta); stroke-opacity: 1; }
.journey__path .node text { font-family: var(--f-sans); font-size: 15px; letter-spacing: .2em; fill: currentColor; opacity: .55; text-anchor: middle; transition: opacity var(--d-med); }
.journey__path .node.is-on text { opacity: 1; }

/* stacked default */
.journey__intro { padding-top: var(--section-y); padding-bottom: clamp(3rem, 6vw, 5rem); }
.journey__intro .grid { align-items: end; row-gap: 2rem; }
.journey__intro .lockup { grid-column: 1 / span 8; font-size: clamp(2.8rem, 7vw, 7.6rem); }
.journey__intro .body { grid-column: 9 / span 4; }
.journey__list { list-style: none; margin: 0; padding: 0 0 var(--section-y); }
.jstep { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); align-items: center; padding-block: clamp(2rem, 4vw, 3.5rem); border-top: 1px solid var(--line); }
.jstep__media { grid-column: 1 / span 5; aspect-ratio: 4 / 3; }
.jstep__num { grid-column: 7 / span 2; font-size: clamp(3.5rem, 7vw, 7rem); color: transparent; -webkit-text-stroke: 1px var(--ink); opacity: .55; }
.jstep__text { grid-column: 9 / span 4; display: grid; gap: .6rem; }
.jstep__word { font-family: var(--f-display); font-weight: 850; letter-spacing: -.02em; font-size: clamp(2.2rem, 4vw, 4rem); line-height: .95; }
.jstep__line { font-size: var(--t-lead); font-weight: 300; color: var(--ink-soft); }
.jstep--audience .jstep__media { background: var(--midnight-deep); }
.jstep--audience .jstep__media .ribbon { position: absolute; inset: 10% 8%; width: 84%; height: 80%; object-fit: contain; }
.journey__stage { display: none; }
@media (max-width: 900px) {
  .journey__intro .lockup, .journey__intro .body { grid-column: 1 / -1; }
  .jstep { row-gap: 1.25rem; }
  .jstep__media { grid-column: 1 / -1; margin-inline: calc(-1 * var(--gutter)); aspect-ratio: 16 / 10; }
  .jstep__num { grid-column: 1 / span 4; font-size: 4.2rem; }
  .jstep__text { grid-column: 5 / -1; }
  .jstep__word { font-size: clamp(1.9rem, 8vw, 2.6rem); }
}

/* pinned composition */
.pin-ok .journey__intro, .pin-ok .journey__list { display: none; }
.pin-ok .journey__stage { display: block; position: sticky; top: 0; height: 100vh; overflow: hidden; color: var(--ink); transition: color 1s var(--ease-out); }
.pin-ok .journey__scroller { height: 760vh; position: relative; }
.journey__bg { position: absolute; inset: 0; background: var(--midnight-deep); opacity: 0; transition: opacity 1.2s var(--ease-out); }
.journey__introtex { position: absolute; inset: auto 0 0 0; height: 75%; opacity: 0; transition: opacity 1.2s var(--ease-out); }
.journey__introtex picture, .journey__introtex img { width: 100%; height: 100%; object-fit: cover; }
.journey__stage[data-stage="intro"] .journey__introtex { opacity: .9; }
.journey__stage.is-dark { color: var(--on-dark); --stroke-c: var(--on-dark); --accent: #6CCFF6; --ink-soft: var(--on-dark-soft); }
.journey__stage.is-dark .journey__bg { opacity: 1; }
.journey__stage.is-dark .journey__path .node circle { fill: var(--midnight-deep); }
.journey__stage.is-dark .journey__path .node.is-on circle { fill: var(--magenta); }

/* aperture: full-viewport layers clipped to a window that opens */
.journey__aperture { position: absolute; inset: 0; clip-path: var(--clip); transition: clip-path 1.5s var(--ease-in-out); --clip: inset(50% 30% 50% 70%); }
.journey__img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease-out); }
.journey__img.is-active { opacity: 1; }
.journey__img > picture, .journey__img > img { position: absolute; inset: -4%; width: 108%; height: 108%; }
.journey__img img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(var(--shift, 0), 0, 0) scale(var(--zoom, 1.06)); transition: transform 1.6s var(--ease-in-out); }
.journey__img--audience { background: var(--midnight-deep); }
.journey__img--audience .tex { position: absolute; inset: 0; }
.journey__img--audience .tex img { width: 100%; height: 100%; object-fit: cover; transform: none; }
.journey__img--audience .ribbon { position: absolute; right: 6%; top: 12%; width: 46%; height: auto; }
.journey__img--audience .ribbon img { transform: none; object-fit: contain; height: auto; }
.journey__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,24,58,.88) 0%, rgba(6,24,58,.5) 40%, rgba(6,24,58,0) 70%); opacity: 0; transition: opacity 1.2s; }
.journey__stage.is-dark .journey__scrim { opacity: 1; }

.journey__stage[data-stage="intro"] .journey__aperture { --clip: inset(50% 9% 50% 91%); }
.journey__stage[data-stage="0"] .journey__aperture { --clip: inset(24% 9% 30% 60%); }
.journey__stage[data-stage="1"] .journey__aperture { --clip: inset(17% 6% 25% 54%); }
.journey__stage[data-stage="2"] .journey__aperture { --clip: inset(13% 5% 21% 49%); }
.journey__stage[data-stage="3"] .journey__aperture { --clip: inset(9% 3% 17% 44%); }
.journey__stage[data-stage="4"] .journey__aperture { --clip: inset(11% 0 11% 0); }
.journey__stage[data-stage="5"] .journey__aperture { --clip: inset(0 0 0 0); }
.journey__stage[data-stage="intro"] .journey__img img, .journey__stage[data-stage="0"] .journey__img img { --shift: 26vw; }
.journey__stage[data-stage="1"] .journey__img img { --shift: 21vw; }
.journey__stage[data-stage="2"] .journey__img img { --shift: 17vw; }
.journey__stage[data-stage="3"] .journey__img img { --shift: 12vw; --zoom: 1.04; }
.journey__stage[data-stage="4"] .journey__img img, .journey__stage[data-stage="5"] .journey__img img { --shift: 0vw; --zoom: 1.0; }

.journey__head { position: absolute; z-index: 4; left: var(--gutter); top: calc(var(--nav-h) + 2rem); transition: transform 1.4s var(--ease-in-out), top 1.4s var(--ease-in-out); transform-origin: left top; }
.journey__head .lockup { font-size: clamp(3.2rem, 7.6vw, 8.6rem); transition: font-size 1.4s var(--ease-in-out); }
.journey__head .eyebrow { margin-bottom: 1.4rem; display: flex; }
.journey__stage:not([data-stage="intro"]) .journey__head { transform: scale(.32); }
.journey__lede { position: absolute; z-index: 4; left: var(--gutter); top: calc(var(--nav-h) + 2rem + clamp(3.2rem, 7.6vw, 8.6rem) * 1.9 + 3.5rem); max-width: 26rem; color: var(--ink-soft); transition: opacity .8s var(--ease-out), transform 1s var(--ease-out); }
.journey__stage:not([data-stage="intro"]) .journey__lede { opacity: 0; transform: translateY(-20px); pointer-events: none; }

.journey__words { position: absolute; z-index: 4; left: var(--gutter); top: 50%; transform: translateY(-46%); width: 42vw; height: 40vh; }
.jword { position: absolute; left: 0; top: 0; display: grid; gap: 1.3rem; }
.jword__num { font-size: clamp(5rem, 11vw, 12rem); color: transparent; -webkit-text-stroke: 1px var(--stroke-c); opacity: .5; line-height: .8; }
.jword__title { font-family: var(--f-display); font-weight: 850; letter-spacing: -.02em; font-size: clamp(2.6rem, 5vw, 6rem); line-height: .9; letter-spacing: -.01em; }
.jword__line { font-size: var(--t-lead); font-weight: 300; max-width: 22rem; }
.jword .mask { overflow: hidden; padding-bottom: .08em; }
.jword .mask > * { transform: translate3d(0, 105%, 0); transition: transform .9s var(--ease-out); }
.jword.is-active .mask > * { transform: none; transition: transform 1.1s var(--ease-out) .25s; }
.jword.is-leaving .mask > * { transform: translate3d(0, -105%, 0); }
.jword .mask:nth-child(2) > * { transition-delay: .32s; }
.jword .mask:nth-child(3) > * { transition-delay: .4s; }
.journey__stage[data-stage="intro"] .journey__words { opacity: 0; }

.journey__track { position: absolute; z-index: 4; left: var(--gutter); right: auto; bottom: 4.5vh; width: min(46vw, 44rem); }
.journey__progress { position: absolute; z-index: 4; right: var(--gutter); bottom: 4.5vh; font-family: var(--f-display); font-size: 1rem; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.journey__progress span { opacity: .5; }
.journey__stage[data-stage="4"] .journey__words, .journey__stage[data-stage="5"] .journey__words { color: var(--on-dark); }

/* ==========================================================================
   HOME — PORTFOLIO TEASER
   ========================================================================== */
.teaser { position: relative; overflow: hidden; background: var(--midnight-deep); color: var(--on-dark); padding-block: clamp(6rem, 12vw, 12rem); }
.teaser__tex { position: absolute; inset: 0; opacity: .55; }
.teaser__tex img { width: 100%; height: 100%; object-fit: cover; }
.teaser .grid { position: relative; align-items: center; row-gap: 3rem; }
.teaser__text { grid-column: 1 / span 6; display: grid; gap: 2rem; justify-items: start; }
.teaser__text .lockup { font-size: clamp(3rem, 7.2vw, 7.8rem); }
.teaser__card { grid-column: 8 / span 5; position: relative; }
.teaser__poster { aspect-ratio: 3 / 4; position: relative; }
.teaser__poster img { object-position: 64% 50%; }
.teaser__poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,24,58,.92) 0%, rgba(6,24,58,0) 50%); }
.teaser__meta { position: absolute; left: 1.75rem; right: 1.75rem; bottom: 1.75rem; z-index: 2; display: grid; gap: .6rem; }
.teaser__meta .t { font-family: var(--f-display); font-weight: 850; letter-spacing: -.02em; font-size: clamp(1.6rem, 2.4vw, 2.4rem); line-height: .95; }
.teaser__label { position: absolute; top: -2.5rem; right: 0; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark-soft); }
@media (max-width: 900px) { .teaser__text, .teaser__card { grid-column: 1 / -1; } .teaser__label { position: static; margin-bottom: 1rem; display: block; } }

/* ==========================================================================
   HOME — PARTNERS
   ========================================================================== */
.partners { overflow: hidden; }
.partners__top { position: relative; align-items: center; row-gap: 2.5rem; }
.partners__media { grid-column: 1 / span 7; margin-left: calc(-1 * var(--gutter) - max(0px, (100vw - var(--wrap)) / 2)); aspect-ratio: 16 / 10; }
.partners__media img { object-position: 40% 50%; }
.partners__text { grid-column: 8 / span 5; display: grid; gap: 1.75rem; justify-items: start; }
.partners__text .lockup { font-size: clamp(2.5rem, 4.6vw, 5rem); }
.collab { margin-top: clamp(4rem, 8vw, 7rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); list-style: none; padding: 0; }
.collab li { border-top: 1px solid var(--line); padding: 1.6rem 0 2.2rem; display: grid; gap: .7rem; align-content: start; padding-right: 1.5rem; }
.collab__who { font-family: var(--f-display); font-weight: 850; font-size: clamp(1.5rem, 2.3vw, 2.25rem); line-height: 1; display: flex; gap: .8rem; align-items: baseline; }
.collab__who small { font-family: var(--f-sans); font-weight: 400; font-size: .7rem; letter-spacing: .2em; color: var(--accent); }
.collab__what { color: var(--ink-soft); font-size: .98rem; max-width: 22rem; }
@media (max-width: 900px) {
  .partners__media { grid-column: 1 / -1; margin-inline: calc(-1 * var(--gutter)); }
  .partners__text { grid-column: 1 / -1; }
  .collab { grid-template-columns: 1fr; }
  .collab li { grid-template-columns: 1fr; padding-block: 1.25rem 1.5rem; }
}
@media (min-width: 901px) and (max-width: 1200px) { .collab { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   INSIGHTS — magazine modules
   ========================================================================== */
.mag-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); align-items: end; row-gap: 1.5rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.mag-head .lockup { grid-column: 1 / span 7; font-size: clamp(2.6rem, 5.6vw, 6rem); }
.mag-head .mag-head__aside { grid-column: 9 / span 4; display: grid; gap: 1.25rem; justify-items: start; }
.mag { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); row-gap: 3rem; }
.story-lead { grid-column: 1 / span 7; display: grid; gap: 1.5rem; }
.story-lead__media { aspect-ratio: 16 / 10; }
.story-meta { display: flex; gap: 1.2rem; align-items: center; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }
.story-meta .tag { color: var(--accent); }
.story-title { font-family: var(--f-display); font-weight: 850; line-height: 1.02; letter-spacing: -.01em; }
.story-lead .story-title { font-size: clamp(2rem, 3.6vw, 3.6rem); max-width: 18ch; }
.story-dek { color: var(--ink-soft); max-width: 34rem; }
.story-side { grid-column: 9 / span 4; display: grid; align-content: start; }
.story-sm { display: grid; grid-template-columns: 1fr; gap: 1rem; padding-block: 0 2.25rem; margin-bottom: 2.25rem; border-bottom: 1px solid var(--line); }
.story-sm:last-child { border-bottom: 0; margin-bottom: 0; }
.story-sm__row { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; }
.story-sm .num { font-size: 3.4rem; color: transparent; -webkit-text-stroke: 1px var(--ink); opacity: .45; }
.story-sm .story-title { font-size: clamp(1.4rem, 1.9vw, 1.85rem); }
.story-sm__media { aspect-ratio: 16 / 9; }
.story-link { display: block; }
.story-link .media img { transition: transform 1.4s var(--ease-out); }
.story-link:hover .media img { transform: scale(1.04); }
.story-link .story-title span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .7s var(--ease-out); }
.story-link:hover .story-title span { background-size: 100% 1px; }
@media (max-width: 900px) {
  .mag-head .lockup, .mag-head .mag-head__aside, .story-lead, .story-side { grid-column: 1 / -1; }
  .story-lead__media { margin-inline: calc(-1 * var(--gutter)); }
}

/* ==========================================================================
   FINALE + FOOTER — one continuous dark field
   ========================================================================== */
.finale { position: relative; background: var(--midnight-deep); color: var(--on-dark); overflow: hidden; }
.finale__tex { position: absolute; inset: 0 0 auto 0; height: 100%; opacity: .8; pointer-events: none; }
.finale__tex img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.finale__tex::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,24,58,.2) 0%, rgba(6,24,58,.55) 45%, var(--midnight-deep) 82%); }
.finale__cta { position: relative; padding-top: clamp(7rem, 14vw, 14rem); padding-bottom: clamp(5rem, 10vw, 9rem); }
.finale__cta .grid { align-items: end; row-gap: 2.5rem; }
.finale__cta .lockup { grid-column: 1 / span 9; font-size: clamp(3rem, 7.6vw, 8.4rem); }
.finale__cta .finale__act { grid-column: 10 / span 3; display: grid; gap: 1.5rem; justify-items: start; padding-bottom: 1rem; }
.footer { position: relative; border-top: 1px solid var(--line-dark); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); row-gap: 3rem; }
.footer__brand { grid-column: 1 / span 4; display: grid; gap: 1.6rem; align-content: start; }
.footer__brand .brand { width: 200px; }
.footer__line { font-size: .72rem; letter-spacing: .34em; text-transform: uppercase; color: var(--on-dark-soft); }
.footer__col { display: grid; gap: .9rem; align-content: start; }
.footer__col h2 { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; color: var(--accent); margin-bottom: .4rem; }
.footer__nav { grid-column: 6 / span 2; }
.footer__contact { grid-column: 8 / span 3; }
.footer__addr { grid-column: 11 / span 2; }
.footer__col a, .footer__col address { font-style: normal; color: var(--on-dark-soft); font-size: .97rem; line-height: 1.6; transition: color var(--d-fast); }
.footer__col a:hover { color: #fff; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer__giant { margin-top: clamp(4rem, 8vw, 7rem); font-family: var(--f-display); font-weight: 850; letter-spacing: -.02em; font-size: min(7.3vw, 6.5rem); line-height: .82; letter-spacing: -.015em; color: transparent; -webkit-text-stroke: 1px rgba(242,248,252,.22); white-space: nowrap; user-select: none; }
.footer__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.75rem 2.25rem; margin-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: .78rem; letter-spacing: .08em; color: var(--on-dark-soft); }
@media (max-width: 1020px) {
  .finale__cta .lockup, .finale__cta .finale__act { grid-column: 1 / -1; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__nav { grid-column: 1 / span 6; } .footer__contact { grid-column: 7 / span 6; } .footer__addr { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .footer__nav, .footer__contact { grid-column: 1 / -1; } }

/* ==========================================================================
   INNER PAGES — shared hero
   ========================================================================== */
.page-hero { position: relative; padding-top: calc(var(--nav-h) + clamp(4rem, 9vw, 8rem)); padding-bottom: clamp(4rem, 8vw, 7rem); overflow: hidden; }
.page-hero__tex { position: absolute; inset: 0; opacity: .7; pointer-events: none; }
.page-hero__tex img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .grid { position: relative; row-gap: 2.5rem; align-items: end; }
.page-hero__title { grid-column: 1 / span 9; display: grid; gap: 1.75rem; justify-items: start; }
.page-hero__title .lockup { font-size: clamp(3rem, 8.4vw, 9.4rem); }
.page-hero__aside { grid-column: 9 / span 4; display: grid; gap: 1.25rem; }
.page-index { list-style: none; margin: 0; padding: 0; display: grid; }
.page-index a { display: grid; grid-template-columns: 2.5rem 1fr auto; align-items: center; gap: .5rem; padding: .95rem 0; border-top: 1px solid var(--line); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; transition: padding var(--d-med) var(--ease-out), color var(--d-fast); }
.page-index li:last-child a { border-bottom: 1px solid var(--line); }
.page-index a b { font-weight: 500; color: var(--accent); }
.page-index a:hover { padding-left: .6rem; color: var(--accent); }
.page-index a::after { content: "↓"; opacity: .5; }
@media (max-width: 900px) { .page-hero__title, .page-hero__aside { grid-column: 1 / -1; } }

/* ==========================================================================
   OUR STORY
   ========================================================================== */
.os-hero { padding-top: calc(var(--nav-h) + clamp(3rem, 6vw, 5rem)); padding-bottom: 0; min-height: 100vh; display: flex; align-items: stretch; overflow: hidden; position: relative; }
.os-hero__tex { position: absolute; inset: 0; pointer-events: none; }
.os-hero__tex img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.os-hero .wrap { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); }
.os-hero__text { grid-column: 1 / span 7; align-self: center; display: grid; gap: 2rem; justify-items: start; position: relative; z-index: 2; padding-bottom: 4rem; }
.os-hero__text .lockup { font-size: clamp(3rem, 6.6vw, 7.4rem); }
.os-hero__figure { grid-column: 5 / span 8; grid-row: 1; align-self: end; position: relative; z-index: 1; margin-right: calc(-1 * var(--gutter)); }
.os-hero__figure img { width: 122%; max-width: none; margin-left: 2%; }
.os-hero__text { grid-row: 1; }
@media (max-width: 900px) {
  .os-hero { min-height: 0; }
  .os-hero__text, .os-hero__figure { grid-column: 1 / -1; }
  .os-hero__figure { margin-inline: calc(-1 * var(--gutter)); }
  .os-hero__figure img { width: 115%; margin-left: -8%; }
}
.chapter { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); row-gap: 2rem; align-items: start; }
.chapter__num { grid-column: 1 / span 4; font-size: var(--t-giant); color: transparent; -webkit-text-stroke: 1px var(--stroke-c); opacity: .35; }
.chapter__body { grid-column: 6 / span 7; display: grid; gap: 1.75rem; }
.chapter__body .lockup { font-size: clamp(2.4rem, 5vw, 5.4rem); }
.chapter__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .chapter__num, .chapter__body { grid-column: 1 / -1; } .chapter__num { font-size: 6rem; } .chapter__cols { grid-template-columns: 1fr; } }
.beliefs { list-style: none; padding: 0; margin: clamp(3rem, 6vw, 5rem) 0 0; counter-reset: b; }
.belief { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); row-gap: 1rem; padding-block: clamp(2rem, 4vw, 3.25rem); border-top: 1px solid var(--line); align-items: baseline; }
.belief:last-child { border-bottom: 1px solid var(--line); }
.belief__n { grid-column: 1 / span 1; font-size: .72rem; letter-spacing: .22em; color: var(--accent); font-weight: 500; }
.belief__s { grid-column: 2 / span 7; font-family: var(--f-display); font-weight: 850; font-size: clamp(1.8rem, 3.4vw, 3.4rem); line-height: 1.02; letter-spacing: -.01em; }
.belief__s em { font-weight: 400; }
.belief__p { grid-column: 9 / span 4; color: var(--ink-soft); }
@media (max-width: 900px) { .belief__n { grid-column: 1 / -1; } .belief__s, .belief__p { grid-column: 1 / -1; } }
.stages-band { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 3rem; border-top: 1px solid var(--line); }
.stages-band li { list-style: none; padding: 1.5rem 1rem 0 0; display: grid; gap: .5rem; }
.stages-band b { font-family: var(--f-display); font-weight: 850; letter-spacing: -.02em; font-size: clamp(1.05rem, 1.6vw, 1.5rem); }
.stages-band span { font-size: .9rem; color: var(--ink-soft); }
.stages-band small { font-size: .68rem; letter-spacing: .2em; color: var(--accent); }
@media (max-width: 900px) { .stages-band { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.5rem; } }
.fullbleed { position: relative; min-height: 92vh; display: flex; align-items: flex-end; color: var(--on-dark); overflow: hidden; background: var(--midnight-deep); }
.fullbleed__media { position: absolute; inset: -6% 0; }
.fullbleed__media img { width: 100%; height: 100%; object-fit: cover; }
.fullbleed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,24,58,.9) 0%, rgba(6,24,58,.25) 55%, rgba(6,24,58,.35) 100%); }
.fullbleed .wrap { position: relative; z-index: 2; padding-block: clamp(4rem, 9vw, 8rem); display: grid; gap: 2rem; justify-items: start; }
.fullbleed .lockup { font-size: clamp(3.2rem, 10vw, 11rem); }

/* ==========================================================================
   SERVICES PAGE
   ========================================================================== */
.svc-chapter { position: relative; }
.svc-chapter__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); row-gap: 1.5rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.svc-chapter__num { grid-column: 1 / span 3; font-size: clamp(6rem, 14vw, 14rem); color: transparent; -webkit-text-stroke: 1px var(--stroke-c); opacity: .4; }
.svc-chapter__title { grid-column: 4 / span 9; display: grid; gap: 1.25rem; }
.svc-chapter__title .lockup { font-size: clamp(2.8rem, 6.6vw, 7.2rem); }
.cap-list { list-style: none; margin: 0; padding: 0; }
.cap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); row-gap: .8rem; padding-block: 1.9rem; border-top: 1px solid var(--line); }
.cap:last-child { border-bottom: 1px solid var(--line); }
.cap__k { grid-column: 1 / span 1; font-size: .7rem; letter-spacing: .2em; color: var(--accent); padding-top: .55rem; font-weight: 500; }
.cap__name { grid-column: 2 / span 5; font-family: var(--f-display); font-weight: 850; font-size: clamp(1.4rem, 2.2vw, 2.1rem); line-height: 1.05; }
.cap__desc { grid-column: 7 / span 6; color: var(--ink-soft); }
.svc-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); row-gap: 3rem; align-items: start; }
.svc-split__media { grid-column: 1 / span 5; aspect-ratio: 4 / 5; position: sticky; top: calc(var(--nav-h) + 2rem); }
.svc-split__media--bleed { margin-left: calc(-1 * var(--gutter) - max(0px, (100vw - var(--wrap)) / 2)); }
.svc-split__list { grid-column: 7 / span 6; }
.svc-split__list .cap__k { grid-column: 1 / span 2; }
.svc-split__list .cap__name { grid-column: 3 / span 10; }
.svc-split__list .cap__desc { grid-column: 3 / span 10; }
.svc-split--rev .svc-split__media { grid-column: 8 / span 5; order: 2; }
.svc-split--rev .svc-split__list { grid-column: 1 / span 6; }
.svc-split--rev .svc-split__media--bleed { margin-left: 0; margin-right: calc(-1 * var(--gutter) - max(0px, (100vw - var(--wrap)) / 2)); }
.pullquote { font-family: var(--f-display); font-style: italic; font-size: clamp(1.7rem, 3vw, 2.9rem); line-height: 1.12; max-width: 22ch; margin-top: clamp(3rem, 6vw, 5rem); padding-left: 1.5rem; border-left: 1px solid var(--magenta); }
.banner-media { height: clamp(320px, 62vh, 680px); margin-bottom: clamp(3rem, 6vw, 5rem); position: relative; }
.banner-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--midnight) 0%, rgba(11,42,91,0) 45%); }
.cap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1rem, 4vw, 4rem); list-style: none; margin: 0; padding: 0; }
.cap-grid li { padding: 2rem 0 2.4rem; border-top: 1px solid var(--line); display: grid; gap: .8rem; align-content: start; }
.cap-grid .cap__k, .cap-grid .cap__name, .cap-grid .cap__desc { grid-column: auto; }
.cap-grid .cap__k { padding: 0; }
.cap-grid .cap__name { font-size: clamp(1.5rem, 2.4vw, 2.3rem); }
.cap-grid .cap__desc { max-width: 30rem; }
@media (max-width: 900px) {
  .svc-chapter__num, .svc-chapter__title { grid-column: 1 / -1; }
  .svc-chapter__num { font-size: 6rem; margin-bottom: -1rem; }
  .cap__k { grid-column: 1 / -1; padding: 0; }
  .cap__name, .cap__desc { grid-column: 1 / -1; }
  .svc-split__media, .svc-split--rev .svc-split__media { grid-column: 1 / -1; order: -1; position: relative; top: 0; aspect-ratio: 16 / 11; margin-inline: calc(-1 * var(--gutter)) !important; }
  .svc-split__list, .svc-split--rev .svc-split__list { grid-column: 1 / -1; }
  .svc-split__list .cap__k, .svc-split__list .cap__name, .svc-split__list .cap__desc { grid-column: 1 / -1; }
  .cap-grid { grid-template-columns: 1fr; }
}
.cta-band { padding-block: clamp(6rem, 12vw, 11rem); position: relative; overflow: hidden; }
.cta-band .grid { position: relative; align-items: end; row-gap: 2rem; }
.cta-band .lockup { grid-column: 1 / span 9; font-size: clamp(3rem, 8vw, 8.8rem); }
.cta-band .cta-band__act { grid-column: 10 / span 3; display: grid; gap: 1.25rem; justify-items: start; padding-bottom: 1rem; }
.cta-band__mark { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: min(52vw, 760px); opacity: .1; pointer-events: none; }
@media (max-width: 900px) { .cta-band .lockup, .cta-band .cta-band__act { grid-column: 1 / -1; } }

/* ==========================================================================
   PORTFOLIO
   ========================================================================== */
.pf-hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: var(--midnight-deep); color: var(--on-dark); overflow: hidden; padding-top: var(--nav-h); }
.pf-hero__tex { position: absolute; inset: 0; opacity: .9; }
.pf-hero__tex img { width: 100%; height: 100%; object-fit: cover; }
.pf-hero .wrap { position: relative; display: grid; gap: 2.25rem; justify-items: start; padding-block: 4rem; }
.pf-hero .lockup { font-size: clamp(3.4rem, 11vw, 12.5rem); }
.pf-feature { position: relative; background: var(--midnight-deep); color: var(--on-dark); overflow: hidden; }
.pf-feature__media { position: relative; height: 92vh; min-height: 520px; }
.pf-feature__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.pf-feature__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,24,58,.92) 0%, rgba(6,24,58,.4) 45%, rgba(6,24,58,0) 70%), linear-gradient(0deg, var(--midnight-deep) 0%, rgba(6,24,58,0) 30%); }
.pf-feature__text { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.pf-feature__text .wrap > div { display: grid; gap: 1.75rem; justify-items: start; max-width: 54rem; }
.pf-feature .lockup { font-size: clamp(2.6rem, 6vw, 6.6rem); }
.status { display: inline-flex; gap: 1.4rem; flex-wrap: wrap; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; }
.status span { display: inline-flex; gap: .6rem; align-items: center; }
.status span:first-child::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--magenta); animation: pulse 2.6s var(--ease-out) infinite; }
@media (max-width: 900px) {
  .pf-feature__media { height: 70vh; }
  .pf-feature__media::after { background: linear-gradient(0deg, var(--midnight-deep) 0%, rgba(6,24,58,.75) 40%, rgba(6,24,58,0) 75%); }
  .pf-feature__text { position: relative; margin-top: -30vh; padding-bottom: 4rem; }
}
.pf-note { padding-block: clamp(5rem, 10vw, 9rem); }

/* ==========================================================================
   INSIGHTS INDEX + ARTICLE
   ========================================================================== */
.masthead { padding-top: calc(var(--nav-h) + clamp(3rem, 7vw, 6rem)); padding-bottom: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.masthead__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.masthead .lockup { font-size: clamp(3.2rem, 10vw, 11rem); }
.masthead__meta { display: grid; gap: .4rem; text-align: right; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 700px) { .masthead__meta { text-align: left; } }
.ins-lead { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); row-gap: 2rem; align-items: center; padding-block: clamp(3rem, 6vw, 5rem); }
.ins-lead__media { grid-column: 1 / span 7; aspect-ratio: 4 / 3; }
.ins-lead__text { grid-column: 9 / span 4; display: grid; gap: 1.5rem; justify-items: start; }
.ins-lead__text .story-title { font-size: clamp(2.2rem, 4vw, 4.2rem); }
.ins-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); row-gap: 3rem; padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.ins-card { grid-column: span 6; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 1.25rem; align-content: start; }
.ins-card .num { grid-column: 1 / span 1; font-size: 3.6rem; color: transparent; -webkit-text-stroke: 1px var(--ink); opacity: .45; }
.ins-card__body { grid-column: 2 / span 5; display: grid; gap: 1rem; }
.ins-card__media { grid-column: 2 / span 5; aspect-ratio: 16 / 9; }
.ins-card .story-title { font-size: clamp(1.6rem, 2.4vw, 2.4rem); }
.ins-card:nth-child(even) { padding-top: clamp(0rem, 8vw, 8rem); }
.story-sub { font-family: var(--f-display); font-style: italic; font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.4; color: var(--ink); max-width: 30rem; }
@media (max-width: 900px) {
  .ins-lead__media, .ins-lead__text { grid-column: 1 / -1; }
  .ins-lead__media { margin-inline: calc(-1 * var(--gutter)); }
  .ins-card { grid-column: 1 / -1; } .ins-card:nth-child(even) { padding-top: 0; }
}
.article-hero { padding-top: calc(var(--nav-h) + clamp(3rem, 7vw, 6rem)); }
.article-hero__inner { display: grid; gap: 2rem; max-width: 70rem; }
.article-hero h1 { font-family: var(--f-display); font-weight: 850; font-size: clamp(2.6rem, 6.4vw, 6.6rem); line-height: .98; letter-spacing: -.015em; }
.article-hero .standfirst { font-family: var(--f-display); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 2.1rem); line-height: 1.3; max-width: 46rem; color: var(--midnight); }
.article-hero .summary { font-size: 1.05rem; line-height: 1.65; max-width: 40rem; color: var(--ink-soft); padding-top: 1.25rem; border-top: 1px solid var(--line); }
.article-hero__media { margin-top: clamp(3rem, 6vw, 5rem); aspect-ratio: 21 / 9; }
.article-body { padding-block: clamp(4rem, 8vw, 7rem); }
.article-body .prose { max-width: 40rem; margin-inline: auto; font-size: 1.14rem; line-height: 1.78; font-weight: 340; }
.prose p { margin-bottom: 1.35em; color: #24365A; }
.prose > p:first-of-type::first-letter { font-family: var(--f-display); font-weight: 850; float: left; font-size: 4.6em; line-height: .78; padding: .08em .12em 0 0; color: var(--midnight); }
.prose h2 { font-family: var(--f-display); font-weight: 850; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.1; margin: 2.2em 0 .8em; }
.prose blockquote { font-family: var(--f-display); font-style: italic; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.15; margin: 2em -4rem; padding: 0 0 0 2rem; border-left: 1px solid var(--magenta); color: var(--midnight); }
@media (max-width: 900px) { .prose blockquote { margin-inline: 0; } }
.article-end { border-top: 1px solid var(--line); padding-top: 3rem; margin-top: 3rem; display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.next-reads { padding-block: clamp(4rem, 8vw, 7rem); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { position: relative; overflow: hidden; padding-top: calc(var(--nav-h) + clamp(3rem, 7vw, 6rem)); padding-bottom: var(--section-y); }
.contact__tex { position: absolute; left: 0; right: 0; top: 0; height: 80vh; pointer-events: none; }
.contact__tex img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.contact__tex::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 40%, #fff 100%); }
.contact .lockup { font-size: clamp(3rem, 8vw, 8.8rem); position: relative; }
.contact__grid { position: relative; margin-top: clamp(4rem, 8vw, 7rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); row-gap: 4rem; }
.form { grid-column: 1 / span 7; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; row-gap: 2.2rem; }
.field { display: grid; gap: .55rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--ink-soft); }
.field label small { text-transform: none; letter-spacing: .02em; font-size: .78rem; font-weight: 300; }
.field input, .field select, .field textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(11,42,91,.3); background: transparent; padding: .7rem 0 .8rem; font-size: 1.15rem; font-weight: 340; color: var(--ink); border-radius: 0; transition: border-color var(--d-fast); -webkit-appearance: none; appearance: none; }
.field textarea { resize: vertical; min-height: 9rem; line-height: 1.6; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2rem; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--magenta); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }
.field [aria-invalid="true"] { border-bottom-color: #C4123F; }
.field__err { font-size: .82rem; color: #B0103A; min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.form__note { font-size: .88rem; color: var(--ink-soft); max-width: 26rem; }
.form__status { grid-column: 1 / -1; font-size: 1.05rem; }
.form__status.is-ok { padding: 1.5rem 0; border-top: 1px solid var(--magenta); font-family: var(--f-display); font-size: 1.6rem; }
.form__status.is-err { color: #B0103A; }
.form button[disabled] { opacity: .6; cursor: progress; }
.contact__details { grid-column: 9 / span 4; display: grid; gap: 2.2rem; align-content: start; }
.contact__details h2 { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; color: var(--accent); margin-bottom: .6rem; }
.contact__details a, .contact__details address { font-style: normal; font-size: 1.15rem; line-height: 1.55; }
.contact__details a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease-out); }
.contact__details a:hover { background-size: 100% 1px; }
@media (max-width: 900px) { .form, .contact__details { grid-column: 1 / -1; } .form { grid-template-columns: 1fr; } }

/* 404 */
.nf { min-height: 100vh; display: flex; align-items: center; background: var(--midnight-deep); color: var(--on-dark); position: relative; overflow: hidden; }
.nf .wrap { position: relative; display: grid; gap: 2rem; justify-items: start; }
.nf .lockup { font-size: clamp(3rem, 9vw, 9.6rem); }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .hero__slide { transition: opacity .6s linear, visibility 0s linear .6s; }
  .hero__slide.is-active { transition: opacity .6s linear; }
  .hero__slide.is-active .hero__media img { animation: none; transform: none; }
  .js [data-reveal], .js [data-reveal="clip"], .js [data-reveal="clip-x"] { clip-path: none; transform: none; transition: opacity .6s linear; }
  .js [data-reveal] img { transform: none !important; }
  .js [data-reveal="lines"] .ln > span { transform: none; }
  .js .hero__copy > * { transform: none; transition: opacity .6s linear; }
  .menu__item { transform: none; }
}
.pf-note__main { grid-column: 1 / span 7; }
.pf-note__aside { grid-column: 9 / span 4; }
@media (max-width: 900px) { .pf-note__main, .pf-note__aside { grid-column: 1 / -1; } }
@media (min-width: 901px) { .pillar__media, .pillar__num, .pillar__body { grid-row: 1; } .pillar__num, .pillar__body { align-self: end; } }
@media (max-width: 900px) { .teaser__card { max-width: 30rem; } }

/* ==========================================================================
   OUR STORY — manifesto chapters
   ========================================================================== */
/* 1 hero */
.osx-hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; align-items: center; padding-top: var(--nav-h); }
.osx-hero__tex { position: absolute; inset: 0; pointer-events: none; }
.osx-hero__tex picture, .osx-hero__tex img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.osx-hero__mark { position: absolute; left: 30%; top: 14%; width: min(46vw, 760px); opacity: .1; pointer-events: none; }
.osx-hero__figure { position: absolute; right: -7vw; bottom: -6vh; width: min(66vw, 1180px); margin: 0; z-index: 1; pointer-events: none; }
.osx-hero__figure img { width: 100%; height: auto; }
.js .osx-hero__reveal { clip-path: inset(8% 0 0 30%); opacity: 0; transition: clip-path 2.4s var(--ease-in-out) .2s, opacity 1.4s var(--ease-out) .2s; }
.js .osx-hero.is-ready .osx-hero__reveal { clip-path: inset(0 0 0 0); opacity: 1; }
.osx-hero__inner { position: relative; z-index: 2; }
.osx-hero__text { max-width: 47rem; display: grid; gap: 2rem; justify-items: start; padding-block: 4rem 6rem; }
.osx-hero__text .lockup { font-size: clamp(2.8rem, 6.2vw, 7.2rem); }
.osx-hero__text .lead { max-width: 30rem; }
.osx-hero__scroll { position: absolute; left: var(--gutter); bottom: 2rem; z-index: 2; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); display: flex; align-items: center; gap: 1rem; }
.osx-hero__scroll::before { content: ""; width: 1px; height: 3rem; background: linear-gradient(var(--magenta), transparent); }
@media (max-width: 900px) {
  .osx-hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .osx-hero__figure { position: relative; right: auto; bottom: auto; width: 128%; margin: 1rem 0 -3rem -14%; order: -1; }
  .osx-hero__mark { left: -10%; top: 6%; width: 90vw; }
  .osx-hero__text { padding-block: 0 4rem; }
  .osx-hero__scroll { display: none; }
}

/* 2 why infinity */
.osx-why { overflow: hidden; }
.osx-why__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); row-gap: 3rem; align-items: start; }
.osx-why__head { grid-column: 1 / span 7; display: grid; gap: 1.75rem; }
.osx-why__head .lockup { font-size: clamp(2.7rem, 6vw, 6.6rem); }
.osx-why__stack { grid-column: 9 / span 4; display: grid; gap: 1.25rem; padding-top: 1rem; }
.osx-why__begins { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.osx-why__begins li { font-family: var(--f-display); font-style: italic; font-size: clamp(1.35rem, 1.9vw, 1.85rem); line-height: 1.25; padding-left: calc(var(--i) * .9rem); color: var(--midnight); }
.osx-why__begins li:last-child { color: var(--accent); }
.osx-why__figure { margin: clamp(2rem, 5vw, 4rem) calc(-1 * max(0px, (100vw - 1600px) / 2)) 0; width: 100%; color: var(--midnight); }
.osx-why__figure svg { width: 100%; height: auto; overflow: visible; }
.why__ghost { fill: none; stroke: url(#whygrad); stroke-width: 34; stroke-opacity: .07; stroke-linecap: round; }
.why__line { fill: none; stroke: url(#whygrad); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .osx-why__figure .why__line { stroke-dashoffset: 1; transition: stroke-dashoffset 4.5s var(--ease-in-out) .3s; }
.js .osx-why__figure.is-in .why__line { stroke-dashoffset: 0; }
.why__word circle { fill: var(--white); stroke: var(--magenta); stroke-width: 1.5; }
.why__word text { font-family: var(--f-sans); font-weight: 500; font-size: 17px; letter-spacing: .32em; fill: var(--midnight); }
.js .osx-why__figure .why__word { opacity: 0; transition: opacity 1.2s var(--ease-out); transition-delay: calc(1.2s + var(--i) * .7s); }
.js .osx-why__figure.is-in .why__word { opacity: 1; }
.osx-why__close { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); row-gap: 1.5rem; margin-top: clamp(2rem, 5vw, 4rem); }
.osx-why__close .lead { grid-column: 1 / span 5; color: var(--ink-soft); }
.osx-why__statement { grid-column: 7 / span 6; font-family: var(--f-display); font-weight: 850; font-size: clamp(1.7rem, 2.9vw, 2.9rem); line-height: 1.1; letter-spacing: -.01em; }
.osx-why__statement em { font-weight: 400; color: var(--accent); }
@media (max-width: 900px) {
  .osx-why__head, .osx-why__stack, .osx-why__close .lead, .osx-why__statement { grid-column: 1 / -1; }
  .osx-why__figure svg { width: 124%; margin-left: -12%; }
  .why__word text { font-size: 26px; }
}

/* 3 stories can travel */
.travel { position: relative; background: var(--midnight-deep); color: var(--on-dark); }
.travel__stacked { padding-block: var(--section-y); display: grid; gap: 2rem; }
.travel__stacked > .lockup { font-size: clamp(2.8rem, 9vw, 7rem); }
.travel__list { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.travel__item { display: grid; gap: 1rem; }
.travel__strip { aspect-ratio: 21 / 8; margin-inline: calc(-1 * var(--gutter)); opacity: .75; }
.travel__line { font-size: clamp(2.4rem, 10vw, 5rem); line-height: .95; text-transform: uppercase; }
.travel__line .ln--light { font-family: var(--f-sans); font-weight: 200; letter-spacing: .06em; font-size: .6em; display: block; }
.travel__line b { font-family: var(--f-display); font-weight: 850; }
.travel__resolve-static { font-size: clamp(2.6rem, 8.6vw, 6.4rem); margin-top: 2rem; }
.travel__seq { display: none; }
.pin-ok .travel__stacked { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; }
.pin-ok .travel__seq { display: block; }
.seq__scroller { position: relative; height: 640vh; }
.seq__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.travel__bg { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease-out); }
.travel__bg picture, .travel__bg img { width: 100%; height: 100%; object-fit: cover; }
.travel__bg img { transform: scale(1.08); transition: transform 7s linear; filter: saturate(.85); }
.travel__bg.is-active { opacity: .34; }
.travel__bg.is-active img { transform: scale(1); }
.travel__bg--tex.is-active, .travel__bg--end.is-active { opacity: 1; }
.travel__bg--tex img, .travel__bg--end img { filter: none; }
.travel__ribbon { position: absolute; right: 4%; top: 50%; width: min(44vw, 720px); transform: translateY(-50%) scale(.92); opacity: 0; transition: opacity 2s var(--ease-out) .4s, transform 3s var(--ease-out) .4s; }
.travel__ribbon img { object-fit: contain; height: auto; transform: none !important; }
.travel__bg--end.is-active .travel__ribbon { opacity: .9; transform: translateY(-50%) scale(1); }
.travel__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,24,58,.9) 0%, rgba(6,24,58,.55) 50%, rgba(6,24,58,.3) 100%); pointer-events: none; }
.travel__belief { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); transform-origin: left top; transition: top 1.4s var(--ease-in-out), transform 1.4s var(--ease-in-out), opacity .8s; }
.travel__belief .eyebrow { margin-bottom: 1.5rem; display: flex; transition: opacity .6s; }
.travel__belief .lockup { font-size: clamp(3.4rem, 8.4vw, 9.6rem); }
.travel__stage:not([data-step="0"]) .travel__belief { top: calc(var(--nav-h) + 2.5rem); transform: translateY(0) scale(.3); }
.travel__stage:not([data-step="0"]) .travel__belief .eyebrow { opacity: 0; }
.travel__stage[data-step="5"] .travel__belief { opacity: 0; }
.travel__across { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-40%); opacity: 0; transition: opacity .8s var(--ease-out); pointer-events: none; }
.travel__stage[data-step="1"] .travel__across, .travel__stage[data-step="2"] .travel__across, .travel__stage[data-step="3"] .travel__across, .travel__stage[data-step="4"] .travel__across { opacity: 1; }
.travel__a { font-family: var(--f-sans); font-weight: 200; text-transform: uppercase; letter-spacing: .08em; font-size: clamp(2rem, 4.6vw, 5rem); line-height: 1; }
.travel__words { position: relative; height: clamp(5rem, 13.5vw, 15rem); overflow: hidden; margin-top: .5rem; }
.travel__word { position: absolute; left: 0; top: 0; font-family: var(--f-display); font-weight: 850; letter-spacing: -.02em; font-size: clamp(4.4rem, 13vw, 14.5rem); line-height: 1; letter-spacing: -.02em; transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.travel__word.is-active { transform: none; }
.travel__word.is-past { transform: translateY(-105%); }
.travel__resolve { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.travel__resolve .lockup { font-size: clamp(3.2rem, 7.6vw, 8.8rem); max-width: 60%; }
.travel__resolve .ln > span { display: inline-block; transform: translateY(110%); opacity: 0; transition: transform 1.3s var(--ease-out), opacity 1s; }
.travel__resolve .ln { overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.travel__stage[data-step="5"] .travel__resolve .ln > span { transform: none; opacity: 1; }
.travel__stage[data-step="5"] .travel__resolve .ln:nth-child(2) > span { transition-delay: .15s; }
.travel__stage[data-step="5"] .travel__resolve .ln:nth-child(3) > span { transition-delay: .3s; }
.travel__ticks { position: absolute; left: 0; right: 0; bottom: 2.5rem; display: flex; gap: .5rem; list-style: none; margin: 0; }
.travel__ticks li { width: 2.2rem; height: 1px; background: rgba(242,248,252,.25); transition: background .6s, width .8s var(--ease-out); }
.travel__ticks li.is-past { background: rgba(242,248,252,.6); }
.travel__ticks li.is-active { background: var(--magenta); width: 4.5rem; }

/* 4 what we believe — editorial spreads */
.osx-believe { overflow: hidden; }
.spread { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); row-gap: 2rem; align-items: center; margin-top: clamp(4rem, 9vw, 9rem); }
.spread__num { position: absolute; font-size: clamp(9rem, 26vw, 26rem); line-height: .75; color: transparent; -webkit-text-stroke: 1px rgba(11,42,91,.16); pointer-events: none; z-index: 0; }
.spread__text { position: relative; z-index: 1; display: grid; gap: 1.6rem; }
.spread .lockup { font-size: clamp(2.4rem, 4.8vw, 5.4rem); }
.spread--one .spread__num { left: -1.5vw; top: -5vw; }
.spread--one .spread__text { grid-column: 1 / span 6; padding-top: 6vw; }
.spread--one .spread__img { grid-column: 8 / span 5; aspect-ratio: 4 / 5; margin-right: calc(-1 * var(--gutter) - max(0px, (100vw - var(--wrap)) / 2)); }
.spread--two .spread__imgs { grid-column: 1 / span 6; position: relative; padding-bottom: 12%; }
.spread--two .spread__img--a { aspect-ratio: 16 / 11; margin-left: calc(-1 * var(--gutter) - max(0px, (100vw - var(--wrap)) / 2)); }
.spread--two .spread__img--b { position: absolute; right: -8%; bottom: 0; width: 46%; aspect-ratio: 4 / 3; outline: 10px solid var(--white); }
.spread--two .spread__num { right: -1vw; top: -6vw; }
.spread--two .spread__text { grid-column: 8 / span 5; }
.spread--three { align-items: end; }
.spread--three .spread__img { grid-column: 1 / span 3; aspect-ratio: 3 / 5; }
.spread--three .spread__text { grid-column: 5 / span 8; }
.spread--three .spread__num { position: static; font-size: clamp(5rem, 10vw, 10rem); margin-bottom: -1rem; }
.spread--three .lockup { font-size: clamp(3rem, 7.4vw, 8.4rem); }
@media (max-width: 900px) {
  .spread__text, .spread--one .spread__text, .spread--two .spread__text, .spread--three .spread__text { grid-column: 1 / -1; padding-top: 0; }
  .spread--one .spread__img, .spread--two .spread__imgs, .spread--three .spread__img { grid-column: 1 / -1; order: -1; margin-inline: calc(-1 * var(--gutter)); }
  .spread--one .spread__img { aspect-ratio: 4 / 3; }
  .spread--two .spread__img--a { margin-left: 0; }
  .spread--two .spread__img--b { right: var(--gutter); width: 44%; outline-width: 6px; }
  .spread--three .spread__img { aspect-ratio: 16 / 10; }
  .spread__num { font-size: 7rem; top: auto !important; bottom: auto; }
  .spread--one .spread__num, .spread--two .spread__num { position: relative; left: auto; right: auto; grid-column: 1 / -1; margin: -3.4rem 0 -2.6rem; z-index: 2; -webkit-text-stroke-color: rgba(11,42,91,.35); }
}

/* 5 capable */
.capable { position: relative; overflow: hidden; background: var(--midnight); color: var(--on-dark); padding-block: clamp(6rem, 12vw, 11rem); }
.capable__media { position: absolute; top: 0; bottom: 0; right: 0; width: 64vw; overflow: hidden; }
.capable__media > div { position: absolute; inset: -8% 0; }
.capable__media picture, .capable__media img { width: 100%; height: 100%; object-fit: cover; }
.capable__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--midnight) 0%, rgba(11,42,91,.75) 30%, rgba(11,42,91,.15) 70%, rgba(11,42,91,.45) 100%); }
.capable__inner { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); row-gap: 4rem; align-items: end; }
.capable__text { grid-column: 1 / span 7; display: grid; gap: 1.6rem; justify-items: start; }
.capable__text .lockup { font-size: clamp(2.6rem, 5.4vw, 6rem); }
.capable__second { margin-top: clamp(1rem, 3vw, 2.5rem); }
.capable__credits { grid-column: 10 / span 3; list-style: none; margin: 0; padding: 0; text-align: center; display: grid; gap: 1.05rem; align-self: center; }
.capable__credits li { font-size: .8rem; letter-spacing: .34em; text-transform: uppercase; font-weight: 400; color: var(--on-dark); }
.capable__credits-head { font-family: var(--f-display); font-style: italic; letter-spacing: 0 !important; text-transform: none !important; font-size: 1.05rem !important; color: var(--on-dark-soft) !important; margin-bottom: .8rem; line-height: 1.4; }
.capable__credits-head span { font-size: .85rem; }
@media (max-width: 1020px) {
  .capable__media { position: relative; width: auto; height: 56vw; margin: -6rem 0 2rem; }
  .capable__media::after { background: linear-gradient(0deg, var(--midnight) 0%, rgba(11,42,91,0) 60%); }
  .capable__text, .capable__credits { grid-column: 1 / -1; }
  .capable__credits { text-align: left; border-top: 1px solid var(--line-dark); padding-top: 2rem; }
}

/* 6 from here */
.osx-here { overflow: hidden; }
.osx-here__tex { position: absolute; inset: 0; pointer-events: none; opacity: .6; }
.osx-here__tex picture, .osx-here__tex img { width: 100%; height: 100%; object-fit: cover; }
.osx-here__grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); row-gap: 3rem; align-items: center; }
.osx-here__text { grid-column: 1 / span 7; display: grid; gap: 1.8rem; }
.osx-here__text .lockup { font-size: clamp(3rem, 7.6vw, 8.6rem); }
.osx-here__portrait { grid-column: 9 / span 4; aspect-ratio: 5 / 8; }
.osx-here__big { position: relative; margin-top: clamp(5rem, 11vw, 10rem); font-family: var(--f-display); font-weight: 850; letter-spacing: -.02em; font-size: clamp(2.4rem, 6.4vw, 7.4rem); line-height: .95; letter-spacing: -.012em; text-align: right; }
.osx-here__big .ln { display: block; }
.osx-here__big .ln--light { font-family: var(--f-sans); font-weight: 200; letter-spacing: .06em; font-size: .8em; }
.osx-here__big .ln--indent { padding-right: 1.4em; }
@media (max-width: 900px) {
  .osx-here__text, .osx-here__portrait { grid-column: 1 / -1; }
  .osx-here__portrait { aspect-ratio: 4 / 5; max-height: 80vh; }
  .osx-here__big { text-align: left; }
  .osx-here__big .ln--indent, .osx-here__big .ln--indent-2 { padding: 0; }
}

/* 7 collaboration — sticky image, scrolling doors */
.osx-collab__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); row-gap: 3rem; align-items: start; }
.osx-collab__media { grid-column: 1 / span 6; position: sticky; top: calc(var(--nav-h) + 1.5rem); margin-left: calc(-1 * var(--gutter) - max(0px, (100vw - var(--wrap)) / 2)); }
.osx-collab__img { height: calc(100vh - var(--nav-h) - 6rem); min-height: 420px; }
.osx-collab__img img { object-position: var(--pos, 40% 50%); transition: object-position 1.6s var(--ease-in-out), transform 1.6s var(--ease-in-out); }
.osx-collab__caption { margin-top: 1rem; padding-left: calc(var(--gutter) + max(0px, (100vw - var(--wrap)) / 2)); font-family: var(--f-display); font-style: italic; color: var(--ink-soft); }
.osx-collab__text { grid-column: 8 / span 5; display: grid; gap: 1.6rem; justify-items: start; padding-top: 2rem; }
.osx-collab__text .lockup { font-size: clamp(2.5rem, 4.6vw, 5rem); }
.doors { list-style: none; margin: 3rem 0 2rem; padding: 0; width: 100%; }
.door { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; gap: .8rem; border-top: 1px solid var(--line); padding-block: 2rem; transition: opacity .8s var(--ease-out); }
.door__n { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.door__who { font-family: var(--f-display); font-weight: 850; letter-spacing: -.02em; font-size: clamp(2.4rem, 4.4vw, 4.8rem); line-height: .95; letter-spacing: -.01em; }
.door__what { font-size: var(--t-lead); font-weight: 300; color: var(--ink-soft); max-width: 24rem; }
.js .doors.is-live .door { opacity: .22; }
.js .doors.is-live .door.is-active { opacity: 1; }
@media (max-width: 900px) {
  .osx-collab__media { grid-column: 1 / -1; position: relative; top: 0; margin-inline: calc(-1 * var(--gutter)); }
  .osx-collab__img { height: auto; min-height: 0; aspect-ratio: 16 / 11; }
  .osx-collab__caption { padding-left: var(--gutter); }
  .osx-collab__text { grid-column: 1 / -1; padding-top: 0; }
  .door { min-height: 0; padding-block: 1.6rem; }
  .js .doors.is-live .door { opacity: 1; }
}

/* 8 manifesto → footer */
.finale--manifesto { background: #041230; }
.manifesto { position: relative; padding-top: clamp(7rem, 14vw, 13rem); }
.manifesto .wrap { position: relative; z-index: 2; }
.manifesto__begins { margin-top: clamp(3rem, 6vw, 5rem); display: grid; gap: clamp(4rem, 10vw, 9rem); }
.manifesto__l { font-family: var(--f-display); font-weight: 850; letter-spacing: -.02em; font-size: clamp(2.2rem, 4.6vw, 5rem); line-height: .95; letter-spacing: -.01em; }
.manifesto__l .ln, .osx-here__big .ln { display: block; }
.manifesto__l .ln--light { font-family: var(--f-sans); font-weight: 200; letter-spacing: .07em; font-size: .78em; line-height: 1.1; }
.manifesto__l--2 { justify-self: center; }
.manifesto__l--3 { justify-self: end; text-align: right; }
.manifesto__final { margin-top: clamp(8rem, 22vw, 20rem); font-size: clamp(3.4rem, 10.4vw, 12.4rem); line-height: .86; }
.manifesto__act { margin-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(5rem, 10vw, 8rem); }
.manifesto__wave { position: relative; z-index: 1; margin-top: clamp(-10rem, -8vw, -4rem); height: clamp(220px, 34vw, 520px); pointer-events: none; }
.manifesto__wave picture, .manifesto__wave img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.manifesto__wave::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #041230 0%, rgba(4,18,48,0) 30%, rgba(4,18,48,0) 70%, #041230 100%); }
.finale--manifesto .footer { border-top: 0; margin-top: clamp(-6rem, -5vw, -3rem); position: relative; z-index: 2; }
@media (max-width: 900px) { .manifesto__l--2, .manifesto__l--3 { justify-self: start; text-align: left; } }

/* journey: keep stacked content available to assistive tech while pinned */
.pin-ok .journey__intro, .pin-ok .journey__list { display: block; position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; }

@media (prefers-reduced-motion: reduce) {
  .js .osx-hero__reveal { clip-path: none; opacity: 1; transition: none; }
  .js .osx-why__figure .why__line { stroke-dashoffset: 0; transition: none; }
  .js .osx-why__figure .why__word { opacity: 1; transition: none; }
  .door { transition: none; }
}
.travel__belief.wrap { left: var(--gutter); right: auto; width: auto; max-width: none; padding: 0; margin: 0; }
.travel__resolve .lockup { font-size: clamp(3rem, 6.4vw, 7.4rem); max-width: 68%; }
.osx-hero__text { max-width: min(62rem, 54vw); }
.osx-hero__figure { width: min(66vw, 1560px); }
@media (max-width: 900px) { .osx-hero__text { max-width: none; } .osx-hero__figure { width: 128%; } }

/* ==========================================================================
   CHASTEVILLE — brand layer on top of the engine
   ========================================================================== */
body { font-weight: 360; }
.lockup .ln--light { font-weight: 250; letter-spacing: .01em; }
.eyebrow { font-weight: 600; }

/* brand lockup: badge + wordmark (works on light and dark) */
.brand--cs { display: inline-flex; align-items: center; gap: .7rem; width: auto; color: inherit; }
.site-header.is-scrolled .brand--cs { width: auto; }
.brand--cs .brand__badge { width: 52px; height: 52px; flex: none; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.9); transition: width var(--d-med) var(--ease-out), height var(--d-med) var(--ease-out); }
.site-header.is-scrolled .brand--cs .brand__badge { width: 42px; height: 42px; }
.brand__word { display: grid; line-height: 1; }
.brand__word b { font-family: var(--f-display); font-weight: 900; font-size: 1.28rem; letter-spacing: -.01em; }
.brand__word span { font-size: .62rem; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; margin-top: .3rem; opacity: .8; }
.footer__brand .brand { width: auto; }
.footer__brand .brand__badge { width: 64px; height: 64px; }
.footer__brand .brand__word b { font-size: 1.6rem; }
@media (min-width: 1021px) and (max-width: 1240px) { .nav__list { gap: 1.1rem; } .nav__link { letter-spacing: .14em; } .brand__word span { letter-spacing: .24em; } }

/* textures — soft sky light + the dove from the badge */
.cs-tex { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cs-tex--light { background: radial-gradient(55% 75% at 88% 6%, rgba(0,152,218,.13), transparent 62%), radial-gradient(45% 60% at 0% 100%, rgba(127,211,247,.22), transparent 70%); }
.cs-tex--dark { background: radial-gradient(65% 85% at 92% 0%, rgba(0,152,218,.42), transparent 60%), radial-gradient(55% 70% at 0% 105%, rgba(0,119,182,.38), transparent 70%), var(--midnight-deep); }
.cs-tex--dove::after { content: ""; position: absolute; right: -4%; top: 6%; width: min(54vw, 820px); aspect-ratio: 713 / 400; background: url("../img/logo/dove-sky.png") center / contain no-repeat; opacity: .07; }
.cs-tex--dark.cs-tex--dove::after { background-image: url("../img/logo/dove-white.png"); opacity: .06; }
.menu__tex.cs-tex { inset: 0; height: auto; opacity: 1; }
.finale__tex.cs-tex::after { top: 10%; }
.finale__tex.cs-tex { opacity: 1; }
.teaser__tex.cs-tex, .pf-hero__tex.cs-tex { opacity: 1; }
.intro__tex.cs-tex { height: 100%; opacity: 1; }
.intro__tex.cs-tex::after { right: auto; left: -8%; top: auto; bottom: 4%; width: min(40vw, 560px); }

/* hero — copy sits low-left so the children's faces stay visible */
.hero__content { justify-content: flex-end; padding-bottom: clamp(8rem, 15vh, 10rem); }
.hero__copy { max-width: min(54rem, 60vw); gap: clamp(1rem, 2vw, 1.6rem); }
.hero__copy .lockup { font-size: clamp(2.8rem, 6.2vw, 6.8rem); }
.hero__slide--dark .hero__shade { background: linear-gradient(180deg, rgba(6,24,58,.62) 0, rgba(6,24,58,0) 190px), linear-gradient(90deg, rgba(6,24,58,.72) 0%, rgba(6,24,58,.25) 45%, rgba(6,24,58,0) 70%), linear-gradient(0deg, rgba(6,24,58,.88) 0%, rgba(6,24,58,.45) 34%, rgba(6,24,58,0) 62%); }
.hero__slide--dark .eyebrow { color: var(--sky-light); }
.hero .grad-text, [data-tone="dark"] .grad-text, [data-tone="deep"] .grad-text, .journey__stage.is-dark .grad-text { background: linear-gradient(100deg, #A9E4FB 0%, #5BC8F2 50%, #1FAEE8 100%); -webkit-background-clip: text; background-clip: text; }
@media (max-width: 900px) { .hero__copy { max-width: none; } .hero__slide--dark .hero__shade { background: linear-gradient(180deg, rgba(6,24,58,.6) 0, rgba(6,24,58,0) 140px), linear-gradient(0deg, rgba(6,24,58,.94) 0%, rgba(6,24,58,.65) 42%, rgba(6,24,58,0) 72%); } }

/* pillars: three legs of the tripod */
.pin-ok .pillars--3 .pillars__scroller { height: 330vh; }

/* journey */
.journey__path .node.is-on circle { fill: var(--sky); stroke: var(--sky); }
.journey__stage.is-dark .journey__path .node.is-on circle { fill: var(--sky-light); stroke: var(--sky-light); }
.journey__introtex.cs-tex { height: 100%; }

/* our school hero — photo figure with soft edges */
.osx-hero__figure--photo { right: -4vw; bottom: auto; top: 50%; transform: translateY(-46%); width: min(58vw, 1100px); }
.osx-hero__figure--photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%), linear-gradient(to top, transparent 0%, #000 18%), linear-gradient(to bottom, transparent 0%, #000 14%); -webkit-mask-composite: source-in, source-in; mask-image: linear-gradient(to right, transparent 0%, #000 30%), linear-gradient(to top, transparent 0%, #000 18%), linear-gradient(to bottom, transparent 0%, #000 14%); mask-composite: intersect; }
.osx-hero__mark { left: 34%; top: 12%; width: min(40vw, 640px); opacity: .09; }
.osx-hero__mark img { width: 100%; height: auto; }
.osx-hero__text { max-width: min(46rem, 48vw); }
@media (max-width: 900px) {
  .osx-hero__figure--photo { position: relative; top: auto; transform: none; right: auto; width: 128%; margin: 1rem 0 -2rem -14%; }
  .osx-hero__figure--photo img { -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 24%); mask-image: linear-gradient(to top, transparent 0%, #000 24%); }
  .osx-hero__text { max-width: none; }
}
.why__word circle { stroke: var(--sky); }
.why__word text { letter-spacing: .24em; }

/* travel (A day at Chasteville) */
.travel__ribbon img { width: 100%; height: auto; opacity: .9; }
.travel__bg--end.is-active .travel__ribbon { opacity: .18; }
.travel__ticks li.is-active { background: var(--sky-light); }
.travel__a { text-transform: none; letter-spacing: .02em; }

/* welcome from the Proprietress */
.welcome { display: grid; gap: 1.25rem; max-width: 38rem; }
.welcome__sign { display: grid; gap: .25rem; margin-top: .75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.welcome__sign b { font-family: var(--f-display); font-weight: 850; font-size: 1.35rem; }
.welcome__sign span { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.osx-here__portrait--badge { aspect-ratio: 1; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #fff 0%, #fff 38%, rgba(255,255,255,0) 72%); }
.osx-here__portrait--badge img { width: 78%; height: auto; filter: drop-shadow(0 30px 50px rgba(11,42,91,.18)); }
.osx-here__big .grad-text { -webkit-box-decoration-break: clone; }

/* manifesto dove */
.manifesto__wave--dove { display: flex; justify-content: center; align-items: center; margin-top: clamp(-6rem, -5vw, -2rem); }
.manifesto__wave--dove img { width: min(70vw, 900px); height: auto; object-fit: contain; opacity: .08; }
.manifesto__wave--dove::after { display: none; }
.finale--slim .footer { border-top: 0; }

/* footer giant */
.footer__giant { font-size: min(5.4vw, 5.4rem); white-space: normal; }

/* cta band dove */
.cta-band__mark { width: min(46vw, 640px); opacity: .09; height: auto; }

/* school life hero collage */
.pf-hero { min-height: 92vh; }
.pf-hero .wrap { z-index: 2; }
.pf-hero__collage { position: absolute; inset: 0; pointer-events: none; }
.pf-hero__c { position: absolute; overflow: hidden; border-radius: 2px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.pf-hero__c img { width: 100%; height: 100%; object-fit: cover; }
.pf-hero__c picture { width: 100%; height: 100%; }
.pf-hero__c--1 { right: 6vw; top: 16vh; width: 26vw; aspect-ratio: 4 / 5; }
.pf-hero__c--2 { right: 30vw; top: 54vh; width: 18vw; aspect-ratio: 4 / 3; opacity: .85; }
.pf-hero__c--3 { right: 2vw; top: 64vh; width: 16vw; aspect-ratio: 1; opacity: .9; }
.pf-hero .lockup { position: relative; }
@media (max-width: 900px) { .pf-hero__collage { opacity: .35; } .pf-hero__c--1 { width: 52vw; right: -6vw; top: 12vh; } .pf-hero__c--2, .pf-hero__c--3 { display: none; } }
.status span:first-child::before { background: var(--sky-light); }

/* gallery */
.gfilters { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2rem; }
.gfilter { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; padding: .75rem 1.15rem; border: 1px solid var(--line); border-radius: 999px; transition: background var(--d-fast), color var(--d-fast), border-color var(--d-fast); }
.gfilter:hover { border-color: var(--sky); }
.gfilter.is-active { background: var(--midnight); color: #fff; border-color: var(--midnight); }
.ggrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 1.4vw, 1.25rem); }
.gitem[hidden] { display: none; }
.gitem__btn { display: grid; gap: .7rem; width: 100%; text-align: left; }
.gitem__media { display: block; aspect-ratio: 4 / 3; }
.gitem:nth-child(5n+1) .gitem__media { aspect-ratio: 4 / 5; }
.gitem__media img { transition: transform 1.2s var(--ease-out); }
.gitem__btn:hover .gitem__media img { transform: scale(1.05); }
.gitem__cap { font-size: .9rem; color: var(--ink-soft); line-height: 1.4; }
.gitem__cap b { display: block; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: .2rem; }
@media (max-width: 700px) { .ggrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gitem__cap { font-size: .8rem; } }
.inline-link { color: var(--accent); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.lightbox { border: 0; padding: 0; max-width: min(92vw, 1400px); max-height: 92vh; background: transparent; color: #fff; overflow: visible; }
.lightbox::backdrop { background: rgba(6,24,58,.92); }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; height: auto; margin-inline: auto; }
.lightbox__cap { margin-top: .9rem; text-align: center; color: var(--on-dark-soft); }
.lightbox__close { position: absolute; right: 0; top: -3.2rem; display: inline-flex; gap: .8rem; align-items: center; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: #fff; height: 44px; }

/* admissions path */
.adm { position: relative; background: var(--midnight); color: var(--on-dark); }
.adm__intro { padding-top: var(--section-y); padding-bottom: clamp(2rem, 5vw, 4rem); }
.adm__intro .lockup { margin-top: 2rem; font-size: clamp(2.8rem, 6.4vw, 6.8rem); }
.adm__list { list-style: none; margin: 0; padding-bottom: var(--section-y); display: grid; }
.adm__item { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); row-gap: 1rem; align-items: center; padding-block: 2rem; border-top: 1px solid var(--line-dark); }
.adm__thumb { grid-column: 1 / span 4; aspect-ratio: 4 / 3; }
.adm__item .adm__n { grid-column: 6 / span 2; font-size: clamp(3.5rem, 7vw, 6.5rem); color: transparent; -webkit-text-stroke: 1px rgba(242,248,252,.5); }
.adm__item > div:last-child { grid-column: 8 / span 5; display: grid; gap: .6rem; }
.adm__t { font-family: var(--f-display); font-weight: 850; font-size: clamp(2rem, 3.6vw, 3.6rem); line-height: .95; letter-spacing: -.02em; }
.adm__d { font-size: var(--t-lead); font-weight: 300; color: var(--on-dark-soft); max-width: 28rem; }
@media (max-width: 900px) { .adm__thumb { grid-column: 1 / -1; margin-inline: calc(-1 * var(--gutter)); aspect-ratio: 16 / 10; } .adm__item .adm__n { grid-column: 1 / span 4; font-size: 4rem; } .adm__item > div:last-child { grid-column: 5 / -1; } }
.adm__seq { display: none; }
.pin-ok .adm__seq { display: block; }
.pin-ok .adm__list { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; }
.adm__seq .seq__scroller { height: 520vh; }
.adm__stage { background: var(--midnight); }
.adm__imgs { position: absolute; top: 0; bottom: 0; right: 0; width: 55vw; }
.adm__img { position: absolute; inset: 0; clip-path: inset(0 0 0 100%); transition: clip-path 1.3s var(--ease-in-out); }
.adm__img picture, .adm__img img { width: 100%; height: 100%; object-fit: cover; }
.adm__img img { transform: scale(1.12); transition: transform 2.4s var(--ease-out); }
.adm__img.is-active, .adm__img.is-past { clip-path: inset(0 0 0 0); }
.adm__img.is-active { z-index: 2; }
.adm__img.is-active img { transform: scale(1.02); }
.adm__imgs::after { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(90deg, var(--midnight) 0%, rgba(11,42,91,.2) 30%, rgba(11,42,91,0) 60%); }
.adm__words { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 4; }
.adm__step { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); width: min(38vw, 34rem); display: grid; gap: 1.2rem; }
.adm__step > * { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .6s var(--ease-out), transform .9s var(--ease-out); }
.adm__step.is-active > * { opacity: 1; transform: none; }
.adm__step.is-active > *:nth-child(2) { transition-delay: .1s; }
.adm__step.is-active > *:nth-child(3) { transition-delay: .2s; }
.adm__big { font-size: min(22vw, 30vh); line-height: .75; color: transparent; -webkit-text-stroke: 1px rgba(242,248,252,.45); }
.adm__rail { position: absolute; z-index: 5; left: var(--gutter); bottom: 6vh; display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.adm__rail li { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; opacity: .45; display: flex; gap: .6rem; align-items: center; transition: opacity var(--d-med); }
.adm__rail li span { color: var(--sky-light); }
.adm__rail li.is-active, .adm__rail li.is-past { opacity: 1; }
.adm__rail li::before { content: ""; width: 1.4rem; height: 1px; background: currentColor; transition: width var(--d-med) var(--ease-out), background var(--d-med); }
.adm__rail li.is-active::before { width: 2.8rem; background: var(--sky-light); }

/* contact */
.contact__tex.cs-tex { height: 90vh; }
.contact__tex.cs-tex::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 50%, #fff 100%); }
.field input::placeholder, .field textarea::placeholder { color: rgba(70,89,122,.55); }
.contact__details br + a { margin-top: .2rem; display: inline-block; }
.map { line-height: 0; }
.map iframe { width: 100%; height: clamp(320px, 52vh, 560px); border: 0; filter: saturate(.85); }

/* 404 */
.nf__tex.cs-tex { opacity: 1; }

/* floating WhatsApp */
.wa-float { position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); z-index: 90; display: inline-flex; align-items: center; gap: .6rem; padding: .8rem 1.1rem .8rem .9rem; border-radius: 999px; background: #1FA855; color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 14px 34px rgba(6,24,58,.28); transition: transform var(--d-med) var(--ease-out), box-shadow var(--d-med); }
.wa-float svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(6,24,58,.34); }
.menu-open .wa-float { display: none; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: .9rem; } }

@media (prefers-reduced-motion: reduce) {
  .adm__img, .adm__img img, .adm__step > * { transition: none; }
}

/* fixes after browser review */
.capable__media::after { background: linear-gradient(90deg, var(--midnight) 0%, rgba(11,42,91,.75) 30%, rgba(11,42,91,.35) 58%, rgba(11,42,91,.82) 82%, rgba(11,42,91,.92) 100%); }
.pf-hero .lockup { font-size: clamp(3.2rem, 8vw, 9rem); }
.pf-hero .wrap > * { max-width: 46vw; }
.pf-hero__c--1 { right: 4vw; top: 14vh; width: 24vw; }
.pf-hero__c--2 { right: 30vw; top: 64vh; width: 14vw; }
.pf-hero__c--3 { right: 3vw; top: 66vh; width: 14vw; }
@media (max-width: 900px) { .pf-hero .wrap > * { max-width: none; } }
.gitem:nth-child(5n+1) .gitem__media { aspect-ratio: 4 / 3; }
.capable__credits { background: rgba(6,24,58,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 2.2rem 1.5rem; border: 1px solid var(--line-dark); }
@media (max-width: 1020px) { .capable__credits { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; border-top: 1px solid var(--line-dark); padding: 2rem 0 0; } }
