/* ==========================================================================
   Roamvexa — main stylesheet
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset, variable) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-italic-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #071E2C;
  --deep: #0D3045;
  --ocean: #146B8C;
  --accent: #4DA6C8;
  --ice: #EAF3F5;
  --warm: #F8F7F3;
  --white: #FFFFFF;
  --ink: #202326;
  --muted: #5E676F;      /* slightly darkened from #667078 for AA on warm white */
  --border: #DDE3E5;
  --gold: #C7A96B;
  --error: #A5281B;
  --success: #1E6B4E;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 80px);
  --max: 1440px;
  --section: clamp(88px, 10vw, 140px);
  --util-h: 40px;
  --nav-h: 76px;
  --nav-h-sm: 62px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --slow: 1.1s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h-sm) + 24px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(16px, 0.25vw + 15.2px, 18px);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
address { font-style: normal; }
::selection { background: var(--ocean); color: #fff; }
main:focus { outline: none; }
[hidden] { display: none !important; }

/* ---------- Accessibility ---------- */
.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: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 12px 20px; font-size: 14px; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ocean); outline-offset: 3px; }
.section--navy :focus-visible, .site-header :focus-visible, .site-menu :focus-visible, .site-footer :focus-visible,
.hero :focus-visible, .statement :focus-visible, .cta-band :focus-visible, .cta-plain :focus-visible,
.contact__info :focus-visible, .svc-navy :focus-visible, .phero--image :focus-visible, .phero--navy :focus-visible { outline-color: var(--accent); }

/* ---------- Type ---------- */
.display-1, .display-2, .display-3, .display-4 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: inherit;
}
.display-1 { font-size: clamp(44px, 5.4vw + 8px, 82px); line-height: 1.02; }
.display-2 { font-size: clamp(38px, 3.6vw + 12px, 64px); line-height: 1.06; }
.display-3 { font-size: clamp(32px, 2.2vw + 16px, 48px); line-height: 1.1; }
.display-4 { font-size: clamp(26px, 1.2vw + 18px, 34px); line-height: 1.15; }
.display-1 em, .display-2 em, .display-3 em { font-style: italic; font-weight: 300; }
.lead { font-size: clamp(18px, .5vw + 15px, 21px); line-height: 1.6; font-weight: 300; }
.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ocean); line-height: 1.5;
}
.eyebrow--light { color: var(--accent); }
.small-note { margin-top: 28px; font-size: 15px; color: var(--muted); }

