/* The Alt League: altleague.com
   Design system extracted from the Claude Design handoff (2026-08-07).
   Brand: Kelly Green #0FA254 · Deep Field #06261A (darker band #041B12) · White #FFFFFF.
   Type: Syne ExtraBold caps headlines · DM Sans body · DM Mono labels/buttons. */

:root {
  --green: #0FA254;
  --deep: #06261A;
  --deeper: #041B12;
  --tile: #0C3B26;
  --white: #FFFFFF;
  --line: rgba(255, 255, 255, .16);
  --line-strong: rgba(255, 255, 255, .18);
  --line-soft: rgba(255, 255, 255, .12);
  --green-line: rgba(15, 162, 84, .35);
  --syne: 'Syne', sans-serif;
  --sans: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
  --pad-x: 48px;
}

@media (max-width: 720px) {
  :root { --pad-x: 22px; }
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none !important; }
}

body {
  margin: 0;
  background: var(--deep);
  color: var(--white);
  font-family: var(--sans);
}

h1, h2, h3, h4 { hyphens: none; -webkit-hyphens: none; overflow-wrap: normal; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
img, video { max-width: 100%; }

.page { background: var(--deep); color: var(--white); overflow-x: clip; }

/* ---------- Keyframes ---------- */
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes altblink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
@keyframes altpulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* ---------- Shared components ---------- */

/* Menu overlay */
.menu-overlay {
  position: fixed; inset: 0; z-index: 100; background: var(--deeper);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad-x);
  opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }
.menu-close {
  position: absolute; top: 26px; right: var(--pad-x); cursor: pointer;
  background: none; border: 0; color: inherit; padding: 0;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
}
.menu-links { display: flex; flex-direction: column; gap: 4px; }
.menu-links a {
  font-family: var(--syne); font-weight: 800;
  font-size: clamp(38px, 6vw, 88px); line-height: 1; letter-spacing: -0.03em;
  text-transform: uppercase;
}
.menu-links a[aria-current="page"] { color: var(--green); }
.menu-meta {
  margin-top: 72px; display: flex; flex-wrap: wrap; gap: 16px 32px; min-width: 0;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  color: rgba(255, 255, 255, .55);
}

/* Fixed header bar */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px var(--pad-x);
  background: rgba(6, 38, 26, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-header .brand { display: flex; align-items: center; gap: 14px; min-width: 0; overflow: hidden; }
.site-header .brand img { width: 24px; height: 24px; }

/* Homepage variant: hidden over hero, revealed on scroll */
.site-header.reveal {
  opacity: 0; transform: translateY(-100%); pointer-events: none;
  transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1);
}
.site-header.reveal.shown { opacity: 1; transform: translateY(0); pointer-events: auto; }
.wordmark {
  font-family: var(--syne); font-weight: 800;
  font-size: clamp(12px, 2.2vw, 17px); letter-spacing: .06em; color: var(--green);
  white-space: nowrap; display: flex; gap: clamp(5px, 1.2vw, 14px);
  opacity: 0; transform: translateX(-8px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}
.wordmark.settled { opacity: 1; transform: translateX(0); }

/* Hamburger */
.menu-btn {
  display: flex; flex: none; flex-direction: column; gap: 6px; cursor: pointer;
  padding: 6px 0; background: none; border: 0;
}
.menu-btn span { display: block; width: 26px; height: 2px; background: var(--green); }
.menu-btn.lg span { width: 30px; }

/* Section padding helpers */
.px { padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* Mono labels (12px floor is a standing site rule) */
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--green); }
.kicker.dim { color: rgba(255, 255, 255, .5); }

/* Pill button */
.btn-pill {
  display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  background: var(--green); color: var(--deeper);
  padding: 16px 28px; border-radius: 100px;
}
.btn-pill:hover { color: var(--deeper); filter: brightness(1.08); }

/* Marquee */
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marq 30s linear infinite; }

