/* Argo Reach homepage
   Tokens mirror argo-reach-design-system.html; layout follows the Figma
   "Home Desktop" (1440) and "Home Mobile" (390) frames. */

:root {
  --n-00: #FFFFFF;
  --bg-page: #F7F6F9;
  --bg-surface: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --bg-surface-secondary: #EEECF2;
  --border-row: #F2F0F5;
  --border-subtle: #E5E2EB;
  --border-standard: #D2CDDA;
  --border-strong: #736D82;
  --border-inverse: #53395F;
  --brand-primary: #3A2145;
  --brand-primary-hover: #2C1834;
  --brand-primary-subtle: #EFEBF7;
  --brand-secondary: #5A4299;
  --brand-accent: #A5732B;
  --brand-accent-text: #8A5F22;
  --text-primary: #18151F;
  --text-secondary: #4C4859;
  --text-inverse: #FFFFFF;
  --text-inverse-secondary: #CFC7DA;
  --text-link: #5A4299;
  --orbit-label: #EFEFEF;

  --font-sans: 'Schibsted Grotesk', 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --content-width: 1180px;
  --gutter: 48px;
  --section-rhythm: 96px;
  --radius: 4px;
  --dur: 160ms;
  --ease: cubic-bezier(.2, .6, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--border-strong); outline-offset: 2px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--brand-primary); color: var(--text-inverse);
  padding: 12px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
button { font: inherit; }

