/* ============================================================
   LU XIN — motorsport photographer
   Theme: night asphalt / kerb orange / timing-sheet data
   ============================================================ */

:root {
  --asphalt:   #0B1216;   /* deep petrol-charcoal, dusk asphalt   */
  --asphalt-2: #101B22;   /* raised panels                        */
  --smoke:     #E9E4DA;   /* warm white, overexposed cloud        */
  --steel:     #7C93A4;   /* steel blue — secondary text          */
  --kerb:      #FF4A1A;   /* racing orange — the only loud voice  */
  --purple:    #B57BFF;   /* fastest sector                       */
  --line:      rgba(233, 228, 218, .14);

  --font-body: "Saira", "Noto Sans JP", "Noto Sans SC", system-ui, sans-serif;
  --font-disp: "Saira Extra Condensed", "Noto Sans JP", "Noto Sans SC", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --pad-x: clamp(1.25rem, 5vw, 4rem);
  --measure: 34em;
}
html[lang="zh-CN"] {
  --font-body: "Saira", "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
  --font-disp: "Saira Extra Condensed", "Noto Sans SC", "PingFang SC", sans-serif;
}
html[lang="ja"] {
  --font-body: "Saira", "Noto Sans JP", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  --font-disp: "Saira Extra Condensed", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--asphalt);
  color: var(--smoke);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--kerb); outline-offset: 3px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.mono {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- display type: race-number condensed, slight speed lean ---------- */
.display {
  font-family: var(--font-disp);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .015em;
  transform: skewX(-6deg);
}
html[lang="ja"] .display,
html[lang="zh-CN"] .display {
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.08;
  transform: skewX(-4deg);
}
.outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--smoke);
}

/* ---------- lap progress bar ---------- */
.lapbar { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; background: rgba(233,228,218,.07); }
.lapbar-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--kerb), #FF7A1A);
  transition: width .08s linear;
}
.lapbar-ticks span {
  position: absolute; top: 0; width: 2px; height: 9px;
  background: var(--steel); opacity: .55;
}
.lapbar-ticks span.hit { background: var(--purple); opacity: 1; }