/* Index rows (work list, press announcements, next-case-study) */
.index-row { display: block; border-top: 1px solid var(--line-strong); position: relative; transition: background .35s ease, padding-left .35s ease; }
.index-row.last { border-bottom: 1px solid var(--line-strong); }
.index-row:hover { background: rgba(15, 162, 84, .1); padding-left: 18px; }
.index-row .row-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; padding: 30px 0; }
.index-row .row-num { font-family: var(--mono); font-size: 13px; color: rgba(255, 255, 255, .4); flex: none; width: 44px; }
.index-row .row-title { font-family: var(--syne); font-weight: 800; font-size: clamp(26px, 3vw, 46px); line-height: 1; text-transform: uppercase; flex: 1 1 320px; min-width: 0; }
.index-row .row-tag { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: rgba(255, 255, 255, .55); flex: none; }
.index-row .row-arrow { font-family: var(--mono); font-size: 16px; color: var(--green); flex: none; }

/* Footer */
.site-footer { padding: 110px var(--pad-x) 56px; }
.site-footer .footer-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: rgba(255, 255, 255, .5); margin-bottom: 28px; }
.site-footer h2 a { color: inherit; text-decoration: none; }
.site-footer h2 {
  font-family: var(--syne); font-weight: 800;
  font-size: clamp(48px, 8.4vw, 140px); line-height: .86; letter-spacing: -0.04em;
  margin: 0 0 64px; text-transform: uppercase;
}
.footer-bar {
  display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; align-items: flex-end;
  border-top: 1px solid var(--line); padding-top: 28px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: rgba(255, 255, 255, .6);
}
.footer-bar .footer-email { font-size: 24px; letter-spacing: 0; color: var(--white); font-family: var(--sans); }
.footer-bar nav { display: flex; flex-wrap: wrap; gap: 12px 22px; min-width: 0; }

