/* ==========================================================================
   Access AI Lab
   ========================================================================== */

:root {
  --bg: #eef1f7;
  --bg-2: #e3e8f2;
  --ink: #0d1222;
  --ink-2: #454c5f;
  --muted: #6b7287;
  --line: rgba(13, 18, 34, 0.12);
  --accent: #2f5bff;
  --accent-ink: #ffffff;
  --dark: #0a0e1a;
  --dark-2: #131a2b;
  --on-dark: #eef1f7;
  --on-dark-2: #9aa4bc;
  --line-dark: rgba(238, 241, 247, 0.14);

  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --gutter: clamp(16px, 4vw, 48px);
  --radius: 22px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(96px, 14vw, 180px) 0; }
.section--dark { --accent: #6d8dff; background: var(--dark); color: var(--on-dark); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 28px;
}
.eyebrow--light { color: var(--on-dark-2); }
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(47, 91, 255, 0.5);
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 91, 255, 0.5); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(47, 91, 255, 0); }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 500 16px/1 var(--sans); letter-spacing: -0.01em;
  overflow: hidden; isolation: isolate;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn span, .btn svg { position: relative; z-index: 1; }
.btn::before {
  /* fill that rises from the bottom on hover */
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  transform: translateY(101%); transition: transform 420ms var(--ease-out);
}
.btn svg { transition: transform 300ms var(--ease-out); }

.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent::before { background: var(--ink); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark::before { background: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost::before { background: var(--ink); }
.btn--small { height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { transform: translateY(0); }
  .btn--accent:hover, .btn--ghost:hover { color: var(--bg); }
  .btn--dark:hover { color: var(--accent-ink); }
  .btn:hover svg { transform: translateX(4px); }
}
.section--dark .btn--accent { background: #2f5bff; }
.section--dark .btn--accent::before { background: var(--on-dark); }
@media (hover: hover) and (pointer: fine) {
  .section--dark .btn--accent:hover { color: var(--ink); }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 150; display: none;
  place-items: center; background: var(--ink); color: var(--bg);
}
html.anim .loader { display: grid; }
.loader__mark { display: flex; gap: 0.28em; font-size: clamp(32px, 6vw, 64px); letter-spacing: -0.03em; overflow: hidden; }
.loader__word { display: inline-block; }
.loader__word--serif { font-family: var(--serif); font-style: italic; color: var(--accent); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 16px; left: 16px; right: 16px; z-index: 100;
  max-width: 1288px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(238, 241, 247, 0.72);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--line), 0 10px 40px -20px rgba(0, 0, 0, 0.25);
  transition: transform 500ms var(--ease-out);
}
.nav.is-hidden { transform: translateY(calc(-100% - 24px)); }
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--ink-2);
  transition: color 200ms ease, background-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--ink); background: rgba(13, 18, 34, 0.06); }
}
.nav__toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--ink); cursor: pointer; position: relative;
}
.nav__toggle span {
  position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--bg);
  transition: transform 300ms var(--ease-out);
}
.nav__toggle span:first-child { transform: translateY(-3px); }
.nav__toggle span:last-child { transform: translateY(3px); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 100px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path 600ms var(--ease-in-out);
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu a {
  font-size: clamp(40px, 12vw, 64px); letter-spacing: -0.04em; line-height: 1.1;
  opacity: 0; transform: translateY(24px);
  transition: opacity 400ms ease, transform 600ms var(--ease-out);
}
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: 50ms; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: 100ms; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: 150ms; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: 200ms; }
.mobile-menu.is-open a:nth-child(6) { transition-delay: 250ms; }

