/* Indo Pacific Films: biography site.
   A camera viewfinder over deep water: burn-in slate, condensed display type,
   numbered credit list, spec-sheet kit. Deliberately single-theme (dark). */

:root {
  --abyss: #04080a;
  --deep: #07121a;
  --tide: #0c1d26;
  --fg: #ebe6da;
  --body: #c4c3ba;
  --dim: #858a87;
  --line: #18252b;
  --line-hi: #34464d;
  --tally: #e8432f;

  --display: "Archivo", "Arial Narrow", "Helvetica Neue", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;

  --gutter: clamp(16px, 3vw, 48px);
  --head-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head-h); }
html, body { margin: 0; }
body {
  background: var(--abyss);
  color: var(--fg);
  font: 400 18px/1.65 var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
img, video { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
:focus-visible { outline: 1px solid var(--tally); outline-offset: 3px; }
::selection { background: var(--tally); color: #fff; }

/* film grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.wrap { padding-inline: var(--gutter); }
.k, .sec-n, .sec-meta, .nav ul, .btn {
  font-family: var(--mono); font-weight: 500; font-size: 11px; line-height: 1.2;
  letter-spacing: .12em; text-transform: uppercase;
}
.k { display: block; color: var(--dim); font-size: 10px; }
.lead {
  font-weight: 300; font-size: clamp(26px, 3.1vw, 44px); line-height: 1.18;
  letter-spacing: -.005em; color: var(--fg); font-variation-settings: "opsz" 60;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid var(--line-hi); padding: 13px 18px;
  transition: border-color .25s, background .25s, color .25s;
}
.btn svg { width: 9px; height: 11px; fill: var(--tally); }
.btn:hover { border-color: var(--fg); background: rgba(235, 230, 218, .06); }
.btn.ghost { border-color: transparent; color: var(--body); }
.btn.ghost:hover { border-color: var(--line-hi); color: var(--fg); }

/* ---------- header / nav ---------- */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}
.site-head.scrolled { background: rgba(4, 8, 10, .82); border-color: var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--head-h); }
.nav ul { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav-r { justify-content: flex-end; }
.nav ul a { color: var(--dim); transition: color .2s; position: relative; padding-block: 6px; }
.nav ul a:hover, .nav ul a.active { color: var(--fg); }
.nav ul a.active::before {
  content: ""; position: absolute; left: -12px; top: 50%; width: 5px; height: 5px; margin-top: -3px;
  border-radius: 50%; background: var(--tally);
}
.mark {
  font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 700;
  font-size: 17px; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  padding-inline: 24px;
}
.mark span { font-weight: 300; color: var(--dim); }
.menu-btn { display: none; justify-self: end; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 12px 0 12px 16px; }
.menu-btn span::before { content: ""; display: inline-block; width: 18px; height: 1px; background: currentColor; margin-right: 10px; vertical-align: middle; box-shadow: 0 -4px 0 currentColor, 0 4px 0 currentColor; }
.menu-btn[aria-expanded="true"] span::before { box-shadow: none; }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--abyss);
  display: flex; align-items: flex-end; padding: calc(var(--head-h) + 24px) var(--gutter) 48px;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s;
}
.menu.open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.menu ol { width: 100%; }
.menu li { border-top: 1px solid var(--line); }
.menu a {
  display: flex; align-items: baseline; gap: 16px; padding-block: 12px;
  font-family: var(--display); font-variation-settings: "wdth" 62; font-weight: 700;
  font-size: clamp(40px, 11vw, 72px); line-height: .95; text-transform: uppercase;
}
.menu a span { font: 500 11px/1 var(--mono); color: var(--dim); letter-spacing: .1em; }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 580px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(70% 55% at 62% -8%, rgba(120, 205, 210, .34), transparent 70%),
    radial-gradient(120% 90% at 50% -20%, #134552 0%, #0a2630 34%, #06141b 62%, var(--abyss) 100%);
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media::before {
  /* light shafts from the surface */
  content: ""; position: absolute; inset: -20% -15% 10%;
  background: repeating-linear-gradient(104deg, transparent 0 5%, rgba(170, 235, 238, .075) 6% 8%, transparent 9% 14%, rgba(170, 235, 238, .04) 15% 16%, transparent 17% 22%);
  filter: blur(14px); mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 78%); mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
  animation: rays 22s ease-in-out infinite alternate;
}
@keyframes rays { from { transform: translateX(-4%) skewX(-3deg); } to { transform: translateX(4%) skewX(3deg); } }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-video.ready { opacity: 1; }
.hero-video.ready ~ .snow, .hero.has-video .reel { display: none; }
/* running edit of stills: crossfade with a slow push-in */
.reel { position: absolute; inset: 0; }
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.6s var(--ease); }
.reel img.on { opacity: 1; animation: push 7s linear forwards; }
@keyframes push { from { transform: scale(1.06); } to { transform: scale(1); } }
.snow { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 100% at 50% 40%, transparent 55%, rgba(0, 0, 0, .55) 100%),
    linear-gradient(to bottom, rgba(4, 8, 10, .55) 0%, transparent 24%, transparent 45%, rgba(4, 8, 10, .94) 100%);
}
.hero::after { z-index: 0; }
.frame, .burn { z-index: 1; }