/* Stat cells (count-up band, case study results) */
.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(max(23%, 200px), 1fr)); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat-grid.tight { grid-template-columns: repeat(auto-fit, minmax(max(23%, 145px), 1fr)); }
.stat-cell { padding: 40px clamp(14px, 1.9vw, 28px) 44px; min-width: 0; container-type: inline-size; box-shadow: inset 1px 0 0 var(--line); background: var(--deep); }
.stat-cell .stat-client { font-family: var(--mono); font-size: 14px; letter-spacing: .12em; color: rgba(255, 255, 255, .6); margin-bottom: 30px; }
.stat-cell .stat-num { font-family: var(--syne); font-weight: 800; font-size: clamp(24px, 15cqi, 76px); line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-cell .stat-label { font-family: var(--syne); font-weight: 700; font-size: 17px; line-height: 1.25; margin-top: 14px; text-transform: uppercase; }
.stat-cell .stat-source { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: rgba(255, 255, 255, .5); margin-top: 14px; line-height: 1.5; }

/* Scroll-effect elements start hidden only when JS is running (html.js) */
.js [data-fx="up"] { opacity: 0; }
.js [data-fx="wipe"] { clip-path: inset(0 0 100% 0); }

/* ---------- Homepage ---------- */

.hero { height: 100vh; min-height: 680px; position: relative; overflow: hidden; background: var(--deep); }
.hero .hero-menu-btn { position: absolute; top: 30px; right: var(--pad-x); z-index: 20; }
.hero .hero-mark { position: absolute; top: 30px; left: var(--pad-x); z-index: 20; display: flex; align-items: center; }
.hero .hero-mark img { width: 30px; height: 30px; }
.hero-video { position: absolute; left: 23.79%; top: 7.5%; width: 54.71%; height: 55%; overflow: hidden; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-track { position: absolute; left: 0; right: 0; top: 30%; z-index: 10; }
.hero-title {
  padding: 0 5.5%;
  font-family: var(--syne); font-weight: 800;
  font-size: clamp(52px, 12.4vw, 210px); line-height: .78; letter-spacing: -0.04em;
  text-transform: uppercase; color: var(--green); margin: 0;
}
.hero-marquee { margin-top: 60px; }
.hero-marquee .marquee-item {
  display: flex; align-items: center; gap: 26px; padding-right: 26px;
  font-family: var(--syne); font-weight: 800;
  font-size: clamp(12px, 1.15vw, 17px); letter-spacing: .05em; line-height: 22px;
  text-transform: uppercase; white-space: nowrap;
}
.hero-marquee .marquee-item b { color: var(--green); font-weight: 800; }

@media (max-width: 720px) {
  .hero-video { left: 0; width: 100%; top: 6%; height: 67%; }
  .hero-track { top: auto; bottom: 40px; }
  .hero-marquee { margin-top: 44px; }
}

/* Green inline accent */
.accent-green { color: var(--green); }

/* Static story section (was a pinned text-swap; simplified 2026-08-10 per team notes) */
.story-static { padding: 150px var(--pad-x) 130px; }
.story-copy { margin: 0; font-size: 23px; line-height: 1.5; color: rgba(255, 255, 255, .8); max-width: 760px; text-wrap: pretty; }
@media (max-width: 720px) {
  .story-copy { font-size: 19px; }
}

/* Pinned text-swap story section */
.pin-holder { height: 260vh; position: relative; }
.pin-holder .pinned { position: sticky; top: 0; height: 100vh; display: grid; align-content: safe center; padding: 76px var(--pad-x) 40px; box-sizing: border-box; }
.story-head { font-family: var(--syne); font-weight: 800; font-size: min(5.6vw, 11vh, 92px); line-height: .88; letter-spacing: -0.035em; margin: 0 0 min(36px, 4vh); text-transform: uppercase; max-width: 900px; }
.story-scenes { position: relative; min-height: 176px; max-width: 760px; }
.story-scenes p { position: absolute; inset: 0; margin: 0; font-size: 23px; line-height: 1.5; color: rgba(255, 255, 255, .8); text-wrap: pretty; }
.story-cta { margin-top: min(36px, 4vh); }
.story-dots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: min(36px, 4vh); max-width: 420px; }
.story-dots span { display: block; height: 2px; background: rgba(255, 255, 255, .2); position: relative; overflow: hidden; }
.story-dots i { position: absolute; inset: 0; background: var(--green); transform-origin: left; transform: scaleX(0); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
@media (max-width: 720px) {
  .story-scenes { min-height: 300px; }
  .story-scenes p { font-size: 19px; }
}

/* Client logo marquee */
.client-marquee { overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); padding: 22px 0; }
.client-marquee .marquee-track { animation-duration: 42s; }
.client-marquee .marquee-item { display: flex; align-items: center; gap: 76px; padding-right: 76px; }
.logo-invert { filter: brightness(0) invert(1); }

/* Section head: big green/white title + right-side paragraph */
.section-head { display: flex; flex-wrap: wrap; gap: 36px 100px; align-items: flex-end; margin-bottom: 64px; }
.section-head h2 {
  font-family: var(--syne); font-weight: 800;
  font-size: clamp(38px, 5.8vw, 96px); line-height: .88; letter-spacing: -0.035em;
  margin: 0; text-transform: uppercase; flex: 1 1 520px; min-width: 0;
}
.section-head h2.green { color: var(--green); }
.section-head p { margin: 0; font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, .7); text-wrap: pretty; flex: 0 1 460px; }

/* Feature tiles (2-up 16:9) */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 8px; padding: 0 8px; }
.tile { position: relative; aspect-ratio: 16 / 9; min-width: 0; container-type: inline-size; overflow: hidden; background: var(--tile); display: block; }
.tile .tile-inner { position: absolute; inset: 0; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.tile .tile-inner img { width: 100%; height: 100%; object-fit: cover; }
.tile .tile-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 38, 26, .15), rgba(6, 38, 26, .8)); }
.tile .tile-copy { position: absolute; left: min(28px, 5cqi); right: min(28px, 5cqi); bottom: min(28px, 5cqi); }
.tile .tile-client { font-family: var(--mono); font-size: min(16px, 3.2cqi); letter-spacing: .1em; color: var(--green); margin-bottom: min(12px, 2.4cqi); }
.tile .tile-title { font-family: var(--syne); font-weight: 800; font-size: min(26px, 4.6cqi); line-height: 1.2; letter-spacing: -0.005em; text-transform: uppercase; }