/* Line mask reveal for hero headings */
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: inline-block; }
.js .line > span { transform: translateY(105%); transition: transform 1.3s var(--ease-out); }
.js .is-loaded .line > span { transform: none; }
.js .is-loaded .line:nth-child(2) > span { transition-delay: .12s; }
.js .is-loaded .line:nth-child(3) > span { transition-delay: .24s; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 860px; }
.centered { text-align: center; }
.section { padding: var(--section) 0; }
.section--tight { padding-top: clamp(40px, 5vw, 72px); }
.section--warm { background: var(--warm); }
.section--ice { background: var(--ice); }
.section--navy { background: var(--navy); color: #fff; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }

.section-head { margin-bottom: clamp(48px, 6vw, 88px); max-width: 900px; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head__note { max-width: 560px; color: var(--muted); }
.section-head--split { display: grid; gap: 22px; max-width: none; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; flex-wrap: wrap; }
@media (min-width: 1024px) {
  .section-head--split { grid-template-columns: 3fr 9fr; align-items: start; }
  .section-head--split .eyebrow { margin-top: 18px; }
}

/* ---------- Buttons & links ---------- */
.btn {
  --b: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 0 30px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--b); border-radius: 0; background: transparent; color: var(--b);
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--b); color: #fff; }
.btn--solid { background: var(--navy); color: #fff; }
.btn--solid:hover { background: var(--ocean); border-color: var(--ocean); }
.btn--outline { color: var(--navy); }
.btn--light { --b: #fff; color: #fff; }
.btn--light:hover { background: #fff; color: var(--navy); }
.btn--outline-light { --b: rgba(255,255,255,.7); color: #fff; }
.btn--outline-light:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn--text { border-color: transparent; padding: 0 12px; }
.btn--text:hover { background: transparent; color: var(--ocean); text-decoration: underline; }
.linklike { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }

.arw { display: inline-flex; transition: transform .5s var(--ease); }
.arw svg { width: 24px; height: 12px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--navy);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding: 6px 0; transition: background-size .55s var(--ease), color .3s;
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover .arw { transform: translateX(6px); }
.link-arrow--light { color: #fff; }
.link-arrow--sm { font-size: 11.5px; }

/* ==========================================================================
   Header
   ========================================================================== */
.utility { background: #fff; border-bottom: 1px solid var(--border); height: var(--util-h); }
.utility__inner {
  max-width: var(--max); margin: 0 auto; height: 100%; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}
.utility__brand a { text-decoration: none; color: var(--navy); font-weight: 500; }
.utility__brand span { margin: 0 .4em; color: var(--border); }
.utility__nav { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.utility__nav a { text-decoration: none; position: relative; padding: 4px 0; transition: color .3s; }
.utility__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.utility__nav a:hover, .utility__nav a[aria-current] { color: var(--navy); }
.utility__nav a:hover::after, .utility__nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; }
.site-header__bar {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--nav-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  transition: height .5s var(--ease);
}
.site-header.is-condensed .site-header__bar { height: var(--nav-h-sm); }
.site-header.is-condensed { box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 30px rgba(7,30,44,.18); }

.menu-toggle {
  justify-self: start; display: inline-flex; align-items: center; gap: 14px;
  background: none; border: 0; color: #fff; padding: 10px 0;
  font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase;
}
.menu-toggle__lines { display: grid; gap: 7px; width: 28px; }
.menu-toggle__lines span { display: block; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.menu-toggle__lines span:last-child { width: 18px; }
.menu-toggle:hover .menu-toggle__lines span:last-child { width: 28px; }

.site-header__logo { display: block; color: #fff; }
.logo-svg { height: 38px; width: auto; transition: height .5s var(--ease); }
.site-header.is-condensed .logo-svg { height: 32px; }
.logo-svg .lg-mark { stroke-width: 1.8px; }
.logo-svg .lg-word { stroke-width: 1.15px; }
.logo-svg .lg-sub { stroke-width: 1px; opacity: .72; }
.logo-svg .lg-mark path:last-child { stroke: var(--accent); }

.site-header__actions { justify-self: end; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.svc-toggle {
  display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; color: #fff; padding: 10px 0;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
}
.svc-toggle__chev { transition: transform .4s var(--ease); }
.svc-toggle[aria-expanded="true"] .svc-toggle__chev { transform: rotate(180deg); }
.btn--nav { min-height: 46px; padding: 0 26px; font-size: 11.5px; }

/* Services panel */
.svc-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--deep); border-top: 1px solid rgba(255,255,255,.08); }
.svc-menu.is-open { animation: panelIn .5s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.svc-menu__inner { max-width: var(--max); margin: 0 auto; padding: 48px var(--gutter) 56px; display: grid; grid-template-columns: 3fr 9fr; gap: 48px; }
.svc-menu__lead { font-family: var(--serif); font-size: 26px; line-height: 1.25; font-weight: 300; margin: 16px 0 24px; }
.svc-menu__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.svc-menu__item { display: grid; gap: 10px; align-content: start; padding: 8px 28px 8px 0; margin-right: 28px; border-right: 1px solid rgba(255,255,255,.1); text-decoration: none; height: 100%; }
.svc-menu__list li:last-child .svc-menu__item { border-right: 0; margin-right: 0; }
.svc-menu__n { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--accent); font-weight: 300; }
.svc-menu__t { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.svc-menu__d { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.72); }
.svc-menu__item:hover .svc-menu__t, .svc-menu__item[aria-current] .svc-menu__t { color: var(--accent); }

/* Full-screen menu */
.site-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--navy); color: #fff;
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.site-menu.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.site-menu__top {
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter);
  height: var(--nav-h); border-bottom: 1px solid rgba(255,255,255,.08); flex: none;
}
.site-menu__logo { color: #fff; }
.site-menu__close { background: none; border: 1px solid rgba(255,255,255,.3); width: 48px; height: 48px; display: grid; place-items: center; color: #fff; transition: border-color .3s, transform .5s var(--ease); }
.site-menu__close:hover { border-color: #fff; transform: rotate(90deg); }
.site-menu__body {
  flex: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: clamp(32px, 6vh, 72px) var(--gutter) 40px;
  display: grid; gap: 48px; align-content: start;
}
.site-menu__primary ol { display: grid; gap: clamp(2px, .8vh, 10px); }
.site-menu__primary a {
  display: inline-flex; align-items: baseline; gap: 18px; text-decoration: none;
  font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 4.4vh + 10px, 72px); line-height: 1.12;
  transition: color .3s, transform .5s var(--ease);
}
.site-menu__primary a span { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; color: var(--accent); transform: translateY(-1.4em); }
.site-menu__primary a:hover, .site-menu__primary a[aria-current] { color: var(--accent); }
.site-menu__primary a:hover { transform: translateX(10px); }
.site-menu__aside { display: grid; gap: 40px; align-content: end; }
.site-menu__aside ul { display: grid; gap: 8px; margin-top: 16px; }
.site-menu__aside nav a { text-decoration: none; font-size: 17px; color: rgba(255,255,255,.86); }
.site-menu__aside nav a:hover { color: #fff; text-decoration: underline; }
.site-menu__contact { font-size: 15px; color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; }
.site-menu__contact a { color: #fff; text-decoration: none; font-size: 17px; }
.site-menu li, .site-menu__aside > * { opacity: 0; transform: translateY(18px); }
.site-menu.is-open li, .site-menu.is-open .site-menu__aside > * {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease) calc(.12s + var(--i, 0) * .06s), transform .9s var(--ease-out) calc(.12s + var(--i, 0) * .06s);
}
.site-menu__aside li { --i: 7; }
@media (min-width: 900px) {
  .site-menu__body { grid-template-columns: 7fr 4fr; gap: 64px; align-items: end; }
}
body.menu-open { overflow: hidden; }

@media (max-width: 899px) {
  :root { --nav-h: 64px; --nav-h-sm: 58px; }
  .utility__brand { display: none; }
  .utility__inner { justify-content: flex-end; }
  .site-header__bar { grid-template-columns: auto 1fr auto; }
  .site-header__logo { justify-self: center; }
  .logo-svg { height: 30px; }
  .site-header.is-condensed .logo-svg { height: 28px; }
  .menu-toggle__label, .svc-toggle, .svc-menu { display: none !important; }
  .btn--nav { min-height: 40px; padding: 0 14px; font-size: 10.5px; letter-spacing: .14em; }
}
@media (max-width: 479px) {
  .btn--nav { display: none; }
  .site-header__bar { grid-template-columns: 48px 1fr 48px; }
  .logo-svg { height: 28px; }
}

/* ==========================================================================
   Reveal & motion helpers
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease) var(--d, 0ms), transform 1.3s var(--ease-out) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* the clip sits on the inner picture so the observed container stays "visible" to IntersectionObserver and native lazy-loading */
.js [data-mask] > picture { clip-path: inset(0 0 100% 0); transition: clip-path 1.5s var(--ease-out); }
.js [data-mask] img { transform: scale(1.08); transition: transform 2s var(--ease-out); }
.js [data-mask].is-in > picture { clip-path: inset(0 0 0 0); }
.js [data-mask].is-in img { transform: scale(1); }
[data-parallax] { overflow: hidden; }
[data-parallax] picture { will-change: transform; }
[data-parallax] picture > img { position: static !important; inset: auto !important; width: 100% !important; height: 100% !important; object-fit: cover; }

/* ==========================================================================
   Home — hero
   ========================================================================== */
.hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  height: clamp(650px, calc(100svh - var(--util-h) - var(--nav-h)), 900px);
  display: flex; align-items: flex-end;
}
.hero__media, .hero__media picture, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { z-index: -2; }
.hero__media img { object-fit: cover; transform: scale(1.06); transition: transform 2.8s var(--ease-out); }
.is-loaded .hero__media img { transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(7,30,44,.82) 0%, rgba(7,30,44,.35) 48%, rgba(7,30,44,.18) 100%),
    rgba(7,30,44,.28);
}
.hero__content { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(56px, 9vh, 104px); }
.hero__eyebrow { margin-bottom: 26px; color: rgba(255,255,255,.86); }
.hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 6.2vw + 6px, 82px); line-height: .98; letter-spacing: -0.015em; max-width: 12ch; }
.hero__title em { font-style: italic; }
.hero__lead { max-width: 520px; margin-top: 28px; font-size: clamp(17px, .4vw + 15px, 19px); font-weight: 300; color: rgba(255,255,255,.88); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 36px; margin-top: 40px; }
.js .hero__eyebrow, .js .hero__lead, .js .hero__ctas { opacity: 0; transform: translateY(16px); transition: opacity 1.2s var(--ease) .5s, transform 1.4s var(--ease-out) .5s; }
.js .is-loaded .hero__eyebrow { transition-delay: .2s; }
.js .is-loaded .hero__ctas { transition-delay: .7s; }
.js .is-loaded .hero__eyebrow, .js .is-loaded .hero__lead, .js .is-loaded .hero__ctas { opacity: 1; transform: none; }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 16px;
  color: #fff; text-decoration: none; padding-bottom: 0;
}
.scroll-cue__label { writing-mode: vertical-rl; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.scroll-cue__line { width: 1px; height: 88px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 36px; background: #fff; animation: cue 2.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-40px); } 70%, 100% { transform: translateY(100px); } }
@media (max-width: 767px) {
  .hero { height: auto; min-height: min(100svh - var(--util-h) - var(--nav-h), 760px); min-height: 600px; }
  .hero__media img { object-position: 50% 50% !important; }
  .scroll-cue { display: none; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
}

/* ---------- Intro ---------- */
.intro__label { grid-column: 1 / span 3; padding-top: 18px; }
.intro__body { grid-column: 5 / span 8; }
.intro__copy { margin-top: 44px; display: grid; gap: 18px; max-width: 640px; color: var(--ink); }
.intro__copy .link-arrow { justify-self: start; margin-top: 10px; }
@media (max-width: 1023px) {
  .intro__label, .intro__body { grid-column: 1 / -1; }
  .intro__label { margin-bottom: 24px; padding-top: 0; }
}

/* ---------- Services rows ---------- */
.services-list { background: var(--navy); color: #fff; }
.svc-rows { border-bottom: 1px solid rgba(255,255,255,.14); }
.svc-row { border-top: 1px solid rgba(255,255,255,.14); }
.svc-row__link {
  position: relative; display: grid; align-items: center; text-decoration: none;
  grid-template-columns: 90px minmax(200px, 4fr) 5fr 3fr; gap: 24px;
  min-height: clamp(180px, 15vw, 220px); padding: 36px 24px 36px 0;
  transition: background-color .7s var(--ease), padding .7s var(--ease);
}
.svc-row__n { font-family: var(--serif); font-size: 22px; color: var(--accent); font-weight: 300; align-self: start; padding-top: 14px; }
.svc-row__t { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 2.6vw + 12px, 56px); line-height: 1; letter-spacing: -.01em; }
.svc-row__d { color: rgba(255,255,255,.72); max-width: 440px; font-size: 16px; position: relative; z-index: 2; }
.svc-row__cta { justify-self: end; display: inline-flex; align-items: center; gap: 14px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; position: relative; z-index: 2; }
.svc-row__img {
  position: absolute; z-index: 1; top: 50%; left: 58%; width: 240px; aspect-ratio: 4 / 5; pointer-events: none;
  transform: translate(-50%, -50%) scale(.96); opacity: 0; clip-path: inset(50% 0 50% 0);
  transition: clip-path .8s var(--ease-out), opacity .5s var(--ease), transform .9s var(--ease-out);
}
.svc-row__img picture, .svc-row__img img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (min-width: 1024px) {
  .svc-row__link:hover, .svc-row__link:focus-visible { background: rgba(255,255,255,.035); padding-left: 24px; }
  .svc-row__link:hover .svc-row__img, .svc-row__link:focus-visible .svc-row__img { opacity: 1; clip-path: inset(0 0 0 0); transform: translate(-50%, -50%) scale(1); }
  .svc-row__link:hover .svc-row__d { opacity: .25; }
  .svc-row__link:hover .arw, .svc-row__link:focus-visible .arw { transform: translateX(10px); }
}
.svc-row__d { transition: opacity .5s var(--ease); }
@media (max-width: 1023px) {
  .svc-row__link { grid-template-columns: 56px 1fr; gap: 14px 16px; padding: 36px 0; min-height: 0; }
  .svc-row__n { grid-row: 1 / span 3; padding-top: 6px; }
  .svc-row__cta { justify-self: start; margin-top: 8px; }
  .svc-row__img { display: none; }
}

/* ---------- Image break ---------- */
.image-break { position: relative; color: #fff; overflow: hidden; }
.image-break__media { height: max(360px, 43.75vw); position: relative; }
.image-break__media picture, .image-break__media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.image-break::after { content: ""; position: absolute; inset: 0; background: rgba(7,30,44,.42); pointer-events: none; }
.image-break__words {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto;
  font-family: var(--serif); font-weight: 300; text-transform: uppercase; letter-spacing: .18em;
  font-size: clamp(30px, 4.6vw, 72px);
}
.image-break__words span { opacity: .96; }
@media (max-width: 767px) {
  .image-break__media { height: 125vw; max-height: 620px; }
  .image-break__words { flex-direction: column; justify-content: center; gap: 12px; }
}

/* ---------- Approach timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(20px, 3vw, 48px); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 152px; height: 1px; background: var(--border); }
.timeline__step { position: relative; }
.timeline__num {
  display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(110px, 10vw, 156px); line-height: 1;
  color: var(--ice); height: 140px; margin-left: -6px; user-select: none; -webkit-text-stroke: 1px #cfe0e5;
}
.timeline__dot { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--ocean); margin: 7px 0 36px; position: relative; z-index: 1; box-shadow: 0 0 0 6px #fff; }
.timeline__t { font-family: var(--sans); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; color: var(--navy); margin-bottom: 14px; }
.timeline__step p { color: var(--muted); max-width: 300px; }
@media (max-width: 1023px) {
  .timeline { grid-template-columns: 1fr 1fr; gap: 56px 32px; }
  .timeline::before { display: none; }
  .timeline__num { font-size: 96px; height: 92px; }
  .timeline__dot { margin: 10px 0 22px; }
}
@media (max-width: 559px) {
  .timeline { grid-template-columns: 1fr; gap: 48px; padding-left: 28px; }
  .timeline::before { display: block; top: 0; bottom: 0; left: 4px; right: auto; width: 1px; height: auto; }
  .timeline__dot { position: absolute; left: -28px; top: 46px; margin: 0; }
  .timeline__num { margin-left: 0; }
}

/* ---------- Capabilities split ---------- */
.capabilities { display: grid; grid-template-columns: 55fr 45fr; min-height: 760px; background: #fff; }
.capabilities__media { position: relative; overflow: hidden; }
.capabilities__media picture, .capabilities__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.capabilities__body { padding: var(--section) var(--gutter); align-self: center; max-width: 640px; }
.capabilities__body .eyebrow { margin-bottom: 22px; }
.capabilities__body h2 { margin-bottom: 48px; }
.cap-list { border-top: 1px solid var(--border); }
.cap-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0;
  border-bottom: 1px solid var(--border); text-decoration: none; font-size: 18px; color: var(--ink);
  transition: color .35s, padding .6s var(--ease);
}
.cap-list .arw { color: var(--ocean); opacity: .35; transition: transform .6s var(--ease), opacity .4s; }
.cap-list a:hover { color: var(--ocean); padding-left: 10px; }
.cap-list a:hover .arw { opacity: 1; transform: translateX(8px); }
@media (max-width: 1023px) {
  .capabilities { grid-template-columns: 1fr; min-height: 0; }
  .capabilities__media { aspect-ratio: 4 / 3; }
  .capabilities__body { max-width: none; }
}

/* ---------- Brand statement ---------- */
.statement {
  position: relative; background: var(--deep); color: #fff; overflow: hidden;
  min-height: min(92vh, 900px); display: grid; place-items: center; text-align: center; padding: var(--section) var(--gutter);
}
.statement__inner { position: relative; z-index: 1; max-width: 760px; }
.statement__inner .eyebrow { letter-spacing: .4em; margin-bottom: 30px; }
.statement__title { margin-bottom: 36px; }
.statement__body { color: rgba(255,255,255,.78); max-width: 560px; margin: 0 auto; font-weight: 300; font-size: clamp(17px, .4vw + 15px, 19px); }
.statement__line { position: absolute; left: 0; top: 50%; width: 100%; height: 60%; transform: translateY(-50%); pointer-events: none; }
.statement__line path { fill: none; stroke: var(--accent); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .45; stroke-dasharray: 2400; stroke-dashoffset: 2400; }
.statement__line .statement__line--2 { opacity: .18; }
.statement__line.is-in path { animation: draw 5s var(--ease) forwards; }
.statement__line.is-in .statement__line--2 { animation-delay: .6s; animation-duration: 6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.no-js .statement__line path { stroke-dashoffset: 0; }

/* ---------- Ways we can work (stories) ---------- */
.stories .section-head { display: grid; gap: 18px; }
.story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: center; }
.story + .story { margin-top: clamp(80px, 10vw, 150px); }
.story__media { display: block; overflow: hidden; }
.story__media picture, .story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.story__media:hover img { transform: scale(1.025); }
.story--1 .story__media { grid-column: 1 / span 7; aspect-ratio: 4 / 3; }
.story--1 .story__text { grid-column: 9 / span 4; }
.story--2 .story__media { grid-column: 6 / span 7; grid-row: 1; aspect-ratio: 16 / 10; }
.story--2 .story__text { grid-column: 1 / span 4; grid-row: 1; }
.story--3 .story__media { grid-column: 2 / span 6; aspect-ratio: 4 / 5; max-height: 820px; }
.story--3 .story__text { grid-column: 9 / span 4; align-self: end; padding-bottom: 40px; }
.story__n { display: block; font-family: var(--serif); font-size: 64px; line-height: 1; font-weight: 300; color: var(--ocean); margin-bottom: 26px; }
.story__tags { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.story__t { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 2.4vw + 14px, 52px); line-height: 1.05; margin-bottom: 22px; }
.story__t a { text-decoration: none; }
.story__t a:hover { color: var(--ocean); }
.story__d { font-size: 19px; font-weight: 300; margin-bottom: 16px; color: var(--ink); }
.story__more { color: var(--muted); margin-bottom: 28px; font-size: 16px; }
@media (max-width: 1023px) {
  .story { grid-template-columns: 1fr; }
  .story .story__media, .story .story__text { grid-column: 1 !important; grid-row: auto !important; }
  .story .story__media { aspect-ratio: 4 / 3; margin-bottom: 36px; }
  .story--3 .story__text { padding-bottom: 0; }
}

/* ---------- Philadelphia ---------- */
.philly { display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); align-items: stretch; background: #fff; }
.philly__text { padding: var(--section) clamp(32px, 5vw, 96px) var(--section) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); align-self: center; }
.philly__text .eyebrow { margin-bottom: 22px; }
.philly__text h2 { margin-bottom: 30px; }
.philly__text > p { color: var(--muted); max-width: 480px; }
.philly__addr { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--border); display: grid; gap: 18px; justify-items: start; }
.philly__media { position: relative; min-height: 640px; overflow: hidden; }
.philly__media picture, .philly__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.addr { line-height: 1.75; color: var(--ink); }
@media (max-width: 1023px) {
  .philly { grid-template-columns: 1fr; }
  .philly__text { padding: var(--section) var(--gutter) 56px; }
  .philly__media { min-height: 0; aspect-ratio: 16 / 11; }
}

/* ---------- Insights (home) ---------- */
.insight-grid { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; gap: 56px clamp(32px, 4vw, 72px); }
.insight--lead { grid-row: span 2; }
.insight__media { display: block; overflow: hidden; margin-bottom: 26px; }
.insight__media img { width: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.insight--lead .insight__media img { aspect-ratio: 5 / 4; }
.insight--side { display: grid; grid-template-columns: 2fr 3fr; gap: 26px; align-items: start; }
.insight--side .insight__media { margin: 0; }
.insight--side .insight__media img { aspect-ratio: 4 / 5; }
.insight:hover .insight__media img { transform: scale(1.025); }
.insight__cat { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ocean); margin-bottom: 12px; font-weight: 500; }
.insight__t { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 1vw + 18px, 32px); line-height: 1.15; margin-bottom: 14px; }
.insight--lead .insight__t { font-size: clamp(30px, 1.6vw + 18px, 42px); font-weight: 300; }
.insight__t a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.insight__t a:hover { background-size: 100% 1px; }
.insight__d { color: var(--muted); margin-bottom: 14px; font-size: 16px; }
.insight__meta { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
@media (max-width: 1023px) {
  .insight-grid { grid-template-columns: 1fr; }
  .insight--lead { grid-row: auto; }
}
@media (max-width: 559px) {
  .insight--side { grid-template-columns: 1fr; }
  .insight--side .insight__media img { aspect-ratio: 16 / 10; }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; overflow: hidden; isolation: isolate; min-height: 640px; display: grid; align-items: center; }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media picture, .cta-band__media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7,30,44,.78); }
.cta-band__inner { width: 100%; max-width: var(--max); margin: 0 auto; padding: var(--section) var(--gutter); }
.cta-band__inner p { max-width: 520px; margin-top: 28px; font-size: clamp(17px, .4vw + 15px, 19px); font-weight: 300; color: rgba(255,255,255,.86); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 22px 36px; align-items: center; margin-top: 44px; }

.cta-plain { background: var(--navy); color: #fff; padding: clamp(80px, 9vw, 130px) 0; }
.cta-plain__inner { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; }
.cta-plain__side p { color: rgba(255,255,255,.8); font-weight: 300; margin-bottom: 32px; max-width: 440px; }
.cta-plain__actions { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
@media (max-width: 1023px) { .cta-plain__inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: rgba(255,255,255,.78); border-top: 1px solid rgba(255,255,255,.08); font-size: 15px; }
.site-footer__inner { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 8vw, 112px) var(--gutter) 36px; min-height: 480px; display: flex; flex-direction: column; }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer__mark { color: #fff; display: block; }
.wordmark-svg { width: clamp(260px, 42vw, 600px); height: auto; }
.wordmark-svg g { stroke-width: 1.6px; }
@media (min-width: 1024px) { .wordmark-svg g { stroke-width: 2.2px; } }
.site-footer__tag { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(22px, 1.5vw + 12px, 32px); color: #fff; }
.site-footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 56px 0; flex: 1; }
.site-footer__h { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 20px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a, .site-footer .linklike { color: rgba(255,255,255,.86); text-decoration: none; font-size: 15px; }
.site-footer a:hover, .site-footer .linklike:hover { color: #fff; text-decoration: underline; }
.site-footer .addr { color: rgba(255,255,255,.78); margin-top: 14px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.62); letter-spacing: .04em; }
@media (max-width: 1023px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .site-footer__cols { grid-template-columns: 1fr; gap: 36px; } }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.crumbs { margin-bottom: 30px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; color: var(--ocean); }
.crumbs a:hover { text-decoration: underline; }
.phero--image .crumbs ol, .phero--navy .crumbs ol, .phero--duo .crumbs ol { color: rgba(255,255,255,.7); }
.phero--navy .crumbs a, .phero--duo .crumbs a { color: var(--accent); }
.phero--image .crumbs ol { color: rgba(255,255,255,.9); }
.phero--image .crumbs a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); }

/* About: split hero 60vh */
.phero--split { display: grid; grid-template-columns: 1fr 1fr; min-height: max(60vh, 560px); background: var(--warm); }
.phero--split .phero__text { padding: clamp(64px, 8vw, 120px) clamp(32px, 5vw, 96px) clamp(64px, 8vw, 120px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); align-self: center; }
.phero--split .phero__text .lead { margin-top: 32px; max-width: 520px; color: var(--ink); }
.phero__media { position: relative; overflow: hidden; }
.phero--split .phero__media picture, .phero--split .phero__media img, .phero--duo .phero__media picture, .phero--duo .phero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) {
  .phero--split { grid-template-columns: 1fr; }
  .phero--split .phero__text { padding: 64px var(--gutter) 48px; }
  .phero--split .phero__media { aspect-ratio: 16 / 10; }
}

/* Chapters */
.chapter { display: grid; grid-template-columns: 4fr 8fr; gap: 32px clamp(32px, 5vw, 96px); padding: clamp(56px, 6vw, 88px) 0; border-top: 1px solid var(--border); }
.chapter:first-child { border-top: 0; padding-top: 0; }
.chapter--flush { border-top: 0; padding-top: 0; padding-bottom: 0; }
.chapter__n { display: block; font-family: var(--serif); font-size: 20px; color: var(--ocean); margin-bottom: 14px; letter-spacing: .04em; }
.chapter__n--light { color: var(--accent); }
.chapter__body { display: grid; gap: 20px; max-width: 760px; }
.chapter__body > p:not(.lead) { color: var(--ink); }
@media (max-width: 1023px) { .chapter { grid-template-columns: 1fr; } }

.beliefs { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; }
.beliefs h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.2; margin-bottom: 10px; }
.beliefs p { color: var(--muted); }
@media (max-width: 767px) { .beliefs { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: #fff; }
.split__media { position: relative; overflow: hidden; align-self: stretch; min-height: 620px; }
.split__media picture, .split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__media--inset { margin: var(--section) 0 var(--section) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); min-height: 560px; }
.split__text { padding: var(--section) clamp(32px, 6vw, 112px); max-width: 720px; display: grid; gap: 20px; justify-items: start; }
.split__text .eyebrow { margin-bottom: 4px; }
.split--reverse .split__media { order: 2; }
.split--wide { background: var(--white); }
@media (max-width: 1023px) {
  .split { grid-template-columns: 1fr; }
  .split__media, .split__media--inset { min-height: 0; aspect-ratio: 4 / 3; margin: 0; }
  .split--reverse .split__media { order: 0; }
  .split__text { padding: 64px var(--gutter) var(--section); max-width: none; }
}

.numbered { counter-reset: n; display: grid; gap: 14px; padding: 0; list-style: none; }
.numbered li { counter-increment: n; padding-left: 44px; position: relative; color: var(--muted); }
.numbered li::before { content: "0" counter(n); position: absolute; left: 0; top: 0; font-family: var(--serif); color: var(--ocean); font-size: 19px; }
.numbered strong { color: var(--ink); font-weight: 500; }

.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .85em; width: 14px; height: 1px; background: var(--ocean); }

.index-list { border-top: 1px solid var(--border); }
.index-list a { display: grid; grid-template-columns: 48px 1.2fr 2fr auto; gap: 20px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--border); text-decoration: none; transition: padding .6s var(--ease); }
.index-list__n { font-family: var(--serif); color: var(--ocean); font-size: 18px; }
.index-list__t { font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.15; }
.index-list__d { color: var(--muted); font-size: 15.5px; }
.index-list .arw { color: var(--ocean); align-self: center; }
.index-list a:hover { padding-left: 10px; }
.index-list a:hover .arw { transform: translateX(8px); }
@media (max-width: 767px) {
  .index-list a { grid-template-columns: 36px 1fr auto; }
  .index-list__d { grid-column: 2 / -1; }
}

.based { position: relative; min-height: 720px; display: grid; align-items: center; overflow: hidden; }
.based__media { position: absolute; inset: 0; }
.based__media picture, .based__media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.based__panel {
  position: relative; background: #fff; max-width: 520px; padding: clamp(40px, 5vw, 72px);
  margin-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); display: grid; gap: 18px; justify-items: start;
}
.based__panel p:not(.addr) { color: var(--muted); }
@media (max-width: 767px) {
  .based { min-height: 0; display: block; }
  .based__media { position: relative; aspect-ratio: 4 / 3; }
  .based__panel { margin: 0; max-width: none; padding: 56px var(--gutter); }
}

/* Services page */
.phero--navy { background: var(--navy); color: #fff; padding: clamp(80px, 9vw, 140px) 0 clamp(64px, 7vw, 104px); }
.phero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 32px clamp(32px, 5vw, 96px); align-items: end; }
.phero--navy .crumbs, .phero--offset .crumbs { grid-column: 1 / -1; margin-bottom: 0; }
.phero__aside .lead { color: rgba(255,255,255,.82); margin-bottom: 32px; }
.jump { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.jump a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); text-decoration: none; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; transition: color .3s, padding .5s var(--ease); }
.jump a:hover { color: var(--accent); padding-left: 8px; }
.band-image { height: max(300px, 37.5vw); position: relative; }
.band-image picture, .band-image img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
@media (max-width: 1023px) { .phero__grid { grid-template-columns: 1fr; } }

