:root {
  --bg: #110e0b;
  --scene: #110e0b;
  --surface: #1c1814;
  --surface-2: #26201a;
  --line: rgba(255, 240, 220, .09);
  --line-2: rgba(255, 240, 220, .17);
  --text: #f5ede0;
  --muted: #aca191;
  --dim: #756a5d;
  --accent: #ffb238;
  --accent-2: #c3b4ff;
  --on-accent: #1a1207;
  --brand: var(--accent);
  --radius: 18px;
  --wrap: min(1320px, calc(100vw - 2 * var(--gutter)));
  --gutter: clamp(16px, 4vw, 56px);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--scene);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  transition: background-color .9s var(--ease);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--on-accent); }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* fine dot grid instead of film grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 240, 220, .07) 1px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
main, footer { position: relative; z-index: 1; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 14px var(--gutter);
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(17, 14, 11, .66); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.logo-mark { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 17px; font-weight: 400; color: var(--on-accent); line-height: 1; letter-spacing: -.02em; transition: transform .6s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-12deg); }
.nav-links { display: flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,240,220,.03); }
.nav-links a { padding: 7px 15px; border-radius: 99px; font-size: 14px; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,240,220,.07); }
.nav-links a.active { box-shadow: inset 0 -2px 0 var(--accent); }
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 99px;
  font-size: 14px; font-weight: 600; background: var(--text); color: #17130f; transition: transform .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-2px); background: #fff8ee; }
.btn svg { width: 16px; height: 16px; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn.ghost:hover { background: rgba(255,240,220,.06); }
.btn.accent { background: var(--accent); color: var(--on-accent); }
.btn.accent:hover { background: #ffc363; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 120px 0 60px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -220px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 178, 56, .17), transparent 70%); filter: blur(10px); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; width: 700px; height: 700px; left: -300px; bottom: -340px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(195, 180, 255, .10), transparent 70%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 13px; color: var(--muted); background: rgba(255,240,220,.03); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #7fe0a0; box-shadow: 0 0 0 0 rgba(127, 224, 160, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(127,224,160,0); } 100% { box-shadow: 0 0 0 0 rgba(127,224,160,0); } }
.hero h1 {
  font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6.1vw, 94px); line-height: .96; letter-spacing: -.04em;
  margin: 26px 0 26px;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .1s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .2s; }
.hero h1 em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; padding-right: .04em; color: var(--accent);
}
@keyframes rise { to { transform: none; } }
.hero-sub { max-width: 540px; font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); opacity: 0; animation: fade 1s .5s forwards; }
.hero-sub b { color: var(--text); font-weight: 500; }
@keyframes fade { to { opacity: 1; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; opacity: 0; animation: fade 1s .7s forwards; }
.stats { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: clamp(20px, 3.4vw, 48px); margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); opacity: 0; animation: fade 1s .9s forwards; }
.stat b { display: block; font-family: var(--display); font-size: clamp(28px, 3vw, 42px); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.stat > span { font-size: 13px; color: var(--dim); }

.stack { position: relative; height: min(640px, 72vh); perspective: 1400px; }
.stack .card {
  position: absolute; width: 46%; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.75), 0 0 0 1px rgba(255,240,220,.08);
  left: var(--x); top: var(--y); transform: rotate(var(--r));
  transition: transform 1s var(--ease), box-shadow .4s;
  opacity: 0; animation: cardIn 1.2s var(--ease) forwards; animation-delay: var(--d);
  cursor: pointer;
}
.stack .card img { width: 100%; height: 100%; object-fit: cover; }
.stack .card figcaption { position: absolute; left: 12px; bottom: 10px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 99px; background: rgba(17,14,11,.6); backdrop-filter: blur(6px); opacity: 0; transform: translateY(6px); transition: .3s; }
.stack .card:hover figcaption { opacity: 1; transform: none; }
.stack .card:hover { box-shadow: 0 50px 90px -20px rgba(0,0,0,.85), 0 0 0 2px var(--accent); z-index: 9 !important; transform: rotate(0deg) scale(1.04); }
@keyframes cardIn { from { opacity: 0; transform: translateY(80px) rotate(0deg) scale(.9); } to { opacity: 1; } }
.badge-spin { position: absolute; left: 3%; top: -3%; width: 128px; height: 128px; z-index: 20; animation: spin 18s linear infinite, fade 1s 1.2s both; pointer-events: none; }
.badge-spin text { font-family: var(--sans); font-size: 9.4px; font-weight: 600; letter-spacing: 2.1px; fill: var(--text); }
.badge-spin .star { fill: var(--accent); transform-origin: 60px 60px; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; font-size: 12px; color: var(--dim); display: flex; flex-direction: column; align-items: center; gap: 8px; letter-spacing: .14em; text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 38px; background: linear-gradient(var(--dim), transparent); animation: cue 2s infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 1; border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: rgba(255,240,220,.015); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--display); font-size: clamp(22px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.02em; padding: 0 22px; white-space: nowrap; color: var(--muted); display: inline-flex; align-items: center; gap: 44px; }
.marquee span:nth-child(even) { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--text); }
.marquee span::after { content: "✦"; font-size: .5em; color: var(--accent); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */
section { position: relative; }
section[id], .case { scroll-margin-top: 70px; }
.sec-head { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 24px; padding: clamp(80px, 11vw, 150px) 0 clamp(36px, 5vw, 64px); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: "✦"; font-size: 11px; letter-spacing: 0; }
.sec-head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5.6vw, 84px); letter-spacing: -.04em; line-height: .95; margin-top: 14px; }
.sec-head h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.sec-head p { max-width: 360px; color: var(--muted); font-size: 15px; grid-column: 3; }
.sec-head .big-num { font-family: var(--display); font-size: clamp(60px, 9vw, 140px); font-weight: 800; line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px var(--line-2); }