/* Horizontal reel (pinned on desktop, swipe on mobile) */
.hrail-holder { height: 330vh; position: relative; margin-top: 8px; }
.hrail-holder .pinned { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: safe center; padding: 72px 0 24px; box-sizing: border-box; }
.hrail-head { display: flex; flex-wrap: wrap; gap: 20px 80px; align-items: flex-end; padding: 0 var(--pad-x) min(40px, 4vh); }
.hrail-head h2 { font-family: var(--syne); font-weight: 800; font-size: min(4.2vw, 8vh, 64px); line-height: .9; letter-spacing: -0.035em; margin: 0; text-transform: uppercase; flex: 1 1 520px; min-width: 0; }
.hrail-head p { margin: 0; font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, .7); text-wrap: pretty; flex: 0 1 440px; }
.hrail { display: flex; gap: 20px; padding: 0 var(--pad-x); will-change: transform; }
.reel-card { flex: none; width: min(660px, 74vw); height: min(400px, 46vh); position: relative; overflow: hidden; border-radius: 4px; background: var(--tile); transition: transform .5s cubic-bezier(.2, .7, .2, 1); display: block; }
.reel-card:hover { transform: translateY(-14px); }
.reel-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-card .tile-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 38, 26, .05) 40%, rgba(6, 38, 26, .85)); }
.reel-card .reel-copy { position: absolute; left: 28px; right: 28px; bottom: 28px; }
.reel-card .tile-client { font-family: var(--mono); font-size: 16px; letter-spacing: .1em; color: var(--green); margin-bottom: 12px; }
.reel-card .reel-title { font-family: var(--syne); font-weight: 800; font-size: 21px; line-height: 1.2; letter-spacing: -0.005em; text-transform: uppercase; }
.hrail-progress { padding: 34px var(--pad-x) 0; display: flex; align-items: center; gap: 24px; }
.hrail-progress .bar { flex: 1; height: 2px; background: var(--line); position: relative; }
.hrail-progress .bar i { position: absolute; left: 0; top: 0; height: 2px; width: 22%; background: var(--green); }
.hrail-progress .count { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: rgba(255, 255, 255, .5); }