.svc-navy { background: var(--navy); color: #fff; padding: var(--section) 0; }
.svc-navy__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px clamp(40px, 6vw, 120px); }
.svc-navy__grid > div:first-child { display: grid; gap: 20px; align-content: start; justify-items: start; }
.svc-navy .lead { color: rgba(255,255,255,.82); }
@media (max-width: 1023px) { .svc-navy__grid { grid-template-columns: 1fr; } }

.deflist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 1px solid var(--border); }
.deflist > div { padding: 26px 0; border-bottom: 1px solid var(--border); }
.deflist dt { font-family: var(--serif); font-size: 24px; font-weight: 400; margin-bottom: 8px; line-height: 1.2; }
.deflist dd { color: var(--muted); font-size: 16px; }
.deflist--light { border-color: rgba(255,255,255,.14); }
.deflist--light > div { border-color: rgba(255,255,255,.14); }
.deflist--light dd { color: rgba(255,255,255,.72); }
@media (max-width: 767px) { .deflist { grid-template-columns: 1fr; } }

.overlap { position: relative; padding: var(--section) 0; }
.overlap__media { width: 75%; aspect-ratio: 16 / 9; position: relative; overflow: hidden; }
.overlap__media picture, .overlap__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.overlap__panel {
  position: relative; z-index: 2; background: #fff; width: min(600px, 90%); margin: -220px 0 0 auto; margin-right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  padding: clamp(40px, 5vw, 72px); display: grid; gap: 18px; justify-items: start; box-shadow: 0 30px 60px -40px rgba(7,30,44,.35);
}
.overlap__panel p { color: var(--muted); }
@media (max-width: 1023px) {
  .overlap__media { width: 100%; }
  .overlap__panel { margin: -60px var(--gutter) 0; width: auto; padding: 40px 28px; }
}