@media (max-width: 860px) {
  .nav__links, .nav > .btn { display: none; }
  .nav__toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 140px 0 120px; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; will-change: transform;
}
.blob--a { width: 46vw; height: 46vw; right: -8vw; top: -10vw; background: #4f7bff; animation: drift-a 18s ease-in-out infinite alternate; }
.blob--b { width: 34vw; height: 34vw; right: 18vw; bottom: -14vw; background: #8fd3ff; animation: drift-b 22s ease-in-out infinite alternate; }
.blob--c { width: 28vw; height: 28vw; left: -8vw; top: 20vh; background: #b8a9ff; opacity: 0.45; animation: drift-c 26s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(-6vw, 8vh) scale(1.1); } }
@keyframes drift-b { to { transform: translate(8vw, -6vh) scale(0.9); } }
@keyframes drift-c { to { transform: translate(6vw, -10vh) scale(1.15); } }

.hero__grain {
  position: absolute; inset: -50%; opacity: 0.09; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__spot {
  position: absolute; z-index: 0; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 65%);
  transition: opacity 600ms ease;
}
.hero:hover .hero__spot { opacity: 1; }

.hero__inner { position: relative; z-index: 1; }
.hero__title {
  font-size: clamp(52px, 10.2vw, 156px); line-height: 0.94; letter-spacing: -0.055em; font-weight: 500;
  margin-bottom: 40px;
}
.hero__line { display: block; overflow: clip; padding: 0 0.12em 0.1em 0; margin-bottom: -0.1em; }
.hero__line-in { display: block; }
.mask { display: block; overflow: clip; padding: 0 0.12em 0.1em 0; margin-bottom: -0.1em; }
.mask__in { display: block; }

.rotator {
  position: relative; display: inline-grid; vertical-align: bottom;
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.035em;
  color: var(--accent);
  transition: width 700ms var(--ease-out);
}
.rotator__word {
  grid-area: 1 / 1; white-space: nowrap; padding-right: 0.08em;
  opacity: 0; transform: translateY(0.4em); filter: blur(12px);
  transition: opacity 500ms ease, transform 800ms var(--ease-out), filter 600ms ease;
}
.rotator__word.is-active { opacity: 1; transform: none; filter: blur(0); }
.rotator__word.is-leaving { opacity: 0; transform: translateY(-0.4em); filter: blur(12px); transition-duration: 350ms, 500ms, 350ms; }

@media (max-width: 640px) {
  .rotator { display: grid; }
}

.hero__lede { max-width: 560px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); margin-bottom: 40px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__scroll {
  position: absolute; z-index: 1; left: 50%; bottom: 32px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll i { position: relative; width: 1px; height: 44px; background: var(--line); overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  animation: scrollcue 2s var(--ease-in-out) infinite;
}
@keyframes scrollcue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--accent); color: var(--accent-ink);
  padding: 22px 0; overflow: hidden; transform: rotate(-1.5deg) scale(1.03); margin: -10px 0;
  position: relative; z-index: 2;
}
.marquee__track {
  display: flex; gap: 32px; width: max-content; align-items: center;
  font-size: clamp(22px, 3vw, 36px); letter-spacing: -0.03em; white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.marquee__track b { font-weight: 400; font-size: 0.7em; }
.marquee__track span:nth-of-type(odd) { font-family: var(--serif); font-style: italic; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Mission ---------- */
.mission__statement {
  font-size: clamp(30px, 4.4vw, 64px); line-height: 1.12; letter-spacing: -0.035em;
  max-width: 1180px; margin-bottom: clamp(72px, 10vw, 140px);
}
.mission__statement .word { opacity: 0.14; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { padding-top: 28px; border-top: 1px solid var(--line); }
.pillar__num { display: block; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--accent); margin-bottom: 40px; }
.pillar h3 { font-size: 26px; margin-bottom: 14px; }
.pillar p { color: var(--ink-2); max-width: 36ch; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Section heads ---------- */
.section__head { margin-bottom: clamp(56px, 8vw, 96px); }
.section__title { font-size: clamp(44px, 6.4vw, 96px); line-height: 0.98; letter-spacing: -0.05em; }
.section__title em { color: var(--accent); }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; padding: clamp(28px, 3.4vw, 48px); border-radius: var(--radius);
  background: var(--dark-2); box-shadow: inset 0 0 0 1px var(--line-dark); overflow: hidden;
  transition: transform 500ms var(--ease-out);
}
.card::before {
  /* cursor spotlight */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(47, 91, 255, 0.16), transparent 60%);
  transition: opacity 300ms ease;
}
.card::after {
  /* spotlight border */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px; opacity: 0;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(47, 91, 255, 0.9), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity 300ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .card:hover::before, .card:hover::after { opacity: 1; }
  .card:hover .card__icon { transform: rotate(-8deg) scale(1.06); }
}
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(47, 91, 255, 0.12); color: var(--accent); margin-bottom: 56px;
  transition: transform 500ms var(--ease-out);
}
.card__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 16px; }
.card p { color: var(--on-dark-2); max-width: 44ch; margin-bottom: 28px; }
.card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.card li { font-size: 14px; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-dark); color: var(--on-dark); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process { background: var(--bg-2); overflow: hidden; }
.process__pin {
  position: relative; display: flex; align-items: center;
  min-height: 100svh; padding: 120px 0;
}
.process__intro {
  /* opaque panel the cards slide beneath */
  position: relative; z-index: 2; flex: 0 0 auto; align-self: stretch;
  display: flex; flex-direction: column; justify-content: center;
  width: calc(min(460px, 36vw) + var(--gutter) + clamp(40px, 6vw, 96px));
  padding: 0 clamp(40px, 6vw, 96px) 0 var(--gutter);
  margin: -120px 0; background: var(--bg-2);
}
.process__intro::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: 80px; pointer-events: none;
  background: linear-gradient(90deg, var(--bg-2), rgba(227, 232, 242, 0));
}
.process__progress { margin-top: 48px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; max-width: 280px; }
.process__progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.process__track { display: flex; gap: 20px; padding-right: var(--gutter); will-change: transform; }
.step {
  flex: 0 0 auto; width: clamp(300px, 30vw, 420px); min-height: 440px;
  display: flex; flex-direction: column; padding: 36px; border-radius: var(--radius);
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--line);
}
.step__num { font-family: var(--serif); font-style: italic; font-size: clamp(88px, 9vw, 132px); line-height: 0.8; color: var(--accent); margin-bottom: auto; }
.step h3 { font-size: 36px; margin: 48px 0 14px; }
.step p { color: var(--ink-2); }