@media (max-width: 820px) {
  /* Mobile: natural swipe instead of scroll-jacked pin */
  .hrail-holder { height: auto; }
  .hrail-holder .pinned { position: static; height: auto; overflow: visible; padding: 72px 0 24px; }
  .hrail { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hrail::-webkit-scrollbar { display: none; }
  .reel-card { scroll-snap-align: start; width: min(560px, 82vw); height: min(400px, 52vh); }
  .hrail-progress { display: none; }
}

/* AltOS band (homepage) */
.altos-band { background: var(--deeper); padding: 140px var(--pad-x); border-top: 1px solid var(--green-line); }
.altos-band .band-flex { display: flex; flex-wrap: wrap; gap: 56px 90px; align-items: flex-start; }
.altos-band .band-copy { flex: 1 1 520px; min-width: 0; }
.altos-band h2 { font-family: var(--syne); font-weight: 800; font-size: clamp(36px, 5.2vw, 86px); line-height: .88; letter-spacing: -0.035em; margin: 0 0 30px; text-transform: uppercase; }
.altos-band .band-copy p { max-width: 560px; margin: 0 0 22px; font-size: 20px; line-height: 1.55; color: rgba(255, 255, 255, .72); text-wrap: pretty; }
.altos-band .band-copy p.last { margin-bottom: 42px; }
.altos-band .band-shot { flex: 1 1 480px; min-width: 0; border-radius: 8px; overflow: hidden; mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 6%, #000 22%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 6%, #000 22%); }
.altos-band .band-shot img { display: block; width: 100%; height: auto; }

/* Testimonials (pinned scene swap over full-bleed imagery) */
.quotes-holder { height: 260vh; position: relative; }
.quotes-holder .pinned { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.quotes-bg, .quotes-bg > div { position: absolute; inset: 0; }
.quotes-bg img { width: 100%; height: 100%; object-fit: cover; }
.quotes-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 38, 26, .94) 0%, rgba(6, 38, 26, .86) 55%, rgba(6, 38, 26, .62) 100%); }
.quotes-fg { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(24px, 6vw, 100px); }
.quotes-fg .kicker { margin-bottom: 44px; }
.quote-scenes { position: relative; min-height: 350px; max-width: 1180px; }
.quote-scenes > div { position: absolute; inset: 0; }
.quote-scenes blockquote { font-family: var(--sans); font-weight: 400; font-size: clamp(22px, 2.7vw, 42px); line-height: 1.28; margin: 0 0 40px; text-wrap: pretty; }
.quote-attr { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.quote-attr .rule { width: 1px; height: 30px; background: rgba(255, 255, 255, .28); }
.quote-attr .attr-name { font-family: var(--syne); font-weight: 700; font-size: 19px; letter-spacing: .01em; text-transform: uppercase; }
.quote-attr .attr-role { font-family: var(--mono); font-size: 14px; letter-spacing: .1em; color: rgba(255, 255, 255, .62); margin-top: 5px; }
.quote-dots { display: flex; gap: 10px; margin-top: 40px; }
.quote-dots span { display: block; width: 52px; height: 2px; background: rgba(255, 255, 255, .2); }
@media (max-width: 720px) {
  .quote-scenes { min-height: 480px; }
  .quote-scenes blockquote { font-size: 20px; }
}

/* ---------- Interior pages (Work, Our Story, Press, case studies) ---------- */

.page-hero { padding: 190px var(--pad-x) 70px; }
.page-hero .kicker { margin-bottom: 36px; }
.page-hero h1 {
  font-family: var(--syne); font-weight: 800;
  font-size: clamp(48px, 9vw, 152px); line-height: .86; letter-spacing: -0.045em;
  margin: 0 0 40px; text-transform: uppercase;
}
.page-hero h1 .green { color: var(--green); }
.page-hero .lede { margin: 0; max-width: 620px; font-size: 20px; line-height: 1.55; color: rgba(255, 255, 255, .72); text-wrap: pretty; }

/* Our Story */
.story-hero h1 { font-size: clamp(40px, 6.2vw, 104px); line-height: .92; letter-spacing: -0.04em; margin: 0; max-width: 15ch; }
.belief { padding: 32px var(--pad-x) 90px; max-width: 900px; }
.belief p { margin: 0; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.4; letter-spacing: -0.01em; color: rgba(255, 255, 255, .86); text-wrap: pretty; }
.belief .green { color: var(--green); }

.team-section { padding: 0 var(--pad-x) 40px; }
.team-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px 24px; border-top: 1px solid var(--line-strong); padding-top: 26px; margin-bottom: 52px; }
.team-head h2 { font-family: var(--syne); font-weight: 800; font-size: clamp(34px, 5vw, 78px); line-height: 1; letter-spacing: -0.04em; margin: 0; text-transform: uppercase; }
.team-head .kicker { color: rgba(255, 255, 255, .45); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(max(14%, 120px), 1fr)); gap: 48px 20px; }
.team-card { min-width: 0; container-type: inline-size; }
.team-card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 18px; filter: grayscale(1); transition: filter .4s ease; }
.team-card img:hover { filter: grayscale(0); }
.team-card h3 { font-family: var(--syne); font-weight: 800; font-size: min(24px, 8.4cqi); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 10px; min-height: 2.1em; text-transform: uppercase; }
.team-card .team-role { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--green); margin-bottom: 16px; line-height: 1.5; min-height: 4.5em; }
.team-card .team-prev { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: rgba(255, 255, 255, .4); margin-bottom: 6px; }
.team-card .team-teams { font-size: clamp(12px, 7.4cqi, 13px); line-height: 1.5; color: rgba(255, 255, 255, .7); }