/* ---------- Featured cases ---------- */
.case { padding: clamp(56px, 7vw, 100px) 0 clamp(40px, 5vw, 70px); border-top: 1px solid var(--line); }
.case-head { display: grid; grid-template-columns: 110px 1.1fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: start; }
.case-index { font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--brand); padding-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.case-index span { color: var(--dim); }
.case-index i { display: block; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 40px -6px var(--brand); }
.case-kicker { font-size: 13px; color: var(--muted); letter-spacing: .04em; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.case-kicker i { width: 4px; height: 4px; border-radius: 50%; background: var(--dim); }
.case h3 { font-family: var(--display); font-size: clamp(36px, 5vw, 76px); font-weight: 750; letter-spacing: -.045em; line-height: .95; margin-top: 12px; }
.case h3 em { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--brand); letter-spacing: -.02em; }
.case-body { padding-top: 10px; }
.case-body > p { color: #ddd3c5; font-size: 16.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; list-style: none; }
.tags li { font-size: 13px; font-weight: 500; padding: 6px 13px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--brand) 55%, transparent); color: color-mix(in srgb, var(--brand) 70%, white); background: color-mix(in srgb, var(--brand) 10%, transparent); }
.facts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.facts dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.facts dd { font-size: 14.5px; font-weight: 500; margin-top: 3px; }
.palette { display: flex; gap: 6px; margin-top: 6px; }
.palette i { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset; }