@media (max-width: 860px) {
  .process__pin { flex-direction: column; align-items: stretch; padding: 96px var(--gutter); min-height: 0; }
  .process__intro { width: auto; padding: 0; margin: 0 0 48px; }
  .process__intro::after { display: none; }
  .process__progress { display: none; }
  .process__track { flex-direction: column; padding-right: 0; }
  .step { width: auto; min-height: 0; }
  .step h3 { margin-top: 32px; }
}

/* ---------- Statement ---------- */
.statement__text {
  font-size: clamp(44px, 8vw, 132px); line-height: 0.98; letter-spacing: -0.055em; max-width: 14ch;
}
.statement__text em { color: var(--accent); }

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.02em; font-weight: 500;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 200ms ease, transform 400ms var(--ease-out); }
.faq__item summary i::before, .faq__item summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: currentColor;
  transition: transform 400ms var(--ease-out);
}
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i { background: var(--accent); color: var(--accent-ink); box-shadow: none; transform: rotate(180deg); }
.faq__item[open] summary i::after { transform: rotate(0deg); }
.faq__body { overflow: hidden; }
.faq__body p { padding: 0 48px 28px 0; color: var(--ink-2); max-width: 60ch; }
@media (hover: hover) and (pointer: fine) {
  .faq__item summary:hover i { background: rgba(13, 18, 34, 0.06); }
}
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.contact__title { font-size: clamp(48px, 6.8vw, 104px); line-height: 0.96; letter-spacing: -0.05em; margin-bottom: 32px; }
.contact__title em { color: var(--accent); }
.contact__lede { color: var(--on-dark-2); max-width: 42ch; margin-bottom: 32px; font-size: 18px; }
.contact__email {
  display: inline-block; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 34px);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat;
  transition: background-size 500ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .contact__email:hover { background-size: 100% 1px; } }

.form { display: grid; gap: 14px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--dark-2); box-shadow: inset 0 0 0 1px var(--line-dark); }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 28px 18px 12px; border: 0; border-radius: 14px;
  background: rgba(238, 241, 247, 0.05); color: var(--on-dark);
  font: 400 16px/1.4 var(--sans);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  transition: box-shadow 200ms ease, background-color 200ms ease;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239aa4bc' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.field select option { color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent); background-color: rgba(238, 241, 247, 0.08); }