.news-ribbon { margin-top: 110px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.news-ribbon a { display: block; padding: 30px 0; }
.news-ribbon .marquee-track { animation-duration: 22s; font-family: var(--syne); font-weight: 800; font-size: 58px; letter-spacing: -0.03em; text-transform: uppercase; color: var(--green); }
.news-ribbon .marquee-track span { padding-right: 34px; }


/* Case-page client quote: same lockup as LOVE TO HEAR IT (2026-08-11) */
.cs-quote { padding: 110px var(--pad-x) 20px; max-width: 1180px; }
.cs-quote blockquote { font-family: var(--sans); font-weight: 400; font-size: clamp(22px, 2.7vw, 42px); line-height: 1.28; margin: 0 0 40px; text-wrap: pretty; }

/* Marquee logo marks: brand mark replaces the star/diamond glyphs (2026-08-11) */
.mq-mark { height: .52em; width: auto; display: inline-block; vertical-align: .1em; margin: 0 .38em; }
.cs-marquee .mq-mark { filter: brightness(0) invert(1); opacity: .16; }
.hero-marquee .marquee-item .mq-mark { height: .95em; vertical-align: middle; margin: 0; }

/* Work index */
.work-index { padding: 0 var(--pad-x) 40px; }
.also-with { padding: 90px var(--pad-x) 130px; }
.also-with .kicker { margin-bottom: 44px; }
.also-with .logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 76px; }
.also-with img { opacity: .75; }

/* Press */
.clip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; padding: 0 var(--pad-x); }
.clip { display: block; background: var(--white); transition: transform .35s ease; }
.clip:hover { transform: translateY(-6px); }
.clip img { display: block; width: 100%; height: auto; }
.press-index { padding: 100px var(--pad-x) 40px; }
.press-index .kicker { margin-bottom: 40px; }
.press-index .row-source { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--green); flex: none; width: 120px; }
.press-index .row-title { font-size: clamp(24px, 2.6vw, 40px); line-height: 1.05; }

/* Case studies */
.cs-hero { padding: 170px var(--pad-x) 46px; }
.cs-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-bottom: 34px; }
.cs-crumbs .back { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: rgba(255, 255, 255, .5); }
.cs-crumbs .back:hover { color: var(--green); }
.cs-title-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.cs-title-row h1 { font-family: var(--syne); font-weight: 800; font-size: min(9vw, 150px, calc((100vw - 120px) / 8.5)); line-height: .86; letter-spacing: -0.045em; margin: 0; text-transform: uppercase; }
.cs-title-row .cs-logo { margin-bottom: 12px; }
.cs-hero-media { padding: 0 var(--pad-x); }
.cs-hero-media img, .cs-hero-media video { display: block; width: 100%; height: auto; }
.cs-marquee { overflow: hidden; padding: 26px 0 14px; border-bottom: 1px solid var(--line-soft); margin: 40px 0 0; }
.cs-marquee .marquee-track { animation-duration: 26s; font-family: var(--syne); font-weight: 800; font-size: 44px; letter-spacing: -0.03em; text-transform: uppercase; color: rgba(255, 255, 255, .16); }
.cs-marquee .marquee-track span { padding-right: 40px; }
.cs-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 56px 64px; padding: 92px var(--pad-x) 96px; }
.cs-body .kicker { margin-bottom: 20px; }
.cs-body p { margin: 0; font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, .78); text-wrap: pretty; }
.cs-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; padding: 0 var(--pad-x); }
.cs-gallery img, .cs-gallery video { display: block; width: 100%; height: auto; }
.cs-gallery .on-white { background: var(--white); }
.cs-results { padding: 100px var(--pad-x) 0; }
.cs-results .kicker { margin-bottom: 20px; }
.cs-results .results-lede { margin: 0 0 40px; max-width: 640px; font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, .78); text-wrap: pretty; }
.cs-results .stat-cell { padding: 40px clamp(16px, 1.9vw, 28px) 44px; }
.cs-results .stat-num { font-size: clamp(34px, 15cqi, 76px); }
.cs-results .stat-label { margin-top: 16px; }
.cs-coverage { padding: 100px var(--pad-x) 30px; }
.cs-coverage .kicker { margin-bottom: 36px; }
.cs-coverage .clip-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding: 0; }
.cs-next { padding: 90px var(--pad-x) 0; }
.cs-next .row-inner { padding: 34px 0; }
.cs-next .row-label { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: rgba(255, 255, 255, .4); flex: none; }

/* ---------- AltOS page ---------- */