.frame, .burn { position: absolute; inset: calc(var(--head-h) + 8px) var(--gutter) var(--gutter); }
.frame { pointer-events: none; }
.frame i { position: absolute; width: 22px; height: 22px; border: 1px solid rgba(235, 230, 218, .45); }
.frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.burn { padding: 18px 22px; padding-inline: 22px; display: grid; grid-template-rows: auto 1fr; }
.burn-top {
  display: flex; justify-content: space-between; gap: 16px;
  font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}
.burn-top b { color: var(--fg); font-weight: 500; margin-left: 6px; }
.rec::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--tally); margin-right: 10px; vertical-align: 1px; animation: blink 1.6s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.tc { font-variant-numeric: tabular-nums; color: var(--fg); }
#shot { color: var(--fg); transition: opacity .4s; }
.burn-bottom { align-self: end; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px 48px; }
.hero h1 {
  font-family: var(--display); font-variation-settings: "wdth" 62; font-weight: 700;
  font-size: clamp(56px, 7.8vw, 144px); line-height: .84; letter-spacing: -.005em; text-transform: uppercase;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.hero h1 > span { display: block; }
.hero-role {
  margin-top: .9em; font-family: var(--display); font-variation-settings: "wdth" 75; font-weight: 300;
  font-size: clamp(18px, 1.9vw, 30px); line-height: 1.1; letter-spacing: .04em; text-transform: uppercase; opacity: .8;
}
.hero-side { max-width: 360px; display: grid; gap: 22px; justify-items: start; padding-bottom: 6px; }
.hero-side p { font-style: italic; font-weight: 300; font-size: 19px; line-height: 1.45; color: var(--fg); opacity: .9; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.hero-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.hero .btn { background: rgba(4, 8, 10, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero .btn.ghost { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--fg); }

/* ---------- credits ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--abyss); }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; flex: none; }
.ticker li { display: flex; align-items: baseline; gap: 12px; padding: 18px 28px; white-space: nowrap; border-right: 1px solid var(--line); }
.ticker b { font-family: var(--display); font-variation-settings: "wdth" 75; font-weight: 600; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; }
.ticker span { font: 500 10px/1 var(--mono); color: var(--dim); letter-spacing: .1em; text-transform: uppercase; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding-top: clamp(96px, 13vw, 200px); }
.sec-head {
  display: grid; grid-template-columns: 6ch 1fr auto; align-items: end; gap: 16px;
  border-bottom: 1px solid var(--fg); padding-bottom: 12px; margin-bottom: clamp(40px, 5vw, 72px);
}
.sec-n, .sec-meta { color: var(--dim); padding-bottom: .5em; }
.sec-meta { text-align: right; }
.sec-head h2, .prod-title h2 {
  font-family: var(--display); font-variation-settings: "wdth" 62; font-weight: 700;
  font-size: clamp(48px, 8vw, 128px); line-height: .82; text-transform: uppercase; letter-spacing: -.005em;
}
.sec-intro { max-width: 46ch; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.45; color: var(--body); font-style: italic; font-weight: 300; margin-bottom: 56px; }

.two-col { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 112px); align-items: start; }
.two-col > div { display: grid; gap: 1em; color: var(--body); padding-top: .5em; }

/* ---------- media placeholders ----------
   Every .ph shows an underwater-toned frame with a label until its <img> loads. */
.ph {
  --c1: #12313b; --c2: #081820;
  position: relative; display: block; width: 100%; overflow: hidden; background-color: var(--c2);
  background-image:
    linear-gradient(rgba(235, 230, 218, .22), rgba(235, 230, 218, .22)),
    linear-gradient(rgba(235, 230, 218, .22), rgba(235, 230, 218, .22)),
    radial-gradient(90% 70% at 28% 0%, rgba(120, 205, 210, .16), transparent 62%),
    linear-gradient(160deg, var(--c1), var(--c2) 58%, #04090c);
  background-size: 1px 16px, 16px 1px, auto, auto;
  background-position: center, center, 0 0, 0 0;
  background-repeat: no-repeat;
}
.ph::after {
  content: attr(data-ph); position: absolute; left: 12px; bottom: 10px; right: 12px;
  font: 500 10px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(235, 230, 218, .42);
}
.ph img, .ph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease), transform 1.2s var(--ease); }
.ph.has-media img { opacity: 1; }
.ph.has-media::after { content: none; }
.ph:nth-child(3n+2) { --c1: #0f2a3d; --c2: #06121c; }
.ph:nth-child(3n+3) { --c1: #1d3a3a; --c2: #08171a; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 112px); align-items: start; }
.portrait { aspect-ratio: 3 / 4; }
/* two portraits, the second set lower like a contact-sheet pair */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: start; }
.duo .ph:last-child { margin-top: clamp(24px, 4vw, 56px); }
.about-fig figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font: 500 10px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.about-fig figcaption span:first-child { color: var(--fg); }
.about-copy { display: grid; gap: 1.1em; color: var(--body); max-width: 60ch; }
.about-copy .lead { margin-bottom: .35em; }
.about-fig .ph img { object-position: 50% 20%; }
.sign { margin-top: .6em; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg); }
.sign::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--tally); margin-right: 12px; vertical-align: middle; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(64px, 8vw, 120px); border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 24px 20px 0 0; border-right: 1px solid var(--line); padding-left: 20px; }
.stats div:first-child { padding-left: 0; }
.stats div:last-child { border-right: 0; }
.stats dd { font-family: var(--display); font-variation-settings: "wdth" 62; font-weight: 700; font-size: clamp(56px, 7vw, 112px); line-height: .85; text-transform: uppercase; }
.stats dt { font: 500 10px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); max-width: 22ch; }

