/* Oakley concept v2: machine-vision files, glyph decoding, detection HUD */
:root {
  --bg: #060606;
  --ink: #ecece8;
  --dim: rgba(236, 236, 232, .56);
  --line: rgba(255, 255, 255, .17);
  --acc: #ff5a1f;
  --disp: 'Sixtyfour', 'Kode Mono', monospace;
  --dot: 'Doto', 'Kode Mono', monospace;
  --mono: 'Kode Mono', ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: clip; background: var(--bg); color: var(--ink); }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--mono); font-size: 13px; line-height: 1.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .032) 1px, transparent 1px);
  background-size: 64px 64px;
  background-attachment: fixed;
}
img, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.mono { font-family: var(--mono); }
.disp { font-family: var(--disp); font-weight: 400; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; }
.cap { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
::selection { background: #fff; color: #000; }

/* ---------- fixed fx ---------- */
.fx-grain, .fx-scan, .fx-frame { position: fixed; inset: 0; pointer-events: none; }
.fx-grain {
  z-index: 70; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0% { background-position: 0 0; } 25% { background-position: -40px 30px; } 50% { background-position: 30px -50px; } 75% { background-position: -60px -20px; } }
.fx-scan { z-index: 71; opacity: .3; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .3) 0 1px, transparent 1px 3px); }
.fx-frame { z-index: 55; }
.fx-frame i { position: absolute; width: 14px; height: 14px; border: 1px solid rgba(255, 255, 255, .5); }
.fx-frame i:nth-child(1) { left: 10px; top: 10px; border-right: 0; border-bottom: 0; }
.fx-frame i:nth-child(2) { right: 10px; top: 10px; border-left: 0; border-bottom: 0; }
.fx-frame i:nth-child(3) { left: 10px; bottom: 10px; border-right: 0; border-top: 0; }
.fx-frame i:nth-child(4) { right: 10px; bottom: 10px; border-left: 0; border-top: 0; }