/* ---------- header ---------- */
.site-head {
  position: fixed; inset: 3px 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: .9rem var(--pad-x);
  transition: background .35s, backdrop-filter .35s;
}
.site-head.scrolled {
  background: color-mix(in srgb, var(--asphalt) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark { width: 34px; height: 25px; color: var(--smoke); }
.brand-text {
  font-family: var(--font-disp); font-weight: 700; font-size: 1.15rem;
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.brand-text em { font-style: normal; color: var(--steel); margin-left: .35em; }
.site-nav { display: flex; gap: 1.8rem; margin-left: auto; }
.site-nav a {
  font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--steel); transition: color .2s;
}
.site-nav a:hover { color: var(--smoke); }
.site-nav .nav-cta { color: var(--kerb); }
.site-nav .nav-cta:hover { color: #FF7A4A; }
.lang { display: flex; border: 1px solid var(--line); }
.lang button {
  appearance: none; border: 0; background: transparent; color: var(--steel);
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .05em;
  padding: .38rem .65rem; cursor: pointer; transition: color .2s, background .2s;
}
.lang button + button { border-left: 1px solid var(--line); }
.lang button[aria-pressed="true"] { background: var(--kerb); color: #16090410; color: #160904; }
.lang button:not([aria-pressed="true"]):hover { color: var(--smoke); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 40%;
  animation: exposure 1.6s cubic-bezier(.23, 1, .32, 1) both;
}
@keyframes exposure {
  0%   { transform: scale(1.07); filter: brightness(2.4) blur(14px) saturate(.6); }
  55%  { filter: brightness(1.15) blur(2px) saturate(.95); }
  100% { transform: scale(1); filter: brightness(1) blur(0) saturate(1); }
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(11deg, rgba(11,18,22,.92) 8%, rgba(11,18,22,.45) 38%, transparent 62%),
    linear-gradient(180deg, rgba(11,18,22,.45), transparent 26%);
}
/* autofocus brackets, blink and settle like AF confirm */
.af-frame { position: absolute; inset: 0; pointer-events: none; animation: af-blink 2.2s steps(1) .5s both; }
.af-frame i {
  position: absolute; width: 34px; height: 34px;
  border: 2px solid var(--kerb); opacity: .9;
}
.af-frame i:nth-child(1) { top: 24%; left: 30%; border-width: 2px 0 0 2px; }
.af-frame i:nth-child(2) { top: 24%; right: 30%; border-width: 2px 2px 0 0; }
.af-frame i:nth-child(3) { bottom: 34%; left: 30%; border-width: 0 0 2px 2px; }
.af-frame i:nth-child(4) { bottom: 34%; right: 30%; border-width: 0 2px 2px 0; }
@keyframes af-blink {
  0%, 18%  { opacity: 0; }
  19%, 40% { opacity: 1; }
  41%, 52% { opacity: 0; }
  53%, 86% { opacity: 1; }
  100%     { opacity: 0; }
}
.hero-copy {
  position: relative; z-index: 2;
  padding: 0 var(--pad-x) clamp(4.5rem, 10vh, 7rem);
  max-width: 60rem;
}
.eyebrow { color: var(--kerb); display: flex; align-items: center; gap: .9rem; }
.hero-copy .eyebrow { margin-bottom: 1.4rem; }
.hero-title {
  font-size: clamp(4.2rem, 14vw, 12.5rem);
  margin-left: -.04em;
}
html[lang="ja"] .hero-title, html[lang="zh-CN"] .hero-title { font-size: clamp(3rem, 10vw, 8.5rem); }
.hero-sub {
  max-width: var(--measure); margin-top: 1.6rem;
  color: color-mix(in srgb, var(--smoke) 82%, var(--steel));
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  text-wrap: pretty;
}
.hero-copy .exif { margin-top: 1.5rem; color: var(--steel); }
.scroll-cue {
  position: absolute; right: var(--pad-x); bottom: clamp(2rem, 6vh, 3.5rem);
  z-index: 2; display: flex; align-items: center; gap: .8rem;
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--steel);
  transition: color .25s;
}
.scroll-cue:hover { color: var(--kerb); }
.scroll-cue i { width: 1px; height: 44px; background: currentColor; animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

/* ---------- kerb ticker ---------- */
.ticker {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 1.05rem 0;
}
.ticker::before, .ticker::after {
  content: ""; position: absolute; left: 0; right: 0; height: 7px;
  background: repeating-linear-gradient(-45deg, var(--kerb) 0 18px, var(--smoke) 18px 36px);
  opacity: .92;
}
.ticker::before { top: 0; }
.ticker::after { bottom: 0; }
.ticker-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.ticker-run { white-space: nowrap; color: var(--steel); font-size: .78rem; padding-top: .35rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(5rem, 12vh, 9rem) var(--pad-x); max-width: 82rem; margin: 0 auto; }
.section-head { margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.sector {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.1em; padding: .18em .4em .12em;
  border: 1px solid currentColor; font-weight: 500;
}
.sector.flag {
  min-width: 2.6em; min-height: 1.55em; border: 0;
  background:
    repeating-conic-gradient(var(--smoke) 0 25%, var(--asphalt) 0 50%);
  background-size: 10px 10px;
}
.section-head .display { font-size: clamp(2.8rem, 7vw, 5.5rem); }
html[lang="ja"] .section-head .display, html[lang="zh-CN"] .section-head .display { font-size: clamp(2.1rem, 5.5vw, 4rem); }
.section-intro { margin-top: 1.2rem; max-width: var(--measure); color: var(--steel); }

/* ---------- S1 work ---------- */
.shot { margin: 0 0 clamp(2.2rem, 5vh, 3.5rem); }
.shot img { width: 100%; }
.shot figcaption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding-top: .8rem; margin-top: .1rem;
  border-top: 1px solid var(--line);
  font-size: .95rem; color: var(--smoke);
}
.shot .exif { color: var(--steel); text-align: right; flex-shrink: 0; }
.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); }
.more { color: var(--steel); }
.more a { color: var(--kerb); }
.more a:hover { text-decoration: underline; text-underline-offset: .3em; }

/* ---------- S2 coverage ---------- */
.delivery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
}
.delivery-card {
  min-height: 9rem;
  background: color-mix(in srgb, var(--asphalt) 86%, var(--asphalt-2));
  padding: 1.15rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}
.delivery-k { color: var(--kerb); font-size: .62rem; }
.delivery-card p { color: color-mix(in srgb, var(--smoke) 76%, var(--steel)); font-size: .92rem; line-height: 1.45; }
.series { margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.series-label { color: var(--steel); margin-bottom: 1rem; }
.series-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1rem; }
.series-cards li {
  position: relative; background: var(--asphalt-2);
  border: 1px solid var(--line); padding: 1.1rem 1.2rem 1rem;
  display: flex; flex-direction: column; gap: .5rem;
  overflow: hidden;
}
.series-cards li::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 26px; height: 26px;
  background: linear-gradient(135deg, var(--kerb) 50%, transparent 50%);
}
.s-tag { color: var(--kerb); padding-left: 1.4rem; }
.series-cards li span:last-child { font-size: .92rem; line-height: 1.45; }

