/* About page: dark hero, scroll-lit statement, interactive team index, marquee. */

.ab9-hero { min-height: min(92vh, 860px); display: flex; align-items: center; padding-block: clamp(72px, 10vw, 140px); }
.ab9-hero .wrap { width: 100%; }
.ab9-hero .crumbs, .ab9-hero .crumbs a { color: #d6d3e6; }
.ab9-hero-in { padding-top: clamp(40px, 8vw, 110px); }
.ab9-kicker {
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-light); margin: 0 0 28px;
}
.ab9-hero h1 {
  font-family: var(--serif); font-weight: 400; color: #f5f6fa;
  font-size: clamp(2.6rem, 7.4vw, 6.6rem); line-height: 1.02; letter-spacing: -0.015em;
  max-width: 15ch; margin: 0;
}
.ab9-hero h1 em { font-style: normal; color: var(--gold-light); }
.ab9-scroll {
  display: flex; align-items: center; gap: 14px; margin: clamp(48px, 8vw, 96px) 0 0;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: #d6d3e6;
}
.ab9-scroll span { width: 1px; height: 44px; background: var(--gold-light); transform-origin: top; animation: ab9-drop 2.2s ease-in-out infinite; }
@keyframes ab9-drop { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Statement that lights up word by word while the page scrolls */
.ab9-story { background: var(--night); height: 240vh; position: relative; }
.ab9-sticky { padding-inline: 0; position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; }
.ab9-statement {
  width: 100%; padding-inline: var(--gutter); margin: 0;
  font-family: 'Geist', 'Inter', system-ui, sans-serif; font-weight: 300;
  font-size: clamp(1.5rem, 4.3vw, 4.4rem); line-height: 1.14; letter-spacing: -0.03em;
  text-transform: uppercase; text-align: center; text-align-last: center; color: #b9a7ff;
}

.ab9-w { opacity: 0.18; transition: opacity 0.35s ease; }
.ab9-w.is-lit, .no-js .ab9-w { opacity: 1; }

/* Team index */
.ab9-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.ab9-row { border-bottom: 1px solid var(--rule-strong); }
.ab9-row h3 { margin: 0; }
.ab9-trigger {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: 56px minmax(0, 1.6fr) minmax(0, 1fr) 28px; align-items: center; gap: 20px;
  padding: clamp(24px, 3.4vw, 44px) 0; color: var(--ink);
}
.ab9-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.ab9-n { font-size: 0.8rem; letter-spacing: 0.12em; color: var(--ink-soft); }
.ab9-name { font-family: var(--serif); font-size: clamp(2rem, 5.6vw, 4.8rem); line-height: 1.02; letter-spacing: -0.01em; transition: transform 0.45s cubic-bezier(.2,.7,.2,1), color 0.3s; }
.ab9-role { font-size: 0.95rem; color: var(--ink-soft); }
.ab9-plus { position: relative; width: 22px; height: 22px; justify-self: end; }
.ab9-plus::before, .ab9-plus::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transition: transform 0.35s ease; }
.ab9-plus::after { transform: rotate(90deg); }
.ab9-row.is-open .ab9-plus::after { transform: rotate(0); }
.ab9-trigger:hover .ab9-name { transform: translateX(14px); color: var(--accent); }
.ab9-row.is-open .ab9-name { color: var(--ink); }
.ab9-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s cubic-bezier(.2,.7,.2,1); }
.ab9-row.is-open .ab9-panel { grid-template-rows: 1fr; }
.ab9-panel > div { overflow: hidden; }
.ab9-panel-in { display: grid; grid-template-columns: 56px minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; padding: 0 0 clamp(28px, 4vw, 52px); }
.ab9-mono {
  grid-column: 2; font-family: var(--serif); font-size: clamp(5rem, 14vw, 11rem); line-height: 0.85;
  color: transparent; -webkit-text-stroke: 1px var(--gold-ink); user-select: none;
}
.ab9-panel-in > div { grid-column: 2 / span 2; }
.ab9-panel-in p { color: var(--ink-soft); font-size: 1.04rem; line-height: 1.7; max-width: 62ch; margin: 0 0 18px; }
.ab9-panel-in p::first-line { color: var(--ink); }
.ab9-together { margin: 28px 0 0; color: var(--ink); max-width: 60ch; }

@media (min-width: 900px) {
  .ab9-panel-in { grid-template-columns: 56px minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
  .ab9-mono { grid-column: 2; }
  .ab9-panel-in > div { grid-column: 3; }
}
@media (max-width: 899px) {
  .ab9-trigger { grid-template-columns: 36px minmax(0, 1fr) 24px; }
  .ab9-role { grid-column: 2; grid-row: 2; }
  .ab9-plus { grid-row: 1; grid-column: 3; }
  .ab9-panel-in { grid-template-columns: 36px minmax(0, 1fr); }
  .ab9-mono { display: none; }
  .ab9-panel-in > div { grid-column: 2; }
}

/* Marquee of where we have worked */
.ab9-places { background: #000; padding: clamp(40px, 6vw, 72px) 0; overflow: hidden; }
.ab9-places-label { margin: 0 0 28px; padding: 0 var(--gutter, 24px); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: #d6d3e6; text-align: center; }
.ab9-marquee { display: flex; width: max-content; animation: ab9-run 44s linear infinite; }
.ab9-marquee:hover { animation-play-state: paused; }
.ab9-track { display: flex; list-style: none; margin: 0; padding: 0; flex-shrink: 0; }
.ab9-track li { font-family: var(--serif); font-size: clamp(1.8rem, 4.4vw, 3.6rem); color: #f5f6fa; white-space: nowrap; padding-right: clamp(40px, 6vw, 88px); display: flex; align-items: center; gap: clamp(40px, 6vw, 88px); }
.ab9-track li::after { content: ''; width: 8px; height: 8px; background: var(--gold-light); transform: rotate(45deg); }
@keyframes ab9-run { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .ab9-marquee, .ab9-scroll span { animation: none; }
  .ab9-story { height: auto; }
  .ab9-sticky { position: static; height: auto; padding-block: 96px; }
  .ab9-w { opacity: 1; transition: none; }
  .ab9-panel { transition: none; }
}

/* Hero: ink drawing at the right, proof strip along the bottom */
.ab9-top .ab9-ink { height: 100%; opacity: 0.9; }
.ab9-top .wrap { position: relative; }
.ab9-proof {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: clamp(48px, 7vw, 96px) 0 0;
  border-top: 1px solid var(--rule-strong);
}
.ab9-proof > div { padding: 22px 24px 0 0; }
.ab9-proof > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.ab9-proof dt { font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1; color: var(--ink); }
.ab9-proof dd { margin: 10px 0 0; font-size: 0.9rem; line-height: 1.45; color: var(--ink-soft); max-width: 26ch; }
@media (max-width: 760px) {
  .ab9-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .ab9-proof > div:nth-child(odd) { padding-left: 0; border-left: 0; }
}

/* About hero picture: the path up to the summit paints itself in */
.ab9-top .ab9-trail { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ab9-trail 4.2s cubic-bezier(.45,.1,.25,1) 1.4s forwards; }
.ab9-top .ab9-summit { opacity: 0; animation: ab9-summit 1.6s ease 4.8s forwards; }
@keyframes ab9-trail { to { stroke-dashoffset: 0; } }
@keyframes ab9-summit { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .ab9-top .ab9-trail { stroke-dashoffset: 0; animation: none; }
  .ab9-top .ab9-summit { opacity: 1; animation: none; }
}