.web-svc { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 48px clamp(32px, 4vw, 72px); align-items: start; }
.web-svc__intro { display: grid; gap: 20px; justify-items: start; }
.web-svc__media { aspect-ratio: 3 / 4; position: relative; overflow: hidden; margin-top: 60px; }
.web-svc__media picture, .web-svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.steps-list { border-top: 1px solid var(--border); margin-top: 56px; }
.steps-list li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border); font-size: 17px; }
.steps-list span { font-family: var(--serif); font-style: italic; color: var(--ocean); min-width: 30px; }
@media (max-width: 1023px) {
  .web-svc { grid-template-columns: 1fr; }
  .web-svc__media { aspect-ratio: 16 / 10; margin-top: 0; }
  .steps-list { margin-top: 0; }
}

.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px clamp(32px, 4vw, 64px); margin-top: 72px; }
.three-col h3 { font-family: var(--sans); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--navy); margin-bottom: 14px; padding-top: 24px; border-top: 1px solid var(--ocean); }
.three-col p { color: var(--muted); }
.three-col--light { margin-top: 0; }
.three-col--light h3 { color: #fff; border-color: var(--accent); }
.three-col--light p { color: rgba(255,255,255,.75); }
#measurement .narrow { display: grid; gap: 20px; justify-items: center; }
#measurement .narrow p:not(.lead) { color: var(--muted); max-width: 640px; }
@media (max-width: 767px) { .three-col { grid-template-columns: 1fr; } }

.faq details { border-top: 1px solid var(--border); }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
  font-family: var(--serif); font-size: clamp(22px, .8vw + 16px, 27px); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1px; background: var(--ocean); transition: transform .4s var(--ease); }
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0); }
.faq details p { padding: 0 0 28px; color: var(--muted); max-width: 680px; }

