/* ---------- Tokens ---------- */
:root {
  --bg: #fbfbfd;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, .08);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --grad: linear-gradient(90deg, #ff2d55 0%, #af52de 45%, #0a84ff 100%);
  --nav-bg: rgba(251, 251, 253, .72);
  --shadow: 0 2px 6px rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.06);
  --radius: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #0b0b0c;
    --surface: #161617;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: rgba(255, 255, 255, .1);
    --accent: #2997ff;
    --accent-hover: #47a6ff;
    --nav-bg: rgba(0, 0, 0, .64);
    --shadow: 0 0 0 1px rgba(255,255,255,.06);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.035em; }
p { margin: 0; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 22px;
  height: 52px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-weight: 700; font-size: 19px; letter-spacing: -.03em; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 26px; align-items: center; font-size: 13px; }
.nav-links a { color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
  color: #fff; background: var(--accent);
  padding: 5px 13px; border-radius: 980px;
}
.nav-links .nav-cta:hover { color: #fff; background: var(--accent-hover); }

/* ---------- Layout ---------- */
.section { max-width: 1080px; margin: 0 auto; padding: 120px 22px 0; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: -.01em; margin-bottom: 10px; }
.section-title { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.05; margin-bottom: 56px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Hero ---------- */
.hero { max-width: 1080px; margin: 0 auto; padding: 96px 22px 0; text-align: center; }
.hero .eyebrow { font-size: 15px; }
.hero-title { font-size: clamp(54px, 10vw, 120px); line-height: 1; letter-spacing: -.05em; margin: 6px 0 24px; }
.hero-lead { max-width: 640px; margin: 0 auto; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.4; color: var(--muted); font-weight: 500; }
.hero-actions { display: flex; gap: 22px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 34px; }
.btn { font-size: 17px; font-weight: 500; transition: background .2s, color .2s, transform .2s; }
.btn-primary { background: var(--accent); color: #fff; padding: 12px 24px; border-radius: 980px; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { transform: scale(.97); }
.btn-link { color: var(--accent); }
.btn-link:hover { text-decoration: underline; }
.hero-media { margin: 72px auto 0; max-width: 1080px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-media img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; transform-origin: center; will-change: transform; }


/* ---------- Statement ---------- */
.statement { max-width: 980px; margin: 0 auto; padding: 160px 22px 40px; }
.lit { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.15; font-weight: 700; letter-spacing: -.035em; }
.lit .w { color: var(--muted); opacity: .35; transition: opacity .25s, color .25s; }
.lit .w.on { opacity: 1; color: var(--text); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  background: var(--surface); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; min-height: 230px;
}
.stat-xl { grid-column: span 4; min-height: 0; padding: 44px 44px 0; overflow: hidden; position: relative; }
.stat-num { font-size: clamp(48px, 6vw, 76px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.stat-xl .stat-num { font-size: clamp(80px, 14vw, 168px); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { margin-top: 16px; color: var(--muted); font-weight: 500; font-size: 17px; }
.stat-xl .stat-label { font-size: clamp(19px, 2.2vw, 24px); max-width: 520px; }
.growth { height: 120px; margin: 24px -44px 0; }
.growth svg { width: 100%; height: 100%; overflow: visible; clip-path: inset(0 100% 0 0); }
.stat-xl.in .growth svg { transition: clip-path 2.2s var(--ease) .3s; clip-path: inset(0 0 0 0); }
.growth-line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.growth-area { fill: url(#gfill); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: var(--surface); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.tile:hover { transform: translateY(-4px); }
.tile-wide { grid-column: span 2; }
.tile-icon { font-size: 34px; margin-bottom: 40px; }
.tile h3 { font-size: 24px; line-height: 1.15; margin-bottom: 10px; }
.tile p { color: var(--muted); }

/* ---------- Highlights rail ---------- */
.section-bleed { max-width: none; padding-left: 0; padding-right: 0; }
.bleed-head { max-width: 1080px; margin: 0 auto; padding: 0 22px; display: flex; justify-content: space-between; align-items: flex-end; }
.bleed-head .section-title { margin-bottom: 40px; }
.rail-controls { display: flex; gap: 12px; margin-bottom: 46px; }
.rail-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--bg-alt); color: var(--text); font-size: 24px; line-height: 1;
  box-shadow: var(--shadow); transition: background .2s, opacity .2s;
}
.rail-btn:hover { background: var(--line); }
.rail-btn:disabled { opacity: .35; cursor: default; }
.rail {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px max(22px, calc((100vw - 1080px) / 2 + 22px)) 30px;
  scroll-padding: 0 max(22px, calc((100vw - 1080px) / 2 + 22px));
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.card {
  flex: 0 0 auto; width: min(340px, 80vw); scroll-snap-align: start;
  background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .4s var(--ease);
}
.card:hover { transform: scale(1.015); }
.card-media { position: relative; aspect-ratio: 4/3; background: var(--bg-alt); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-play {
  position: absolute; inset: auto 16px 16px auto; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: grid; place-items: center; color: #1d1d1f; font-size: 14px; padding-left: 3px;
}
.card-body { padding: 22px 24px 26px; }
.card-date { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
.card h3 { font-size: 22px; margin: 6px 0 8px; line-height: 1.15; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.45; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.role { display: flex; gap: 24px; background: var(--surface); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.role-logo { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex: none; background: #fff; }
.role-body { flex: 1; min-width: 0; }
.role-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.role-head h3 { font-size: 24px; }
.role-head span { color: var(--muted); font-size: 15px; font-weight: 500; }
.role-title { font-weight: 600; }
.role-title em { font-style: normal; color: var(--muted); font-weight: 500; }
.role-desc { color: var(--muted); margin-top: 10px; }

.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.cred { background: var(--surface); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.cred h3 { font-size: 24px; margin-bottom: 4px; }
.cred > p:last-child { color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--bg-alt); border-radius: 980px; padding: 7px 14px; font-size: 14px; font-weight: 500; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shot { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: var(--bg-alt); }
.shot img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .8s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.shot-lg { grid-column: span 2; grid-row: span 2; }
.more { display: inline-block; margin-top: 28px; }

/* ---------- Contact ---------- */
.contact { max-width: 1080px; margin: 160px auto 0; padding: 0 22px; text-align: center; }
.contact-title { font-size: clamp(48px, 9vw, 104px); line-height: 1; letter-spacing: -.05em; }
.contact-lead { margin-top: 20px; color: var(--muted); font-size: clamp(19px, 2.2vw, 24px); font-weight: 500; }

.footer { max-width: 1080px; margin: 140px auto 0; padding: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-xl { grid-column: span 2; }
  .bento { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .section { padding-top: 88px; }
  .hero { padding-top: 64px; }
  .hero-media { margin-top: 48px; border-radius: 20px; }
  .statement { padding-top: 110px; }
  .stats, .bento, .creds { grid-template-columns: 1fr; }
  .stat-xl, .tile-wide { grid-column: auto; }
  .stat { min-height: 0; }
  .stat-xl { padding: 32px 28px 0; }
  .growth { margin: 20px -28px 0; height: 90px; }
  .role { flex-direction: column; gap: 16px; padding: 24px; }
  .rail-controls { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .shot-lg { grid-column: auto; grid-row: auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; animation: none !important; transition: none; }
  .lit .w { opacity: 1; color: var(--text); }
  .growth svg { clip-path: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Language toggle ---------- */
.lang { display: inline-flex; background: var(--bg-alt); border-radius: 980px; padding: 2px; box-shadow: inset 0 0 0 1px var(--line); }
.lang button {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font: 600 11px/1 var(--font); letter-spacing: .02em; padding: 5px 9px; border-radius: 980px;
  transition: background .25s var(--ease), color .25s;
}
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
[data-i18n] { transition: opacity .2s; }
