@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --ink: #10110f;
  --ink-2: #181a17;
  --surface: #20221e;
  --paper: #f5f1e8;
  --copy: #f3efe5;
  --soft: #b9baaf;
  --accent: #f3c33f;
  --accent-strong: #e3aa13;
  --line: rgba(244, 239, 228, .16);
  --nav: rgba(16, 17, 15, .84);
  --pad: clamp(22px, 5vw, 76px);
  --display: "Poppins", system-ui, sans-serif;
  --body: "Poppins", system-ui, sans-serif;
  --label: "Poppins", system-ui, sans-serif;
}

html[data-theme="light"] {
  --ink: #f5f1e8;
  --ink-2: #fffdf8;
  --surface: #e9e3d8;
  --paper: #171815;
  --copy: #171815;
  --soft: #5f625b;
  --line: rgba(23, 24, 21, .16);
  --nav: rgba(245, 241, 232, .9);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--copy); font-family: var(--body); font-size: 17px; font-weight: 400; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; }
::selection { background: var(--accent); color: #171815; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(1440px, 100%); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: clamp(84px, 11vw, 160px); padding-bottom: clamp(84px, 11vw, 160px); }
.eyebrow { margin: 0; color: var(--accent); font-family: var(--label); font-size: 11.5px; font-weight: 500; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; line-height: 1.04; }
h2 { margin-bottom: 0; font-size: clamp(45px, 6.8vw, 104px); line-height: .98; }
h2 em { color: var(--accent); font-family: var(--display); font-style: normal; font-weight: 500; }

.splash { position: fixed; inset: 0; z-index: 100; display: grid; overflow: hidden; background: #090a08; color: #fff; isolation: isolate; animation: splash-in .8s ease-out both; }
.splash-leaving { pointer-events: none; animation: splash-out .55s ease-in forwards; }
.splash-video { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.splash-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(7,8,7,.18), rgba(7,8,7,.12) 52%, rgba(7,8,7,.72)); }
.splash-content { width: 100%; height: 100%; padding: clamp(24px, 5vw, 76px); display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.splash-logo { width: clamp(190px, 22vw, 320px); height: auto; filter: drop-shadow(0 2px 18px rgba(0,0,0,.5)); }
.splash-enter { min-width: min(280px, 82vw); min-height: 58px; padding: 16px 22px; display: inline-flex; align-items: center; justify-content: space-between; gap: 46px; border: 1px solid rgba(255,255,255,.82); border-radius: 999px; background: rgba(9,10,8,.42); color: #fff; font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; backdrop-filter: blur(12px); transition: background .2s, border-color .2s, color .2s, transform .2s; }
.splash-enter:hover { border-color: var(--accent); background: var(--accent); color: #171815; transform: translateY(-2px); }
@keyframes splash-in { from { opacity: 0; } }
@keyframes splash-out { to { opacity: 0; transform: scale(1.012); } }

.site-nav { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid var(--line); background: var(--nav); backdrop-filter: blur(14px); }
.nav-inner { height: 72px; padding: 0 var(--pad); display: flex; align-items: center; gap: 36px; }
.brand-link { margin-right: auto; }
.brand-logo { display: block; width: clamp(178px, 18vw, 232px); height: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; color: var(--soft); font-family: var(--label); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.nav-links a, .nav-cta, .theme-toggle { transition: color .2s, border-color .2s, background .2s; }
.nav-links a:hover { color: var(--copy); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta, .theme-toggle { min-height: 36px; border: 1px solid var(--line); background: transparent; color: var(--copy); padding: 9px 13px; font-family: var(--label); font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.nav-cta { border-color: var(--accent); color: var(--accent); }
.nav-cta:hover { background: var(--accent); color: #171815; }
.theme-toggle { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.theme-toggle:hover { border-color: var(--soft); }

.hero { min-height: 880px; height: 100svh; position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: #fff; background: #0d0e0c; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(8, 9, 8, .88) 0%, rgba(8, 9, 8, .62) 48%, rgba(8, 9, 8, .15) 76%), linear-gradient(180deg, rgba(8, 9, 8, .2), rgba(8, 9, 8, .78)); }
.hero-grid { flex: 1; padding-top: 132px; padding-bottom: 66px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 50px; }
.hero-copy { max-width: 900px; animation: arrive .9s ease-out both; }
.hero h1 { max-width: 10ch; margin: 20px 0 30px; font-size: clamp(64px, 9vw, 146px); line-height: .86; font-weight: 700; letter-spacing: -.025em; }
.hero-lede { max-width: 62ch; margin-bottom: 0; color: rgba(255,255,255,.78); font-family: var(--body); font-size: clamp(17px, 2vw, 20px); font-weight: 400; line-height: 1.65; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 48px; padding: 14px 18px; display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; border: 1px solid rgba(255,255,255,.35); font-family: var(--label); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.button-solid { border-color: var(--accent); background: var(--accent); color: #171815; }
.button-ghost { color: #fff; }
.hero-stamp { width: 122px; height: 122px; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; display: grid; place-content: center; gap: 2px; text-align: center; color: rgba(255,255,255,.85); font-family: var(--label); font-size: 8px; font-weight: 500; letter-spacing: .18em; line-height: 1.4; animation: pulse 5s ease-in-out infinite; }
.hero-stamp b { color: var(--accent); }
.fact-strip { display: grid; grid-template-columns: .7fr 1fr 1.6fr; border-top: 1px solid rgba(255,255,255,.28); }
.fact-strip div { padding-top: 22px; padding-bottom: 24px; border-left: 1px solid rgba(255,255,255,.2); }
.fact-strip div:first-child { border-left: 0; }
.fact-strip div:not(:first-child) { padding-left: 26px; }
.fact-strip dt { margin-bottom: 8px; color: rgba(255,255,255,.55); font-family: var(--label); font-size: 9px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.fact-strip dd { margin: 0; font-size: clamp(14px, 1.7vw, 20px); font-weight: 600; }
@keyframes arrive { from { opacity: 0; transform: translateY(16px); } }
@keyframes pulse { 50% { border-color: var(--accent); transform: rotate(3deg); } }

.statement { display: grid; grid-template-columns: .55fr 2.45fr; gap: 5vw; }
.statement h2 { max-width: 1100px; }
.statement div > p { max-width: 62ch; margin: 42px 0 0 auto; color: var(--soft); font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }

.capabilities { border-top: 1px solid var(--line); }
.section-head { padding-top: clamp(84px, 10vw, 140px); padding-bottom: 70px; display: grid; grid-template-columns: .55fr 2.45fr; gap: 5vw; }
.capability { min-height: 650px; display: grid; grid-template-columns: 1.05fr .95fr; border-top: 1px solid var(--line); }
.capability:nth-of-type(3) .capability-media { order: 2; }
.capability-media { min-height: 600px; position: relative; overflow: hidden; }
.capability-media:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.55)); }
.capability-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.capability:hover .capability-media img { transform: scale(1.025); }
.capability-media > span { position: absolute; z-index: 2; left: 34px; top: 30px; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; color: #fff; font-size: 10px; letter-spacing: .16em; }
.capability-copy { padding: clamp(60px, 8vw, 128px); display: flex; flex-direction: column; justify-content: center; background: var(--ink-2); }
.capability-copy h3 { margin: 18px 0 26px; font-family: var(--display); font-size: clamp(48px, 5.5vw, 82px); font-weight: 500; letter-spacing: -.01em; line-height: 1; }
.capability-copy > p:not(.eyebrow) { max-width: 560px; color: var(--soft); font-size: 16px; line-height: 1.75; }
.capability-copy ul { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--line); }
.capability-copy li { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--soft); font-family: var(--label); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.capability-copy a { width: max-content; margin-top: 34px; padding-bottom: 8px; border-bottom: 1px solid var(--accent); color: var(--accent); font-family: var(--label); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

.work-head { display: grid; grid-template-columns: 1.4fr .6fr; gap: 6vw; align-items: end; }
.work-head > p { max-width: 62ch; margin-bottom: 5px; color: var(--soft); font-size: 18px; line-height: 1.65; }
.work-head .eyebrow, .archive-head .eyebrow { margin-bottom: 26px; }
.project-grid { margin-top: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.project { border: 1px solid var(--line); background: var(--ink-2); }
.project video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #050505; }
.project-meta { padding: 26px; }
.project-meta p { margin-bottom: 10px; color: var(--accent); font-family: var(--label); font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.project-meta h3 { margin-bottom: 12px; font-family: var(--display); font-size: 31px; font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
.project-meta span { color: var(--soft); font-size: 14px; line-height: 1.5; }

.story { background: var(--paper); color: var(--ink); }
.story .eyebrow { color: var(--accent-strong); }
.story-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; }
.story-heading .eyebrow { margin-bottom: 28px; }
.story h2 { color: var(--ink); }
.story h2 em { color: var(--accent-strong); }
.timeline { border-top: 1px solid rgba(0,0,0,.18); }
.timeline article { padding: 26px 0 30px; display: grid; grid-template-columns: 44px 72px 1fr; column-gap: 14px; border-bottom: 1px solid rgba(0,0,0,.18); }
.timeline-number { color: #8b8b82; font-family: var(--label); font-size: 9px; font-weight: 500; letter-spacing: .14em; }
.timeline article > p { margin: 0; color: var(--accent-strong); font-family: var(--label); font-size: 11px; font-weight: 600; letter-spacing: .12em; }
.timeline h3 { margin: 0 0 10px; font-family: var(--display); font-size: 26px; font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
.timeline article > div { grid-column: 3; color: #65675f; font-size: 14px; line-height: 1.55; }

.archive-head { display: grid; grid-template-columns: .55fr 2.45fr; gap: 5vw; }
.archive-grid { margin-top: 70px; display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 18px; align-items: stretch; }
.archive-grid figure { margin: 0; position: relative; min-height: 440px; overflow: hidden; background: var(--ink-2); }
.archive-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.archive-grid figure:hover img { transform: scale(1.025); }
.archive-grid figcaption { position: absolute; left: 20px; bottom: 18px; padding: 8px 11px; background: rgba(0,0,0,.68); color: #fff; font-family: var(--label); font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

.contact { background: var(--accent); color: #171815; }
.contact .eyebrow { color: #5b470d; }
.contact h2 { margin: 24px 0 62px; color: #171815; font-size: clamp(56px, 8.6vw, 132px); }
.contact h2 em { color: #fff8e1; }
.contact-button { width: fit-content; min-width: 220px; padding: 18px 24px; display: inline-flex; align-items: center; justify-content: space-between; gap: 42px; border: 1px solid #171815; border-radius: 999px; font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, color .2s, transform .2s; }
.contact-button:hover { background: #171815; color: #fff8e1; transform: translateY(-2px); }
.contact-bottom { margin-top: 64px; display: flex; justify-content: space-between; gap: 30px; font-family: var(--label); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
footer { background: #0c0d0b; color: #fff; border-top: 1px solid #ffffff20; }
.footer-inner { min-height: 110px; display: flex; align-items: center; gap: 30px; }
.footer-inner > a:first-child { margin-right: auto; }
.footer-inner p, .footer-inner > a:last-child { margin: 0; color: #888b82; font-family: var(--label); font-size: 9px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.social-icons { display: flex; align-items: center; gap: 22px; margin-right: 12px; }
.social-icons a { min-width: 42px; min-height: 42px; display: grid; place-items: center; border-radius: 4px; transition: opacity .2s, transform .2s; }
.social-icons a:hover { opacity: .78; transform: translateY(-2px); }
.instagram-icon { width: 34px; height: 34px; object-fit: contain; }
.youtube-icon { width: 122px; height: auto; object-fit: contain; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stamp { display: none; }
  .statement, .section-head, .archive-head { grid-template-columns: 1fr; }
  .capability { grid-template-columns: 1fr; }
  .capability:nth-of-type(3) .capability-media { order: 0; }
  .capability-media { min-height: 480px; }
  .capability-copy { padding: 70px var(--pad); }
  .story-inner { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr 1fr; }
  .archive-grid figure:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .splash-content { padding-top: 30px; padding-bottom: 32px; }
  .splash-logo { width: min(62vw, 250px); }
  .splash-video { object-position: center center; }
  .nav-inner { height: 66px; gap: 12px; }
  .theme-label, .nav-cta { display: none; }
  .theme-toggle { width: 36px; padding: 8px; justify-content: center; }
  .brand-logo { width: min(54vw, 205px); }
  .hero { min-height: 780px; height: 100svh; }
  .hero-media { object-position: 60% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(8,9,8,.28), rgba(8,9,8,.86) 62%); }
  .hero-grid { align-items: end; padding-bottom: 45px; }
  .hero h1 { font-size: 18vw; }
  .hero-lede { font-size: 16px; }
  .button { width: 100%; }
  .fact-strip { grid-template-columns: 1fr; }
  .fact-strip div, .fact-strip div:not(:first-child) { padding: 15px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .fact-strip div:first-child { border-top: 0; }
  .fact-strip div:nth-child(2) { display: none; }
  .statement div > p { font-size: 17px; }
  .capability-media { min-height: 360px; }
  .capability-copy { padding-top: 58px; padding-bottom: 58px; }
  .capability-copy h3 { font-size: 13vw; }
  .work-head { grid-template-columns: 1fr; }
  .timeline article { grid-template-columns: 36px 62px 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .archive-grid figure, .archive-grid figure:first-child { grid-column: auto; min-height: 340px; }
  .contact-bottom { flex-direction: column; }
  .footer-inner { flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
  .social-icons { order: 2; margin-right: 0; }
  .footer-inner p { order: 4; width: 100%; }
  .footer-inner > a:last-child { order: 3; margin-left: auto; }
  .youtube-icon { width: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .hero-media { display: none; }
  .hero { background: #0d0e0c url('media/hero-poster.webp') center/cover no-repeat; }
  .splash-video { display: none; }
  .splash { background: #090a08 url('media/splash-montage-poster.webp') center/cover no-repeat; }
}
