:root {
  --bg: #fff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --nav-h: 52px;
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: #0071e3; color: #fff; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section { padding: 112px 24px; }
.band { padding: 112px 0; background: var(--bg-alt); }
.band--dark { background: #000; color: #f5f5f7; }
.band--dark .kicker, .band--dark .note, .band--dark .muted { color: #a1a1a6; }
.band--dark h2 { color: #f5f5f7; }

.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.eyebrow {
  font-size: 19px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
}
.lede {
  max-width: 560px;
  color: var(--muted);
  font-size: 21px;
  font-weight: 400;
  margin: 16px 0 48px;
}
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.07;
}
h1 { font-size: clamp(40px, 7vw, 72px); }
h2 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 8px; }
h3 { font-size: 24px; letter-spacing: -0.016em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 22px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  transition: background 0.2s var(--ease), color 0.2s, opacity 0.2s;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); }
.btn--text { color: var(--blue); padding-left: 8px; padding-right: 8px; }
.btn--text:hover { text-decoration: underline; }
.btn--lg { min-height: 48px; padding: 12px 24px; font-size: 18px; }

/* Preloader */
.preloader {
  position: fixed; inset: 0; z-index: 300;
  background: #000;
  display: grid; place-items: center;
  transition: opacity 0.5s ease, visibility 0.5s;
}
.preloader img { height: 48px; width: auto; }
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

/* Nav — Apple translucent */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px;
  background: rgba(22, 22, 23, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  color: #f5f5f7;
}
.nav__logo img { height: 28px; width: auto; }
.nav__links {
  display: flex; gap: 28px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
}
.nav__links a:hover { color: #fff; }
.nav__right { display: flex; align-items: center; gap: 8px; }
.nav .btn--text { color: #fff; font-size: 12px; }
.nav .btn--primary { font-size: 12px; min-height: 28px; padding: 4px 14px; }
.nav__burger { width: 40px; height: 40px; display: none; position: relative; }
.nav__burger span {
  position: absolute; left: 11px; right: 11px; height: 1px; background: #fff;
}
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 23px; }
.nav__burger.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: #000;
  color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  padding: 72px 28px;
  transform: translateY(-110%);
  transition: transform 0.45s var(--ease);
}
.mobile-menu.is-open { transform: none; }
.mobile-menu a { font-size: 28px; font-weight: 600; }

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

/* Hero */
.hero {
  padding: 132px 24px 72px;
  text-align: center;
  background: var(--bg);
}
.hero h1 { max-width: 920px; margin: 0 auto; }
.hero__actions {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 12px;
  margin: 28px 0 48px;
}
.hero__shot {
  width: min(1120px, 100%);
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
}
.hero__shot img {
  width: 100%;
  height: min(62vh, 640px);
  object-fit: cover;
}

/* Cards */
.card-grid { display: grid; gap: 16px; margin-top: 40px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card, .panel, .pill-grid article, .member, .brief-box {
  background: #fff;
  border-radius: 22px;
  padding: 32px 28px;
  text-align: left;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.card:hover, .card.is-on {
  transform: scale(1.015);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.card__index, .panel__meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.card h3, .panel h3 { margin-bottom: 10px; }
.card p, .panel p { color: var(--muted); font-size: 16px; }

.pill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.pill-grid article { background: var(--bg-alt); box-shadow: none; }
.pill-grid h3 { margin-bottom: 8px; }
.pill-grid p { color: var(--muted); font-size: 16px; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0 24px;
}
.stats__num {
  font-size: clamp(52px, 8vw, 80px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
}
.stats p { color: #a1a1a6; font-size: 17px; }
.note { font-size: 14px; color: var(--muted); }

/* Missions */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.tags li {
  background: var(--bg-alt);
  border-radius: 980px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}
.panel { display: flex; flex-direction: column; }
.panel blockquote {
  margin-top: auto;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
}
.author { margin-top: 10px; font-size: 13px !important; }

/* Logos */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 36px 0 56px;
}
.logo-wall img, .logo-wall a {
  height: 88px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 22px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.25s, opacity 0.25s;
}
.logo-wall a { display: grid; place-items: center; }
.logo-wall a img { height: 52px; padding: 0; background: none; }
.logo-wall img:hover, .logo-wall a:hover img {
  filter: none;
  opacity: 1;
}
.logo-wall--partners { grid-template-columns: repeat(3, 1fr); margin-bottom: 0; }

.quotes { min-height: 140px; }
.quote { display: none; }
.quote.is-active { display: block; animation: fade 0.45s var(--ease); }
.quote blockquote {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 16em;
}
.quote figcaption { margin-top: 16px; color: var(--muted); font-size: 15px; }
.quote figcaption strong { display: block; color: var(--ink); }
.quote-nav { display: flex; gap: 8px; margin-top: 24px; }
.quote-nav button { width: 8px; height: 8px; border-radius: 50%; background: #d2d2d7; }
.quote-nav button.is-active { background: var(--ink); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }

/* Team */
.team {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.member--lead {
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
}
.member--lead img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
}
.member--lead div { padding: 28px; }
.member h3 { font-size: 22px; margin-bottom: 6px; }
.member p { color: var(--muted); font-size: 15px; }
.member .card__index { margin-bottom: 8px; }

/* Method */
.steps { margin-top: 40px; }
.steps li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding-top: 6px;
}
.steps h3 { font-size: 32px; margin-bottom: 8px; }
.steps p { color: var(--muted); max-width: 52ch; }

/* Assistant */
.brief-box { margin-top: 40px; padding: 40px; }
.brief-box__progress { font-size: 13px; font-weight: 600; color: var(--muted); }
.brief__step { display: none; }
.brief__step.is-active { display: block; animation: fade 0.35s var(--ease); }
.brief__q { font-size: 32px; font-weight: 600; letter-spacing: -0.025em; margin: 16px 0 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips button {
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 980px;
  font-size: 15px;
  background: var(--bg-alt);
}
.chips button:hover { background: #ececef; }
.chips button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.brief__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.brief__fields label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--muted);
}
.brief__fields .full { grid-column: 1 / -1; }
.brief__fields input {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font: inherit;
  background: transparent;
  outline: none;
}
.brief__fields input:focus { border-bottom-color: var(--ink); }
.brief__nav { display: flex; justify-content: space-between; margin-top: 32px; }
.brief__done h3 { font-size: 36px; margin: 8px 0 16px; }
.brief__recap {
  color: var(--muted);
  white-space: pre-line;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Footer */
.footer {
  background: #000;
  color: #a1a1a6;
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer__logo { height: 36px; width: auto; margin-bottom: 16px; }
.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer h4 { color: #f5f5f7; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.footer__bot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer__bot a { margin-left: 16px; }
.footer__bot a:hover { color: #fff; }

@media (max-width: 900px) {
  .card-grid--2, .card-grid--3, .pill-grid, .stats, .team, .footer__top, .brief__fields, .logo-wall, .logo-wall--partners {
    grid-template-columns: 1fr;
  }
  .member--lead { grid-row: auto; }
  .hero { padding-top: 108px; }
  .section, .band { padding: 72px 0; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .brief-box { padding: 24px; }
}

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