/* ---------- work list ---------- */
.group { display: flex; justify-content: space-between; align-items: baseline; padding-top: 40px; padding-bottom: 10px; border-bottom: 1px solid var(--line-hi); }
.group h3 { font-family: var(--display); font-variation-settings: "wdth" 70; font-weight: 600; font-size: clamp(18px, 1.8vw, 24px); text-transform: uppercase; letter-spacing: .04em; }
.group span { font: 500 11px/1 var(--mono); color: var(--dim); letter-spacing: .1em; }
.job + .group { margin-top: 64px; }

.job { border-bottom: 1px solid var(--line); }
.job-row {
  width: 100%; display: grid; grid-template-columns: 5ch minmax(0, 1.5fr) minmax(0, 1fr) 15ch; gap: 20px; align-items: center;
  padding-block: 22px; position: relative; isolation: isolate;
}
.job-row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; opacity: 0;
  background: linear-gradient(90deg, rgba(120, 205, 210, .07), transparent 70%); transition: opacity .3s;
}
.job-row:hover::before, .job.open .job-row::before { opacity: 1; }
.job-row .n { font: 500 11px/1 var(--mono); color: var(--dim); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.job-row .t {
  font-family: var(--display); font-variation-settings: "wdth" 72; font-weight: 600;
  font-size: clamp(24px, 2.9vw, 42px); line-height: .98; text-transform: uppercase; letter-spacing: .005em;
  transition: transform .4s var(--ease), color .3s;
}
.job-row .t span { display: block; margin-top: 8px; font: 500 10px/1.2 var(--mono); letter-spacing: .1em; color: var(--dim); }
.job-row:hover .t, .job.open .t { transform: translateX(10px); color: #fff; }
.job-row .role { font-style: italic; font-weight: 300; color: var(--body); font-size: 18px; }
.job-row .st { justify-self: end; display: inline-flex; align-items: center; gap: 10px; font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.job-row .st::after { content: "+"; font-size: 16px; font-weight: 400; color: var(--fg); transition: transform .35s var(--ease); width: 12px; text-align: center; }
.job.open .st::after { transform: rotate(45deg); }
.job-row .st.live { color: var(--tally); }
.job-row .st.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tally); animation: blink 1.6s steps(1) infinite; }

/* film-strip preview under rows that have frames; grows on hover, folds away when the row opens */
.mini { grid-column: 2 / -1; display: flex; gap: 2px; height: 44px; overflow: hidden; transition: height .45s var(--ease), opacity .3s; }
.mini i { flex: 1 1 0; min-width: 0; background: var(--deep) center / cover no-repeat; transition: flex-grow .45s var(--ease), filter .3s; filter: saturate(.85) brightness(.85); }
@media (hover: hover) {
  .job-row:hover .mini { height: 96px; }
  .job-row:hover .mini i { filter: none; }
  .mini i:hover { flex-grow: 2.4; }
}
.job.open .mini { height: 0; opacity: 0; }

.job-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.job.open .job-detail { grid-template-rows: 1fr; }
.job-inner { overflow: hidden; min-height: 0; }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding-top: 4px; }
.strip .ph { aspect-ratio: 16 / 9; cursor: zoom-in; }
.strip .ph:nth-child(n+7) { display: none; }
.strip:has(img[src*="sorido-"]) .ph { aspect-ratio: 2.39 / 1; }
.strip .ph:hover img { transform: scale(1.03); }
.job-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; padding-block: 22px 36px; }
.job-foot .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.job-foot:not(:has(> :not(.btn))) { justify-content: flex-end; }
.job-foot p { max-width: 54ch; color: var(--body); font-style: italic; font-weight: 300; }
.job-foot dl { display: grid; grid-template-columns: repeat(3, auto); grid-auto-flow: column; grid-template-rows: auto auto; gap: 4px 40px; }
.job-foot dt { font: 500 10px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.job-foot dd { font: 400 13px/1.3 var(--mono); }

/* ---------- stills ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: -24px 0 28px; }
.chips button {
  display: inline-flex; gap: 8px; align-items: baseline; padding: 9px 12px; border: 1px solid var(--line-hi);
  font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); transition: color .2s, border-color .2s, background .2s;
}
.chips button span { opacity: .6; font-size: 10px; }
.chips button:hover { color: var(--fg); border-color: var(--fg); }
.chips button[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--abyss); }
/* masonry by columns so every frame keeps its own aspect ratio */
.stills-grid { columns: 3; column-gap: 8px; }
.still { display: block; width: 100%; margin-bottom: 8px; break-inside: avoid; overflow: hidden; background: var(--deep); cursor: zoom-in; }
.still img { width: 100%; height: auto; transition: transform 1.2s var(--ease), opacity .6s; }
.still:hover img { transform: scale(1.035); }

/* ---------- kit ---------- */
#kit .two-col { margin-bottom: clamp(56px, 7vw, 104px); }
.spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cell { background: var(--abyss); padding: clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; gap: 10px; transition: background .3s; }
.cell:hover { background: var(--deep); }
.cell .k { color: var(--tally); margin-bottom: 20px; }
.cell h3 { font-family: var(--display); font-variation-settings: "wdth" 70; font-weight: 600; font-size: clamp(24px, 2.2vw, 32px); line-height: 1; text-transform: uppercase; }
.cell .sub { font-style: italic; font-weight: 300; color: var(--dim); font-size: 16px; margin-bottom: 14px; }
.cell ul { margin-top: auto; }
.cell li, .cell .body { font: 400 13px/1.45 var(--mono); color: var(--body); }
.cell li { padding-block: 10px; border-top: 1px solid var(--line); }
.cell .body { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }

.band { margin-top: clamp(56px, 7vw, 104px); }
.ph.wide { aspect-ratio: 21 / 9; }
.band figcaption { margin-top: 10px; font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }

/* ---------- production ---------- */
.production { margin-top: clamp(96px, 13vw, 200px); background: linear-gradient(to bottom, var(--abyss), var(--deep) 30%, var(--deep) 75%, var(--abyss)); padding-bottom: clamp(80px, 10vw, 160px); }
.prod-hero { position: relative; margin-bottom: clamp(56px, 7vw, 104px); }
.prod-hero .ph { aspect-ratio: 21 / 9; min-height: 420px; --c1: #183d46; }
.prod-hero .ph::after { left: auto; text-align: right; top: 14px; bottom: auto; }
.prod-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--abyss) 0%, rgba(4, 8, 10, .3) 45%, transparent 70%); pointer-events: none; }
.prod-title { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding-bottom: clamp(24px, 3vw, 44px); }
.prod-title .sec-n { display: block; margin-bottom: 18px; color: var(--fg); }
.prod-title h2 { font-size: clamp(64px, 12vw, 200px); }