/* Strategy */
.phero--offset { padding: clamp(64px, 7vw, 112px) 0 0; background: #fff; }
.phero--offset .phero__grid { grid-template-columns: 6fr 5fr; align-items: center; }
.phero--offset .phero__text .lead { margin-top: 32px; max-width: 540px; }
.phero--offset .phero__media { aspect-ratio: 4 / 5; transform: translateY(80px); margin-top: -40px; }
.phero--offset .phero__media picture, .phero--offset .phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero--offset + .docs { padding-top: calc(var(--section) + 40px); background: var(--warm); }
@media (max-width: 1023px) {
  .phero--offset .phero__grid { grid-template-columns: 1fr; }
  .phero--offset .phero__media { aspect-ratio: 16 / 11; transform: none; margin: 32px 0 0; }
  .phero--offset + .docs { padding-top: var(--section); }
}

.docs__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 48px clamp(40px, 6vw, 120px); align-items: start; }
.docs__nav { position: sticky; top: calc(var(--nav-h-sm) + 32px); }
.docs__nav ol { margin-top: 18px; border-top: 1px solid var(--border); }
.docs__nav a { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--border); text-decoration: none; font-size: 15px; color: var(--muted); transition: color .3s; }
.docs__nav a span { font-family: var(--serif); color: var(--ocean); }
.docs__nav a:hover, .docs__nav a.is-active { color: var(--navy); }
.docs__nav a.is-active { font-weight: 500; }
.doc-sec { padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid var(--border); display: grid; gap: 18px; }
.doc-sec:last-child { border-bottom: 0; margin-bottom: 0; }
.doc-sec__n { font-family: var(--serif); font-size: 15px; color: var(--ocean); letter-spacing: .1em; }
.doc-sec p { max-width: 680px; }
.doc-figure { margin: 0 0 64px; aspect-ratio: 16 / 9; position: relative; overflow: hidden; }
.doc-figure picture, .doc-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) {
  .docs__grid { grid-template-columns: minmax(0, 1fr); }
  .docs__nav { position: static; }
}