.altos-hero { min-height: 100vh; display: flex; align-items: flex-end; padding: 170px var(--pad-x) 56px; box-sizing: border-box; position: relative; border-bottom: 1px solid var(--green-line); }
.altos-hero .watermark { position: absolute; right: -120px; top: 120px; width: 620px; height: 620px; opacity: .07; pointer-events: none; }
.altos-hero .watermark img { width: 100%; height: 100%; filter: invert(1); }
.altos-hero .live-pill { position: absolute; top: 96px; left: var(--pad-x); display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--green); border: 1px solid rgba(15, 162, 84, .5); padding: 10px 18px; border-radius: 100px; }
.altos-hero .live-pill .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: altpulse 1.6s ease-in-out infinite; }
.altos-hero .altos-title { font-family: var(--syne); font-weight: 800; font-size: clamp(72px, 15vw, 260px); line-height: .82; letter-spacing: -0.05em; margin: 0 0 44px; text-transform: uppercase; }
.altos-hero .altos-title .green { color: var(--green); }
.altos-hero .altos-sub { font-family: var(--syne); font-weight: 800; font-size: clamp(28px, 3.4vw, 52px); line-height: 1.02; letter-spacing: -0.025em; margin: 0; text-transform: uppercase; flex: 1 1 520px; min-width: 0; max-width: 760px; text-wrap: balance; }

.altos-section { padding: 130px var(--pad-x) 0; }
.altos-section .kicker { margin-bottom: 40px; }
.altos-lede { display: flex; flex-wrap: wrap; gap: 48px 90px; }
.altos-lede .big { margin: 0; font-size: clamp(22px, 2.3vw, 34px); line-height: 1.3; letter-spacing: -0.015em; flex: 1 1 560px; min-width: 0; text-wrap: pretty; }
.altos-lede .small { margin: 0; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .7); flex: 0 1 420px; text-wrap: pretty; }

.bench { padding: 90px var(--pad-x) 130px; }
.bench .kicker { margin-bottom: 34px; }
.bench-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.bench-cell { padding: 44px 34px 48px; min-width: 0; container-type: inline-size; }
.bench-cell + .bench-cell { box-shadow: inset 1px 0 0 var(--line-strong); }
.bench-cell .num { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; color: var(--green); margin-bottom: 26px; }
.bench-cell h3 { font-family: var(--syne); font-weight: 800; font-size: clamp(18px, 6.5cqi, 32px); line-height: 1.05; text-transform: uppercase; margin: 0 0 16px; }
.bench-cell p { margin: 0; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .7); }

.steps-holder { height: 300vh; position: relative; background: var(--deeper); }
.steps-holder .pinned { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad-x); box-sizing: border-box; }
.steps-head { display: flex; flex-wrap: wrap; gap: 32px 80px; align-items: flex-end; margin-bottom: 56px; }
.steps-head .head-copy { flex: 1 1 520px; min-width: 0; }
.steps-head .kicker { margin-bottom: 26px; }
.steps-head h2 { font-family: var(--syne); font-weight: 800; font-size: clamp(28px, 4vw, 76px); line-height: .92; letter-spacing: -0.035em; margin: 0; text-transform: uppercase; overflow-wrap: break-word; }
.steps-head p { margin: 0; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .7); flex: 0 1 440px; text-wrap: pretty; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.step-card { border: 1px solid rgba(255, 255, 255, .2); padding: 30px 26px; border-radius: 4px; min-width: 0; display: flex; flex-direction: column; transition: all .4s ease; }
.step-card .step-num { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: rgba(255, 255, 255, .5); margin-bottom: 18px; }
.step-card h3 { font-family: var(--syne); font-weight: 800; font-size: clamp(17px, 1.5vw, 24px); line-height: 1.08; text-transform: uppercase; margin: 0 0 14px; }
.step-card p { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .68); }
.steps-note { margin-top: 18px; border-top: 1px solid rgba(15, 162, 84, .5); padding-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 26px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: rgba(255, 255, 255, .6); }
.steps-note .lead { display: flex; align-items: center; gap: 12px; }
.steps-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.steps-note .sub { color: rgba(255, 255, 255, .45); }
@media (max-height: 760px), (max-width: 820px) {
  /* Small viewports: the 5 cards don't fit a pinned 100vh; run as normal flow */
  .steps-holder { height: auto; }
  .steps-holder .pinned { position: static; height: auto; padding: 100px var(--pad-x); }
}