.rail-wrap { position: relative; margin-top: clamp(30px, 4vw, 52px); }
.rail {
  --h: clamp(340px, 64vh, 620px);
  display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none; cursor: grab;
}
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.dragging .work { pointer-events: none; }
.rail::-webkit-scrollbar { display: none; }
.rail::after { content: ""; flex: 0 0 calc(var(--gutter) - 14px); }
.work { position: relative; flex: 0 0 auto; height: var(--h); border-radius: 14px; overflow: hidden; scroll-snap-align: start; background: var(--surface); }
.work img, .work video { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.work:hover img { transform: scale(1.035); }
.work::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,240,220,.08); pointer-events: none; }
/* print pieces: true proportions, printer's crop marks outside each corner and a label */
.rail { --print-w: min(1100px, 86vw); }
.rail.has-print { align-items: center; padding-top: 16px; padding-bottom: 20px; }
.work.print { overflow: visible; border-radius: 3px; margin: 0 10px; background: transparent; }
.work.print img { border-radius: 3px; object-fit: contain; box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); }
.work.print:hover img { transform: none; }
.work.print::after { border-radius: 3px; }
.work.print::before {
  content: ""; position: absolute; inset: -14px; pointer-events: none; --m: rgba(255, 240, 220, .55);
  background:
    linear-gradient(var(--m), var(--m)) left 0 top 14px / 10px 1px,
    linear-gradient(var(--m), var(--m)) left 14px top 0 / 1px 10px,
    linear-gradient(var(--m), var(--m)) right 0 top 14px / 10px 1px,
    linear-gradient(var(--m), var(--m)) right 14px top 0 / 1px 10px,
    linear-gradient(var(--m), var(--m)) left 0 bottom 14px / 10px 1px,
    linear-gradient(var(--m), var(--m)) left 14px bottom 0 / 1px 10px,
    linear-gradient(var(--m), var(--m)) right 0 bottom 14px / 10px 1px,
    linear-gradient(var(--m), var(--m)) right 14px bottom 0 / 1px 10px;
  background-repeat: no-repeat;
}
.print-tag { position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; padding: 5px 10px 5px 8px; border-radius: 99px; background: rgba(17,14,11,.72); backdrop-filter: blur(8px); color: var(--text); border: 1px solid rgba(255,240,220,.16); }
.print-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.rail-ctrl { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.progress { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--brand); transition: width .15s; }
.arrows { display: flex; gap: 8px; }
.arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .2s, border-color .2s, color .2s, opacity .2s; }
.arrow:hover { background: var(--brand); border-color: var(--brand); color: var(--on-accent); }
.arrow:disabled { opacity: .3; pointer-events: none; }
.arrow svg { width: 18px; height: 18px; }
.rail-count { font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; min-width: 80px; }