.xh { position: fixed; inset: 0; z-index: 60; pointer-events: none; mix-blend-mode: difference; display: none; }
@media (hover: hover) and (pointer: fine) { .js .xh { display: block; } }
.xh__h, .xh__v { position: absolute; left: 0; top: 0; background: rgba(255, 255, 255, .5); }
.xh__h { width: 100%; height: 1px; }
.xh__v { width: 1px; height: 100%; }
.xh__t { position: absolute; left: 0; top: 0; font-size: 10px; letter-spacing: .1em; color: #fff; white-space: nowrap; }

/* ---------- nav + hud ---------- */
.nav {
  position: fixed; left: 0; right: 0; top: 0; z-index: 50; height: 56px;
  display: flex; align-items: center; gap: 28px; padding: 0 28px;
  background: rgba(6, 6, 6, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__logo img { height: 22px; width: auto; }
.nav__strip { flex: 1; height: 18px; min-width: 0; opacity: .85; }
.nav__l { display: flex; gap: 22px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.nav__l a { position: relative; color: var(--dim); transition: color .2s; }
.nav__l a:hover { color: #fff; text-shadow: -2px 0 rgba(255, 255, 255, .5), 2px 0 rgba(255, 255, 255, .25); }
.hud { position: fixed; bottom: 20px; z-index: 50; display: flex; align-items: center; gap: 14px; font-size: 10px; letter-spacing: .16em; color: #fff; mix-blend-mode: difference; }
.hud--l { left: 34px; }
.hud--r { right: 34px; }
.hud__bar { position: relative; width: 90px; height: 1px; background: rgba(255, 255, 255, .35); }
.hud__bar b { position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: #fff; }

/* ---------- glass + spec panels ---------- */
.glass {
  position: relative;
  background: rgba(255, 255, 255, .045);
  backdrop-filter: blur(14px) saturate(.8); -webkit-backdrop-filter: blur(14px) saturate(.8);
  border: 1px solid var(--line);
}
.glass::before, .glass::after { content: ''; position: absolute; width: 9px; height: 9px; border: 2px solid #fff; }
.glass::before { left: -2px; top: -2px; border-right: 0; border-bottom: 0; }
.glass::after { right: -2px; bottom: -2px; border-left: 0; border-top: 0; }
.spec { padding: 18px 20px 16px; }
.spec__h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.spec__h b { font-weight: 500; font-size: 11px; letter-spacing: .18em; }
.gs { width: 110px; height: 14px; color: #fff; }
.rows { display: block; }
.row { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .14); }
.row dt { font-size: 10px; letter-spacing: .16em; color: var(--dim); padding-top: 2px; }
.row dd { font-size: 12px; min-height: 2.9em; }
.scr { color: rgba(255, 255, 255, .78); }
.copy { margin-top: 12px; padding-left: 10px; border-left: 2px solid #fff; font-size: 11px; color: var(--dim); min-height: 3em; }
.read { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; font-size: 10px; letter-spacing: .12em; }
.read p { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid rgba(255, 255, 255, .1); padding-bottom: 3px; }
.read span { color: var(--dim); }
.read b { font-weight: 500; font-variant-numeric: tabular-nums; }
.mini { position: relative; margin-top: 14px; aspect-ratio: 1600 / 893; overflow: hidden; border: 1px solid var(--line); background: #000; }
.mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.mini i { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: #fff; box-shadow: 0 0 10px #fff; animation: minisweep 3.4s linear infinite; }
.mini span { position: absolute; left: 6px; bottom: 4px; font-size: 9px; letter-spacing: .16em; color: var(--dim); }
@keyframes minisweep { from { top: 0; } to { top: 100%; } }

/* ---------- pinned stages ---------- */
.pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.bigno {
  position: absolute; bottom: -1vw; left: 1vw; z-index: 0; pointer-events: none; white-space: nowrap;
  font-size: clamp(130px, 25vw, 400px); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .13);
}
.bigno--r { left: auto; right: 1vw; }

/* ---------- detection boxes ---------- */
.det { position: absolute; inset: 0; pointer-events: none; }
.box { position: absolute; border: 1px solid rgba(255, 255, 255, .95); }
.js .file .box, .js .tile .box, .js .fig--hero .box { visibility: hidden; }
.box::after {
  content: ''; position: absolute; inset: 0; opacity: .85;
  background:
    linear-gradient(#fff, #fff) center / 11px 1px no-repeat,
    linear-gradient(#fff, #fff) center / 1px 11px no-repeat;
}
.box.hot { background: rgba(255, 255, 255, .06); }
.box .c { position: absolute; width: 8px; height: 8px; border: 2px solid #fff; }
.box .tl { left: -3px; top: -3px; border-right: 0; border-bottom: 0; }
.box .tr { right: -3px; top: -3px; border-left: 0; border-bottom: 0; }
.box .bl { left: -3px; bottom: -3px; border-right: 0; border-top: 0; }
.box .br { right: -3px; bottom: -3px; border-left: 0; border-top: 0; }
.tg {
  position: absolute; left: -1px; bottom: calc(100% + 3px);
  display: flex; align-items: center; gap: 7px; white-space: nowrap;
  background: #fff; color: #000; padding: 0 6px; font: 500 10px/16px var(--mono); letter-spacing: .1em;
}
.tg u { text-decoration: none; opacity: .62; font-variant-numeric: tabular-nums; }
.tg canvas { display: none; width: 56px; height: 12px; color: #000; }
.box.below .tg { bottom: auto; top: calc(100% + 3px); }
.box.lost { border-style: dashed; border-color: rgba(255, 255, 255, .5); background: none; }
.box.lost::after { opacity: 0; }
.box.lost .tg { background: rgba(255, 255, 255, .72); }
.box.lost .tg b, .box.lost .tg u { display: none; }
.box.lost .tg canvas { display: block; }
.box.lock { animation: lock .35s steps(3) 1; }
@keyframes lock { 0% { outline: 6px solid rgba(255, 255, 255, .35); } 100% { outline: 0 solid transparent; } }
.dbg .box { visibility: visible !important; opacity: 1 !important; }

/* ---------- glitch helpers ---------- */
.slices { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sl { position: absolute; inset: 0; background-size: cover; background-position: center; display: none; }
.sl--d { mix-blend-mode: difference; }
.glx { position: relative; }
.glx::before, .glx::after { content: attr(data-t); position: absolute; left: 0; top: 0; width: 100%; opacity: 0; pointer-events: none; }
.glx.on::before { opacity: .9; transform: translateX(-.04em); clip-path: inset(18% 0 56% 0); color: #fff; mix-blend-mode: difference; }
.glx.on::after { opacity: .9; transform: translateX(.05em); clip-path: inset(62% 0 10% 0); color: var(--acc); }
.glx.on { text-shadow: .03em 0 rgba(255, 255, 255, .35); }

/* ---------- hero ---------- */
.hero { position: relative; height: 320vh; }
.wall { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__logo { position: absolute; left: 26%; top: 27%; width: min(40vw, 600px); transform: translate(-50%, -50%); opacity: 0; }
.hero__t { position: absolute; left: 4vw; right: auto; bottom: 11vh; text-align: left; z-index: 3; }
.hero__t h1 { font-size: clamp(18px, 3.3vw, 54px); margin-bottom: 14px; }
.fig--hero { left: auto; right: -4vw; top: 52%; height: min(112vh, calc(92vw / var(--ar))); }
.fig--hero > .ph, .fig--hero > canvas {
  -webkit-mask-image: radial-gradient(ellipse 52% 52% at 50% 50%, #000 52%, transparent 100%);
  mask-image: radial-gradient(ellipse 52% 52% at 50% 50%, #000 52%, transparent 100%);
}
.fig--hero .fig__cap { top: auto; bottom: -4px; left: 14%; }
.hero__meta { position: absolute; right: 4vw; bottom: 9vh; width: min(310px, 26vw); z-index: 3; }
.js .hero__meta { opacity: 0; }
.hero__cue { position: absolute; left: 50%; bottom: 7vh; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; }
.hero__cue i { width: 8px; height: 8px; background: var(--acc); animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- bands ---------- */
.band { position: relative; z-index: 3; height: 36px; border-block: 1px solid var(--line); background: rgba(6, 6, 6, .9); }
.band canvas, .strip { width: 100%; height: 100%; display: block; }

/* ---------- file dossiers ---------- */
.file { position: relative; height: 330vh; }
.fig {
  position: absolute; top: 50%; left: 6vw; transform: translateY(-50%); z-index: 1;
  aspect-ratio: var(--ar);
  height: min(80vh, calc(54vw / (var(--ar))));
  --s: 100; --wt: 50; --wr: 50; --wb: 50; --wl: 50; --bl: 0px;
}
.js .fig { --s: 0; }
.file--r .fig { left: auto; right: 6vw; }
.fig > .ph, .fig > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph { object-fit: cover; }
.fig .ph.base { clip-path: inset(0 0 calc(100% - var(--s) * 1%) 0); filter: blur(var(--bl)); }
.fig .ph.win { clip-path: inset(calc(var(--wt) * 1%) calc(var(--wr) * 1%) calc(var(--wb) * 1%) calc(var(--wl) * 1%)); }
.fig .mos { clip-path: inset(calc(var(--s) * 1%) 0 0 0); }
.fig .edge { opacity: 0; }
.scanbar {
  position: absolute; left: -2%; right: -2%; top: calc(var(--s) * 1%); height: 1px; z-index: 3;
  background: #fff; box-shadow: 0 0 22px 3px rgba(255, 255, 255, .55); opacity: 0;
}
.fig .det { z-index: 4; }
.fig__cap { position: absolute; left: 0; top: -22px; display: flex; gap: 14px; font-size: 10px; letter-spacing: .16em; color: var(--dim); }
.fig__cap b { color: #fff; font-weight: 500; }
.fig__lbl { position: absolute; right: 0; bottom: -22px; font-size: 10px; letter-spacing: .16em; color: var(--dim); }
.file .spec { position: absolute; top: 51%; right: 5vw; z-index: 2; width: min(33vw, 520px); transform: translateY(-50%); padding: 22px 26px 20px; }
.file--r .spec { right: auto; left: 5vw; }
.js .file .spec, .js .model__spec, .js .focal__spec { opacity: 0; }
/* bigger type in the file dossiers */
.file .spec__h b { font-size: 14px; }
.file .gs { width: 130px; height: 16px; }
.file .row { grid-template-columns: 92px 1fr; padding: 11px 0; }
.file .row dt { font-size: 12px; padding-top: 4px; }
.file .row dd { font-size: 16px; line-height: 1.35; min-height: 2.7em; }
.file .copy { font-size: 18px; line-height: 1.35; color: var(--ink); min-height: 2.7em; margin-top: 14px; padding-left: 14px; }
.file .meter { font-size: 12px; margin-top: 14px; }
.file .fig__cap, .file .fig__lbl { font-size: 12px; }
.file .fig__cap { top: -26px; }
.file .fig__lbl { bottom: -26px; }
.file .bigno { font-size: clamp(150px, 29vw, 460px); -webkit-text-stroke: 1px rgba(255, 255, 255, .2); }
/* tick ruler along the picture edge */
.file .fig::before {
  content: ''; position: absolute; left: -16px; top: 0; bottom: 0; width: 9px; z-index: 5; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .5) 0 1px, transparent 1px 10px);
  -webkit-mask-image: linear-gradient(#000 calc(var(--s) * 1%), transparent calc(var(--s) * 1%));
  mask-image: linear-gradient(#000 calc(var(--s) * 1%), transparent calc(var(--s) * 1%));
}
.file--r .fig::before { left: auto; right: -16px; }
/* big title for each file */
.ftitle { position: absolute; top: 84px; right: 5vw; width: min(33vw, 520px); z-index: 2; }
.file--r .ftitle { right: auto; left: 5vw; }
.js .ftitle p, .js .ftitle h4, .js .fdet { opacity: 0; }
.ftitle p { font-size: 12px; letter-spacing: .2em; color: var(--dim); margin-bottom: 8px; }
.ftitle h4 { font-size: clamp(22px, 2.7vw, 44px); line-height: 1.12; min-height: 2.24em; color: #fff; text-shadow: .03em 0 rgba(255, 255, 255, .25); overflow-wrap: anywhere; }
/* magnified detail crop under the spec */
.fdet { position: absolute; bottom: 5vh; right: 5vw; width: min(33vw, 520px); z-index: 2; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: end; }
.file--r .fdet { right: auto; left: 5vw; }
.fdet__img { position: relative; grid-row: 1 / 3; width: min(220px, 16vw, calc(110px * var(--car))); aspect-ratio: var(--car); background-repeat: no-repeat; border: 1px solid rgba(255, 255, 255, .85); filter: grayscale(.35) contrast(1.1); overflow: hidden; }
.fdet__img i { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: #fff; box-shadow: 0 0 10px #fff; animation: minisweep 2.6s linear infinite; }
.fdet__img u { position: absolute; left: 50%; top: 50%; background: #fff; }
.fdet__img .c1 { width: 13px; height: 1px; margin: 0 0 0 -6px; }
.fdet__img .c2 { width: 1px; height: 13px; margin: -6px 0 0; }
.fdet p { font-size: 11px; letter-spacing: .12em; }
.fdet__h { display: flex; justify-content: space-between; gap: 10px; align-self: end; color: var(--dim); border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.fdet__h span:last-child { color: #fff; }
.fdet__r { align-self: start; padding-top: 5px; min-height: 2.9em; color: #fff; font-variant-numeric: tabular-nums; }
@media (max-height: 740px) and (min-width: 761px) { .fdet { display: none; } }
.js .row { opacity: 0; }
.js .copy { opacity: 0; }
.lead { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; overflow: visible; }
.lead path { fill: none; stroke: rgba(255, 255, 255, .7); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; }
.meter { margin-top: 12px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: 10px; letter-spacing: .14em; }
.meter span { color: var(--dim); }
.meter i { position: relative; height: 1px; background: rgba(255, 255, 255, .3); }
.meter i b { position: absolute; left: 0; top: -2px; height: 5px; width: 0; background: #fff; }
.meter em { font-style: normal; color: var(--acc); }

/* ---------- model ---------- */
.model { position: relative; height: 380vh; }
.cloud { position: absolute; inset: 0; width: 100%; height: 100%; }
.cloud--tags { pointer-events: none; z-index: 1; }
.model__src { position: absolute; left: 4vw; top: 82px; width: min(210px, 19vw); padding: 8px 8px 6px; z-index: 2; }
.srcfig { position: relative; aspect-ratio: var(--ar, 1); }
.srcfig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); }
.srcfig .box { visibility: visible; }
.model__src .cap { margin-top: 6px; font-size: 9px; }
.model--g .model__src { left: auto; right: 4vw; width: min(260px, 22vw); }
.model--g .model__spec { right: auto; left: 4vw; }
.model--g .bigno { left: auto; right: 1vw; }
.model__spec { position: absolute; top: 50%; right: 5vw; width: min(31vw, 440px); transform: translateY(-50%); z-index: 2; }

/* ---------- focal ---------- */
.focal { position: relative; height: 400vh; --mw: min(56vw, calc((100vh - 360px) * 1.79)); }
.fx__main {
  position: absolute; left: 4vw; top: 13vh; width: var(--mw); aspect-ratio: var(--ar); overflow: hidden;
  --wt: 50; --wr: 50; --wb: 50; --wl: 50; --bl: 0px; border: 1px solid var(--line);
}
.fx__main .ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx__main .ph.base { filter: blur(var(--bl)) brightness(.75); }
.fx__main .ph.win { clip-path: inset(calc(var(--wt) * 1%) calc(var(--wr) * 1%) calc(var(--wb) * 1%) calc(var(--wl) * 1%)); }
.fx__rect { position: absolute; border: 1px solid #fff; background: rgba(255, 255, 255, .04); z-index: 3; }
.fx__rect .tg { left: -1px; bottom: calc(100% + 3px); }
.fx__r { position: absolute; border: 1px dashed rgba(255, 255, 255, .75); z-index: 2; opacity: 0; }
.fx__crops { position: absolute; right: 4vw; top: 13vh; z-index: 2; }
.crop {
  position: relative; width: min(24vw, calc((100vh - 200px) / 3 * 1.79)); aspect-ratio: 1600 / 893;
  margin-bottom: 12px; overflow: hidden; border: 1px solid var(--line); background: #000;
}
.crop i { position: absolute; inset: 0; background: url(media/i23.webp) no-repeat; }
.crop figcaption { position: absolute; left: 6px; top: 5px; display: flex; gap: 8px; align-items: center; font-size: 10px; letter-spacing: .14em; background: #fff; color: #000; padding: 0 6px; z-index: 2; }
.crop figcaption u { text-decoration: none; opacity: .6; }
.js .crop { opacity: 0; }
.crop--a i { background-size: 220% auto; background-position: 62.4% 33.7%; }
.crop--b i { background-size: 400% auto; background-position: 56.7% 34.9%; filter: blur(1.2px); }
.crop--c i { background-size: 650% auto; background-position: 56.5% 35%; filter: blur(5px); }
.focal__spec { position: absolute; left: 4vw; top: calc(13vh + var(--mw) * .5587 + 22px); width: var(--mw); z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr; gap: 6px 30px; align-items: start; }
.focal__spec .spec__h { grid-column: 1 / -1; }
.focal__spec .read { margin-top: 0; grid-template-columns: 1fr; align-self: start; }

/* ---------- index ---------- */
.index { position: relative; padding: 18vh 4vw 14vh; }
.index__h { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 6vh; gap: 20px; }
.index__h h2 { font-size: clamp(48px, 11vw, 190px); }
.index__g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.col { display: grid; gap: 18px; }
.col:nth-child(2) { margin-top: 7vw; }
.col:nth-child(3) { margin-top: 2vw; }
.col:nth-child(4) { margin-top: 10vw; }
.tile { position: relative; aspect-ratio: var(--ar); overflow: hidden; background: #0d0d0d; border: 1px solid var(--line); }
.tile > img, .tile > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile > img { object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.55); transition: filter .5s; }
.tile .mos { opacity: .85; transition: opacity .35s; }
.tile.live > img { filter: none; }
.tile.live .mos { opacity: 0; }
.tile.live .box { visibility: visible; }
.tile figcaption { position: absolute; left: 8px; bottom: 6px; z-index: 5; font-size: 9px; letter-spacing: .16em; color: #fff; background: rgba(0, 0, 0, .6); padding: 0 5px; }
.tile .det { z-index: 4; }

/* ---------- end ---------- */
.end { position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 16vh 4vw 12vh; }
.end { overflow: clip; }
.end__prod { position: absolute; left: 50%; top: 50%; width: min(130vw, 1600px); aspect-ratio: 1376/768; translate: -50% -50%; opacity: .34; pointer-events: none; z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 30%, transparent 72%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 30%, transparent 72%); }
.end__prod img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5) contrast(1.1); }
.end__prod .sl { background-size: 100% 100%; }
.end__c { position: relative; z-index: 1; display: grid; justify-items: center; gap: 18px; }
.end__logo { position: relative; width: min(72vw, 740px); }
.end__logo img { width: 100%; height: auto; }
.end__logo .sl { background-size: contain; background-repeat: no-repeat; }
.end__gs { width: min(80vw, 660px); height: 24px; margin: 12px 0; }
.end__top { border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.end__top:hover { color: #fff; }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .index__g { grid-template-columns: repeat(2, 1fr); }
  .col:nth-child(n) { margin-top: 0; }
  .col:nth-child(even) { margin-top: 9vw; }
}
@media (max-width: 760px) {
  body { font-size: 12px; }
  .nav { height: 48px; padding: 0 16px; gap: 14px; }
  .nav__strip { display: none; }
  .nav__l { margin-left: auto; gap: 12px; font-size: 10px; }
  .nav__l a:nth-child(n+3) { display: none; }
  .hud--l { left: 18px; bottom: 14px; }
  .hud--r { right: 18px; bottom: 14px; }
  .hud__bar { width: 40px; }
  .fx-frame i { width: 10px; height: 10px; }
  .hero__t { left: 16px; bottom: 13vh; }
  .hero__t h1 { font-size: 6.4vw; }
  .hero__logo { left: 50%; top: 21%; width: 84vw; }
  .fig { left: 50%; top: 70px; transform: translateX(-50%); height: min(42vh, calc(88vw / (var(--ar)))); }
  .fig--hero { left: 50%; right: auto; top: 46%; width: 118vw; height: auto; transform: translate(-50%, -50%); }
  .hero__meta { left: 12px; right: 12px; width: auto; bottom: 22vh; padding: 10px 14px 6px; }
  .hero__meta .row:nth-child(3) { display: none; }
  .file--r .fig { right: auto; left: 50%; }
  .file .fig { top: 104px; }
  .file .fig::before { display: none; }
  .file .spec, .file--r .spec { left: 12px; right: 12px; top: auto; bottom: 44px; width: auto; transform: none; padding: 12px 14px 8px; }
  .spec__h { padding-bottom: 8px; margin-bottom: 2px; }
  .row, .file .row { grid-template-columns: 70px 1fr; padding: 6px 0; }
  .row dd, .file .row dd { font-size: 13px; min-height: 0; }
  .file .row dt { font-size: 11px; }
  .copy, .mini, .lead, .fig__cap, .fig__lbl, .meter, .fdet, .file .copy, .file .fig__cap, .file .fig__lbl, .file .meter { display: none; }
  .ftitle, .file--r .ftitle { top: 58px; left: 16px; right: 16px; width: auto; }
  .ftitle p { display: none; }
  .ftitle h4 { font-size: 5.6vw; min-height: 0; white-space: nowrap; }
  .bigno, .file .bigno { font-size: 34vw; }
  .model__src { left: 12px; top: 60px; width: 96px; padding: 5px; }
  .model--g .model__src { left: auto; right: 12px; width: 120px; }
  .model--g .model__spec { left: 12px; right: 12px; }
  .model__spec { left: 12px; right: 12px; top: auto; bottom: 44px; width: auto; transform: none; padding: 12px 14px 8px; }
  .model__spec .row:nth-child(n+3) { display: none; }
  .fx__main { left: 12px; width: calc(100vw - 24px); top: 66px; }
  .fx__crops { left: 12px; right: 12px; top: calc(66px + (100vw - 24px) * .5587 + 12px); display: flex; gap: 8px; }
  .crop { width: calc((100vw - 40px) / 3); margin: 0; }
  .crop figcaption { font-size: 8px; padding: 0 3px; gap: 4px; }
  .crop figcaption u { display: none; }
  .focal__spec { left: 12px; right: 12px; width: auto; top: auto; bottom: 44px; display: block; padding: 12px 14px 8px; }
  .focal__spec .row:nth-child(n+3), .focal__spec .read { display: none; }
  .index__h { flex-direction: column; align-items: flex-start; }
  .index__g { gap: 10px; }
  .col { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-grain, .mini i, .hero__cue i { animation: none; }
}