/* Paid media */
.phero--image { position: relative; color: #fff; min-height: max(72vh, 600px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.phero__bg, .phero__bg picture, .phero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.phero__bg img { object-fit: cover; }
.phero--image .phero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7,30,44,.88), rgba(7,30,44,.35) 70%), rgba(7,30,44,.2); }
.phero__content { padding-top: 120px; padding-bottom: clamp(56px, 8vw, 104px); }
.phero__content .lead { max-width: 560px; margin-top: 28px; color: rgba(255,255,255,.88); }

.ed-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(40px, 6vw, 112px); }
.ed-list__item { display: grid; grid-template-columns: 80px 1fr; gap: 6px 20px; padding: 44px 0; border-top: 1px solid var(--border); }
.ed-list__n { grid-row: span 2; font-family: var(--serif); font-weight: 300; font-size: 48px; line-height: 1; color: var(--ocean); }
.ed-list__t { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 1vw + 18px, 32px); line-height: 1.15; margin-bottom: 8px; }
.ed-list__item p { color: var(--muted); }
@media (max-width: 1023px) { .ed-list { grid-template-columns: 1fr; } }
@media (max-width: 559px) { .ed-list__item { grid-template-columns: 1fr; } .ed-list__n { grid-row: auto; font-size: 36px; } }