.container {
  width: min(var(--content-width), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* ---------- Type scale ---------- */
.h1 { font-size: 48px; line-height: 1.06; font-weight: 600; letter-spacing: -1.44px; color: var(--brand-primary); }
.h2 { font-size: 36px; line-height: 1.12; font-weight: 600; letter-spacing: -0.9px; color: var(--brand-primary); }
.h4 { font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -0.315px; color: var(--text-primary); }
.body-lg { font-size: 19px; line-height: 1.6; letter-spacing: -0.095px; color: var(--text-secondary); }
.body { font-size: 16.5px; line-height: 1.65; color: var(--text-secondary); }
.small { font-size: 14.5px; line-height: 1.6; color: var(--text-secondary); }
.caption { font-family: var(--font-mono); font-size: 12.5px; line-height: 1.45; letter-spacing: 0.25px; color: var(--text-secondary); }
.label {
  font-family: var(--font-mono); font-size: 11.5px; line-height: 1; font-weight: 500;
  letter-spacing: 1.84px; text-transform: uppercase; color: var(--text-secondary);
}
.label--brand { color: var(--brand-secondary); }
.text-primary { color: var(--text-primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 24px; border-radius: var(--radius);
  font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: 0.075px;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn img { width: 16px; height: 16px; flex: none; }
.btn--primary { background: var(--brand-primary); color: var(--text-inverse); }
.btn--primary:hover { background: var(--brand-primary-hover); }
.btn--light { background: var(--bg-page); color: var(--text-link); }
.btn--light:hover { background: var(--brand-primary-subtle); }
.btn--text { color: var(--brand-primary); }
.btn--text:hover { color: var(--brand-secondary); }
.btn--lg { height: 48px; padding-block: 0; gap: 16px; }
.btn--block { width: 100%; }

/* ---------- Navigation ---------- */
.site-nav { background: var(--bg-page); position: relative; z-index: 20; }
.site-nav__inner { display: flex; align-items: center; justify-content: space-between; height: 95px; }
.site-nav__logo img { width: 146px; height: auto; }
.site-nav__links { display: flex; align-items: center; gap: 32px; }
.site-nav__links > a:not(.btn) {
  font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: -0.075px; color: var(--text-secondary);
  transition: color var(--dur) var(--ease);
}
.site-nav__links > a:not(.btn):hover { color: var(--brand-primary); }
.site-nav__toggle {
  display: none; align-items: center; gap: 12px;
  height: 44px; padding: 0 14px;
  border: 1px solid var(--border-standard); border-radius: 2px; background: transparent;
  font: 500 15px/1 var(--font-sans); letter-spacing: -0.075px; color: var(--brand-primary);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--bg-page);
  height: 726px; display: grid; place-items: center;
}
.hero__bg {
  position: absolute; left: 50%; top: calc(50% + 56px);
  width: 1686px; height: 1054px; max-width: none;
  transform: translate(-50%, -50%); object-fit: cover; pointer-events: none;
}
.hero__orbit {
  position: absolute; left: 50%; top: -168px;
  width: 1180px; height: 1180px; margin-left: -590px; pointer-events: none;
}
.hero__ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: none; }
.orbit-tag {
  position: absolute; display: flex; align-items: center; height: 40px; padding: 6px 8px;
  border-radius: 8px; background: rgba(239, 239, 239, .03);
  font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -0.315px;
  color: var(--orbit-label); white-space: nowrap;
}
.orbit-tag--tint { background: rgba(90, 66, 153, .2); }
.hero__card {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  width: min(899px, 100% - 2 * var(--gutter));
  padding: 48px;
  background: rgba(239, 239, 239, .15);
  border: 1.5px solid var(--border-row); border-radius: 16px;
  text-align: center; color: var(--text-inverse);
}
.hero__title { max-width: 800px; font-size: 64px; line-height: 1.02; font-weight: 600; letter-spacing: -2.24px; }
.hero__lede { font-size: 19px; line-height: 1.6; letter-spacing: -0.095px; }
.hero__actions { display: flex; gap: 24px; }

/* ---------- Record index strip ---------- */
.record-index { background: var(--brand-secondary); height: 52px; overflow: hidden; display: flex; align-items: center; }
.record-index__row {
  display: flex; justify-content: space-between; flex: none;
  width: calc(100% + 85px); margin-left: -22px;
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.45; letter-spacing: 0.25px;
  color: var(--text-inverse); white-space: nowrap;
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-rhythm); }
.section--page { background: var(--bg-page); }
.section--secondary { background: var(--bg-surface-secondary); }
.section--elevated { background: var(--bg-elevated); }
.section--surface { background: var(--bg-surface); }
.section--connected { background: var(--n-00); }
.section-intro { display: flex; flex-direction: column; gap: 16px; }
.section-intro--center { align-items: center; text-align: center; }

/* ---------- Sourcing categories ---------- */
.sourcing { display: flex; flex-direction: column; gap: 64px; }
.sourcing .section-intro { max-width: 712px; margin-inline: auto; }
.chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 10px;
  max-width: calc(4 * 280px + 3 * 10px); margin-inline: auto;
}
.chip {
  display: flex; align-items: center; justify-content: center;
  width: 280px; height: 48px; padding: 8px 16px;
  background: var(--bg-surface); border: 1px solid var(--border-standard); border-radius: var(--radius);
  font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: 0.075px; color: var(--text-secondary);
  white-space: nowrap;
}
.chip { cursor: pointer; transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.chip:hover { border-color: var(--border-strong); color: var(--brand-primary); }
.chip[aria-selected="true"] { background: var(--brand-accent); border-color: var(--brand-accent); color: var(--text-inverse); }
.catalogue {
  display: grid; grid-template-columns: minmax(0, 546fr) minmax(0, 543fr); justify-content: space-between;
  gap: 43px; align-items: center;
  background: var(--bg-surface); border-radius: var(--radius);
  padding: 48px 24px 72px;
}
.catalogue__art {
  aspect-ratio: 546 / 485; background: var(--bg-page); border-radius: var(--radius);
  display: grid; place-items: center; overflow: hidden;
}
.catalogue__art img { width: 71.83%; height: auto; }
.catalogue__modality {
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.45; letter-spacing: 1.84px;
  text-transform: uppercase; color: var(--brand-secondary);
}
.catalogue__detail { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-inline: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tags li {
  padding: 8px 16px; background: var(--bg-surface);
  border: 1px solid var(--border-standard); border-radius: var(--radius);
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.45; letter-spacing: 0.25px; color: var(--text-secondary);
  white-space: nowrap;
}
.callout {
  align-self: stretch; padding: 12px 0 12px 16px; border-left: 2px solid var(--brand-accent);
  font-size: 14.5px; line-height: 1.6; color: var(--text-secondary);
}

/* ---------- Licensing ---------- */
.licensing { display: flex; flex-direction: column; gap: 48px; }
.licensing__row { display: grid; grid-template-columns: minmax(0, 600fr) minmax(0, 516fr); gap: 64px; align-items: center; }
.value-card {
  display: flex; flex-direction: column; gap: 16px; padding: 32px;
  background: var(--brand-secondary); border-radius: var(--radius); color: var(--text-inverse); font-weight: 600;
}
.value-card__figure { font-size: 64px; line-height: 1.02; letter-spacing: -2.24px; }
.value-card__text { font-size: 27px; line-height: 1.2; letter-spacing: -0.54px; }
.licensing__copy { display: flex; flex-direction: column; gap: 24px; }
.factors { display: flex; align-items: flex-end; gap: 24px; }
.factor {
  position: relative; flex: 1 1 0; min-width: 0; height: var(--h);
  border-radius: var(--radius);
  background: linear-gradient(to bottom, rgba(90, 66, 153, .51) 57.692%, rgba(255, 255, 255, 0));
}
.factor__card {
  position: absolute; inset: 0 0 auto 0; height: 109px;
  display: flex; flex-direction: column; gap: 12px; padding: 8px 16px;
  background: var(--n-00); border: 1px solid var(--border-standard); border-radius: var(--radius);
}

/* ---------- Connected records ---------- */
.connected { display: flex; flex-direction: column; gap: 48px; padding: 32px; background: var(--bg-elevated); border-radius: var(--radius); }
.connected__intro { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.connected__intro .h1 { flex: 0 1 540px; }
.connected__intro .body { flex: 0 1 456px; }
.example-tabs { display: flex; gap: 32px; }
.example-tab {
  width: 150px; padding: 0 0 12px;
  font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: -0.075px; color: var(--text-secondary);
}
.example-tab {
  background: none; border-width: 0 0 1px; border-style: solid; border-color: var(--border-subtle);
  text-align: left; cursor: pointer; transition: color var(--dur) var(--ease);
}
.example-tab:hover { color: var(--brand-primary); }
.example-tab[aria-selected="true"] { color: var(--brand-secondary); border-bottom: 2px solid var(--brand-primary); padding-bottom: 11px; }
.connected__panel { display: flex; flex-direction: column; gap: 48px; }
.connected__flow { display: flex; flex-direction: column; gap: 24px; }
.connected__note { color: var(--text-secondary); }
.stats { display: flex; gap: 24px; }
.stat {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 24px;
  background: var(--bg-elevated); border: 1px solid var(--border-subtle); border-radius: var(--radius);
}
.stat__value { font-size: 48px; line-height: 1.12; font-weight: 600; letter-spacing: -1.2px; color: var(--brand-primary); }
.connected__body { display: flex; align-items: center; gap: 64px; }
.connected__art { position: relative; flex: 0 1 579px; aspect-ratio: 579 / 595; }
.connected__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chain { position: relative; display: flex; flex-direction: column; gap: 24px; flex: 0 1 auto; }
.chain::before {
  content: ""; position: absolute; left: 6.5px; top: 6.5px; bottom: 40px; width: 2px;
  background: var(--border-standard);
}
.chain__item { position: relative; display: flex; flex-direction: column; gap: 8px; padding-left: 39px; }
.chain__item::before {
  content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%;
  background: var(--brand-secondary); border: 2px solid var(--n-00);
}
.chain__item--outcome::before { background: var(--brand-accent); }
.chain__item--outcome .label { color: var(--brand-accent-text); }
.chain__item--outcome .h4 { color: var(--brand-accent); }

/* ---------- Identity & context ---------- */
.identity { display: flex; flex-direction: column; gap: 48px; }
.identity__title, .identity__lede { max-width: 760px; }
.identity__note { max-width: 900px; }
.identity__foot { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 24px; }
.btn-plain {
  min-height: 44px; padding: 0 4px; background: transparent; border: 0; cursor: pointer;
  font: 500 15px/1 var(--font-sans); color: var(--text-secondary);
  text-decoration: underline; text-underline-offset: 3px;
}
.btn-plain:hover { color: var(--brand-primary); }
.compare { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.compare__arrow { flex: none; width: 44px; height: 44px; }
.record { overflow: hidden; border-radius: var(--radius); background: var(--bg-surface-secondary); }
.record--before { flex: 0 1 500px; }
.record--after { flex: 0 1 550px; }
.record__head { padding: 24px; font-weight: 600; letter-spacing: -0.315px; }
.record--before .record__head { font-size: 21px; line-height: 1.3; color: var(--brand-primary); background: var(--bg-surface-secondary); }
.record--after .record__head { font-size: 19px; line-height: 1.3; letter-spacing: -0.285px; color: var(--text-inverse); background: var(--brand-accent); }
.record dl > div {
  display: flex; align-items: baseline; gap: 16px; padding: 16px 24px;
  background: var(--bg-page); border-top: 1px solid var(--border-subtle);
}
.record dt { flex: none; width: 83px; font-size: 14.5px; line-height: 1.6; color: var(--text-secondary); }
.record dd { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-primary); }
.record--after dt { width: 92px; }
.record--after dd { font-size: 16.5px; line-height: 1.65; }
.record--after .record__kept dd { font-size: 19px; line-height: 1.6; letter-spacing: -0.095px; color: var(--brand-accent-text); }
.record dd { display: grid; overflow: hidden; }
.record dd > * { grid-area: 1 / 1; }
.r-t { position: relative; justify-self: start; max-width: 100%; }
.r-ph { align-self: center; width: 55%; height: 8px; background: var(--border-subtle); opacity: 0; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.value-card__figure { font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (prefers-reduced-motion: no-preference) {
  /* Tab panels re-enter when the selection changes */
  .is-swapping [data-cat-detail] > *, .is-swapping[data-cat-art] > * { animation: rise 360ms var(--ease) both; }
  .is-swapping .stat { animation: rise 500ms var(--ease) both; }
  .is-swapping .stat:nth-child(2) { animation-delay: 80ms; }
  .is-swapping .stat:nth-child(3) { animation-delay: 160ms; }
  .is-swapping .chain__item { animation: rise 420ms var(--ease) both; }
  .is-swapping .chain__item:nth-child(2) { animation-delay: 140ms; }
  .is-swapping .chain__item:nth-child(3) { animation-delay: 280ms; }
  .is-swapping .chain__item:nth-child(4) { animation-delay: 420ms; }
  .is-swapping .chain__item:nth-child(5) { animation-delay: 560ms; }
  .is-swapping .chain__item:nth-child(6) { animation-delay: 700ms; }
  .is-swapping .chain::before { transform-origin: top; animation: grow 900ms var(--ease) both; }

  /* De-identification: phases 0-4 are set by main.js */
  .compare .record { transition: opacity 900ms var(--ease); }
  .compare dl > div { transition: background-color 700ms var(--ease), opacity 900ms var(--ease); }
  .compare .r-t { transition: opacity 800ms var(--ease), transform 800ms var(--ease), font-size 900ms var(--ease), color 800ms var(--ease); }
  .compare .r-ph { transition: opacity 600ms var(--ease); }
  .compare .r-t::after { transition: transform 800ms var(--ease); }
  .compare__arrow { transition: opacity 700ms var(--ease); }
  .compare .d2, .compare .d2 .r-t, .compare .d2 .r-ph, .compare .d2 .r-t::after { transition-delay: 500ms; }
  .compare .d3, .compare .d3 .r-t, .compare .d3 .r-ph, .compare .d3 .r-t::after { transition-delay: 1000ms; }
}

/* 1. identify: identifying fields are highlighted and underlined */
.a-pii .r-t::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--brand-accent); transform: scaleX(0); transform-origin: left;
}
.compare:is(.ph-1, .ph-2, .ph-3) .a-pii { background: var(--brand-primary-subtle); }
.compare:is(.ph-1, .ph-2, .ph-3, .ph-4) .a-pii .r-t::after { transform: scaleX(1); }

/* 2-3. the prepared copy is written: replacements first, then the workflow */
.compare:not(.ph-4) .record--after .r-t { opacity: 0; transform: translateY(10px); }
.compare:not(.ph-4) .record--after .r-ph { opacity: 1; }
.compare:is(.ph-2, .ph-3) .b-pii .r-t, .compare.ph-3 .b-ops .r-t { opacity: 1; transform: none; }
.compare:is(.ph-2, .ph-3) .b-pii .r-ph, .compare.ph-3 .b-ops .r-ph { opacity: 0; }
.compare:is(.ph-2, .ph-3) .b-pii { background: var(--brand-primary-subtle); }
.compare:not(.ph-4) .b-ops dd { font-size: 16.5px; line-height: 1.65; letter-spacing: 0; color: var(--text-primary); }
.compare:is(.ph-0, .ph-1) .compare__arrow { opacity: .3; }

/* 4. what carries over is the workflow */
.compare.ph-4 .record--before { opacity: .55; }
.compare.ph-4 .b-pii { opacity: .6; }

/* ---------- Engagement process ---------- */
.process { display: flex; flex-direction: column; gap: 48px; }
.process .section-intro { gap: 48px; }
.process__title { max-width: 800px; }
.process__title span { display: block; color: var(--brand-secondary); }
.process .body-lg { max-width: 586px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.step { position: relative; display: flex; flex-direction: column; gap: 24px; }
.step__art { height: 198px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.step__art img { flex: none; width: 252px; height: 252px; max-width: none; }
.step__title { display: flex; align-items: center; gap: 12px; font-size: 36px; line-height: 1.12; font-weight: 600; letter-spacing: -0.9px; color: var(--text-primary); }
.step__title span { font-size: 27px; line-height: 1.2; letter-spacing: -0.54px; color: var(--brand-accent-text); }
.step__arrow { position: absolute; left: 100%; top: 92px; width: 31px; height: auto; }

/* ---------- Reach ---------- */
.reach {
  display: flex; flex-direction: column; gap: 24px; padding: 32px;
  background: var(--bg-elevated); border: 1px solid var(--border-standard); border-radius: var(--radius);
}
.reach__title { max-width: 616px; }
.reach__body { display: flex; align-items: center; gap: 64px; padding-block: 32px; }
.reach__art { flex: 0 1 433px; min-width: 0; height: auto; aspect-ratio: 433 / 523; object-fit: cover; border-radius: var(--radius); }
.reach__list { flex: 0 1 616px; display: flex; flex-direction: column; gap: 32px; }
.reach__list li { display: flex; flex-direction: column; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border-subtle); }

/* ---------- Final CTA ---------- */
.cta { padding-block: 64px; }
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.cta__title { max-width: 482px; }
.cta__actions { display: flex; flex-direction: column; gap: 16px; width: min(416px, 100%); }

/* ---------- Footer ---------- */
.site-footer { background: var(--border-inverse); color: var(--text-inverse); padding-block: 96px; }
.site-footer .container { display: flex; flex-direction: column; gap: 48px; }
.site-footer__top { display: flex; gap: 96px; }
.site-footer__brand { flex: 0 0 440px; display: flex; flex-direction: column; gap: 24px; }
.site-footer__brand img { width: 122.9px; height: auto; }
.site-footer .small, .site-footer .label, .site-footer .caption { color: var(--text-inverse-secondary); }
.site-footer__nav { flex: 1; display: flex; gap: 24px; }
.site-footer__nav > div { flex: 1 1 0; display: flex; flex-direction: column; gap: 24px; }
.site-footer__nav ul { display: flex; flex-direction: column; gap: 12px; }
.site-footer__nav a { font-size: 14.5px; line-height: 1.6; color: var(--text-inverse); }
.site-footer__nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__wordmark { width: 100%; height: auto; }
.site-footer__rule { margin: 0; border: 0; height: 2px; background: var(--brand-primary-subtle); }
.site-footer__legal { display: flex; gap: 24px; }
.site-footer__legal .caption { flex: 0 0 440px; }

/* ---------- Tablet: keep desktop layout, relax fixed widths ---------- */
@media (max-width: 1100px) {
  .site-footer__brand, .site-footer__legal .caption { flex-basis: 320px; }
  .site-footer__top { gap: 48px; }
  .connected__body, .reach__body { gap: 40px; }
  .factors { gap: 12px; }
}

/* ---------- Mobile (Figma "Home Mobile", 390) ---------- */
@media (max-width: 767px) {
  :root { --gutter: 16px; --section-rhythm: 56px; }

  .h1 { font-size: 32px; line-height: 1.15; letter-spacing: -0.96px; }
  .h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.48px; }
  .body-lg { font-size: 16.5px; line-height: 1.6; letter-spacing: 0; }

  /* Nav + disclosure menu */
  .site-nav__inner { height: 64px; flex-wrap: wrap; }
  .site-nav__toggle { display: inline-flex; }
  .site-nav__links {
    display: none; position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--bg-page);
    border-bottom: 1px solid var(--border-subtle);
  }
  .site-nav.is-open .site-nav__links { display: flex; }
  .site-nav__links > a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--border-subtle); font-size: 17px; }
  .site-nav__links .btn { margin-top: 16px; height: 52px; }

  /* Hero */
  .hero { height: auto; display: block; padding: 56px var(--gutter) 32px; }
  .hero__bg { top: 0; width: 1048px; height: 655px; transform: translateX(-50%); }
  .hero__orbit { display: none; }
  .hero__card { width: 100%; padding: 48px 16px; gap: 8px; align-items: stretch; text-align: left; }
  .hero__title { font-size: 38px; line-height: 1.15; letter-spacing: -1.33px; }
  .hero__lede { font-size: 16.5px; }
  .hero__actions { flex-direction: column; gap: 16px; margin-top: 16px; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .btn--primary { height: 52px; }

  /* Record strip */
  .record-index__row { width: 963px; }

  /* Sourcing */
  .section--page#sourcing { padding-bottom: 0; }
  .sourcing { gap: 24px; }
  .sourcing .section-intro { align-items: flex-start; text-align: left; gap: 24px; margin: 0; }
  .chips {
    flex-wrap: nowrap; justify-content: flex-start; max-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    overflow-x: auto; scrollbar-width: none;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { width: auto; flex: none; }
  .catalogue { grid-template-columns: 1fr; gap: 0; padding: 16px 0 0; }
  .catalogue__art { aspect-ratio: auto; height: 156px; margin-inline: 12px; }
  .catalogue__art img { width: 154px; }
  .catalogue__detail { gap: 16px; padding: 20px; }
  .catalogue__title { font-size: 24px; }
  .tags { gap: 8px; max-width: none; }
  .tags li { padding: 8px 10px; background: transparent; color: var(--text-primary); }

  /* Licensing */
  .section--secondary { background: var(--bg-page); }
  .licensing { gap: 24px; }
  .licensing > .label { display: none; }
  .licensing__row { grid-template-columns: 1fr; gap: 24px; }
  .value-card { padding: 24px; }
  .value-card__figure { font-size: 38px; line-height: 1.15; letter-spacing: -1.33px; }
  .value-card__text { font-size: 24px; letter-spacing: -0.6px; }
  .licensing__copy .h2 { font-size: 27px; line-height: 1.2; letter-spacing: -0.54px; }
  .licensing__copy .small { font-size: 15px; }
  .factors { flex-direction: column; align-items: stretch; gap: 24px; }
  .factor { height: auto; background: none; }
  .factor__card { position: static; height: auto; gap: 8px; }
  .factor__card .small { font-size: 15px; }

  /* Connected records: image first, then copy */
  .section--connected { background: var(--brand-primary-subtle); }
  .connected { gap: 24px; padding: 20px; }
  .connected__intro { flex-direction: column; gap: 24px; order: 1; }
  .connected__intro .h1, .connected__intro .body { flex: none; }
  .example-tabs { gap: 8px; order: 2; }
  .example-tab {
    flex: 1 1 0; width: auto; height: 56px; display: flex; align-items: center; justify-content: center;
    padding: 12px 4px; line-height: 1.3; letter-spacing: 0;
  }
  .example-tab[aria-selected="true"] { color: var(--brand-primary); padding-bottom: 11px; }
  .stats { gap: 0; order: 3; }
  .stat { border: 0; padding: 20px 8px 10px; }
  .stat__value { font-size: 22px; line-height: 1.2; letter-spacing: -0.44px; }
  .connected__panel, .connected__body { display: contents; }
  .connected__flow { order: 4; }
  .connected__art { order: 0; width: 100%; flex: none; aspect-ratio: 338 / 347; }

  /* Identity */
  .identity { gap: 24px; }
  .compare { flex-direction: column; align-items: stretch; gap: 24px; }
  .compare__arrow { align-self: center; transform: rotate(90deg); }
  .record { flex: none; border: 1px solid var(--border-standard); }
  .record--after { border-color: var(--border-strong); }
  .record--before .record__head { background: var(--bg-page); font-size: 19px; }
  .record dl > div { background: var(--bg-elevated); }
  .record dd, .record--after dd, .record--after .record__kept dd { font-size: 16.5px; line-height: 1.6; letter-spacing: 0; }
  .compare:is(.ph-0, .ph-1) .compare__arrow { opacity: .3; }
  .identity-section { background: var(--bg-page); }

  /* Process */
  .process { gap: 24px; }
  .process .section-intro { gap: 24px; align-items: flex-start; text-align: left; }
  .process .body-lg { text-align: center; }
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .step__arrow { display: none; }
  .step__art { height: 132px; }
  .step__art img { width: 168px; height: 168px; }
  .process__title span { display: inline; color: inherit; }
  .step__title { font-size: 27px; line-height: 1.2; letter-spacing: -0.54px; }
  .step__title span { font-size: 22px; }

  /* Reach */
  .reach { padding: 20px; }
  .reach__body { flex-direction: column; align-items: stretch; gap: 32px; padding-block: 8px 0; }
  .reach__art { flex: none; width: 100%; }
  .reach__list { flex: none; gap: 16px; }

  /* CTA */
  .cta { padding-block: 56px; }
  .cta__inner { gap: 24px; }

  /* Footer */
  .site-footer { padding-block: 56px; }
  .site-footer .container { gap: 32px; }
  .site-footer__top { flex-direction: column; gap: 32px; }
  .site-footer__brand { flex: none; }
  .site-footer__nav { flex-direction: column; gap: 32px; }
  .site-footer__nav ul { gap: 36px; }
  .site-footer__legal { flex-direction: column; gap: 24px; }
  .site-footer__legal .caption { flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- What is AI data licensing (homepage, landing pages, /3d, library) ---------- */
.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16.5px; line-height: 1.65; color: var(--text-link);
  text-decoration: underline; text-underline-offset: 3px;
}
.text-link:hover { color: var(--brand-primary); }
.licensing-explainer { display: flex; flex-direction: column; align-items: center; gap: 64px; }
.licensing-explainer__title { text-align: center; }
.licensing-explainer__body {
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
  width: min(990px, 100%);
}
.licensing-explainer__copy { flex: 0 1 496px; display: flex; flex-direction: column; gap: 16px; }
.licensing-explainer__copy .text-link { margin-top: -4px; align-self: flex-start; }
/* Three light tiles (records -> agreement -> AI), spaced and joined by a brass line, each with a leader to its label. */
.licensing-diagram { flex: 0 0 411px; display: flex; flex-direction: column; padding-block: 16px; }
.licensing-diagram li { position: relative; display: flex; align-items: center; gap: 16px; }
.licensing-diagram li + li { margin-top: 20px; }
.licensing-diagram li + li::before {
  content: ""; position: absolute; left: 104px; top: -20px; width: 1px; height: 20px; background: var(--brand-accent);
}
.licensing-diagram__tile {
  position: relative; flex: none; width: 209px; height: 130px; overflow: hidden;
  border: 1px solid var(--border-subtle); border-radius: var(--radius); background: var(--brand-primary-subtle);
}
.licensing-diagram__tile img { width: 100%; height: 100%; object-fit: cover; }
.licensing-diagram__label {
  position: relative; flex: 1; padding-bottom: 14px; text-align: right;
  font-size: 17.5px; line-height: 1.6; letter-spacing: -0.0875px; color: var(--brand-accent);
}
.licensing-diagram__label::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12.5px;
  background: url("assets/aec/leader-line.svg") no-repeat left bottom / 100% 100%;
}
@media (max-width: 1100px) {
  .licensing-diagram { flex-basis: 360px; }
}
@media (max-width: 767px) {
  .licensing-explainer { align-items: stretch; gap: 24px; }
  .licensing-explainer__title { text-align: left; }
  .licensing-explainer__body { flex-direction: column; align-items: stretch; gap: 24px; }
  .licensing-explainer__copy { flex: none; gap: 24px; }
  .licensing-explainer__copy .body-lg { font-size: 16.5px; line-height: 1.65; }
  .licensing-diagram { flex: none; }
  .licensing-diagram__tile { width: 155px; height: 96px; }
  .licensing-diagram__label { font-size: 14.5px; }
  .licensing-diagram li + li::before { left: 77px; }
}