.proof-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 1rem;
  margin-bottom: clamp(2.4rem, 6vh, 4.5rem);
}
.proof-card {
  position: relative;
  min-height: 16rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 74, 26, .13), transparent 32%),
    var(--asphalt-2);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.proof-card::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(233, 228, 218, .08);
  pointer-events: none;
}
.proof-k { color: var(--kerb); margin-bottom: auto; }
.proof-card h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-disp);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .03em;
  transform: skewX(-5deg);
}
html[lang="ja"] .proof-card h3,
html[lang="zh-CN"] .proof-card h3 { font-family: var(--font-body); font-size: clamp(1.7rem, 4vw, 3.4rem); line-height: 1.15; transform: none; }
.proof-card p { position: relative; z-index: 1; max-width: 35em; color: color-mix(in srgb, var(--smoke) 82%, var(--steel)); }
.proof-meta { position: relative; z-index: 1; color: var(--steel); margin-top: 1.2rem; }
.proof-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  margin-top: 1.4rem;
  color: var(--kerb);
}
.proof-link:hover { text-decoration: underline; text-underline-offset: .3em; }
.proof-film {
  background:
    linear-gradient(180deg, transparent, rgba(11, 18, 22, .58)),
    repeating-linear-gradient(90deg, rgba(233, 228, 218, .06) 0 1px, transparent 1px 18px),
    var(--asphalt-2);
}
.client-set { margin-top: clamp(2.4rem, 6vh, 4.5rem); }
.client-wall {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 1rem;
}
.client-card {
  position: relative;
  min-height: 9.2rem;
  background: var(--asphalt);
  border: 1px solid var(--line);
  padding: 1.25rem 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .9rem;
  overflow: hidden;
  transition: background .25s, transform .25s;
}
.client-card::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 2.2rem;
  height: 2.2rem;
  background: linear-gradient(225deg, var(--kerb) 50%, transparent 50%);
  opacity: .9;
}
.client-card:hover { background: var(--asphalt-2); transform: translateY(-2px); }
.client-meta { color: var(--kerb); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; padding-right: 2rem; overflow-wrap: anywhere; }
.client-name { font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.05; }
.client-context { color: var(--steel); font-size: .92rem; line-height: 1.4; }
.history-note { margin-top: 2.2rem; max-width: 44em; color: var(--steel); font-size: .92rem; }

