/* OneCity marketing site. System fonts, one accent, light theme. */

:root {
  --ink: #1a1918;
  --muted: #4e4a46;
  --faint: #6b6560;
  --line: #e6e2dc;
  --line-strong: #d4cfc7;
  --bg: #ffffff;
  --soft: #f5f5f7;
  --soft-2: #e8e8ed;
  --sub: #3d3d42;
  --dark: #1d1d1f;
  --dark-sub: #d2d2d7;
  --tint: #f6f0f1;
  --accent: #c8102e;
  --accent-ink: #ffffff;
  --accent-dark: #8e0c22;
  --shadow: 0 24px 60px rgba(26, 25, 24, 0.08);
  --radius: 22px;
  --nav-h: 4.25rem;
  --max: 72rem;
  --wide: 80rem;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --focus: 3px solid #1a1918;
}

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

html { scroll-behavior: smooth; }

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

html { overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; height: auto; }

a { color: var(--accent-dark); text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }

:focus { outline: none; }
:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: #fff;
  color: var(--ink);
  padding: 0.7rem 1rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.skip:focus { top: 0.75rem; }

.wrap { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.wrap-wide { width: min(var(--wide), calc(100% - 2.5rem)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(1.2) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(26, 25, 24, 0.03);
}
.site-header .bar {
  width: min(var(--wide), calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
  min-height: 44px;
}
.brand:hover { color: var(--ink); }
.brand svg { display: block; flex: none; }
.brand span { white-space: nowrap; }
.brand span b { color: var(--accent); font-weight: 700; }

.nav-toggle {
  margin-left: auto;
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.primary-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.05rem;
  margin-left: auto;
}
.primary-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.84rem;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.primary-nav a:hover { background: var(--soft); color: var(--ink); }
.primary-nav a[aria-current="page"] { background: var(--soft); }

.header-tools { display: flex; align-items: center; gap: 0.6rem; }
.lang {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.lang a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.55rem;
}
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"]:hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid var(--accent);
  cursor: pointer;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn.small { min-height: 40px; padding: 0.4rem 0.95rem; font-size: 0.92rem; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn.ghost:hover { background: var(--soft); color: var(--ink); border-color: var(--line-strong); }

.hero { padding: 4.5rem 0 2rem; text-align: center; }
.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; margin: 0; }
.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;
}
h1 { font-size: clamp(2.7rem, 6vw, 4.8rem); max-width: 22ch; margin-inline: auto; letter-spacing: -0.048em; }
.hero-copy {
  margin: 1.25rem auto 0;
  max-width: 44rem;
  color: var(--sub);
  font-size: 1.15rem;
  line-height: 1.5;
}
.lede {
  margin: 1.15rem auto 0;
  max-width: 36rem;
  color: var(--sub);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 400;
  line-height: 1.4;
}
.more-row { display: flex; flex-wrap: wrap; gap: 1.35rem; justify-content: center; margin-top: 1.35rem; }
.more {
  color: var(--accent-dark);
  font-size: 1.2rem;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.more:hover { color: var(--accent); }
.module .cta-row { justify-content: flex-start; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.75rem; }
.cta-row.cta-spacer { margin-top: 2rem; }
.cta-row.center { justify-content: center; }
.card.stack { margin-top: 1rem; }

.hero-video { padding: 1.5rem 0 1rem; }
.hero-video .frame { max-width: 720px; margin-inline: auto; }
.frame {
  background: var(--soft);
  border-radius: 28px;
  padding: 0.7rem;
  box-shadow: var(--shadow);
}
.frame video, .frame img, .frame .thumb { display: block; width: 100%; border-radius: 20px; background: #141312; }
.caption {
  margin: 0.85rem 0.4rem 0.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: left;
}
.caption strong { color: var(--ink); font-weight: 600; }

section { padding: 5.25rem 0; }
.band { background: #f5f5f7; }
.band-tight { background: var(--ink); color: #fff; }
.band-tight a { color: #fff; }
.band-tight .btn { background: #fff; color: var(--ink); border-color: #fff; }
.band-tight .btn:hover { background: var(--soft); color: var(--ink); }

.section-head { text-align: center; margin-bottom: 2.75rem; }
.section-head h2, .page-intro h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.section-head p, .page-intro .lede { margin-top: 1rem; }

.page-intro { padding: 4.25rem 0 1rem; text-align: center; }
.intro-copy { max-width: 42rem; margin: 1.35rem auto 0; }
.intro-copy p { margin: 0.9rem 0 0; color: var(--sub); font-size: 1.15rem; line-height: 1.5; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.split.reverse { grid-template-columns: 0.9fr 1.1fr; }
.split h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
.split p { color: var(--muted); font-size: 1.08rem; }
.split p + p { margin-top: 0.85rem; }

.icon-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.88rem;
  color: var(--ink);
}
.pill svg { flex: none; }

.modnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin: -1rem 0 2.5rem;
}
.modnav a {
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.92rem;
}
.modnav a:hover { border-color: var(--ink); color: var(--ink); }

.module {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  padding: 5rem max(1.25rem, calc(50vw - 40rem));
  border-top: 0;
  background: #fff;
}
.module.shade { background: #f5f5f7; }
.module.tint { background: var(--tint); }
.module h3 { font-size: clamp(2.1rem, 4vw, 3.3rem); max-width: 16ch; letter-spacing: -0.045em; }
.module .how { color: var(--sub); max-width: 40rem; margin-top: 0.9rem; }
.module .how + .how { margin-top: 0.75rem; }
.shot { margin: 2.25rem auto 0; max-width: 980px; }
.shot img, .product img {
  width: 100%;
  border-radius: 28px;
  border: 0;
  background: #f5f5f7;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.14), 0 8px 24px rgba(0, 0, 0, 0.06);
}
.clips, .clips.two, .gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1.25rem;
}
.gallery { margin-top: 0; }
.gallery .reveal { display: flex; }
.clip {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0.65rem 0.65rem 0.85rem;
}
.gallery .clip, .clips .clip { flex: 1; }
.hero-video .clip, .split .clip {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}
.split .clip { max-width: 720px; }
.clip video { width: 100%; border-radius: 16px; background: #141312; display: block; }
.thumb {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #141312;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  font: inherit;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(to top, rgba(20, 19, 18, 0.28), transparent 45%);
}
.thumb-play span {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(26, 25, 24, 0.18);
}
.expand-btn { align-self: flex-start; min-height: 44px; }
.clip .caption { flex: 1; margin: 0; }

.lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(26, 25, 24, 0.72);
}
.lb[hidden] { display: none !important; }
.lb-dialog {
  width: min(60rem, 100%);
  max-height: calc(100vh - 2.5rem);
  overflow: auto;
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  padding: 1rem 1rem 1.15rem;
  box-shadow: var(--shadow);
}
.lb-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.lb-bar h2 { font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: -0.03em; }
.lb-actions { display: flex; gap: 0.5rem; flex: none; }
.lb-close {
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.lb-close:hover { background: var(--soft); }
.lb-stage video {
  width: 100%;
  max-height: min(72vh, 40rem);
  background: #141312;
  border-radius: 14px;
  display: block;
}
.lb-desc { margin: 0.75rem 0 0; color: var(--muted); }
.lb-dialog:fullscreen {
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}
.lb-dialog:fullscreen .lb-stage { flex: 1; min-height: 0; }
.lb-dialog:fullscreen .lb-stage video { height: 100%; max-height: none; }
body.lb-open { overflow: hidden; }
.module .cta-row { justify-content: flex-start; margin-top: 1.25rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.35rem 1.3rem 1.4rem;
}
.band .card { background: #fff; }
.card h3 { font-size: 1.25rem; letter-spacing: -0.03em; margin: 0.75rem 0 0.4rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.card svg { color: var(--accent); }

.why-lead h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}
.why-grid .card { grid-column: span 2; padding: 1.75rem 1.5rem 1.85rem; }
.why-grid .card:nth-child(4) { grid-column: 2 / span 2; }
.why-grid .card:nth-child(5) { grid-column: 4 / span 2; }
.why-grid .card h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); letter-spacing: -0.035em; }
.why-grid .card p { font-size: 1.02rem; line-height: 1.55; }

.gallery h3 { font-size: 1.2rem; letter-spacing: -0.03em; margin: 0.75rem 0 0.25rem; }
.gallery p { margin: 0; color: var(--muted); }

.note {
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 18px;
  padding: 1rem 1.15rem;
  margin: 0 0 1.5rem;
}
.note strong { display: block; margin-bottom: 0.2rem; }
.note p { margin: 0; color: var(--muted); }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}
.timeline li:first-child { border-top: 0; }
.timeline h3 { font-size: 1.15rem; }
.timeline p { margin: 0.3rem 0 0; color: var(--muted); }
.when { font-weight: 700; color: var(--accent-dark); padding-top: 0.15rem; white-space: nowrap; }

.families {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}
.families .tile { grid-column: span 2; min-height: 100%; }
.families .tile:nth-child(4) { grid-column: 2 / span 2; }
.families .tile:nth-child(5) { grid-column: 4 / span 2; }
.tagline { margin: 0.2rem 0 0.6rem; color: var(--accent-dark); font-weight: 600; }

.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.flow li {
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  padding: 1.15rem 0.9rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.flow li span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.directory { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.phases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.phases article {
  background: #fff;
  border-radius: 22px;
  padding: 1.35rem 1.25rem 1.45rem;
  border: 1px solid var(--line);
}
.phases .n {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.phases h3 { font-size: 1.25rem; margin: 0.45rem 0 0.45rem; }
.phases p { margin: 0; color: var(--muted); }

.arch { margin: 2rem auto 0; max-width: 42rem; }
.arch-stack { display: grid; gap: 0.75rem; }
.arch-box {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  text-align: center;
}
.arch-box strong { display: block; font-size: 1.15rem; letter-spacing: -0.02em; }
.arch-box span { color: var(--muted); font-size: 0.92rem; }
.arch-main { background: var(--dark); color: #fff; border-color: var(--dark); }
.arch-main span { color: var(--dark-sub); }
.arch-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.shots .shot { margin: 0; }

.sheet {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
}
.sheet caption {
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}
.sheet th, .sheet td {
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.sheet th {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.sheet tr:last-child td { border-bottom: 0; }

.cap-list { margin: 0.4rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.cap-list li + li { margin-top: 0.25rem; }

.prose { max-width: 44rem; margin-inline: auto; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 2.4rem 0 0.7rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li + li { margin-top: 0.4rem; }

.cta-band { text-align: center; padding: 6rem 0; background: #000; color: #fff; }
.cta-band h2 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.045em; }
.cta-band p { color: var(--dark-sub); max-width: 34rem; margin: 1rem auto 0; }
.cta-band .btn { background: #fff; color: #1d1d1f; border-color: #fff; }
.cta-band .btn:hover { background: #f5f5f7; color: #1d1d1f; }
.cta-band :focus-visible { outline-color: #fff; }

.feature {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 6.5rem 0 5.5rem;
}
.feature h2 {
  font-size: clamp(2.6rem, 5.4vw, 4.5rem);
  max-width: 16ch;
  margin-inline: auto;
  letter-spacing: -0.048em;
}
.feature .eyebrow { color: #ffd0d8; }
.feature .lede { color: var(--dark-sub); }
.feature .more { color: #fff; }
.feature :focus-visible { outline-color: #fff; }
.product { margin: 2.75rem auto 0; max-width: 980px; }

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0.5rem 0 2rem;
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #f5f5f7;
  border-radius: 28px;
  padding: 1.7rem 1.5rem 1.45rem;
  min-height: 100%;
}
.tile.light { background: #fff; box-shadow: inset 0 0 0 1px #e8e8ed; }
.tile.dark { background: #1d1d1f; color: #fff; }
.tile.tint { background: var(--tint); }
.tile.span-2 { grid-column: span 2; }
.tile h3 { font-size: clamp(1.55rem, 2.3vw, 2.2rem); letter-spacing: -0.04em; margin: 0 0 0.45rem; }
.tile p { margin: 0 0 1rem; color: var(--sub); font-size: 1.05rem; }
.tile.dark p { color: var(--dark-sub); }
.tile.dark .tagline { color: #ffd0d8; }
.tile h3 { order: 1; }
.tile p { order: 2; }
.tile .more { order: 4; margin-top: auto; }
.tile.dark .more { color: #fff; }
.tile.dark :focus-visible { outline-color: #fff; }
.tile img {
  order: 3;
  width: 100%;
  margin: 0.35rem 0 1rem;
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
}
.why-grid .card:nth-child(1),
.why-grid .card:nth-child(5) {
  background: #1d1d1f;
  color: #fff;
  border-color: #1d1d1f;
}
.why-grid .card:nth-child(1) p,
.why-grid .card:nth-child(5) p { color: var(--dark-sub); }
.why-grid .card:nth-child(1) svg,
.why-grid .card:nth-child(5) svg { color: #fff; }
.why-grid .card:nth-child(1) :focus-visible,
.why-grid .card:nth-child(5) :focus-visible { outline-color: #fff; }
.why-grid .card:nth-child(3) { background: var(--tint); border-color: transparent; }
.why-grid .card { border-radius: 28px; padding: 1.7rem 1.45rem 1.6rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer strong { color: var(--ink); }
.fine { margin: 1.5rem 0 0; font-size: 0.85rem; }

html.js .reveal { opacity: 0; transform: translateY(10px); }
html.js .reveal.is-in { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }

@media (max-width: 1280px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .primary-nav, .header-tools { display: none; }
  .site-header.is-open { height: auto; align-items: stretch; }
  .site-header.is-open .bar { flex-wrap: wrap; padding: 0.4rem 0 0.9rem; }
  .site-header.is-open .primary-nav,
  .site-header.is-open .header-tools {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 0;
  }
  .site-header.is-open .primary-nav a { justify-content: flex-start; }
  .site-header.is-open .header-tools { flex-direction: row; justify-content: space-between; }
}

@media (max-width: 960px) {
  .split, .split.reverse, .cards, .foot { grid-template-columns: 1fr; }
  .clips, .clips.two, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento, .phases, .shots { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr; }
  .families { grid-template-columns: 1fr 1fr; }
  .families .tile, .families .tile:nth-child(4), .families .tile:nth-child(5) { grid-column: auto; }
  .flow { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 0.2rem; }
}

@media (max-width: 1100px) {
  .why-grid, .families { grid-template-columns: 1fr 1fr; }
  .why-grid .card,
  .why-grid .card:nth-child(4),
  .why-grid .card:nth-child(5),
  .families .tile,
  .families .tile:nth-child(4),
  .families .tile:nth-child(5) { grid-column: auto; }
  .phases { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap, .wrap-wide { width: min(100% - 1.5rem, var(--wide)); }
  section { padding: 3.5rem 0; }
  h1 { font-size: 2.5rem; }
  .hero { padding-top: 2.75rem; }
  .why-grid { grid-template-columns: 1fr; }
  .clips, .clips.two, .gallery { grid-template-columns: 1fr; }
  .bento, .phases, .shots, .families, .arch-pair, .directory { grid-template-columns: 1fr; }
  .tile.span-2, .families .tile { grid-column: auto; }
  .hero-video .frame, .split .clip { max-width: none; }
}

/* Daily Active Mission */
#mission .section-head h2 { color: #fff; }
#mission .lede, #mission .eyebrow { color: rgba(255,255,255,.85); }
.mission-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
#mission .card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
#mission .card h3 { color: #fff; }
#mission .card p { color: rgba(255,255,255,.8); }

/* RFI home */
.cta-promo {
  text-align: center;
  padding: 3.25rem 0;
  background: #f5f5f7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-promo-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  margin: 0;
}
.cta-promo .lede { margin: 0.85rem auto 0; max-width: 36rem; }
.cta-promo .cta-row { margin-top: 1.5rem; }
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.cap-grid .card { padding: 1.5rem 1.35rem 1.6rem; }
@media (max-width: 960px) {
  .cap-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cap-grid { grid-template-columns: 1fr; }
}
.btn.ghost-on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.btn.ghost-on-dark:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: #fff;
}
.cta-band a { color: #fff; }
#deliver .phases { margin-top: 0.5rem; }

/* Home demos */
.demo-group { margin-top: 2.75rem; }
.demo-group-title {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
}
.gallery-featured { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 800px) {
  .gallery-featured { grid-template-columns: 1fr; }
}
#demos video { width: 100%; background: #000; border-radius: 12px; }
