/* vinhlam.com V2 — site styles. Tokens come from /tokens.css (shared with shop.vinhlam.com).
   Site-only values below are derived in oklch; nothing here redefines a token name. */

:root {
  --film: oklch(0.155 0.004 100);      /* dark video surface, both Modes */
  --film-2: oklch(0.205 0.004 100);    /* one tone step up, panels on film */
  --film-ink: oklch(0.94 0.008 95);
  --film-ink-2: oklch(0.72 0.01 95);
  --film-rule: oklch(0.32 0.006 100);
  --plate: var(--paper-2);             /* logo plates */
  --pad: clamp(20px, 3.4vw, 56px);
  --header-h: 68px;
  --display: clamp(42px, 6.6vw, 116px);   /* Be Vietnam Pro is far wider than the old condensed face */
  color-scheme: light;
}
[data-mode="dark"] {
  --plate: oklch(0.87 0.008 95);       /* stays light so dark-ink logos read */
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
input, select, textarea { font: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
sup { font-family: var(--font-label); font-weight: 500; font-size: max(12px, 0.28em); letter-spacing: 0.02em; vertical-align: top; margin-left: 0.18em; position: relative; top: 0.25em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
h1, h2, h3, .display { text-wrap: balance; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; font: 500 14px var(--font-body); }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.label {
  font-family: var(--font-label);
  font-size: var(--label-size);
  line-height: 1.45;
  letter-spacing: 0.02em;
  font-weight: 500;
}
.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--display);
  line-height: 1.0;
  letter-spacing: -0.035em;
}
.lead { font-size: clamp(20px, 1.6vw, 26px); line-height: 1.4; letter-spacing: -0.015em; font-weight: 400; max-width: 34ch; }
.body { font-size: 17px; line-height: 1.6; max-width: 58ch; color: var(--ink-2); }
.film .body { color: var(--film-ink-2); }

.text-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font: 500 17px var(--font-body);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.text-link:hover { text-decoration-thickness: 3px; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 0 22px;
  font: 500 15px/1 var(--font-label); letter-spacing: 0.005em;
  text-decoration: none; border-radius: var(--radius);
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: color-mix(in oklch, var(--accent) 82%, white); }
.btn--accent:active { transform: translateY(1px); }
[data-film] .btn--accent:focus-visible, .film .btn--accent:focus-visible { outline-color: var(--film-ink); }

.sq-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--rule); font: 500 16px var(--font-label);
  transition: background-color .2s var(--ease);
}
.sq-btn:hover { background: var(--paper-2); }

