@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("../assets/reel/fonts/HarmonyOS_Sans_SC_Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("../assets/reel/fonts/HarmonyOS_Sans_SC_Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/reel/fonts/space-grotesk-variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050606;
  --panel: #0a0c0b;
  --panel-soft: #101310;
  --text: #f2f5f1;
  --muted: #969d96;
  --line: rgba(255,255,255,.12);
  --accent: #c7ff16;
  --accent-soft: rgba(199,255,22,.16);
  --max: 1440px;
  --pad: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
section[id] { scroll-margin-top: 72px; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: "Space Grotesk", "HarmonyOS Sans SC", sans-serif; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img, video { display: block; width: 100%; }
::selection { color: #050606; background: var(--accent); }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; color: #050606; background: var(--accent); transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(5,6,6,.76); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { display: grid; place-items: center; width: 31px; aspect-ratio: 1; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font: 700 10px/1 "Space Grotesk", sans-serif; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; letter-spacing: .06em; }
.brand-copy b { font-size: 10px; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 7px; }
.site-nav { display: flex; gap: clamp(18px, 3vw, 46px); font-size: 12px; color: #cbd0cb; }
.site-nav a, .back-link { transition: color .2s; }
.site-nav a:hover, .site-nav a:focus-visible, .back-link:hover, .back-link:focus-visible { color: var(--accent); }
.back-link { padding: 9px 15px; border: 1px solid rgba(199,255,22,.44); border-radius: 999px; color: var(--accent); font-size: 11px; }

.hero { position: relative; min-height: 760px; display: grid; grid-template-columns: minmax(320px, .78fr) minmax(500px, 1.22fr); align-items: center; gap: clamp(34px, 5vw, 76px); max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding: 118px var(--pad) 76px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 74% 36%, rgba(199,255,22,.07), transparent 30%), linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 90%); }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(48px, 5.2vw, 80px); font-weight: 500; line-height: 1.12; letter-spacing: 0; text-wrap: balance; }
.hero h1.hero-title--long { font-size: clamp(44px, 4.6vw, 72px); }
.hero-copy { min-width: 0; }
.hero h1 span, .hero h1 strong { display: block; white-space: nowrap; }
.hero h1 strong { color: var(--accent); font-weight: 500; }
.hero-summary { max-width: 560px; margin: 22px 0 28px; color: #9ea89f; font-size: 14px; line-height: 1.8; }
.project-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); }
.project-meta div { min-width: 0; }
.project-meta dt { color: #666d67; font-size: 9px; }
.project-meta dd { margin: 5px 0 0; font-size: 11px; white-space: nowrap; }
.hero-visual { position: relative; align-self: center; }
.hero-visual::before { content: ""; position: absolute; left: -23px; top: 10%; bottom: 10%; width: 1px; background: linear-gradient(transparent, rgba(199,255,22,.6), transparent); }
.hero-visual::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: 22px; pointer-events: none; background: linear-gradient(90deg, rgba(5,6,6,.38), transparent 38%), linear-gradient(0deg, rgba(5,6,6,.52), transparent 36%); }
.hero-visual-label { position: absolute; right: 16px; bottom: -29px; color: #5d655e; font-size: 9px; letter-spacing: .12em; }
.hero-number { position: absolute; right: var(--pad); bottom: 24px; z-index: -1; color: rgba(255,255,255,.025); font: 700 clamp(150px, 20vw, 320px)/.8 "Space Grotesk", sans-serif; }

.section { max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding: clamp(90px, 11vw, 160px) var(--pad); border-top: 1px solid rgba(255,255,255,.08); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: 42px; }
.section-heading h2, .story-copy h2 { margin: 0; font-size: clamp(34px, 4.4vw, 62px); font-weight: 500; line-height: 1.18; letter-spacing: 0; text-wrap: balance; }
.section-heading > p { max-width: 420px; margin: 0 0 5px auto; color: var(--muted); font-size: 14px; line-height: 1.8; }

.media-slot { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(135deg, #0c100d, #080908); }
.media-slot::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .6; background: linear-gradient(135deg, transparent 49.8%, rgba(199,255,22,.18) 50%, transparent 50.2%), linear-gradient(45deg, transparent 49.8%, rgba(199,255,22,.1) 50%, transparent 50.2%); pointer-events: none; }
.media-slot.is-filled::before { opacity: 0; }
.media-slot img, .media-slot video { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.media-slot img[hidden], .media-slot video[hidden] { display: none !important; }
.media-slot img,
.media-slot video,
img,
video {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}
.media-slot--hero { aspect-ratio: 1.3; box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.media-slot--hero img, .media-slot--hero video { object-position: 68% center; filter: saturate(.86) contrast(1.05) brightness(.9); }
.media-slot--video { aspect-ratio: 16 / 9; }
.media-slot--story { min-height: 520px; }
.media-slot--card { aspect-ratio: 4 / 5; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
.media-slot--shot { aspect-ratio: 16 / 9; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }

.film-frame { border: 1px solid var(--line); border-radius: 20px; padding: 12px; background: #070807; overflow: hidden; }
.film-caption { display: grid; grid-template-columns: repeat(4, 1fr); }
.film-caption div { padding: 18px 20px 8px; border-right: 1px solid var(--line); }
.film-caption div:last-child { border-right: 0; }
.film-caption span, .film-caption b { display: block; }
.film-caption span { color: #69706a; font-size: 9px; }
.film-caption b { margin-top: 4px; color: var(--accent); font-size: 10px; letter-spacing: .08em; }

.story-section { position: relative; min-height: 720px; display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.08); }
.story-visual { position: absolute; inset: 36px var(--pad); z-index: 0; min-height: 0; border-radius: 22px; box-shadow: 0 28px 90px rgba(0,0,0,.34); }
.story-visual::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; background: linear-gradient(90deg, rgba(5,6,6,.98) 0%, rgba(5,6,6,.88) 22%, rgba(5,6,6,.44) 54%, rgba(5,6,6,.12) 100%), linear-gradient(0deg, rgba(5,6,6,.64), transparent 26%, transparent 76%, rgba(5,6,6,.34)); }
.story-visual img { object-fit: cover; object-position: center; }
.story-copy { position: relative; z-index: 5; width: min(620px, 56%); margin-left: 2vw; padding: 42px 0 42px 0; }
.story-copy h2 { max-width: 600px; }
.story-copy p:not(.eyebrow) { max-width: 570px; color: #c0c7c0; font-size: 14px; line-height: 1.8; }
.story-statement { margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); color: var(--text) !important; font-size: 16px !important; font-weight: 600; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feature-card, .shot-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #080a08; }
.card-copy, .shot-copy { padding: 22px; }
.card-copy span, .shot-copy span { color: var(--accent); font-size: 9px; letter-spacing: .1em; }
.card-copy h3, .shot-copy h3 { margin: 6px 0 8px; font-size: 21px; font-weight: 500; line-height: 1.35; }
.card-copy p, .shot-copy p { margin: 0; color: #b8c0b8; font-size: 13px; line-height: 1.7; }

.shots-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.shot-card { position: relative; display: flex; flex-direction: column; }
.shot-copy { display: grid; flex: 1; grid-template-columns: .8fr 1.2fr; grid-template-rows: auto auto 1fr; column-gap: 20px; align-items: start; }
.shot-copy span { grid-column: 1 / -1; }
.shot-copy h3 { margin-bottom: 0; }
.shot-copy p { padding-top: 9px; }

.process-section { padding-bottom: clamp(64px, 7vw, 96px); }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.process-card { min-width: 0; display: grid; grid-template-rows: auto auto auto 1fr; padding: 24px 0 0; border-right: 1px solid var(--line); background: rgba(8,10,8,.7); }
.process-card:last-child { border-right: 0; }
.process-card > span { display: block; padding: 0 18px; color: var(--accent); font: 700 10px/1 "Space Grotesk", sans-serif; }
.process-card > b { display: block; margin: 16px 18px 0; font-size: 14px; line-height: 1.3; }
.process-card > p { margin: 12px 18px 22px; color: #aeb7ae; font-size: 12px; line-height: 1.75; }
.process-media { margin-top: 18px; aspect-ratio: 4 / 3; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; }

.closing { max-width: var(--max); margin: 0 auto; padding: 28px 0; border-top: 1px solid var(--line); background: transparent; }
.closing-bar { min-height: 42px; margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.closing-bar p { margin: 0; color: var(--accent); font: 700 10px/1 "Space Grotesk", sans-serif; letter-spacing: .08em; }
.closing-bar a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--accent); border-radius: 8px; color: #050606; background: var(--accent); font-size: 10px; transition: background .2s, transform .2s; }
.closing-bar a:hover, .closing-bar a:focus-visible { background: #ddff61; transform: translateY(-1px); }
.site-footer { display: flex; justify-content: space-between; padding: 24px var(--pad); border-top: 1px solid var(--line); color: #626862; font-size: 9px; letter-spacing: .08em; }
.site-footer a:hover { color: var(--accent); }

.media-slot { cursor: default; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .hero { min-height: auto; grid-template-columns: minmax(0, 1fr); padding-top: 130px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { min-width: 0; width: calc(100% - 8vw); margin-left: 8vw; }
  .project-meta { max-width: 560px; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p { margin: 0; }
  .story-section { min-height: 760px; display: flex; align-items: flex-end; }
  .story-visual { inset: 28px var(--pad); }
  .story-copy { width: 100%; margin-left: 0; padding: 210px 18px 28px; background: linear-gradient(180deg, transparent 0%, rgba(5,6,6,.35) 24%, rgba(5,6,6,.95) 72%); }
  .story-copy h2 { max-width: 620px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { display: grid; grid-template-columns: .9fr 1.1fr; }
  .media-slot--card { aspect-ratio: 1; border-right: 1px solid var(--line); border-bottom: 0; }
  .card-copy { align-self: end; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-card { border-bottom: 1px solid var(--line); }
  .process-card:nth-child(2n) { border-right: 0; }
  .process-card:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
}

@media (max-width: 620px) {
  :root { --pad: 18px; }
  .site-header { height: 64px; }
  .back-link { padding: 7px 10px; }
  .back-link span { display: none; }
  .hero { padding-top: 110px; padding-bottom: 70px; gap: 48px; }
  .hero h1 { font-size: clamp(42px, 14vw, 64px); }
  .hero h1.hero-title--long { font-size: clamp(32px, 10.6vw, 50px); }
  .hero-summary { font-size: 14px; }
  .hero-visual { width: 100%; margin-left: 0; }
  .project-meta { grid-template-columns: 1fr; gap: 12px; }
  .project-meta div { display: flex; justify-content: space-between; }
  .project-meta dd { max-width: 64%; margin-top: 0; white-space: normal; text-align: right; }
  .section { padding-top: 82px; padding-bottom: 82px; }
  .section-heading { margin-bottom: 26px; }
  .film-frame { padding: 6px; }
  .film-caption { grid-template-columns: repeat(2, 1fr); }
  .film-caption div:nth-child(2) { border-right: 0; }
  .film-caption div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .film-caption div { padding: 12px; }
  .media-slot--story { min-height: 300px; }
  .feature-card { grid-template-columns: 1fr; }
  .media-slot--card { aspect-ratio: 16 / 10; border-right: 0; border-bottom: 1px solid var(--line); }
  .shots-grid { grid-template-columns: 1fr; }
  .shot-copy { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card, .process-card:nth-child(2n) { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-card:last-child { grid-column: auto; border-bottom: 0; }
  .closing { width: auto; padding: 24px var(--pad); }
  .closing-bar { align-items: flex-start; flex-direction: column; gap: 14px; }
  .closing-bar a { align-self: stretch; justify-content: center; }
  .site-footer { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