.markets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.markets li { font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line-hi); padding: 8px 10px; color: var(--fg); }

.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(56px, 7vw, 104px); }
.mode { border: 1px solid var(--line-hi); padding: clamp(24px, 3vw, 44px); display: grid; gap: 14px; align-content: start; transition: border-color .3s; }
.mode:hover { border-color: var(--fg); }
.mode h3 { font-family: var(--display); font-variation-settings: "wdth" 62; font-weight: 700; font-size: clamp(36px, 4.4vw, 68px); line-height: .88; text-transform: uppercase; }
.mode p { color: var(--body); max-width: 36ch; }

.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(56px, 7vw, 104px); }
.services li { border-top: 1px solid var(--fg); padding-top: 18px; display: grid; gap: 12px; align-content: start; }
.services .n { font: 500 11px/1 var(--mono); color: var(--tally); letter-spacing: .1em; }
.services h3 { font-family: var(--display); font-variation-settings: "wdth" 72; font-weight: 600; font-size: clamp(22px, 2vw, 28px); line-height: 1; text-transform: uppercase; }
.services p { color: var(--body); font-size: 17px; line-height: 1.5; }

.closing { margin-top: clamp(72px, 9vw, 140px); max-width: 34ch; font-weight: 300; font-size: clamp(26px, 3vw, 44px); line-height: 1.2; font-variation-settings: "opsz" 60; }