/* corner crosshairs (r3) */
.xh { position: absolute; width: 18px; height: 18px; z-index: 3; pointer-events: none; }
.xh::before, .xh::after { content: ""; position: absolute; background: var(--film-ink); opacity: .85; }
.xh::before { left: 8px; top: 0; width: 1px; height: 18px; }
.xh::after { top: 8px; left: 0; height: 1px; width: 18px; }
.xh--tl { left: 24px; top: 24px; } .xh--tr { right: 24px; top: 24px; }
.xh--bl { left: 24px; bottom: 24px; } .xh--br { right: 24px; bottom: 24px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 0 var(--pad);
  background: var(--paper); color: var(--ink);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.site-header.on-film { background: var(--film); color: var(--film-ink); }
.site-header.over-reel { background: transparent; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; font: 700 21px/1 var(--font-display); letter-spacing: -0.04em; white-space: nowrap; text-decoration: none; padding: 10px 0; }
.wordmark__mark { width: 30px; height: 30px; flex: none; background: url("../assets/brand/head-mark.webp") center / contain no-repeat; }
.site-nav { display: flex; justify-content: flex-end; gap: 6px; }
.site-nav a {
  font: 500 17px/1 var(--font-label); letter-spacing: -0.02em;
  text-decoration: none; padding: 11px 16px; white-space: nowrap; border-radius: 999px;
  background: color-mix(in oklch, currentColor 7%, transparent);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current] { background: var(--ink); color: var(--paper); }
.site-header.on-film .site-nav a:hover { background: var(--film-ink); color: var(--film); }
.hdr-cta { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border: 1.5px solid currentColor; border-radius: 999px; font: 500 17px/1 var(--font-label); letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.hdr-circle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid currentColor; border-radius: 50%; text-decoration: none; font-size: 18px; transition: transform .25s var(--ease); }
.hdr-cta:hover, .hdr-circle:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.hdr-circle:hover { transform: rotate(45deg); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.mode-toggle {
  display: inline-flex; height: 44px; align-items: center; padding: 4px;
  border: 1px solid currentColor;
}
.mode-toggle__opt {
  height: 34px; display: inline-flex; align-items: center; padding: 0 12px;
  font: 500 12px/1 var(--font-label); letter-spacing: 0.02em;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
[data-mode="light"] .mode-toggle__opt[data-opt="light"],
[data-mode="dark"] .mode-toggle__opt[data-opt="dark"] { color: var(--paper); background: var(--ink); }
.site-header.on-film .mode-toggle__opt[data-opt] { background: transparent; color: var(--film-ink); }
[data-mode="light"] .site-header.on-film .mode-toggle__opt[data-opt="light"],
[data-mode="dark"] .site-header.on-film .mode-toggle__opt[data-opt="dark"] { background: var(--film-ink); color: var(--film); }
.mode-toggle:hover { background: color-mix(in oklch, currentColor 8%, transparent); }
.menu-btn { display: none; height: 44px; padding: 0 14px; border: 1px solid currentColor; font: 500 12px/1 var(--font-label); letter-spacing: .02em; }

/* ---------- sections ---------- */
main { display: block; }
.section { padding: clamp(48px, 5vw, 88px) var(--pad) clamp(40px, 4vw, 72px); position: relative; }
.section[id] { scroll-margin-top: 0; }
.sec-head {
  display: grid; grid-template-columns: 80px 1fr auto; gap: var(--gap);
  border-top: 1px solid var(--rule); padding-top: 12px;
  counter-increment: sec;
  margin-bottom: clamp(36px, 5vw, 80px); color: var(--ink-2);
}
.film .sec-head { border-color: var(--film-rule); color: var(--film-ink-2); }
.film { background: var(--film); color: var(--film-ink); }
main { counter-reset: sec; }
.sec-head__n::before { content: "(" counter(sec, decimal-leading-zero) ")"; } /* hidden sections don't count */

/* about */
.about__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.about__portrait { grid-column: 1 / span 4; }
.about__portrait img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--paper-2); }
.about__portrait figcaption { margin-top: 12px; color: var(--ink-2); }
.about__body { grid-column: 6 / span 7; display: grid; gap: clamp(24px, 2.4vw, 40px); }

/* experience */
.experience .display { margin-bottom: clamp(32px, 4vw, 72px); }
.exp { border-top: 1px solid var(--ink); counter-reset: exp; }
.exp__row {
  display: grid; grid-template-columns: minmax(180px, 1.1fr) 3fr minmax(110px, .8fr) 1.4fr;
  gap: var(--gap); align-items: baseline;
  padding: clamp(20px, 2.2vw, 36px) 0; border-bottom: 1px solid var(--rule);
  transition: background-color .3s var(--ease), padding .3s var(--ease);
}
.exp__row:hover { background: var(--paper-2); padding-inline: 16px; }
.exp__date { color: var(--ink-2); }
.exp__role { font: 500 clamp(26px, 3vw, 50px)/1.05 var(--font-display); letter-spacing: -0.035em; }
.exp__org { font-weight: 500; }
.exp__desc { color: var(--ink-2); }

/* showreel */
.showreel .display { margin-bottom: clamp(32px, 4vw, 64px); }
.reel { position: relative; margin-inline: calc(var(--pad) * -1); aspect-ratio: 16 / 9; max-height: 100svh; background: #000; overflow: hidden; }
.reel__video { width: 100%; height: 100%; object-fit: contain; }
.reel__cover {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 14px;
  padding: clamp(28px, 5vw, 88px); text-align: left; color: var(--film-ink);
  background: linear-gradient(to top, oklch(0.1 0 0 / .55), transparent 55%);
}
.reel__play {
  display: inline-flex; align-items: center; gap: 16px; min-height: 64px; padding: 0 28px 0 22px;
  background: var(--accent); color: var(--accent-ink);
  font: 500 clamp(18px, 1.5vw, 24px)/1 var(--font-display); letter-spacing: -0.015em;
  transition: background-color .25s var(--ease);
}
.reel__tri { width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent currentColor; }
.reel__cover:hover .reel__play { background: color-mix(in oklch, var(--accent) 82%, white); }
.reel__cover:focus-visible { outline: none; }
.reel__cover:focus-visible .reel__play { outline: 2px solid var(--film-ink); outline-offset: 4px; }
.reel.is-playing .reel__cover, .reel.is-playing .xh { display: none; }
.showreel__text { margin-top: clamp(28px, 3vw, 48px); }

/* brands */
.brands__intro { max-width: 62ch; color: var(--ink-2); margin-bottom: clamp(24px, 3vw, 48px); }
.logos { display: grid; grid-template-columns: repeat(10, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.logos li { background: var(--plate); aspect-ratio: 1; display: grid; place-items: center; padding: 16%; }
.logos li img { width: 100%; height: 100%; object-fit: contain; }
.logos li.logos__tile { padding: 0; }
.logos li.logos__tile img { object-fit: cover; }
.logos li.logos__label { background: var(--paper); color: var(--ink-2); place-items: end start; padding: 16px; grid-column: span 3; aspect-ratio: auto; }

/* shop teaser */
.shop__intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; margin-bottom: clamp(36px, 4vw, 64px); }
.shop__intro .display { grid-column: 1 / span 6; }
.shop__intro .body { grid-column: 7 / span 3; }
.shop__intro .btn { grid-column: 10 / span 3; justify-self: end; }
.kinds { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.kind { display: grid; gap: 10px; text-decoration: none; padding-bottom: 8px; }
.kind__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.kind__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.kind:hover .kind__img img { transform: scale(1.04); }
.kind__idx { color: var(--ink-2); margin-top: 6px; }
.kind__name { font: 500 clamp(22px, 1.9vw, 30px)/1.1 var(--font-display); letter-spacing: -0.025em; }
.kind:hover .kind__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.kind__desc { color: var(--ink-2); font-size: 16px; }
.shop__note { margin-top: 28px; color: var(--ink-2); }
[data-mode="dark"] .kind__img img, [data-mode="dark"] .about__portrait img { filter: brightness(.93); }

/* contact */
.contact { padding-bottom: 40px; }
.contact__mail {
  display: inline-block; max-width: 100%;
  font: 500 clamp(27px, 7vw, 118px)/1.05 var(--font-display); letter-spacing: -0.035em;
  text-decoration: none; overflow-wrap: anywhere;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.contact__mail:hover { background: var(--accent); color: var(--accent-ink); }
.contact__links { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap); margin-top: clamp(48px, 6vw, 96px); }
.contact__links li { display: grid; gap: 6px; border-top: 1px solid var(--rule); padding-top: 12px; }
.contact__links .label { color: var(--ink-2); }
.contact__links a { font-size: 17px; font-weight: 500; text-decoration: none; min-height: 32px; overflow-wrap: anywhere; }
.contact__links a:hover { text-decoration: underline; text-underline-offset: 5px; }
/* footer: dark card, link columns on top, glyph landscape of an artwork along the bottom (echoes the hero ground) */
.footer { position: relative; overflow: hidden; margin-top: clamp(56px, 6vw, 96px); padding: clamp(28px, 3.4vw, 56px) clamp(20px, 3vw, 48px) calc(clamp(200px, 26vw, 400px) + 8px); background: var(--film); color: var(--film-ink); content-visibility: auto; contain-intrinsic-size: auto none auto 420px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__top { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.footer__brand { display: grid; gap: 14px; align-content: start; justify-items: start; max-width: 40ch; }
.footer__brand p { color: var(--film-ink-2); font-size: 15px; line-height: 1.5; }
.footer__mail { font: 500 15px var(--font-body); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols div { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer__cols .label { color: var(--film-ink-2); margin-bottom: 4px; }
.footer__base { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 16px; margin-top: clamp(28px, 3vw, 48px); color: var(--film-ink-2); }
.footer__art { position: absolute; left: 0; right: 0; bottom: 0; display: block; width: 100%; height: clamp(200px, 26vw, 400px); }

/* =====================================================================
   HERO — default = LITE tier (phones, reduced motion, no WebGL, no JS).
   Everything in flow and visible.
   ===================================================================== */
.hero { position: relative; }
.hero__film, .hero__canvas, .hero__credits, .strip, .orbit__deco { display: none; }

.hero__title { position: relative; padding: calc(var(--header-h) + clamp(24px, 6vw, 72px)) var(--pad) 32px; display: grid; gap: 22px; }
.hero__h1 { font: 700 clamp(46px, 7.2vw, 136px)/0.98 var(--font-display); letter-spacing: -0.05em; }
.hero__h1 .line { display: block; }
.hero__h1 .stars { font-size: .46em; vertical-align: .7em; letter-spacing: .02em; font-weight: 400; }
.hero__roles { color: var(--ink-2); }
.hero__mid { display: flex; justify-content: space-between; color: var(--ink-2); }
.hero__lists { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.hero__lists li { line-height: 1.5; }

/* lite card stack */
.hero__stack { padding: 8px var(--pad) clamp(40px, 8vw, 80px); }
.stack { position: relative; width: min(78vw, 420px); aspect-ratio: 4 / 5; margin: 12px auto 36px; touch-action: pan-y; outline-offset: 12px; }
.stack__card {
  position: absolute; inset: 0; background: var(--paper-2); overflow: hidden;
  box-shadow: 0 1px 0 var(--rule);
  transition: transform .45s var(--ease);
  will-change: transform; user-select: none; -webkit-user-select: none;
}
.stack__card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.stack__card.is-dragging { transition: none; cursor: grabbing; }
.stack__card.is-top { cursor: grab; }
.stack__bar { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--ink-2); }
.stack__count { min-width: 64px; text-align: center; color: var(--ink); }

/* lite reel screen (B + C collapsed into one film block) */
.hero__screen { position: relative; width: 100%; background: var(--film); color: var(--film-ink); aspect-ratio: 4 / 5; min-height: 520px; overflow: hidden; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__dim { position: absolute; inset: 0; background: var(--film); opacity: .6; pointer-events: none; }
.hero__headline { position: absolute; inset: auto 0 0 0; padding: 0 var(--pad) 84px; z-index: 2; }
.headline { font: 600 clamp(34px, 8.6vw, 92px)/1.02 var(--font-display); letter-spacing: -0.04em; color: var(--film-ink); text-shadow: 0 2px 28px oklch(0 0 0 / .5), 0 1px 3px oklch(0 0 0 / .45); } /* white over film: cobalt was unreadable */
.hl-mask { display: block; overflow: hidden; padding-top: .04em; }
.hl-line { display: block; }
.headline__cap { margin-top: 18px; max-width: 46ch; color: var(--film-ink); }
.hero__pause {
  position: absolute; right: var(--pad); bottom: 22px; z-index: 4;
  min-height: 44px; padding: 0 14px; border: 1px solid var(--film-ink); color: var(--film-ink);
  background: oklch(0.155 0.004 100 / .4);
}
.hero__pause:hover { background: var(--film-2); }
.hero__pause:focus-visible { outline-color: var(--film-ink); }
html:not(.hero-3d) .hero__screen .xh--bl, html:not(.hero-3d) .hero__screen .xh--br { display: none; }

/* lite orbit = shop strip */
.hero__orbit { background: var(--film); color: var(--film-ink); padding: 48px var(--pad) 64px; display: grid; gap: 28px; }
.orbit__centre { display: grid; gap: 12px; align-content: start; justify-items: start; }
.orbit__centre .label { color: var(--film-ink-2); }
.orbit__video { width: 100%; max-width: 420px; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.85); background: var(--film-2); }
.orbit__title { font: 500 clamp(40px, 10vw, 72px)/1 var(--font-display); letter-spacing: -0.035em; }
.hero__orbit { grid-template-columns: 1fr; }
.hero__orbit .orbit__card { text-decoration: none; display: grid; gap: 10px; }
.hero-lite .hero__orbit, html:not(.hero-3d) .hero__orbit {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hero-lite .orbit__centre, html:not(.hero-3d) .orbit__centre { grid-column: 1 / -1; }
.orbit__card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.orbit__kind { font: 500 clamp(18px, 1.6vw, 24px)/1.1 var(--font-display); letter-spacing: -0.025em; color: var(--film-ink); }
.orbit__card:hover .orbit__kind { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.orbit__card:focus-visible { outline-color: var(--film-ink); }

/* =====================================================================
   HERO — 3D tier. Sticky stage; js/hero.js writes every opacity/transform.
   Initial values here equal the p=0 state so first paint matches.
   ===================================================================== */
.hero-3d .hero { height: 600vh; }
.hero-3d .hero__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-3d .hero__stack { display: none; }
.hero-3d .hero__film { display: block; position: absolute; inset: 0; background: var(--film); opacity: 0; z-index: 0; }
.hero-3d .hero__canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }

.hero-3d .hero__title { position: absolute; inset: 0; z-index: 3; pointer-events: none; display: block; padding: 0; }
.hero-3d .hero__h1 { position: absolute; left: var(--pad); top: calc(var(--header-h) + 6vh); font-size: clamp(52px, 6.8vw, 132px); }
.hero-3d .hero__roles { position: absolute; left: var(--pad); top: calc(var(--header-h) + 6vh + clamp(52px, 6.8vw, 132px) * 2.1); }
.hero-3d .hero__mid { position: absolute; left: var(--pad); width: min(520px, 40vw); top: 56%; }
.hero-3d .hero__lists { position: absolute; left: var(--pad); bottom: 32px; width: min(520px, 40vw); }
@media (max-aspect-ratio: 5/4) { .hero-3d .hero__mid { display: none; } } /* decorative labels; spinner needs the room */

.hero-3d .hero__screen { position: absolute; inset: 0; z-index: 2; aspect-ratio: auto; min-height: 0; background: transparent; }
.hero-3d .hero__video { opacity: 0; }
.hero-3d .hero__dim { opacity: 0; }
.hero-3d .xh { opacity: 0; }
.hero-3d .hero__pause { opacity: 0; visibility: hidden; bottom: 32px; }
.hero-3d .hero__screen .xh--tl, .hero-3d .hero__screen .xh--tr { top: calc(var(--header-h) + 12px); }

.hero-3d .hero__credits { display: block; position: absolute; inset: 0; z-index: 2; opacity: 0; visibility: hidden; color: var(--film-ink); }
.credits__main { position: absolute; left: var(--pad); bottom: 11vh; display: grid; gap: 14px; }
.credits__title { font: 500 clamp(48px, 5.4vw, 100px)/1.0 var(--font-display); letter-spacing: -0.04em; }
.credits__table { display: grid; gap: 4px; border-top: 1px solid oklch(0.94 0.008 95 / .5); padding-top: 10px; }
.credits__table div { display: grid; grid-template-columns: 96px auto; gap: 12px; }
.credits__table dt { color: var(--film-ink-2); }
.credits__blurbs { position: absolute; right: var(--pad); top: calc(var(--header-h) + 8vh); display: grid; gap: 28px; text-align: right; }
.credits__blurbs li { display: grid; gap: 4px; justify-items: end; }
.credits__blurbs .label { color: var(--film-ink); opacity: .82; }
.blurb { font: 500 clamp(22px, 1.9vw, 34px)/1.05 var(--font-display); letter-spacing: -0.03em; }

.hero-3d .hero__headline { position: absolute; inset: 0; padding: 0; z-index: 2; visibility: hidden; }
.hero-3d .headline { position: absolute; left: var(--pad); right: var(--pad); top: calc(var(--header-h) + 7vh); text-align: center; font-size: clamp(44px, 5.8vw, 112px); }
.hero-3d .hl-line { transform: translateY(110%); }
.hero-3d .strip { display: block; position: absolute; left: 0; right: 0; top: 58%; height: calc(17vw * 9 / 16); opacity: 0; }
.strip__track { position: absolute; left: 50%; top: 0; height: 100%; display: flex; gap: 20px; will-change: transform; }
.strip__track img { width: 17vw; height: 100%; object-fit: cover; flex: none; }
.strip__marks { position: absolute; left: 50%; top: -10px; width: calc(17vw + 20px); height: calc(100% + 20px); transform: translateX(-50%); pointer-events: none;
  background:
    linear-gradient(var(--film-ink), var(--film-ink)) left top / 20px 1px no-repeat,
    linear-gradient(var(--film-ink), var(--film-ink)) left top / 1px 20px no-repeat,
    linear-gradient(var(--film-ink), var(--film-ink)) right top / 20px 1px no-repeat,
    linear-gradient(var(--film-ink), var(--film-ink)) right top / 1px 20px no-repeat,
    linear-gradient(var(--film-ink), var(--film-ink)) left bottom / 20px 1px no-repeat,
    linear-gradient(var(--film-ink), var(--film-ink)) left bottom / 1px 20px no-repeat,
    linear-gradient(var(--film-ink), var(--film-ink)) right bottom / 20px 1px no-repeat,
    linear-gradient(var(--film-ink), var(--film-ink)) right bottom / 1px 20px no-repeat; }
.hero-3d .headline__cap { position: absolute; left: 50%; bottom: 8vh; transform: translateX(-50%); width: min(640px, 80vw); margin: 0; text-align: center; opacity: 0; font-size: 14px; }

.hero-3d .hero__orbit { position: absolute; inset: 0; z-index: 4; display: block; padding: 0; background: transparent; visibility: hidden; }
.hero-3d .orbit__centre {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(250px, 19vw, 360px); padding: 14px 14px 18px; background: var(--film-2); gap: 10px; opacity: 0;
}
.hero-3d .orbit__video { max-width: none; }
.hero-3d .orbit__title { font-size: clamp(32px, 2.8vw, 52px); }
.hero-3d .orbit__card, .hero-3d .orbit__deco {
  position: absolute; left: 50%; top: 50%; display: block; opacity: 0; will-change: transform, opacity;
}
.hero-3d .orbit__card { width: clamp(140px, 11.5vw, 220px); background: var(--film-2); padding: 8px 8px 12px; }
.hero-3d .orbit__card img { margin-bottom: 10px; }
.hero-3d .orbit__kind { font-size: clamp(14px, 1.1vw, 20px); }
.hero-3d .orbit__deco { width: clamp(110px, 8.6vw, 170px); }
.hero-3d .orbit__deco img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- responsive ---------- */
@media (min-width: 768px) {
  .hero-lite .hero__screen, html:not(.hero-3d) .hero__screen { aspect-ratio: 16 / 9; min-height: 0; max-height: 100svh; width: 100%; }
}
@media (max-width: 1100px) {
  .site-nav a { padding-inline: 6px; font-size: 13px; }
  .exp__row { grid-template-columns: 1fr 2fr; }
  .exp__date { grid-column: 1 / -1; }
  .logos { grid-template-columns: repeat(6, 1fr); }
  .logos li.logos__label { grid-column: auto; aspect-ratio: 1; }
  .kinds { grid-template-columns: repeat(2, 1fr); }
  .contact__links { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .site-header { grid-template-columns: auto 1fr; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; height: calc(100svh - var(--header-h));
    flex-direction: column; justify-content: flex-start; gap: 0; padding: 24px var(--pad);
    background: var(--paper); color: var(--ink); display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { font: 500 clamp(32px, 8.6vw, 48px)/1.15 var(--font-display); letter-spacing: -0.035em; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .header-tools { justify-self: end; }
  .menu-btn { display: inline-flex; align-items: center; }
}
@media (max-width: 767px) {
  :root { --header-h: 60px; }
  .mode-toggle__opt { padding: 0 9px; }
  .sec-head { grid-template-columns: 48px 1fr; }
  .sec-head__end { display: none; }
  .about__portrait, .about__body { grid-column: 1 / -1; }
  .about__portrait { max-width: 260px; }
  .exp__row { grid-template-columns: 1fr; gap: 6px; }
  .exp__row:hover { padding-inline: 0; }
  .tabs { gap: 20px; }
  .shop__intro .display, .shop__intro .body, .shop__intro .btn { grid-column: 1 / -1; justify-self: start; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .kinds { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .kind__name { font-size: 19px; }
  .contact__links { grid-template-columns: 1fr; gap: 0; }
  .contact__links li { grid-template-columns: 96px 1fr; align-items: baseline; padding: 14px 0; }
  .footer { flex-direction: column; }
  .hero__lists { grid-template-columns: 1fr 1fr; }
  .hero-lite .hero__orbit, html:not(.hero-3d) .hero__orbit {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64vw;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 40px; overscroll-behavior-x: contain;
  }
  .hero-lite .orbit__centre, html:not(.hero-3d) .orbit__centre { grid-column: auto; grid-row: 1; width: 78vw; }
  .orbit__centre, .orbit__card { scroll-snap-align: start; }
  .reel__cover { padding: 18px; }
  .reel__play { min-height: 52px; font-size: 20px; padding: 0 18px 0 16px; }
  .reel__cover .label { display: none; }
  .xh--tl { left: 14px; top: 14px; } .xh--tr { right: 14px; top: 14px; }
  .xh--bl { left: 14px; bottom: 14px; } .xh--br { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* About: two tabs, "About me" and "Trusted by" (the Brands section merged in). */
.tabs { display: flex; flex-wrap: wrap; align-items: baseline; gap: clamp(24px, 3.5vw, 64px); margin-bottom: clamp(28px, 3.5vw, 56px); }
.tabs__tab { font-size: clamp(40px, 5.5vw, 96px); line-height: 1; color: var(--ink); opacity: .28; background: none; border: 0; padding: 0; cursor: pointer; transition: opacity .25s; }
.tabs__tab:hover, .tabs__tab:focus-visible { opacity: .6; }
.tabs__tab[aria-selected="true"] { opacity: 1; cursor: default; }
.tabs__panel[hidden] { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* waxyweb-style type mix: bold tight grotesk with light condensed serif accent words */
.display, .exp__role, .orbit__title, .contact__mail, .kind__name { font-weight: 700; letter-spacing: -0.045em; }
.serif { font-family: var(--font-serif); font-style: normal; font-weight: 400; letter-spacing: -0.02em; }
.hero__h1 .serif { font-size: 1.08em; }
@media (max-width: 900px) { .hdr-cta { display: none; } }
@media (max-width: 767px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .hdr-circle { display: none; }
  /* hero: the brand list repeats "Trusted by", and the two label rows push the reel below the fold, so keep one compact line of disciplines */
  .hero__mid, .hero__lists ul[aria-label="Selected brands"] { display: none; }
  .hero__lists { display: block; }
  .hero__lists ul { display: flex; flex-wrap: wrap; gap: 4px 0; }
  .hero__lists li:not(:last-child)::after { content: "·"; margin: 0 8px; color: var(--ink-2); }
  /* shop strip: keep the first panel off the screen edge and show that the row scrolls */
  .hero-lite .hero__orbit, html:not(.hero-3d) .hero__orbit { padding-inline: var(--pad); scroll-padding-inline: var(--pad); }
  .orbit__title { font-size: clamp(40px, 12vw, 56px); }
}
/* Artwork guard: no iOS long-press save sheet, no image drag or selection. */
img, video, canvas, picture { -webkit-touch-callout: none; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