/* ---------- S3 about ---------- */
.about-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.bio p { max-width: var(--measure); color: color-mix(in srgb, var(--smoke) 88%, var(--steel)); }
.bio p + p { margin-top: 1.3rem; }
.stats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stats li { background: var(--asphalt); padding: 1.4rem 1.3rem 1.2rem; display: flex; flex-direction: column; gap: .6rem; }
.stat-n { font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--kerb); }
.stats li:nth-child(4) .stat-n { color: var(--purple); }
.stat-l { color: var(--steel); font-size: .62rem; }

/* ---------- finish / contact ---------- */
.finish { text-align: center; padding-bottom: clamp(4rem, 10vh, 7rem); }
.finish .section-head { margin-bottom: 2.5rem; }
.finish .eyebrow { justify-content: center; }
.boxbox { font-size: clamp(4rem, 13vw, 11rem); }
.boxbox span { display: block; }
html[lang="ja"] .boxbox, html[lang="zh-CN"] .boxbox { font-size: clamp(4rem, 13vw, 11rem); }
.finish-sub { max-width: 36em; margin: 2rem auto 0; color: var(--steel); text-wrap: pretty; }
.mail {
  display: inline-block; margin-top: 2.8rem;
  font-size: clamp(1.9rem, 5.5vw, 3.6rem); font-weight: 700;
  color: var(--kerb);
  border-bottom: 3px solid transparent;
  transition: border-color .25s, color .25s;
}
.mail:hover { border-color: var(--kerb); }
.finish-meta {
  margin-top: 3rem; color: var(--steel);
  display: flex; flex-direction: column; gap: .7rem; align-items: center;
}
.finish-meta a:hover { color: var(--kerb); }

/* ---------- footer ---------- */
.site-foot {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.6rem var(--pad-x) 2rem;
  border-top: 1px solid var(--line);
  color: var(--steel);
}

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.23,1,.32,1), transform .8s cubic-bezier(.23,1,.32,1); }
.rv.in { opacity: 1; transform: none; }
.client-wall .client-card { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.23,1,.32,1), background .25s; }
.client-wall.in .client-card { opacity: 1; transform: none; }
.client-wall.in .client-card:nth-child(1) { transition-delay: .04s; }
.client-wall.in .client-card:nth-child(2) { transition-delay: .08s; }
.client-wall.in .client-card:nth-child(3) { transition-delay: .12s; }
.client-wall.in .client-card:nth-child(4) { transition-delay: .16s; }
.client-wall.in .client-card:nth-child(5) { transition-delay: .20s; }
.client-wall.in .client-card:nth-child(6) { transition-delay: .24s; }
.boxbox .rv:nth-child(2) { transition-delay: .1s; }
.boxbox .rv:nth-child(3) { transition-delay: .2s; }

