/* =========================================================
   AFTER HOURS — production site
   80s Manhattan corporate × neon after-midnight
   ========================================================= */

:root {
  --f-display: 'Anton', 'Noto Sans Georgian', Impact, sans-serif;
  --f-script: 'Mr Dafoe', 'Noto Sans Georgian', cursive;
  --f-mono: 'IBM Plex Mono', 'Noto Sans Georgian', ui-monospace, monospace;
  --f-sans: 'Jost', 'Noto Sans Georgian', system-ui, sans-serif;
  --f-serif: 'Bodoni Moda', 'Noto Sans Georgian', Georgia, serif;
  --f-credits: 'Oswald', 'Noto Sans Georgian', sans-serif;

  /* night (default) */
  --bg: #07070d;
  --bg-2: #0c0f2e;
  --ink: #f4ecd8;
  --muted: #a3a8c9;
  --line: rgba(244, 236, 216, .14);
  --neon: #ff4a32;
  --neon-hot: #ffb199;
  --glow: rgba(255, 64, 40, .65);
  --cyan: #46d3ff;
  --blue: #2335c9;
  --ultra: #1b2a8a;
  --brass: #d5a24c;
  --paper: #f4ecd8;
  --paper-ink: #1f1b14;
  --red-ink: #d8261c;

  --header-h: 92px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

body.is-day {
  --bg: #ece4cf;
  --bg-2: #dfd5bb;
  --ink: #1b1813;
  --muted: #5e5646;
  --line: rgba(27, 24, 19, .16);
  --neon: #d3261a;
  --neon-hot: #ff6a55;
  --glow: rgba(211, 38, 26, .0);
  --cyan: #1446a0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color .8s var(--ease), color .8s var(--ease);
  -webkit-font-smoothing: antialiased;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--neon); color: #fff; }
:focus-visible { outline: 2px dashed var(--cyan); outline-offset: 4px; }

.container { width: min(1200px, 92vw); margin-inline: auto; }

/* Georgian: condensed Noto for display */
html[lang="ka"] h1, html[lang="ka"] h2, html[lang="ka"] .hero-title span:not(.neon) {
  font-family: 'Noto Sans Georgian', sans-serif;
  font-weight: 800;
  font-stretch: 70%;
  letter-spacing: -.01em;
}
html[lang="ka"] .neon:not([data-brand]) { font-family: 'Noto Sans Georgian', sans-serif; font-weight: 600; font-stretch: 80%; }

/* ---------- film grain ---------- */
.grain {
  position: fixed; inset: -50%;
  z-index: 100; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .06;
  animation: grain 1s steps(6) infinite;
}
body.is-day .grain { opacity: .09; mix-blend-mode: multiply; filter: invert(1); }
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- neon ---------- */
.neon {
  font-family: var(--f-script);
  color: var(--neon-hot);
  text-shadow:
    0 0 2px #fff,
    0 0 6px var(--neon),
    0 0 14px var(--neon),
    0 0 32px var(--glow),
    0 0 64px var(--glow);
  animation: flicker 7s infinite;
}
body.is-day .neon { color: var(--neon); text-shadow: 2px 2px 0 rgba(0,0,0,.12); animation: none; }
@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: .55; text-shadow: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--f-sans); font-weight: 600;
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  padding: 16px 26px;
  border: 2px solid var(--ink);
  background: transparent; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn-neon { background: var(--neon); border-color: var(--neon); color: #fff; box-shadow: 4px 4px 0 var(--ink), 0 0 30px var(--glow); }
.btn-neon:hover { box-shadow: 6px 6px 0 var(--ink), 0 0 50px var(--glow); }
.btn-small { padding: 10px 16px; font-size: 11px; box-shadow: 3px 3px 0 var(--ink); }

/* ---------- header / ticker / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .4s, backdrop-filter .4s;
}
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }

.ticker {
  height: 28px; overflow: hidden;
  background: #000; color: #ffb000;
  border-bottom: 1px solid #222;
  font: 500 12px/28px var(--f-mono);
  letter-spacing: .08em;
}
body.is-day .ticker { background: #1b1813; }
.ticker-track { display: inline-flex; white-space: nowrap; animation: ticker 60s linear infinite; }
.ticker-track span { padding: 0 2.2em; }
.ticker-track span b { color: #fff; font-weight: 500; }
.ticker-track .up { color: #4dff7c; }
.ticker-track .down { color: #ff5a4a; }
@keyframes ticker { to { transform: translateX(-50%); } }

.nav { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.logo-script { font-family: var(--f-script); font-size: 34px; line-height: 1; color: var(--neon-hot);
  text-shadow: 0 0 4px var(--neon), 0 0 16px var(--glow); white-space: nowrap; }
body.is-day .logo-script { color: var(--neon); text-shadow: none; }
.logo-sub { font: 500 10px var(--f-sans); letter-spacing: .4em; text-transform: uppercase; color: var(--muted); }

.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font: 500 12px var(--f-sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--neon); box-shadow: 0 0 8px var(--glow); transition: right .3s var(--ease); }
.nav-links a:hover::after, .nav-links a.is-active::after { right: 0; }

.nav-tools { display: flex; align-items: center; gap: 12px; }
.tool-btn {
  height: 34px; padding: 0 10px; background: transparent;
  border: 1px solid var(--line); border-radius: 2px;
  font: 500 11px var(--f-mono); letter-spacing: .08em;
}
.tool-btn:hover { border-color: var(--ink); }
#soundBtn .snd-off { display: none; }
#soundBtn[aria-pressed="false"] .snd-on { display: none; }
#soundBtn[aria-pressed="false"] .snd-off { display: inline; opacity: .6; }
.lang-btn i { font-style: normal; opacity: .4; margin: 0 4px; }
.lang-btn [data-lang] { opacity: .45; }
html[lang="en"] .lang-btn [data-lang="en"], html[lang="ka"] .lang-btn [data-lang="ka"] { opacity: 1; color: var(--neon); }

/* light switch plate */
.switch {
  width: 30px; height: 42px; position: relative;
  background: linear-gradient(145deg, #f5ecd7, #cfc3a3);
  border: 1px solid #9c8f6e; border-radius: 3px;
  box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(0,0,0,.35);
  padding: 0;
}
.switch::before, .switch::after { content: ""; position: absolute; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #9c8f6e; }
.switch::before { top: 3px; } .switch::after { bottom: 3px; }
.switch-lever {
  position: absolute; left: 50%; top: 50%; width: 9px; height: 16px; margin: -8px 0 0 -4.5px;
  background: linear-gradient(#fffaf0, #d8cdb0); border: 1px solid #8b7f5f; border-radius: 2px;
  transform: translateY(5px) perspective(40px) rotateX(-30deg);
  transition: transform .15s;
}
.switch[aria-pressed="true"] .switch-lever { transform: translateY(-5px) perspective(40px) rotateX(30deg); }

.burger { display: none; width: 38px; height: 34px; background: none; border: 1px solid var(--line); position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink); transition: transform .3s; }
.burger span:first-child { top: 12px; } .burger span:last-child { top: 19px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- section scaffolding ---------- */
.section { padding: clamp(90px, 12vw, 170px) 0; position: relative; }
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 860px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 18px;
  font: 500 12px var(--f-sans); letter-spacing: .38em; text-transform: uppercase; color: var(--cyan);
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; }
h2 {
  margin: 0; font-family: var(--f-display); font-weight: 400;
  font-size: clamp(44px, 7vw, 100px); line-height: .95; text-transform: uppercase; letter-spacing: .005em;
}
.sec-sub { margin: 20px 0 0; color: var(--muted); font-size: 15px; max-width: 520px; }

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

/* =========================================================
   HERO
   ========================================================= */
.hero { --sky-h: clamp(130px, 22vh, 230px); position: relative; min-height: 100svh; padding-top: calc(var(--header-h) + 34px); overflow: hidden; isolation: isolate; }
.hero-sky {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 60% 50% at 72% 62%, rgba(90,120,255,.55), transparent 70%),
    linear-gradient(180deg, #030308 0%, #070b33 32%, #14208f 68%, #2c3fdc 100%);
  transition: opacity 1s;
}
.hero-sky::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, #e9e1cc 0%, #dfe6ea 45%, #a9c2dd 100%);
  opacity: 0; transition: opacity 1s;
}
body.is-day .hero-sky::after { opacity: 1; }

.hero-inner { position: relative; z-index: 2; }
.tagline-top {
  margin: 0 0 clamp(24px, 4vw, 48px);
  font: 500 clamp(13px, 1.5vw, 19px) var(--f-sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); text-align: center;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 64px); align-items: center; }

.presents {
  display: flex; align-items: center; gap: 14px; margin: 0 0 18px;
  font: 500 12px var(--f-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--ink); opacity: .8;
}
.presents::after { content: ""; flex: 1; max-width: 120px; height: 1px; background: currentColor; opacity: .5; }

.hero-title { margin: 0; line-height: .9; }
.hero-title span { display: block; }
.hero-title .l1, .hero-title .l2 {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(58px, 9vw, 138px); letter-spacing: -.005em;
}
.hero-title .l2 { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.hero-title .l3 {
  font-size: clamp(76px, 11.5vw, 176px); line-height: .9;
  transform: rotate(-5deg); transform-origin: left; margin: .02em 0 .15em .1em;
  font-weight: 400;
}
html[lang="ka"] .hero-title .l1, html[lang="ka"] .hero-title .l2 { font-size: clamp(48px, 7.4vw, 112px); }
html[lang="ka"] .hero-title .l3 { font-size: clamp(42px, 6.4vw, 96px); transform: rotate(-3deg); margin-top: .15em; }

.lede { max-width: 520px; margin: 0 0 32px; font-size: 15px; color: var(--ink); opacity: .85; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; }

.watch-wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.watch {
  width: min(500px, 100%); height: auto; cursor: grab; touch-action: none;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)) drop-shadow(0 0 60px rgba(70,110,255,.35));
  animation: swing 9s ease-in-out infinite; transform-origin: 50% 2%;
}
.watch.is-dragging { cursor: grabbing; animation-play-state: paused; }
@keyframes swing { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
.watch .hand { cursor: grab; }
.watch-brand { font: 600 9px var(--f-sans); letter-spacing: .35em; fill: #1b2a8a; }
.watch-sub { font: 500 6.5px var(--f-mono); letter-spacing: .2em; fill: #6a6f8f; }

.watch-readout {
  margin-top: 10px; display: flex; align-items: center; gap: 14px;
  padding: 8px 16px; background: #0a0a0a; border: 1px solid #333; border-radius: 3px;
  box-shadow: inset 0 0 12px #000, 0 6px 20px rgba(0,0,0,.4);
}
.readout-time { font: 700 22px var(--f-mono); color: #ff5243; text-shadow: 0 0 8px rgba(255,60,40,.8); letter-spacing: .08em; }
.readout-label { font: 500 11px var(--f-sans); letter-spacing: .24em; text-transform: uppercase; color: #ffb000; }
.watch-hint { margin: 12px 0 0; font-size: 12px; color: var(--ink); opacity: .65; text-align: center; }

/* skyline */
.skyline-wrap { position: absolute; left: 0; right: 0; bottom: 0; height: var(--sky-h); z-index: 1; }
.skyline { width: 100%; height: 100%; }
.skyline .bld { fill: #04050c; transition: fill 1s; }
body.is-day .skyline .bld { fill: #6f7b93; }
.skyline .win { fill: #1a1d33; cursor: pointer; transition: fill .25s; }
.skyline .win.on { fill: #ffd27a; filter: drop-shadow(0 0 3px rgba(255,200,100,.8)); }
body.is-day .skyline .win { fill: #b8c6d8; }
body.is-day .skyline .win.on { fill: #fff6d6; filter: none; }
.skyline .antenna { stroke: #04050c; stroke-width: 2; }
.skyline .beacon { fill: #ff2b2b; animation: beacon 1.6s infinite; }
@keyframes beacon { 50% { opacity: .1; } }
.skyline-hint {
  position: absolute; right: 4vw; bottom: 10px; margin: 0;
  font-size: 11px; color: #ffd27a; opacity: .7; letter-spacing: .05em;
}
body.is-day .skyline-hint { color: #1b1813; }

/* fluorescent flicker when switching */
body.flicker::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; background: #fff;
  animation: tube .7s steps(1) forwards;
}
@keyframes tube { 0% { opacity: .5; } 15% { opacity: 0; } 30% { opacity: .35; } 40% { opacity: 0; } 55% { opacity: .2; } 100% { opacity: 0; } }

/* =========================================================
   REEL / SUBWAY
   ========================================================= */
.reel { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); padding-bottom: clamp(80px, 9vw, 130px); }
.reel .sec-head { margin-bottom: 36px; }

.subway { --lc: #0039A6; --lt: #fff; position: relative; overflow: hidden; padding-top: 112px; isolation: isolate; }
.station-wall {
  position: absolute; inset: 0 0 60px 0; z-index: -2;
  background-color: #d9d3c1;
  background-image:
    linear-gradient(180deg, rgba(7,7,13,.55), rgba(7,7,13,.15) 30%, rgba(7,7,13,.75)),
    linear-gradient(#bfb7a2 1px, transparent 1px),
    linear-gradient(90deg, #bfb7a2 1px, transparent 1px);
  background-size: auto, 32px 16px, 32px 16px;
}
body.is-day .station-wall { background-image: linear-gradient(180deg, rgba(0,0,0,.08), transparent 30%, rgba(0,0,0,.25)), linear-gradient(#c9c1ac 1px, transparent 1px), linear-gradient(90deg, #c9c1ac 1px, transparent 1px); }
.mosaic {
  position: absolute; top: 26px; left: 50%; transform: translateX(-50%);
  padding: 10px 34px; background: #f2eee2;
  border: 12px solid transparent;
  border-image: repeating-linear-gradient(45deg, var(--lc) 0 6px, #2f5d3a 6px 12px, #c9a14a 12px 18px, #2f5d3a 18px 24px) 12;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  font: 600 clamp(18px, 2.4vw, 30px)/1 var(--f-sans); letter-spacing: .22em; color: #151515; text-transform: uppercase; white-space: nowrap;
  transition: border-image .4s;
}
html[lang="ka"] .mosaic { letter-spacing: .05em; }

.tunnel { position: absolute; left: 0; right: 0; top: 112px; bottom: 60px; z-index: -1; background: linear-gradient(#050507, #0b0b10 60%, #030304); overflow: hidden; }
.tunnel i { position: absolute; top: 30%; width: 120px; height: 3px; background: linear-gradient(90deg, transparent, #ffd27a, transparent); filter: blur(1px); animation: tunnel 1.1s linear infinite; }
.tunnel i:nth-child(2) { top: 55%; animation-delay: .3s; } .tunnel i:nth-child(3) { top: 20%; animation-delay: .6s; width: 60px; }
.tunnel i:nth-child(4) { top: 75%; animation-delay: .85s; background: linear-gradient(90deg, transparent, #ff4a32, transparent); }
@keyframes tunnel { from { left: 110%; } to { left: -20%; } }

.car { position: relative; left: 50%; width: 1800px; margin-left: -900px; filter: drop-shadow(0 30px 30px rgba(0,0,0,.55)); }
.car.departing { animation: depart .55s cubic-bezier(.5, 0, .9, .5) forwards; }
.car.arriving { animation: arrive 1s cubic-bezier(.12, .75, .25, 1) both; }
@keyframes depart { to { transform: translateX(-140vw); filter: blur(3px); } }
@keyframes arrive { from { transform: translateX(140vw); filter: blur(4px); } 60% { filter: blur(0); } to { transform: none; } }
.car-roof { height: 18px; margin: 0 6px; border-radius: 18px 18px 0 0; background: linear-gradient(#5b6069, #9aa0a8); }
.car-body {
  position: relative; display: flex; justify-content: center; gap: 30px; padding: 26px 0 44px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0) 18%, rgba(0,0,0,0) 70%, rgba(0,0,0,.25)),
    repeating-linear-gradient(90deg, #c3c8cf 0 9px, #8e949d 9px 11px, #e1e4e8 11px 18px);
  border-radius: 4px;
}
.car-body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 7px; background: var(--lc); transition: background .4s; }
.car-number { position: absolute; right: calc(50% - 560px); bottom: 32px; font: 700 13px var(--f-mono); color: #2b2f36; letter-spacing: .1em; }
.car-skirt { height: 26px; margin: 0 30px; background: repeating-linear-gradient(90deg, #111 0 40px, #1c1c1c 40px 46px); border-radius: 0 0 6px 6px; }

.win.small { align-self: flex-start; margin-top: 54px; width: 230px; height: 160px; border-radius: 16px; border: 7px solid #1b1d22; overflow: hidden; position: relative;
  background: linear-gradient(180deg, #fff3c4 0%, #e6d39a 45%, #8a7652 100%); box-shadow: inset 0 0 30px rgba(0,0,0,.35); }
body:not(.is-day) .win.small { background: linear-gradient(180deg, #ffeeb0 0%, #d8bf7a 45%, #5e4d30 100%); }
.win.small .straps { position: absolute; inset: 0 0 auto 0; height: 60%; background: repeating-linear-gradient(90deg, transparent 0 34px, rgba(30,24,14,.55) 34px 36px, transparent 36px 60px); -webkit-mask: linear-gradient(#000 70%, transparent); mask: linear-gradient(#000 70%, transparent); }
.door { width: 150px; align-self: stretch; margin-bottom: -44px; display: flex; gap: 4px; padding: 0 0 12px; position: relative;
  background: repeating-linear-gradient(90deg, #b9bec6 0 8px, #8e949d 8px 10px, #d4d8de 10px 16px); border-left: 3px solid #6c717a; border-right: 3px solid #6c717a; }
.door i { flex: 1; position: relative; border-right: 2px solid #5d626b; }
.door i:last-of-type { border-right: none; }
.door i::before { content: ""; position: absolute; left: 14px; right: 14px; top: 40px; height: 46%; border: 5px solid #1b1d22; border-radius: 10px; background: linear-gradient(180deg, #ffeeb0, #b39a62); }
.door-bullet { position: absolute; left: 50%; bottom: 60px; transform: translateX(-50%); width: 34px; height: 34px; font-size: 18px; }

.bullet { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--lc); color: var(--lt); font: 700 22px/1 'Helvetica Neue', Helvetica, Arial, sans-serif; transition: background .4s, color .4s; }

.window-main { width: min(46vw, 640px); display: flex; flex-direction: column; gap: 14px; }
.rollsign { align-self: center; display: flex; align-items: center; gap: 14px; padding: 8px 18px 8px 10px; background: #0a0a0a; border: 4px solid #1b1d22; border-radius: 6px; box-shadow: inset 0 0 12px #000; min-width: 320px; overflow: hidden; }
.rs-text { display: flex; flex-direction: column; line-height: 1.1; }
.rs-text b { font: 600 20px var(--f-sans); color: #fff; letter-spacing: .04em; }
.rs-text small { font: 500 10px var(--f-mono); color: #ffb000; letter-spacing: .2em; text-transform: uppercase; }
.rollsign.rolling .rs-text, .rollsign.rolling .bullet { animation: roll .5s steps(5) both; }
@keyframes roll { 0% { transform: translateY(-120%); opacity: .2; } 100% { transform: none; opacity: 1; } }

.screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; cursor: pointer;
  border-radius: 22px; border: 9px solid #1b1d22; background: #111;
  box-shadow: inset 0 0 0 2px #333, 0 0 0 2px #6c717a; }
.screen::after { content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; border-radius: 14px;
  background: linear-gradient(115deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.04) 28%, transparent 40%, transparent 70%, rgba(255,255,255,.08) 85%, transparent);
  box-shadow: inset 0 0 50px rgba(0,0,0,.6); }
.straps-main { position: absolute; top: 0; left: 6%; right: 6%; height: 26%; z-index: 5; display: flex; justify-content: space-between; pointer-events: none; }
.straps-main i { width: 2px; height: 60%; background: rgba(20,20,20,.7); position: relative; transform-origin: top; animation: strap 3.2s ease-in-out infinite; }
.straps-main i:nth-child(2n) { animation-delay: -1.1s; height: 52%; } .straps-main i:nth-child(3n) { animation-delay: -2s; }
.straps-main i::after { content: ""; position: absolute; left: 50%; top: 100%; width: 18px; height: 22px; margin-left: -9px; border: 3px solid rgba(20,20,20,.75); border-radius: 50%; }
@keyframes strap { 0%, 100% { transform: rotate(4deg); } 50% { transform: rotate(-4deg); } }
.car.arriving .straps-main i { animation: strapbrake 1s ease-out both; }
@keyframes strapbrake { 0% { transform: rotate(-4deg); } 55% { transform: rotate(18deg); } 80% { transform: rotate(-6deg); } 100% { transform: rotate(2deg); } }

.held { position: absolute; inset: 0; z-index: 7; display: grid; place-items: center; padding: 8%; background: rgba(5,5,10,.82); opacity: 0; visibility: hidden; transition: opacity .3s; text-align: center; }
.held p { margin: 0; font: 700 clamp(14px, 1.8vw, 22px)/1.35 var(--f-mono); color: #ffb000; text-transform: uppercase; letter-spacing: .06em; text-shadow: 0 0 8px rgba(255,176,0,.6); }
.subway.is-held .held { opacity: 1; visibility: visible; }
.subway.is-held .scene *, .subway.is-held .scene, .subway.is-held .straps-main i { animation-play-state: paused !important; }

.platform { position: relative; height: 60px; margin-top: 0; display: grid; place-items: center;
  background:
    radial-gradient(circle, #b38f00 2px, transparent 2.5px) 0 0 / 12px 12px,
    linear-gradient(#f7c600 0 26px, #2a2a2e 26px);
  border-top: 2px solid #8a6f00; }
.platform span { position: absolute; top: 4px; font: 700 11px var(--f-sans); letter-spacing: .3em; text-transform: uppercase; color: #1a1500; }
html[lang="ka"] .platform span { letter-spacing: .06em; }

/* scenes inside the window */
.scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .2s; }
.scene.is-on { opacity: 1; visibility: visible; }
.scene-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.scene.has-video .scene-video { display: block; }
.scene-title {
  position: absolute; left: 7%; bottom: 10%; z-index: 3;
  display: flex; flex-direction: column;
}
.scene-title b { font: 400 clamp(26px, 3.6vw, 46px)/1 var(--f-display); text-transform: uppercase; }
.scene-title small { font: 500 11px var(--f-sans); letter-spacing: .3em; text-transform: uppercase; margin-top: 6px; }
html[lang="ka"] .scene-title b { font-family: 'Noto Sans Georgian'; font-weight: 800; font-stretch: 70%; }

/* CH03 clinic */
.scene-clinic { background: linear-gradient(160deg, #f4fffd, #bfe9e3 60%, #8fd2c9); color: #0b4b4f; }
.scene-clinic::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(11,75,79,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(11,75,79,.08) 1px, transparent 1px); background-size: 24px 24px; }
.ecg { position: absolute; left: 0; right: 0; top: 18%; width: 100%; height: 40%; }
.ecg polyline { fill: none; stroke: #0aa39a; stroke-width: 2.5; stroke-dasharray: 900; stroke-dashoffset: 900; animation: ecg 2.6s linear infinite; filter: drop-shadow(0 0 4px rgba(10,163,154,.7)); }
@keyframes ecg { to { stroke-dashoffset: 0; } }

/* CH07 vibe */
.scene-vibe { background: radial-gradient(ellipse at 60% 40%, #d98a3a 0%, #7a3a12 45%, #1e0d05 100%); color: #ffe8c6; }
.bokeh { position: absolute; inset: -20%; background:
  radial-gradient(circle at 20% 30%, rgba(255,214,150,.55) 0 3%, transparent 6%),
  radial-gradient(circle at 70% 20%, rgba(255,190,110,.45) 0 4%, transparent 7%),
  radial-gradient(circle at 80% 70%, rgba(255,230,180,.35) 0 5%, transparent 8%),
  radial-gradient(circle at 35% 75%, rgba(255,170,90,.4) 0 3%, transparent 6%),
  radial-gradient(circle at 55% 50%, rgba(255,220,160,.3) 0 6%, transparent 10%);
  filter: blur(6px); animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(6%, -5%) scale(1.08); } }
.bonsai { position: absolute; right: 8%; bottom: 6%; width: 42%; transform-origin: 50% 95%; animation: sway 6s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(1.8deg); } }

/* CH11 documentary */
.scene-doc { background: linear-gradient(180deg, #c9b48d 0%, #8b7552 55%, #3b3021 100%); color: #fff6e3; filter: saturate(.75) contrast(1.05); }
.scene-doc::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 25%, rgba(255,240,200,.6), transparent 40%); animation: burn 5s infinite; }
@keyframes burn { 0%, 100% { opacity: .7; } 45% { opacity: 1; } 47% { opacity: .5; } 49% { opacity: .9; } }
.hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 45%; }
.rec { position: absolute; top: 7%; left: 7%; z-index: 3; font: 500 13px var(--f-mono); letter-spacing: .1em; display: flex; align-items: center; gap: 8px; }
.rec i { width: 10px; height: 10px; border-radius: 50%; background: #ff2b1c; animation: beacon 1s infinite; }


/* line map */
.line-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: 56px; }
.line-map { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.line-map::before { content: ""; position: absolute; left: 16%; right: 16%; top: 27px; height: 6px; background: var(--ink); opacity: .25; border-radius: 3px; }
.stop { width: 100%; background: none; border: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; position: relative; }
.stop .bullet { width: 60px; height: 60px; font-size: 30px; box-shadow: 0 0 0 6px var(--bg-2); transition: transform .3s cubic-bezier(.3,1.6,.5,1), box-shadow .3s; }
.stop:hover .bullet { transform: scale(1.08); }
.stop.is-on .bullet { transform: scale(1.18); box-shadow: 0 0 0 6px var(--bg-2), 0 0 0 9px var(--lc), 0 0 30px var(--lc); }
.stop-name { font: 600 13px var(--f-sans); letter-spacing: .18em; text-transform: uppercase; }
.stop small { font-size: 11px; color: var(--muted); }
html[lang="ka"] .stop-name { letter-spacing: .04em; }
.line-actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.cord { display: inline-flex; align-items: center; gap: 12px; background: none; border: 2px solid #d8261c; color: var(--ink); padding: 10px 16px 10px 10px;
  font: 600 11px var(--f-sans); letter-spacing: .18em; text-transform: uppercase; box-shadow: 3px 3px 0 #d8261c; }
html[lang="ka"] .cord { letter-spacing: .04em; }
.cord-handle { width: 16px; height: 26px; border-radius: 4px; background: linear-gradient(#ff4a32, #a8160e); position: relative; transition: transform .2s; }
.cord-handle::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 10px; margin-left: -1px; background: #d8261c; }
.cord[aria-pressed="true"] { background: #d8261c; color: #fff; }
.cord[aria-pressed="true"] .cord-handle { transform: translateY(5px); background: #fff; }
.cord.wiggle { animation: wiggle .4s; }
@keyframes wiggle { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.fare-note { margin: 0; font-size: 12px; color: var(--muted); }

.channel-info { border-left: 2px solid var(--neon); padding-left: clamp(20px, 3vw, 36px); }
.ch-label { margin: 0 0 14px; font: 500 12px var(--f-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--cyan); }
.channel-info h3 { margin: 0 0 16px; font: 400 clamp(32px, 3.6vw, 52px)/1 var(--f-display); text-transform: uppercase; }
html[lang="ka"] .channel-info h3 { font-family: 'Noto Sans Georgian'; font-weight: 800; font-stretch: 72%; line-height: 1.05; }
.channel-info p { color: var(--muted); }
.channel-info #ciBody { color: var(--ink); opacity: .85; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0; padding: 0; }
.tags li { font: 500 11px var(--f-mono); letter-spacing: .08em; padding: 6px 10px; border: 1px solid var(--line); text-transform: uppercase; }
.ci-client { font-style: italic; }
.ci-hint { font-size: 12px; opacity: .6; }
.channel-info.is-swapping > * { animation: swapin .5s var(--ease) both; }
@keyframes swapin { from { opacity: 0; transform: translateY(10px); } }

/* =========================================================
   SERVICES / MEMO
   ========================================================= */
.services {
  background:
    radial-gradient(ellipse 50% 60% at 40% 45%, rgba(255,200,120,.13), transparent 70%),
    var(--bg);
}
body.is-day .services { background: var(--bg-2); }
.memo-grid { display: grid; grid-template-columns: 1fr 260px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.memo {
  position: relative; background: var(--paper); color: var(--paper-ink);
  padding: clamp(28px, 5vw, 64px);
  box-shadow: 0 2px 0 #d8ccaf, 0 4px 0 #cbbd9b, 0 30px 60px rgba(0,0,0,.45);
  transform: rotate(-.6deg);
  background-image: linear-gradient(rgba(0,0,0,.025) 1px, transparent 1px);
  background-size: 100% 28px;
  cursor: crosshair;
}
.memo::before { content: ""; position: absolute; top: -14px; left: 42px; width: 54px; height: 30px; border: 3px solid #9aa0a8; border-bottom: none; border-radius: 12px 12px 0 0; transform: rotate(4deg); } /* paperclip-ish */
.memo-top { border-bottom: 3px double var(--paper-ink); padding-bottom: 14px; margin-bottom: 18px; }
.memo-co { margin: 0 0 4px; font: 600 11px var(--f-sans); letter-spacing: .4em; color: #1b2a8a; }
.memo h3 { margin: 0; font: 700 clamp(24px, 3vw, 36px)/1.1 var(--f-serif); text-transform: uppercase; letter-spacing: .06em; }
html[lang="ka"] .memo h3 { font-family: 'Noto Sans Georgian'; font-weight: 800; }
.memo-meta { display: grid; grid-template-columns: max-content 1fr; gap: 4px 18px; margin: 0 0 22px; font-size: 14px; }
.memo-meta dt { font-weight: 700; }
.memo-meta dd { margin: 0; border-bottom: 1px solid rgba(0,0,0,.15); }
.memo-intro { font-size: 14px; }
.memo-list { padding-left: 1.4em; font-size: 15px; }
.memo-list li { margin: 8px 0; }
.memo-list b { text-transform: uppercase; letter-spacing: .03em; }
.memo-sign { margin-top: 26px; font-size: 14px; }
.memo-sign p { margin: 0; }
.signature { font: 400 44px/1.2 var(--f-script); color: #1b2a8a; transform: rotate(-4deg); display: inline-block; margin: 2px 0 10px !important; }
.memo-ps { font-style: italic; opacity: .75; }

.stamp-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.stamp {
  position: absolute; transform: translate(-50%, -50%) rotate(var(--r));
  padding: 6px 14px; border: 4px solid var(--c); color: var(--c); border-radius: 6px;
  font: 400 clamp(22px, 3vw, 34px)/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em;
  mix-blend-mode: multiply; opacity: .82; filter: url(#rough);
  white-space: nowrap;
  animation: slam .28s cubic-bezier(.3, 1.6, .5, 1) both;
}
html[lang="ka"] .stamp { font-family: 'Noto Sans Georgian'; font-weight: 900; font-stretch: 70%; }
.stamp::after { content: ""; position: absolute; inset: 3px; border: 1.5px solid var(--c); border-radius: 3px; }
@keyframes slam { from { transform: translate(-50%, -50%) rotate(var(--r)) scale(1.8); opacity: 0; } }

.stamp-tray { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 70%, #000 30%); }
body.is-day .stamp-tray { background: #d4c9ac; }
.tray-title { margin: 0; font: 400 26px var(--f-display); text-transform: uppercase; }
html[lang="ka"] .tray-title { font-family: 'Noto Sans Georgian'; font-weight: 800; font-stretch: 75%; }
.tray-hint { margin: 4px 0 20px; font-size: 12px; color: var(--muted); }
.stamps { display: grid; gap: 16px; margin-bottom: 20px; }
.stamp-btn { display: flex; flex-direction: column; align-items: center; background: none; border: none; padding: 0; transition: transform .2s var(--ease); }
.stamp-handle { width: 30px; height: 34px; border-radius: 50% 50% 6px 6px; background: radial-gradient(circle at 35% 30%, #9a6a3a, #4a2d12); box-shadow: 0 3px 6px rgba(0,0,0,.4); }
.stamp-base {
  width: 100%; margin-top: -2px; padding: 8px; border: 3px solid var(--c); border-radius: 4px;
  font: 400 18px var(--f-display); text-transform: uppercase; letter-spacing: .08em; color: var(--c);
  background: var(--paper);
}
html[lang="ka"] .stamp-base { font-family: 'Noto Sans Georgian'; font-weight: 800; font-stretch: 75%; }
.stamp-btn:hover { transform: translateY(-3px); }
.stamp-btn.is-active { transform: translateY(-6px); }
.stamp-btn.is-active .stamp-base { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--neon), 0 0 20px var(--glow); }
.tray-count { font-size: 12px; margin: 0 0 14px; }

/* =========================================================
   SCHEDULE / TIME CARD
   ========================================================= */
.schedule { background: linear-gradient(180deg, var(--bg) 0%, #0a0d26 100%); }
body.is-day .schedule { background: var(--bg); }
.timecard {
  max-width: 980px; margin: 0 auto;
  background: #efe5c6; color: #2a2414;
  border-radius: 6px; padding: clamp(20px, 3vw, 36px);
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
  transform: rotate(.4deg);
  position: relative;
  background-image: linear-gradient(90deg, transparent 0 calc(100% - 1px), rgba(42,36,20,.08) 0), linear-gradient(rgba(42,36,20,.06) 1px, transparent 1px);
  background-size: 40px 100%, 100% 40px;
}
.timecard::before { content: ""; position: absolute; top: 0; left: 50%; width: 120px; height: 14px; margin-left: -60px; background: #2a2414; border-radius: 0 0 8px 8px; opacity: .85; } /* clock slot notch */
.tc-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 10px 0 16px; border-bottom: 2px solid #2a2414; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.tc-title { font: 700 18px var(--f-serif); letter-spacing: .12em; width: 100%; color: #1b2a8a; }
html[lang="ka"] .tc-title { font-family: 'Noto Sans Georgian'; font-weight: 800; }
.tc-rows { list-style: none; margin: 0; padding: 0; }
.tc-row {
  display: grid; grid-template-columns: 90px 210px 1fr 130px; align-items: center; gap: 18px;
  padding: 16px 6px; border-bottom: 1px dashed rgba(42,36,20,.35);
  cursor: pointer; position: relative; transition: background .2s;
}
.tc-row:hover { background: rgba(27,42,138,.06); }
.tc-time { font: 700 22px var(--f-mono); color: #1b2a8a; }
.tc-name { font: 400 26px/1 var(--f-display); text-transform: uppercase; }
html[lang="ka"] .tc-name { font-family: 'Noto Sans Georgian'; font-weight: 800; font-stretch: 72%; font-size: 22px; }
.tc-desc { font-size: 14px; }
.tc-punch { height: 44px; border: 1.5px dashed rgba(42,36,20,.4); display: grid; place-items: center; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(42,36,20,.45); position: relative; }
.tc-punch .inked { display: none; font: 700 16px var(--f-mono); color: var(--red-ink); transform: rotate(-6deg); letter-spacing: .04em; filter: url(#rough); }
.tc-row.is-punched .tc-punch { border-color: transparent; }
.tc-row.is-punched .tc-punch .label { display: none; }
.tc-row.is-punched .tc-punch .inked { display: block; animation: slam2 .25s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes slam2 { from { transform: rotate(-6deg) scale(1.8); opacity: 0; } }
.tc-row::before { /* punch hole */
  content: ""; position: absolute; left: -24px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  border-radius: 50%; background: var(--bg); box-shadow: inset 0 2px 3px rgba(0,0,0,.6);
  transform: scale(0); transition: transform .2s cubic-bezier(.3,1.6,.5,1);
}
.tc-row.is-punched::before { transform: scale(1); }
.tc-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; font-size: 13px; }
.timecard .btn { color: #2a2414; border-color: #2a2414; box-shadow: 3px 3px 0 #2a2414; }
.tc-hint.is-done { color: var(--red-ink); font-weight: 700; }

/* =========================================================
   CLIENTS / ROLODEX
   ========================================================= */
.clients {
  background:
    radial-gradient(ellipse 60% 70% at 70% 60%, rgba(90,120,255,.45), transparent 70%),
    linear-gradient(180deg, #0a0d26 0%, #14208f 70%, #2335c9 100%);
  color: #f4ecd8;
  --ink: #f4ecd8; --muted: #c4c9ec; --line: rgba(244,236,216,.2);
}
body.is-day .clients { background: linear-gradient(180deg, #ece4cf, #b9cbe4); color: #1b1813; --ink: #1b1813; --muted: #4c4a55; --line: rgba(0,0,0,.15); }
.rolo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.rolo-controls { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.rolo-count { font: 500 14px var(--f-mono); letter-spacing: .1em; margin-left: 8px; }

.rolodex { position: relative; height: 440px; perspective: 1400px; touch-action: none; cursor: ns-resize; outline-offset: 10px; }
.rolo-drum { position: absolute; left: 10%; right: 10%; top: 40px; height: 280px; transform-style: preserve-3d; }
.rolo-card {
  position: absolute; inset: 0;
  background: #fbf6e8; color: #1f1b14;
  border-radius: 6px; padding: 30px 28px 22px;
  box-shadow: 0 1px 0 #e3d9bf, 0 20px 40px rgba(0,0,0,.35);
  background-image: linear-gradient(#fbf6e8 0 62px, transparent 62px), repeating-linear-gradient(transparent 0 27px, rgba(27,42,138,.18) 27px 28px);
  border-top: 3px solid var(--red-ink);
  transform-origin: 50% 100% -60px;
  transition: transform .6s cubic-bezier(.3, 1.2, .4, 1), opacity .6s;
  backface-visibility: hidden;
  display: flex; flex-direction: column;
}
.rolo-card::before, .rolo-card::after { /* rolodex slots */
  content: ""; position: absolute; bottom: -1px; width: 26px; height: 14px; background: transparent;
  border: 2px solid #c7bc9f; border-bottom: none; border-radius: 12px 12px 0 0;
}
.rolo-card::before { left: 30%; } .rolo-card::after { right: 30%; }
.rolo-tab { position: absolute; top: -30px; left: var(--tab-x, 24px); padding: 4px 16px 6px; background: #fbf6e8; border-radius: 6px 6px 0 0; font: 400 18px var(--f-display); color: var(--red-ink); border-top: 3px solid var(--red-ink); }
.rolo-name { font: 400 clamp(26px, 3vw, 38px)/1.05 var(--f-display); text-transform: uppercase; margin: 0; }
html[lang="ka"] .rolo-name { font-family: 'Noto Sans Georgian'; font-weight: 800; font-stretch: 72%; }
.rolo-role { margin: 6px 0 0; font: 500 11px var(--f-sans); letter-spacing: .28em; text-transform: uppercase; color: #1b2a8a; }
.rolo-lines { margin-top: auto; font-size: 13px; line-height: 28px; }
.rolo-lines p { margin: 0; }
.rolo-lines .note { font-style: italic; }
.rolo-lines b { font-weight: 700; color: #1b2a8a; margin-right: 8px; font-size: 11px; letter-spacing: .1em; }
.rolo-input { width: 100%; margin-top: 10px; border: none; border-bottom: 2px solid #1b2a8a; background: transparent; font: 500 16px var(--f-mono); padding: 4px 0; color: #1f1b14; }
.rolo-input:focus { outline: none; border-color: var(--red-ink); }
.rolo-base { position: absolute; left: 4%; right: 4%; bottom: 20px; height: 70px; border-radius: 14px 14px 30px 30px;
  background: linear-gradient(180deg, #2e2e33, #111114); box-shadow: inset 0 2px 0 rgba(255,255,255,.15), 0 20px 40px rgba(0,0,0,.5); }
.rolo-base::after { content: ""; position: absolute; left: 10%; right: 10%; top: 12px; height: 4px; background: #000; border-radius: 4px; opacity: .6; }
.rolo-knob { position: absolute; top: 150px; width: 34px; height: 76px; border-radius: 8px; z-index: 3;
  background: repeating-linear-gradient(0deg, #2a2a2e 0 3px, #3c3c42 3px 6px); box-shadow: 0 8px 16px rgba(0,0,0,.5); }
.rolo-knob.left { left: calc(10% - 40px); } .rolo-knob.right { right: calc(10% - 40px); }

/* =========================================================
   CONTACT / MESSAGE PAD
   ========================================================= */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.contact-list { display: grid; grid-template-columns: max-content 1fr; gap: 12px 24px; margin: 40px 0 0; font-size: 15px; }
.contact-list dt { font: 500 11px/2 var(--f-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--cyan); }
.contact-list dd { margin: 0; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--neon); }
.contact-list a:hover { color: var(--neon); }

.pad-wrap { position: relative; min-height: 600px; }
.pad {
  position: relative; z-index: 2;
  background: #f8c9d4; color: #3a1620;
  padding: 28px clamp(20px, 3vw, 34px) 26px;
  box-shadow: 0 2px 0 #e9b1be, 0 4px 0 #f8c9d4, 0 6px 0 #e9b1be, 0 8px 0 #f8c9d4, 0 30px 60px rgba(0,0,0,.45);
  transform: rotate(1deg);
  transition: transform .8s cubic-bezier(.6, -0.3, .7, 1), opacity .8s;
}
.pad::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(90deg, #3a1620 0 2px, transparent 2px 8px); opacity: .25; }
.pad.is-sent { transform: translate(40%, -140%) rotate(28deg) scale(.6); opacity: 0; pointer-events: none; }
.pad-head { text-align: center; border-bottom: 2px solid #3a1620; padding-bottom: 12px; margin-bottom: 14px; }
.pad-important { margin: 0; font: 600 11px var(--f-sans); letter-spacing: .4em; text-transform: uppercase; color: #b3112a; }
.pad-title { margin: 2px 0 0; font: 700 clamp(26px, 3.4vw, 40px)/1 var(--f-serif); font-style: italic; text-transform: uppercase; }
html[lang="ka"] .pad-title { font-family: 'Noto Sans Georgian'; font-style: normal; font-weight: 800; font-stretch: 75%; }
.pad label { display: block; }
.pad-row { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; }
.pad-row > span, .pad-row label > span { font: 600 11px var(--f-sans); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.pad-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pad-row.two label { display: flex; align-items: baseline; gap: 10px; }
.pad input[type="text"], .pad textarea {
  flex: 1; width: 100%; min-width: 0; border: none; border-bottom: 1.5px solid rgba(58,22,32,.5);
  background: transparent; font: 500 15px var(--f-mono); color: #1b2a8a; padding: 4px 2px;
}
.pad textarea { resize: vertical; line-height: 28px; background-image: repeating-linear-gradient(transparent 0 27px, rgba(58,22,32,.35) 27px 28px); border-bottom: none; }
.pad input:focus, .pad textarea:focus { outline: none; border-color: #b3112a; background-color: rgba(255,255,255,.25); }
.pad-row.msg { flex-direction: column; align-items: stretch; }
.pad-checks { border: 1.5px solid #3a1620; margin: 16px 0; padding: 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
.pad-checks label { display: flex; align-items: center; gap: 10px; font: 600 11px var(--f-sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.pad-checks input { appearance: none; width: 18px; height: 18px; border: 1.5px solid #3a1620; display: grid; place-items: center; margin: 0; background: rgba(255,255,255,.3); cursor: pointer; flex: none; }
.pad-checks input:checked::after { content: "✕"; font: 700 16px/1 var(--f-mono); color: #1b2a8a; transform: rotate(-8deg); }
.pad-checks .urgent { color: #b3112a; }
.pad-error { min-height: 1.2em; margin: 4px 0; font-size: 12px; color: #b3112a; font-weight: 700; }
.pad-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.pad-taken { font-size: 12px; font-style: italic; }
.pad .btn { box-shadow: 4px 4px 0 #3a1620; border-color: #b3112a; background: #b3112a; }

.spike { position: absolute; right: -10px; top: -40px; width: 60px; height: 120px; z-index: 1; opacity: 0; transition: opacity .4s .4s; }
.spike i { position: absolute; left: 50%; bottom: 0; width: 50px; height: 12px; margin-left: -25px; background: #222; border-radius: 50%; }
.spike i::before { content: ""; position: absolute; left: 50%; bottom: 6px; width: 3px; height: 100px; margin-left: -1.5px; background: linear-gradient(90deg, #888, #eee, #888); }
.pad-done {
  position: absolute; inset: 60px 10% auto; z-index: 3;
  background: #f8c9d4; color: #3a1620; text-align: center; padding: 34px 26px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
  transform: rotate(-3deg) translateY(30px); opacity: 0; visibility: hidden;
  transition: all .6s var(--ease) .5s;
}
.pad-done .btn { color: #3a1620; border-color: #3a1620; box-shadow: 3px 3px 0 #3a1620; }
.pad-wrap.is-sent .pad-done { opacity: 1; visibility: visible; transform: rotate(-3deg); }
.pad-wrap.is-sent .spike { opacity: 1; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: #000; color: #e9e2cf; padding: 100px 0 120px; text-align: center; border-top: 1px solid #1a1a1a; }
body.is-day .footer { background: #1b1813; }
.foot-picture { margin: 0; font: 500 12px var(--f-sans); letter-spacing: .5em; text-transform: uppercase; }
.foot-logo { margin: 10px 0 40px; font-size: clamp(70px, 12vw, 170px); line-height: 1.1; }
.foot-logo .neon { color: #ffb199; text-shadow: 0 0 2px #fff, 0 0 8px #ff4a32, 0 0 20px #ff4a32, 0 0 60px rgba(255,64,40,.6); }
.billing { max-width: 980px; margin: 0 auto; font: 400 clamp(12px, 1.25vw, 15px)/1.5 var(--f-credits); letter-spacing: .05em; text-transform: uppercase; color: #cfc8b6; }
.billing p { margin: 0; }
html[lang="ka"] .billing { font-stretch: 75%; }
.foot-bottom { margin-top: 60px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; text-align: left; }
.footer .btn { color: #e9e2cf; border-color: #e9e2cf; box-shadow: 3px 3px 0 #e9e2cf; }
.rated { display: flex; align-items: stretch; border: 2px solid #e9e2cf; max-width: 340px; }
.rated b { display: grid; place-items: center; padding: 0 14px; font: 400 36px var(--f-display); background: #e9e2cf; color: #000; }
.rated > span { padding: 6px 10px; font: 400 10px/1.35 var(--f-credits); text-transform: uppercase; letter-spacing: .06em; }
.rated strong { display: block; font-size: 13px; letter-spacing: .2em; }
.copy { font-size: 12px; margin: 0; opacity: .7; }

/* =========================================================
   TAXI METER
   ========================================================= */
.taxi {
  position: fixed; right: 16px; bottom: 16px; z-index: 70;
  display: grid; gap: 2px; min-width: 132px; padding: 0 0 8px;
  background: #0b0b0b; border: 1px solid #333; border-radius: 4px; text-align: left;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  overflow: hidden;
}
.taxi-top { display: block; text-align: center; font: 700 10px/18px var(--f-sans); letter-spacing: .5em; color: #000;
  background: repeating-linear-gradient(90deg, #ffcc00 0 8px, #111 8px 16px); padding-left: .5em; }
.taxi-top { background: #ffcc00; border-bottom: 3px solid; border-image: repeating-linear-gradient(90deg, #000 0 6px, #fff 6px 12px) 3; }
.taxi-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 0 10px; }
.taxi-row small { font: 500 9px var(--f-sans); letter-spacing: .2em; text-transform: uppercase; color: #777; }
.taxi-row b { font: 700 15px var(--f-mono); color: #ff4433; text-shadow: 0 0 6px rgba(255,60,40,.7); }
.taxi-joke { max-height: 0; overflow: hidden; padding: 0 10px; font-size: 11px; color: #ffcc00; transition: max-height .4s, padding .4s; max-width: 180px; }
.taxi.is-open .taxi-joke { max-height: 60px; padding-top: 6px; }

/* WRAP flash */
.wrap-flash { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; pointer-events: none; opacity: 0; background: rgba(0,0,0,.7); }
.wrap-flash .neon { font-size: clamp(80px, 14vw, 220px); transform: rotate(-6deg); }
.wrap-flash.is-on { animation: wrapf 2.2s var(--ease) forwards; }
@keyframes wrapf { 0% { opacity: 0; } 10%, 75% { opacity: 1; } 100% { opacity: 0; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .tc-row { grid-template-columns: 80px 170px 1fr 110px; }
}
@media (max-width: 920px) {
  :root { --header-h: 84px; }
  .nav { height: 56px; }
  .burger { display: block; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    padding: 8px 4vw 20px;
    transform: translateY(-120%); transition: transform .4s var(--ease); z-index: -1;
  }
  .nav-links.is-open { transform: none; }
  .nav-links a { display: block; padding: 16px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .logo-sub { display: none; }

  .hero-grid, .line-grid, .memo-grid, .rolo-grid, .contact-grid { grid-template-columns: 1fr; }
  .window-main { width: 86vw; }
  .win.small { display: none; }
  .rollsign { min-width: 0; }
  .watch { width: min(380px, 86vw); }
  .stamp-tray { position: static; }
  .stamps { grid-template-columns: repeat(3, 1fr); }
  .tc-row { grid-template-columns: 70px 1fr; grid-template-areas: "t n" "d d" "p p"; gap: 8px 14px; }
  .tc-time { grid-area: t; } .tc-name { grid-area: n; } .tc-desc { grid-area: d; } .tc-punch { grid-area: p; }
  .tc-row::before { left: -16px; }
}
@media (max-width: 600px) {
  .tool-btn#soundBtn { display: none; }
  .subway { padding-top: 96px; }
  .tunnel { top: 96px; }
  .mosaic { top: 20px; padding: 8px 18px; border-width: 8px; }
  .car-body { gap: 16px; padding: 18px 0 36px; }
  .screen { border-width: 6px; border-radius: 16px; }
  .stop .bullet { width: 48px; height: 48px; font-size: 24px; }
  .line-map::before { top: 21px; }
  .stop-name { font-size: 11px; letter-spacing: .08em; }
  .rolodex { height: 380px; }
  .rolo-drum { left: 6%; right: 6%; height: 250px; }
  .rolo-knob { display: none; }
  .rolo-card { padding: 24px 20px 18px; }
  .pad-row.two { grid-template-columns: 1fr; gap: 0; }
  .pad-checks { grid-template-columns: 1fr; }
  .taxi { right: 10px; bottom: 10px; min-width: 112px; }
  .taxi-row b { font-size: 13px; }
  .foot-bottom { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* hero: let clicks pass through empty areas to the skyline */
.hero-inner, .hero-grid { pointer-events: none; }
.tagline-top, .hero-copy, .watch-wrap { pointer-events: auto; }
.hero { padding-bottom: calc(var(--sky-h) + 30px); }
.btn-ghost { background: color-mix(in srgb, var(--bg) 55%, transparent); }

/* Georgian typography tuning: Georgian doesn't want wide tracking */
html[lang="ka"] .eyebrow, html[lang="ka"] .presents, html[lang="ka"] .nav-links a, html[lang="ka"] .logo-sub,
html[lang="ka"] .tagline-top, html[lang="ka"] .btn, html[lang="ka"] .readout-label, html[lang="ka"] .ch-label,
html[lang="ka"] .scene-title small, html[lang="ka"] .rolo-role, html[lang="ka"] .contact-list dt,
html[lang="ka"] .pad-row > span, html[lang="ka"] .pad-row label > span, html[lang="ka"] .pad-checks label,
html[lang="ka"] .pad-important, html[lang="ka"] .foot-picture, html[lang="ka"] .taxi-row small,
html[lang="ka"] .tc-head, html[lang="ka"] .power, html[lang="ka"] .tags li { letter-spacing: .04em; }
html[lang="ka"] .hero-title .l3 { font-size: clamp(38px, 5.4vw, 84px); }
html[lang="ka"] .lede { font-size: 14px; }

.bonsai { width: 34%; right: 5%; bottom: 8%; }
.scene-title { max-width: 62%; }
.section { padding: clamp(80px, 9vw, 130px) 0; }