/* Creative */
.phero--mosaic { padding: clamp(64px, 7vw, 112px) 0 0; background: linear-gradient(var(--warm) 0 72%, #fff 72%); }
.mosaic-head { display: grid; grid-template-columns: 7fr 5fr; gap: 32px clamp(32px, 5vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.mosaic { display: grid; grid-template-columns: 7fr 4fr; grid-template-rows: 1fr 1fr; gap: clamp(12px, 1.6vw, 24px); height: clamp(480px, 52vw, 760px); }
.mosaic > div { position: relative; overflow: hidden; }
.mosaic picture, .mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mosaic__a { grid-row: span 2; }
@media (max-width: 767px) {
  .mosaic-head { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; }
  .mosaic__a { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .mosaic__b, .mosaic__c { aspect-ratio: 1; }
}
.cr-rows { display: grid; }
.cr-row { display: grid; grid-template-columns: 1fr 4fr 6fr; gap: 20px clamp(32px, 4vw, 72px); padding: 56px 0; border-top: 1px solid var(--border); align-items: start; }
.cr-row:first-child { border-top: 0; padding-top: 0; }
.cr-row > div { display: grid; gap: 16px; max-width: 640px; }
.cr-row > div p:not(.lead) { color: var(--muted); }
@media (max-width: 1023px) { .cr-row { grid-template-columns: 1fr; } }
.wide-figure > div { height: max(320px, 43.75vw); position: relative; }
.wide-figure picture, .wide-figure img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }

/* Web */
.phero--duo { display: grid; grid-template-columns: 1fr 1fr; min-height: max(68vh, 600px); background: var(--navy); color: #fff; }
.phero--duo .phero__text { padding: clamp(64px, 8vw, 120px) clamp(32px, 5vw, 96px) clamp(64px, 8vw, 120px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); align-self: end; }
.phero--duo .lead { margin-top: 32px; color: rgba(255,255,255,.84); max-width: 520px; }
@media (max-width: 1023px) {
  .phero--duo { grid-template-columns: 1fr; }
  .phero--duo .phero__text { padding: 64px var(--gutter) 56px; }
  .phero--duo .phero__media { aspect-ratio: 16 / 10; }
}
.proc { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); }
.proc__item { padding: 40px 32px 48px 0; border-bottom: 1px solid var(--border); display: grid; gap: 12px; align-content: start; }
.proc__item:not(:nth-child(4n+1)) { padding-left: 32px; border-left: 1px solid var(--border); }
.proc__n { font-family: var(--serif); font-size: 44px; font-weight: 300; line-height: 1; color: var(--ocean); margin-bottom: 18px; }
.proc__item h3 { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--navy); }
.proc__item p { color: var(--muted); font-size: 16px; }
@media (max-width: 1023px) {
  .proc { grid-template-columns: 1fr 1fr; }
  .proc__item:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .proc__item:nth-child(even) { padding-left: 28px !important; border-left: 1px solid var(--border) !important; }
}
@media (max-width: 559px) {
  .proc { grid-template-columns: 1fr; }
  .proc__item:nth-child(even) { padding-left: 0 !important; border-left: 0 !important; }
}

.related { padding: clamp(64px, 7vw, 104px) 0; }
.related__list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; border-top: 1px solid var(--border); }
.related__list a { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: baseline; padding: 28px 24px 28px 0; text-decoration: none; border-bottom: 1px solid var(--border); }
.related__n { font-family: var(--serif); color: var(--ocean); }
.related__t { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.related__list a:hover .arw { transform: translateX(8px); }
.related__list a:hover .related__t { color: var(--ocean); }
@media (max-width: 767px) { .related__list { grid-template-columns: 1fr; } }

/* Insights page */
.masthead { padding: clamp(72px, 8vw, 128px) 0 clamp(40px, 5vw, 64px); background: #fff; }
.masthead__inner { display: grid; gap: 24px; }
.masthead__inner .crumbs { margin-bottom: 6px; }
.masthead .lead { max-width: 620px; color: var(--muted); }
.masthead__topics { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--border); }
.masthead__topics a { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--ocean); }
.masthead__topics a:hover { text-decoration: underline; }

.feature { display: grid; grid-template-columns: 7fr 5fr; gap: 40px clamp(40px, 5vw, 96px); align-items: center; }
.feature__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.feature__media picture, .feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.feature:hover .feature__media img { transform: scale(1.025); }
.feature__body { display: grid; gap: 18px; justify-items: start; }
.feature__body h2 a { text-decoration: none; }
.feature__body h2 a:hover { color: var(--ocean); }
.feature__body > p:not(.insight__cat):not(.insight__meta) { color: var(--muted); }
@media (max-width: 1023px) { .feature { grid-template-columns: 1fr; } }

.ed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px clamp(40px, 5vw, 96px); margin-top: 40px; }
.ed-card { display: grid; gap: 12px; justify-items: start; align-content: start; }
.ed-grid--stagger { align-items: start; }
.ed-col { display: grid; gap: 88px; }
.ed-col--b { padding-top: 140px; }
.ed-card__media { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 14px; }
.ed-card--tall .ed-card__media { aspect-ratio: 4 / 5; }
.ed-card__media picture, .ed-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.ed-card:hover .ed-card__media img { transform: scale(1.025); }
.ed-card__t { font-family: var(--serif); font-size: clamp(26px, 1vw + 18px, 34px); font-weight: 400; line-height: 1.15; }
.ed-card__t a { text-decoration: none; }
.ed-card__t a:hover { color: var(--ocean); }
.ed-card > p:not(.insight__cat):not(.insight__meta) { color: var(--muted); }
.ed-grid--two .ed-card__media { aspect-ratio: 16 / 10; }
@media (max-width: 767px) {
  .ed-grid { grid-template-columns: 1fr; gap: 56px; }
  .ed-col { gap: 56px; }
  .ed-col--b { padding-top: 0; }
  .ed-card--tall .ed-card__media { aspect-ratio: 4 / 3; }
}

/* Article */
.article__head { padding-top: clamp(64px, 7vw, 112px); padding-bottom: 56px; display: grid; gap: 22px; }
.article__head h1 { max-width: 20ch; }
.article__head .lead { color: var(--muted); max-width: 720px; }
.article__figure { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.article__figure img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.article__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 112px); padding-top: clamp(56px, 6vw, 96px); padding-bottom: var(--section); align-items: start; }
.article__toc { position: sticky; top: calc(var(--nav-h-sm) + 32px); }
.article__toc ol { margin-top: 18px; display: grid; gap: 10px; border-left: 1px solid var(--border); padding-left: 18px; }
.article__toc a { text-decoration: none; font-size: 14.5px; color: var(--muted); line-height: 1.4; display: block; }
.article__toc a:hover, .article__toc a.is-active { color: var(--navy); }
.article__note { margin-top: 56px; padding: 28px 32px; background: var(--ice); font-size: 15.5px; }
@media (max-width: 1023px) {
  .article__grid { grid-template-columns: minmax(0, 1fr); }
  .article__toc { position: static; }
  .article__figure img { aspect-ratio: 16 / 10; }
}

.prose { max-width: 720px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 1vw + 20px, 36px); line-height: 1.15; margin-top: 2em; scroll-margin-top: calc(var(--nav-h-sm) + 24px); }
.prose h3 { font-size: 18px; font-weight: 500; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--ocean); }
.prose a { color: var(--ocean); }
.prose .article__intro { font-size: clamp(19px, .5vw + 16px, 22px); font-weight: 300; line-height: 1.6; }
.prose code { font-size: .9em; background: var(--ice); padding: 2px 6px; }

/* Legal */
.masthead--legal { background: var(--warm); }
.legal { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 48px clamp(40px, 6vw, 112px); padding-top: clamp(56px, 6vw, 96px); padding-bottom: var(--section); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--nav-h-sm) + 32px); }
.legal__toc ol { margin-top: 18px; display: grid; gap: 9px; }
.legal__toc a { text-decoration: none; font-size: 14.5px; color: var(--muted); }
.legal__toc a:hover { color: var(--navy); text-decoration: underline; }
.legal__body section { padding-bottom: 8px; }
.legal__body h2 { font-size: clamp(26px, .8vw + 20px, 32px); margin-top: 1.6em; }
.legal__body section:first-child h2 { margin-top: 0; }
.legal__n { font-family: var(--sans); font-size: 13px; color: var(--ocean); letter-spacing: .1em; vertical-align: middle; margin-right: 10px; }
.table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.prose th, .prose td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--navy); }
@media (max-width: 1023px) {
  .legal { grid-template-columns: minmax(0, 1fr); }
  .legal__toc { position: static; padding: 24px; background: var(--warm); }
}