/* ---------- kinetic hero entrance: type streaks in like a car entering frame ---------- */
.hero-title .k1, .hero-title .k2 {
  display: inline-block;
  animation: streak-in 1s cubic-bezier(.16, 1, .3, 1) both;
}
.hero-title .k1 { animation-delay: .45s; }
.hero-title .k2 { animation-delay: .65s; }
@keyframes streak-in {
  from { transform: translateX(-.55em); filter: blur(14px); opacity: 0; }
  60%  { filter: blur(2px); opacity: 1; }
  to   { transform: translateX(0); filter: blur(0); opacity: 1; }
}
.hero-copy .eyebrow, .hero-sub, .hero-copy .exif { animation: fade-up .9s cubic-bezier(.23,1,.32,1) both; }
.hero-copy .eyebrow { animation-delay: .3s; }
.hero-sub { animation-delay: .95s; }
.hero-copy .exif { animation-delay: 1.15s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- viewfinder frames (full-bleed shots with EVF HUD) ---------- */
.frame {
  position: relative;
  width: 100vw; margin-left: calc(50% - 50vw);
  height: max(86svh, 34rem);
  margin-bottom: clamp(2.2rem, 5vh, 3.5rem);
  overflow: hidden;
}
.frame-img { position: absolute; inset: 0; overflow: hidden; }
.frame-img img {
  width: 100%; height: 116%; object-fit: cover;
  will-change: transform;
}
.hud { position: absolute; inset: clamp(.9rem, 2.5vw, 2rem); pointer-events: none; }
.hud .c { position: absolute; width: 26px; height: 26px; border: 2px solid rgba(233,228,218,.7); }
.hud .tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.hud .tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.hud .bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.hud .br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.hud-grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, transparent calc(33.33% - 1px), rgba(233,228,218,.09) calc(33.33% - 1px) 33.33%, transparent 33.33% calc(66.66% - 1px), rgba(233,228,218,.09) calc(66.66% - 1px) 66.66%, transparent 66.66%),
    linear-gradient(to bottom, transparent calc(33.33% - 1px), rgba(233,228,218,.09) calc(33.33% - 1px) 33.33%, transparent 33.33% calc(66.66% - 1px), rgba(233,228,218,.09) calc(66.66% - 1px) 66.66%, transparent 66.66%);
}
.hud-af {
  position: absolute; left: 50%; top: 50%; width: 58px; height: 58px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 74, 26, .85);
}
.hud-af::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px;
  transform: translate(-50%, -50%); background: rgba(255, 74, 26, .9);
}
.hud-top { position: absolute; top: .35rem; left: 2.4rem; color: rgba(233,228,218,.85); display: flex; align-items: center; gap: .6rem; }
.hud-top .rec { width: 8px; height: 8px; border-radius: 50%; background: var(--kerb); animation: rec-blink 1.6s steps(1) infinite; }
@keyframes rec-blink { 0%, 70% { opacity: 1; } 71%, 100% { opacity: .15; } }
.frame figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding: 3.5rem clamp(2rem, 4.5vw, 3.6rem) clamp(1.1rem, 2.5vw, 1.8rem);
  background: linear-gradient(180deg, transparent, rgba(11,18,22,.82));
}
.frame figcaption .cap { font-size: 1.05rem; font-weight: 500; }
.frame .exif { color: rgba(233,228,218,.75); }