.trace-section { padding: 130px var(--pad-x); }
.trace-flex { display: flex; flex-wrap: wrap; gap: 56px 90px; align-items: flex-start; }
.trace-copy { flex: 1 1 460px; min-width: 0; }
.trace-copy .kicker { margin-bottom: 26px; }
.trace-copy h2 { font-family: var(--syne); font-weight: 800; font-size: clamp(34px, 4.4vw, 68px); line-height: .92; letter-spacing: -0.03em; margin: 0 0 28px; text-transform: uppercase; }
.trace-copy p { margin: 0 0 22px; font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, .72); max-width: 520px; text-wrap: pretty; }
.trace-panel { flex: 1 1 520px; min-width: 0; border: 1px solid rgba(15, 162, 84, .4); border-radius: 8px; overflow: hidden; font-family: var(--mono); }
.trace-panel .panel-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid rgba(15, 162, 84, .3); font-size: 12px; letter-spacing: .12em; color: rgba(255, 255, 255, .58); }
.trace-panel .panel-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.trace-panel .panel-body { padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; font-size: 14px; line-height: 1.5; }
.trace-panel .prompt { color: rgba(255, 255, 255, .58); }
.trace-panel .lens { display: flex; gap: 14px; }
.trace-panel .lens b { color: var(--green); width: 104px; flex: none; font-weight: 400; }
.trace-panel .lens span { color: rgba(255, 255, 255, .82); }
.trace-panel .branch { margin-left: 118px; display: flex; flex-direction: column; gap: 9px; border-left: 1px solid rgba(15, 162, 84, .3); padding-left: 18px; color: rgba(255, 255, 255, .68); }
.trace-panel .decide span { color: rgba(255, 255, 255, .58); }
.trace-panel .caret { display: inline-block; width: 8px; height: 15px; background: var(--green); margin-left: 8px; vertical-align: -3px; animation: altblink 1.1s step-end infinite; }
@media (max-width: 560px) {
  .trace-panel .lens b { width: 84px; }
  .trace-panel .branch { margin-left: 0; }
}

.why-section { padding: 0 var(--pad-x) 140px; }
.why-section .kicker { margin-bottom: 40px; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.why-cell { padding: 42px 34px 46px; min-width: 0; border-bottom: 1px solid var(--line-strong); }
.why-cell + .why-cell { box-shadow: inset 1px 0 0 var(--line-strong); }
.why-cell h3 { font-family: var(--syne); font-weight: 800; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.05; text-transform: uppercase; margin: 0 0 18px; }
.why-cell p { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .7); }

.access-band { background: var(--deeper); padding: 120px var(--pad-x); border-top: 1px solid var(--green-line); }
.access-band .band-flex { display: flex; flex-wrap: wrap; gap: 40px 90px; align-items: flex-end; }
.access-band .band-copy { flex: 1 1 520px; min-width: 0; }
.access-band h2 { font-family: var(--syne); font-weight: 800; font-size: clamp(34px, 4.6vw, 72px); line-height: .92; letter-spacing: -0.03em; margin: 0 0 24px; text-transform: uppercase; }
.access-band p { margin: 0; font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, .72); max-width: 560px; text-wrap: pretty; }
.access-band .btn-pill { padding: 18px 30px; }

/* Count-up band (homepage) */
.perform-section { padding: 150px var(--pad-x) 130px; }
.perform-section .section-head { margin-bottom: 76px; }
.perform-section .section-head p { flex: 0 1 440px; }

/* Stat-cell brand logos (replace written client names, 2026-08-10 team notes) */
.stat-logo { display: block; width: auto; margin-bottom: 30px; }

/* Our Story: headline sits below the group photo at half scale (2026-08-10 team notes) */
.story-headline { padding: 70px var(--pad-x) 0; }
.story-headline h1 {
  font-family: var(--syne); font-weight: 800;
  font-size: clamp(20px, 3.1vw, 52px); line-height: .92; letter-spacing: -0.04em;
  margin: 0; text-transform: uppercase; max-width: 20ch;
}

/* Our Story: hero holds only the kicker now; tighten its top padding (2026-08-10) */
.story-hero { padding-top: 120px; padding-bottom: 24px; }
.story-hero .kicker { margin-bottom: 0; }