/* 404 */
.nf { padding: clamp(100px, 14vw, 200px) 0; background: var(--warm); }
.nf .narrow { display: grid; gap: 24px; }
.nf__links { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 16px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { display: grid; grid-template-columns: 45fr 55fr; min-height: calc(100vh - var(--util-h) - var(--nav-h)); }
.contact__info { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.contact__info::after {
  content: ""; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; pointer-events: none;
  border: 1px solid rgba(77,166,200,.18); transform: rotate(45deg);
}
.contact__info-inner { position: sticky; top: var(--nav-h-sm); padding: clamp(64px, 7vw, 112px) clamp(32px, 5vw, 88px) clamp(64px, 7vw, 112px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); display: grid; gap: 26px; }
.contact__info .lead { color: rgba(255,255,255,.84); }
.contact__details { display: grid; gap: 26px; margin-top: 20px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.14); }
.contact__details dt { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.contact__details dd a { color: #fff; font-size: 19px; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.contact__details .addr { color: rgba(255,255,255,.86); }
.contact__note { font-size: 14px; color: rgba(255,255,255,.62); max-width: 400px; }
.contact__form-wrap { background: var(--warm); padding: clamp(56px, 7vw, 112px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) clamp(56px, 7vw, 112px) clamp(32px, 5vw, 96px); }
@media (max-width: 1023px) {
  .contact { grid-template-columns: 1fr; }
  .contact__info-inner { position: static; padding: 64px var(--gutter); }
  .contact__form-wrap { padding: 64px var(--gutter) 88px; }
}

.form { max-width: 720px; }
.form__title { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 1.6vw + 20px, 44px); line-height: 1.1; }
.form__req { font-size: 13px; color: var(--muted); margin: 10px 0 32px; }
.req { color: var(--error); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 32px; }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--navy); }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid #A9B4B9; background: transparent; padding: 12px 0; font-size: 17px; color: var(--ink);
  border-radius: 0; transition: border-color .3s, box-shadow .3s; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 150px; border: 1px solid #A9B4B9; padding: 14px 16px; background: #fff; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ocean); box-shadow: 0 1px 0 0 var(--ocean); }
.field textarea:focus { box-shadow: 0 0 0 1px var(--ocean); }
.field input::placeholder { color: #8A949A; }
.field__hint { font-size: 13.5px; color: var(--muted); }
.field__err { font-size: 13.5px; color: var(--error); min-height: 0; }
.field__err:empty { display: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field--choices { border: 0; padding: 0; margin: 0; }
.field--choices legend { margin-bottom: 14px; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #A9B4B9; background: #fff;
  font-size: 14.5px; transition: background .3s, border-color .3s, color .3s;
}
.choice input:hover + span { border-color: var(--navy); }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--ocean); outline-offset: 3px; }
.field--choices.has-error .choice span { border-color: var(--error); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; font-size: 15px !important; color: var(--ink) !important; line-height: 1.6; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check__box { width: 22px; height: 22px; border: 1px solid #7E8A90; background: #fff; display: grid; place-items: center; margin-top: 1px; transition: background .25s, border-color .25s; }
.check__box::after { content: ""; width: 10px; height: 6px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked + .check__box { background: var(--navy); border-color: var(--navy); }
.check input:checked + .check__box::after { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--ocean); outline-offset: 3px; }
.field--check { position: relative; }
.field--check.has-error .check__box { border-color: var(--error); }
.check a { color: var(--ocean); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn--submit { margin-top: 40px; min-height: 58px; padding: 0 36px; position: relative; }
.btn--submit:hover .arw { transform: translateX(6px); }
.btn__spinner { display: none; width: 16px; height: 16px; border: 1.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .9s linear infinite; }
.btn--submit.is-loading { pointer-events: none; opacity: .85; }
.btn--submit.is-loading .arw { display: none; }
.btn--submit.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__alt { margin-top: 24px; font-size: 14.5px; color: var(--muted); }
.form__alt a { color: var(--ocean); }
.form__status:empty { display: none; }
.form__status { margin-bottom: 28px; padding: 18px 22px; border-left: 2px solid; font-size: 15.5px; }
.form__status.is-error { border-color: var(--error); background: #FBEFEC; color: #6E1B12; }
.form__status.is-success { border-color: var(--success); background: #EAF4EF; color: #164B37; }
.form__status:focus { outline: none; }
.form.is-sent .form__grid, .form.is-sent .btn--submit, .form.is-sent .form__req { display: none; }
@media (max-width: 639px) { .form__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Cookie consent
   ========================================================================== */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; background: #fff; color: var(--ink);
  border-top: 1px solid var(--border); box-shadow: 0 -12px 40px rgba(7,30,44,.1);
  transform: translateY(100%); transition: transform .8s var(--ease-out);
}
.cookie-bar.is-visible { transform: none; }
.cookie-bar__inner { max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px 48px; }
.cookie-bar h2 { font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.2; margin-bottom: 4px; }
.cookie-bar p { font-size: 14px; color: var(--muted); max-width: 720px; line-height: 1.55; }
.cookie-bar p a { color: var(--ocean); }
.cookie-bar__actions { display: flex; gap: 10px; flex: none; }
.cookie-bar .btn { min-height: 44px; padding: 0 20px; font-size: 11px; }
@media (max-width: 1023px) {
  .cookie-bar__inner { flex-direction: column; align-items: stretch; padding: 20px var(--gutter) 22px; }
  .cookie-bar__actions { flex-wrap: wrap; }
  .cookie-bar__actions .btn { flex: 1 1 auto; }
}
@media (max-width: 479px) {
  .cookie-bar__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-bar__actions [data-cookie-manage] { grid-column: 1 / -1; order: 3; }
}

.cookie-modal {
  border: 0; padding: 0; width: min(620px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  background: #fff; color: var(--ink); box-shadow: 0 40px 80px rgba(7,30,44,.3);
}
.cookie-modal::backdrop { background: rgba(7,30,44,.6); }
.cookie-modal[open] { animation: modalIn .6s var(--ease-out); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cookie-modal__inner { padding: clamp(28px, 4vw, 48px); }
.cookie-modal__head { display: grid; gap: 10px; margin-bottom: 26px; }
.cookie-modal__head h2 { font-family: var(--serif); font-weight: 300; font-size: 36px; line-height: 1.1; }
.cookie-modal__head p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.cookie-modal__list { border-top: 1px solid var(--border); }
.cookie-modal__list li { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.cookie-modal__list h3 { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--navy); margin-bottom: 4px; }
.cookie-modal__list p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.cookie-modal__always { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ocean); white-space: nowrap; }
.cookie-modal__foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.switch { position: relative; flex: none; width: 48px; height: 28px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; width: 100%; height: 100%; }
.switch span { position: absolute; inset: 0; border: 1px solid #7E8A90; border-radius: 14px; background: #fff; transition: background .3s, border-color .3s; }
.switch span::after { content: ""; position: absolute; top: 4px; left: 4px; width: 18px; height: 18px; border-radius: 50%; background: #7E8A90; transition: transform .35s var(--ease), background .3s; }
.switch input:checked + span { background: var(--navy); border-color: var(--navy); }
.switch input:checked + span::after { transform: translateX(20px); background: #fff; }
.switch input:focus-visible + span { outline: 2px solid var(--ocean); outline-offset: 3px; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js [data-reveal], .js [data-mask] > picture, .js [data-mask] img, .js .line > span,
  .js .hero__eyebrow, .js .hero__lead, .js .hero__ctas, .hero__media img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .statement__line path { stroke-dashoffset: 0 !important; }
  .scroll-cue__line::after { display: none; }
}

/* ---------- Print ---------- */
@media print {
  .utility, .site-header, .site-menu, .cookie-bar, .cookie-modal, .scroll-cue, .cta-band, .cta-plain { display: none !important; }
  .js [data-reveal], .js [data-mask] > picture { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