/* ---------- ghost sector numerals ---------- */
.section-head { position: relative; }
.section-head::after {
  content: attr(data-ghost);
  position: absolute; right: 0; top: -.42em;
  z-index: -1;
  font-family: var(--font-disp); font-weight: 800;
  font-size: clamp(9rem, 24vw, 22rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(233, 228, 218, .11);
  transform: skewX(-6deg);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.section-head:not([data-ghost])::after { content: none; }

/* ---------- venue marquee ---------- */
.venues {
  overflow: hidden; padding: clamp(1rem, 3vh, 2.5rem) 0;
  border-top: 1px solid var(--line);
}
.venues-track { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.venues-track .display {
  font-size: clamp(4rem, 10vw, 8.5rem);
  white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(233, 228, 218, .28);
}
.venues:hover .venues-track { animation-play-state: paused; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .site-nav { display: none; }
  .lang { margin-left: auto; }
  .about-grid { grid-template-columns: 1fr; }
  .delivery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-grid { grid-template-columns: 1fr; }
  .series-cards { grid-template-columns: 1fr; }
  .frame { height: max(70svh, 26rem); }
  .hud-af { display: none; }
}
@media (max-width: 640px) {
  .shot-pair { grid-template-columns: 1fr; }
  .shot figcaption { flex-direction: column; gap: .25rem; align-items: flex-start; }
  .frame figcaption { flex-direction: column; gap: .3rem; align-items: flex-start; padding-bottom: 1rem; }
  .delivery { gap: .8rem; background: transparent; border: 0; }
  .delivery-card { border: 1px solid var(--line); min-height: 8.6rem; padding: 1rem; }
  .delivery-k { font-size: .55rem; letter-spacing: .08em; }
  .delivery-card p { font-size: .84rem; }
  .proof-card { min-height: 14rem; padding: 1.2rem; }
  .client-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .client-card { min-height: 10.6rem; padding: 1rem; }
  .client-meta { font-size: .55rem; letter-spacing: .08em; padding-right: 1.4rem; }
  .client-name { font-size: 1.1rem; }
  .shot .exif { text-align: left; }
  .brand-text em { display: none; }
  .af-frame i:nth-child(odd) { left: 12%; }
  .af-frame i:nth-child(even) { right: 12%; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img { animation: none; }
  .af-frame { display: none; }
  .ticker-track, .venues-track { animation: none; }
  .scroll-cue i { animation: none; }
  .hero-title .k1, .hero-title .k2,
  .hero-copy .eyebrow, .hero-sub, .hero-copy .exif { animation: none; }
  .hud-top .rec { animation: none; }
  .frame-img img { height: 100%; transform: none !important; }
  .rv, .client-wall .client-card { opacity: 1; transform: none; transition: none; }
  .pan { filter: none !important; }
}

/* ---------- viewfinder lightbox ---------- */
.frame img, .shot img { cursor: zoom-in; }
.lb-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1.75rem, 5vw, 4rem);
  background: rgba(11, 18, 22, .96);
}
.lightbox[hidden] { display: none; }
.lightbox-close {
  position: absolute; top: clamp(1rem, 3vw, 1.7rem); right: clamp(1rem, 3vw, 1.7rem);
  z-index: 2;
  width: 2.6rem; height: 2.6rem;
  display: flex; align-items: center; justify-content: center;
  appearance: none; background: transparent; border: 1px solid var(--line);
  color: var(--smoke); font-size: 1.4rem; line-height: 1; cursor: pointer;
  transition: color .2s, border-color .2s;
}
.lightbox-close:hover { color: var(--kerb); border-color: var(--kerb); }
.lightbox-stage {
  display: flex; flex-direction: column; align-items: center;
  max-width: 92vw;
}
.lightbox-frame { position: relative; display: block; line-height: 0; }
.lightbox-img {
  display: block; width: auto; height: auto;
  max-width: 92vw; max-height: 78vh;
}
.lightbox-frame .c {
  position: absolute; width: 26px; height: 26px;
  border: 2px solid rgba(233, 228, 218, .7);
}
.lightbox-frame .tl { top: -14px; left: -14px; border-width: 2px 0 0 2px; }
.lightbox-frame .tr { top: -14px; right: -14px; border-width: 2px 2px 0 0; }
.lightbox-frame .bl { bottom: -14px; left: -14px; border-width: 0 0 2px 2px; }
.lightbox-frame .br { bottom: -14px; right: -14px; border-width: 0 2px 2px 0; }
.lightbox-cap {
  align-self: stretch;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  margin-top: 1.5rem;
  padding: .8rem clamp(.5rem, 1.5vw, 1.1rem) .7rem;
  background: linear-gradient(180deg, transparent, rgba(16, 27, 34, .9));
  border-top: 1px solid var(--line);
}
.lightbox-title { font-size: 1.05rem; font-weight: 500; color: var(--smoke); }
.lightbox-exif { color: rgba(233, 228, 218, .75); text-align: right; flex-shrink: 0; }
@keyframes lb-in {
  from { opacity: 0; transform: scale(.97); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox:not([hidden]) { animation: lb-fade 200ms ease both; }
.lightbox:not([hidden]) .lightbox-stage { animation: lb-in 260ms cubic-bezier(.23, 1, .32, 1) both; }
@media (max-width: 640px) {
  .lightbox-cap { flex-direction: column; gap: .25rem; align-items: flex-start; }
  .lightbox-exif { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox:not([hidden]),
  .lightbox:not([hidden]) .lightbox-stage { animation: none; }
}