.field label {
  position: absolute; left: 18px; top: 20px; color: var(--on-dark-2); pointer-events: none;
  transform-origin: left top; transition: transform 250ms var(--ease-out), color 200ms ease;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field label.is-static { transform: translateY(-11px) scale(0.78); }
.field input:focus + label, .field textarea:focus + label { color: var(--accent); }
.field.is-invalid input, .field.is-invalid textarea { box-shadow: inset 0 0 0 1.5px #ff6b6b; }
.field.shake { animation: shake 400ms var(--ease-out); }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.form__note { font-size: 14px; color: var(--on-dark-2); text-align: center; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--on-dark-2); padding: 40px 0 32px; overflow: hidden; }
.footer__big {
  font-size: clamp(56px, 13.4vw, 210px); letter-spacing: -0.06em; line-height: 0.85; font-weight: 500;
  color: var(--on-dark); white-space: nowrap; margin-bottom: 40px;
}
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 14px; }
.footer__row a { transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .footer__row a:hover { color: var(--accent); } }

/* ---------- Experience page ---------- */
.nav__links a[aria-current="page"] { color: var(--ink); background: rgba(13, 18, 34, 0.06); }

.hero--page { min-height: 0; padding: 180px 0 96px; }
.hero__title--page { font-size: clamp(48px, 7.6vw, 116px); }
.hero__title--page em { color: var(--accent); letter-spacing: -0.035em; }

.stats { padding: 0 0 clamp(72px, 10vw, 128px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat { padding-top: 24px; border-top: 1px solid var(--line); }
.stat__num { font-size: clamp(44px, 5.2vw, 76px); letter-spacing: -0.05em; line-height: 1; font-weight: 500; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--ink-2); max-width: 24ch; }
@media (max-width: 860px) { .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; } }

.feature__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); margin-bottom: clamp(64px, 8vw, 104px); }
.feature__label { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 20px; }
.feature__col > p { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--on-dark); }
.feature__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.feature__list li { position: relative; padding-left: 28px; color: var(--on-dark-2); }
.feature__list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 12px; height: 2px; background: var(--accent); }
.feature__list strong { color: var(--on-dark); font-weight: 500; }
.outcomes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.outcome { padding: 28px; border-radius: var(--radius); background: var(--dark-2); box-shadow: inset 0 0 0 1px var(--line-dark); }
.outcome__num { font-size: clamp(40px, 4.4vw, 60px); letter-spacing: -0.05em; line-height: 1; color: var(--accent); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.outcome__num--text { font-family: var(--serif); font-style: italic; letter-spacing: -0.03em; }
.outcome__label { color: var(--on-dark-2); font-size: 15px; }
@media (max-width: 960px) {
  .feature__grid { grid-template-columns: 1fr; }
  .outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .outcomes { grid-template-columns: 1fr; } }

.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case {
  display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--radius);
  background: #ffffff; box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 400ms var(--ease-out), box-shadow 300ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .case:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(47, 91, 255, 0.35), 0 24px 48px -28px rgba(13, 18, 34, 0.35); }
}
.case__tag { font-size: 13px; font-weight: 500; color: var(--accent); }
.case h3 { font-size: clamp(22px, 1.9vw, 27px); line-height: 1.12; letter-spacing: -0.03em; }
.case p:last-child { color: var(--ink-2); font-size: 16px; }
.cases__note { margin-top: 32px; font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .case-grid { grid-template-columns: 1fr; } }

.section--tint { background: var(--bg-2); }
.background__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts__row { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 500; }
.facts dd { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) {
  .background__grid { grid-template-columns: 1fr; gap: 40px; }
  .facts__row { grid-template-columns: 1fr; gap: 6px; }
}

.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }

/* ---------- Initial animation states (only when JS animations are active) ---------- */
html.anim [data-reveal] { opacity: 0; }
html.anim .hero__eyebrow, html.anim .hero__lede, html.anim .hero__ctas, html.anim .hero__scroll { opacity: 0; }
html.anim .nav { visibility: hidden; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .rotator__word { transform: none !important; filter: none !important; }
  .mission__statement .word { opacity: 1; }
}