/* ---------- Hareketli içerik ---------- */
.videos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; align-items: end; }
.phone { position: relative; border-radius: 28px; padding: 7px; background: linear-gradient(160deg, #2f2821, #15110d); box-shadow: 0 30px 60px -25px rgba(0,0,0,.8), 0 0 0 1px rgba(255,240,220,.09); cursor: pointer; transition: transform .6s var(--ease), box-shadow .4s; }
.phone:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -25px rgba(0,0,0,.8), 0 0 0 1px var(--accent); }
.phone:nth-child(even) { margin-bottom: 44px; }
.phone .screen { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 9 / 16; background: #000; }
.phone.r34 .screen { aspect-ratio: 3 / 4; }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.phone .play { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; transition: transform .3s; }
.phone:hover .play { transform: scale(1.12); }
.phone .play svg { width: 15px; height: 15px; margin-left: 2px; }
.phone .meta { padding: 12px 6px 4px; }
.phone .meta b { display: block; font-family: var(--display); font-size: 15px; font-weight: 650; }
.phone .meta span { font-size: 12.5px; color: var(--dim); }

/* ---------- Other brands ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter { padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); transition: .2s; }
.filter sup { font-size: 11px; color: var(--dim); margin-left: 3px; }
.filter:hover { color: var(--text); }
.filter.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.filter.on sup { color: #5a4220; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; grid-auto-flow: dense; }
.tile { position: relative; border-radius: 16px; overflow: hidden; background: var(--surface); aspect-ratio: 4 / 5; cursor: pointer; isolation: isolate; transition: opacity .35s, transform .5s var(--ease); }
.tile.hide { display: none; }
.tile.wide { grid-column: span 2; aspect-ratio: 8 / 5; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s, transform 1s var(--ease); }
.tile img.alt { opacity: 0; }
.tile:hover img.alt { opacity: 1; }
.tile:hover img { transform: scale(1.05); }
.tile::before { content: ""; position: absolute; inset: 35% 0 0 0; background: linear-gradient(transparent, rgba(12,9,6,.6) 45%, rgba(12,9,6,.93)); z-index: 1; pointer-events: none; }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,240,220,.08); z-index: 3; pointer-events: none; transition: box-shadow .3s; }
.tile:hover::after { box-shadow: inset 0 0 0 2px var(--accent); }
.tile .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.tile .info b { display: block; font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.tile .info span { font-size: 13px; color: #d6ccbe; }
.tile .count { flex: none; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 99px; background: rgba(255,240,220,.14); backdrop-filter: blur(8px); }
.tile .badge { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 99px; background: rgba(17,14,11,.55); backdrop-filter: blur(8px); border: 1px solid rgba(255,240,220,.12); }

.tile.name-only { cursor: default; display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 0%, rgba(255,178,56,.10), transparent 60%), var(--surface); }
.tile.name-only:hover::after { box-shadow: inset 0 0 0 1px rgba(255,240,220,.08); }
.tile.name-only .mark { position: relative; z-index: 2; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 3vw, 44px); line-height: 1.05; text-align: center; padding: 0 18px 30px; }

/* ---------- Footer ---------- */
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding: 26px 0 34px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; margin-top: clamp(80px, 10vw, 140px); }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: auto 1fr auto; background: rgba(12, 9, 6, .97); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lb.open { opacity: 1; visibility: visible; }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px var(--gutter); }
.lb-title b { font-family: var(--display); font-size: 18px; font-weight: 700; }
.lb-title span { display: block; font-size: 13px; color: var(--muted); }
.lb-count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; margin-left: auto; }
.lb-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; }
.lb-close:hover { background: rgba(255,240,220,.1); }
.lb-close svg { width: 18px; height: 18px; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(8px, 7vw, 100px); touch-action: pan-y; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: calc(100svh - 170px); object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: lbIn .45s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,240,220,.08); border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .2s, color .2s; }
.lb-nav:hover { background: var(--accent); color: var(--on-accent); }
.lb-nav svg { width: 20px; height: 20px; }
.lb-prev { left: clamp(8px, 2vw, 30px); } .lb-next { right: clamp(8px, 2vw, 30px); }
.lb-bottom { display: flex; justify-content: center; gap: 6px; padding: 16px var(--gutter) 22px; overflow-x: auto; scrollbar-width: none; }
.lb-thumb { flex: none; width: 48px; height: 48px; border-radius: 8px; overflow: hidden; opacity: .4; transition: opacity .2s, outline-color .2s; outline: 2px solid transparent; outline-offset: 2px; }
.lb-thumb.on { opacity: 1; outline-color: var(--accent); }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 13px; font-weight: 600; transform: scale(0) rotate(-20deg); transition: transform .4s var(--ease); }
.cursor.on { transform: scale(1) rotate(0deg); }
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stack { height: 420px; max-width: 560px; }
  .case-head { grid-template-columns: 1fr; gap: 14px; }
  .case-index { padding-top: 0; flex-direction: row; align-items: center; }
  .case-index i { width: 14px; height: 14px; }
  .videos { grid-template-columns: repeat(3, 1fr); }
  .phone:nth-child(even) { margin-bottom: 0; }
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav .btn span { display: none; }
  .nav .btn { padding: 11px; }
  .hero { padding-top: 100px; }
  .stats { grid-template-columns: repeat(2, auto); gap: 22px 38px; margin-top: 40px; }
  .stack { height: 340px; }
  .badge-spin { width: 92px; height: 92px; left: auto; right: 0; top: -6%; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head p { grid-column: auto; }
  .sec-head .big-num { display: none; }
  .rail { --h: min(56vh, 400px); gap: 10px; }
  .rail::after { flex-basis: calc(var(--gutter) - 10px); }
  .rail-ctrl .arrows { display: none; }
  .rail { --print-w: 150vw; }
  .print-tag { font-size: 10px; padding: 3px 8px 3px 6px; left: 6px; top: 6px; gap: 5px; }
  .print-tag::before { width: 5px; height: 5px; }
  .videos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile.wide { grid-column: span 2; }
  .tile .info { padding: 12px; }
  .tile .info b { font-size: 15.5px; }
  .tile .info span { font-size: 12px; }
  .tile .count { display: none; }
  .lb-nav { display: none; }
  .lb-stage { padding: 0 10px; }
}
@media (max-height: 960px) { .scroll-cue { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