/* ---------- partners ---------- */
.partners { padding-block: 48px; border-block: 1px solid var(--line); display: grid; grid-template-columns: 22ch 1fr; gap: 24px; align-items: center; }
.partners ul { display: flex; flex-wrap: wrap; gap: 10px 36px; }
.partners li { font-family: var(--display); font-variation-settings: "wdth" 75; font-weight: 600; font-size: clamp(17px, 1.7vw, 22px); text-transform: uppercase; letter-spacing: .03em; color: var(--dim); transition: color .25s; }
.partners li:hover { color: var(--fg); }

/* ---------- contact / footer ---------- */
.contact { padding-top: clamp(96px, 13vw, 200px); padding-bottom: 32px; }
.ask { font-weight: 300; font-style: italic; font-size: clamp(22px, 2.4vw, 32px); color: var(--body); }
.mail {
  display: inline-block; margin-top: 10px;
  font-family: var(--display); font-variation-settings: "wdth" 62; font-weight: 700;
  font-size: clamp(44px, 9vw, 150px); line-height: .9; text-transform: uppercase; letter-spacing: -.005em;
  overflow-wrap: anywhere; background: linear-gradient(var(--tally), var(--tally)) 0 100% / 0 3px no-repeat;
  transition: background-size .5s var(--ease); padding-bottom: 6px;
}
.mail:hover { background-size: 100% 3px; }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(64px, 8vw, 120px); padding-top: 28px; border-top: 1px solid var(--line); }
.foot-grid .k { margin-bottom: 10px; }
.foot-grid a, .foot-grid p { font: 400 14px/1.5 var(--mono); }
.foot-grid a:hover { color: var(--tally); }
.legal { display: flex; justify-content: space-between; gap: 16px; margin-top: 96px; font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.legal a:hover { color: var(--fg); }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 80; background: rgba(2, 4, 5, .96); display: grid; place-items: center; padding: 64px var(--gutter) 72px; }
.lb[hidden] { display: none; }
.lb-stage { width: min(100%, calc((100svh - 160px) * 16 / 9)); }
.lb-stage > * { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.lb-stage > video, .lb-stage > iframe { background: #000; }
.lb-stage img { object-fit: contain; background: transparent; height: auto; max-height: calc(100svh - 160px); }
.lb-stage .ph { display: grid; place-items: center; }
.lb-stage .ph::after { position: static; text-align: center; font-size: 11px; color: var(--body); }
.lb-cap { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 24px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px 28px; font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.lb-nav { display: flex; gap: 20px; }
.lb-cap button { color: var(--fg); padding-block: 6px; }
.lb-cap button:hover { color: var(--tally); }

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

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav ul { display: none; }
  .mark { padding-inline: 0; font-size: 15px; letter-spacing: .16em; }
  .menu-btn { display: block; }

  .burn-bottom { flex-direction: column; align-items: flex-start; }
  .stills-grid { columns: 2; }
  .two-col, .about-grid { grid-template-columns: 1fr; }
  .about-fig { max-width: 560px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(3) { padding-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --head-h: 64px; }
  body { font-size: 17px; }
  .hide-sm { display: none; }
  .burn { padding: 14px 14px; }
  .frame i { width: 16px; height: 16px; }
  .hero h1 { font-size: clamp(40px, 12.4vw, 84px); }
  .hero h1 .mid { display: block; }
  .hero-side p { font-size: 17px; }
  .burn-bottom { gap: 24px; }

  .sec-head { grid-template-columns: 1fr auto; }
  .sec-head .sec-n { display: none; }
  .sec-meta { font-size: 10px; }

  .job-row { grid-template-columns: 3ch minmax(0, 1fr) auto; gap: 12px; padding-block: 18px; }
  .job-row .role { display: none; }
  .job-row .st { font-size: 9px; gap: 8px; }
  .job-row:hover .t, .job.open .t { transform: none; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip .ph:first-child { grid-column: span 2; }
  .job-foot dl { gap: 4px 24px; }

  .mini { grid-column: 1 / -1; height: 40px; }
  .stills-grid { column-gap: 6px; }
  .still { margin-bottom: 6px; }
  .chips { margin-top: -16px; }
  .lb-cap { grid-template-columns: 1fr auto; }
  .lb-cap #lb-title { grid-column: 1 / -1; }

  .spec, .modes, .services { grid-template-columns: 1fr; }
  .prod-hero .ph { min-height: 380px; }
  .mail { font-size: 8.6vw; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .legal { flex-direction: column; margin-top: 64px; }
}

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