/* vaelopravnvoid.com — a rally-raid roadbook: printed paper roll, tulip diagrams, highlighter, amber map lamp at dusk.
   Tokens and sizes from the mockup (refs/figma/lib.js + pages.js). Desktop frame 1368, mobile 360. Radius 0 (paper). */
/* letter-spacing: figma-kit `ls` is a percentage of the size (ls 4 → .04em) */
:root {
  --night: #141920; --slate: #222A35; --glass: #2E3846;
  --paper: #F1EDE0; --paper2: #E6E0CD; --ink: #15181D; --ink2: #4C5058;
  --hi: #E4F23A; --amber: #FFB547; --alu: #C8CCD1; --alu2: #9EA4AC;
  --on: #ECE7D8; --on2: #B7B4AA;
  --disp: 'Antonio', 'Arial Narrow', sans-serif;
  --text: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: 16px;
  --wrap: max(var(--pad), calc(50% - 612px));       /* 1224 content width = 1368 − 2 × 72 */
  --step: 72px;                                      /* pattern-tiling: roadbook row step (96 desktop / 72 mobile) */
  /* note: «Hover бокса: пятно лампы (radial, радиус 520) зажигается за 180 ms» */
  --lamp-t: 180ms;
  /* note: «лента роудбука прокручивается по одному боксу (шаг 300 px, 420 ms, steps-ease)» */
  --roll-t: 420ms; --roll-ease: steps(6, end);
  --dock-h: 52px; --dock-b: 24px;                    /* note: dock fixed 24 px from the bottom */
}
@media (min-width: 1024px) { :root { --pad: 72px; --step: 96px; --dock-h: 58px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--text); overflow-x: hidden;
  padding-bottom: calc(var(--dock-h) + var(--dock-b) + 16px); background-color: var(--night); }
main { background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--hi); color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--hi); color: var(--ink); padding: 10px 14px; }
.skip:focus { top: 12px; }

/* ---------- world pieces ---------- */
.ar { width: 14px; height: 14px; flex: none; }
.tl { display: block; flex: none; width: 58px; height: 58px; color: var(--ink); }
.knob { flex: none; width: 18px; height: 18px; border: 2px solid #5E646C;
  background: repeating-linear-gradient(90deg, #B9BEC5 0 2px, #7E848C 2px 3px); }
.dbl { display: block; height: 6px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }   /* border: double — two ink lines */
.hi { display: inline-block; padding: 0 6px; background: rgba(228, 242, 58, .92); color: var(--ink); font: 700 42px/1 var(--disp); }
.hi--s { font-size: 22px; background: var(--hi); }
.chips { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font: 500 13px/1.2 var(--text); color: var(--ink2); }
.chip::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.chip--amber { color: var(--on2); } .chip--amber::before { background: var(--amber); }
.chip--on { color: var(--on); }
/* glow-light: the map lamp's amber pool (lib.js lamp: centre .38 → .45 × .35 → 0) */
.lamp { position: absolute; pointer-events: none; width: calc(var(--r, 300px) * 2); height: calc(var(--r, 300px) * 1.4); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 181, 71, var(--a, .38)), rgba(255, 181, 71, calc(var(--a, .38) * .35)) 45%, rgba(255, 181, 71, 0)); }
/* pattern-tiling: the roadbook ruling (3 columns + double rule) as a faint ground */
.ruled { position: relative; isolation: isolate; }
.ruled::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background: url(/assets/img/tile-roadbook.webp) 0 0 / calc(var(--step) * 5) var(--step); }
.ruled--dark::before { filter: invert(1); z-index: 1; }
.ruled--faint::before { opacity: .04; }
/* button: stamp — control-point stamp, double rectangular frame, condensed caps */
.stamp { display: inline-flex; padding: 3px; border: 2px solid var(--ink); background: none; text-decoration: none; cursor: pointer; color: var(--ink); }
.st-in { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid currentColor;
  font: 700 17px/1.1 var(--disp); letter-spacing: .04em; text-transform: uppercase; }
.st-in .ar { width: 16px; height: 16px; transition: transform var(--lamp-t) ease-out; }
.stamp:hover .st-in { background: rgba(228, 242, 58, .55); }
.stamp:hover .ar { transform: translateX(3px); }
.stamp--hi { border-color: var(--on); }
.stamp--hi .st-in { background: var(--hi); border-color: var(--on); color: var(--ink); }
.stamp--hi:hover .st-in { background: #EEF77A; }
.stamp--hi:hover .ar { transform: translateY(3px); }
@media (min-width: 1024px) { .st-in { padding: 12px 20px; font-size: 20px; } }
.linkish { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.linkish:hover { text-decoration: underline; }
.mount { display: inline-block; flex: none; padding: 4px; border: 1px solid var(--ink); background: var(--paper); }
.mount img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.kc { display: inline-flex; padding: 3px; border: 2px solid var(--ink); font: inherit; }
.kc span { padding: 6px 12px; border: 1px solid var(--ink); background: var(--paper); font: 700 19px/1.1 var(--disp); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
@media (min-width: 1024px) { .kc span { padding: 8px 14px; font-size: 22px; } }

/* ---------- type ---------- */
.h2 { font: 700 36px/.98 var(--disp); letter-spacing: -.01em; text-transform: uppercase; }
.h2--on { color: var(--on); }
.h3 { font: 700 30px/1 var(--disp); text-transform: uppercase; }
.h4 { font: 700 22px/1 var(--disp); text-transform: uppercase; margin-top: 6px; }
.lead { font-size: 15px; color: var(--ink2); max-width: 620px; }
.lead--on { color: var(--on2); }
.p { font-size: 16px; line-height: 1.6; }
@media (min-width: 1024px) {
  .h2 { font-size: 64px; } .h3 { font-size: 40px; } .lead { font-size: 18px; } .p { font-size: 18px; }
}

/* ---------- dock: the roadbook holder, fixed to the bottom of the window ---------- */
.dock { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: var(--dock-b); margin: 0 auto; max-width: 640px; height: var(--dock-h);
  display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 8px 6px;
  background: linear-gradient(180deg, #D9DCE0, var(--alu) 55%, var(--alu2)); border: 1px solid #5E646C; box-shadow: 0 14px 30px rgba(0, 0, 0, .45); }
.brand { font: 700 14px/1 var(--disp); letter-spacing: .01em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.dock ul { display: flex; gap: 2px; }
.dock a[href]:not(.brand) { display: block; padding: 6px 5px; font: 500 13px/1.2 var(--text); text-decoration: none; color: var(--ink); }
.dock a[href][aria-current] { background: var(--ink); color: var(--hi); }
.dock a:not(.brand):not([aria-current]):hover { background: rgba(21, 24, 29, .1); }
@media (min-width: 400px) { .dock a[href]:not(.brand) { padding: 6px 9px; } }
@media (min-width: 1024px) {
  .dock { gap: 18px; padding: 10px 12px; width: 640px; }
  .dock .knob { width: 34px; height: 34px; }
  .brand { font-size: 20px; letter-spacing: .03em; }
  .dock ul { gap: 4px; }
  .dock a[href]:not(.brand) { padding: 7px 12px; font-size: 15px; }
}

/* ---------- hero: full-bleed cockpit, roadbook strip as the UI layer ---------- */
.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: clamp(660px, 100svh, 760px); background: var(--night);
  padding: 64px var(--wrap) 0; }
.hero .bg, .phead .bg, .ghead .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }  /* mobile frame: image at x −380 of 1360 */
.shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 25, 32, 0) 45%, rgba(20, 25, 32, .85)),
              linear-gradient(90deg, rgba(20, 25, 32, .72), rgba(20, 25, 32, .55) 58%, rgba(20, 25, 32, .3)); }
.hero-t { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.h1 { font: 700 50px/.94 var(--disp); letter-spacing: -.01em; text-transform: uppercase; color: var(--on); max-width: 760px; }
.hero-p { font-size: 16px; line-height: 1.5; color: var(--on); max-width: 500px; }
/* the holder: two aluminium rails with knobs around the paper strip; it runs under the right edge */
.rb { position: relative; margin: auto calc(-1 * var(--wrap)) calc(var(--dock-h) + var(--dock-b) + 28px) -6px; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .5)); }
.rail { position: relative; display: flex; align-items: center; height: 10px; padding: 0 4px; border: 1px solid #5E646C;
  background: linear-gradient(180deg, #E1E4E8, var(--alu) 50%, var(--alu2)); }
.rail .knob { width: 20px; height: 20px; }
.rb-win { overflow: hidden; background: var(--paper); padding-left: 6px; }
.strip { display: flex; transition: transform var(--roll-t) var(--roll-ease); will-change: transform; }
.strip.no-t { transition: none; }
.bx { flex: none; display: flex; padding-right: 6px; background: linear-gradient(90deg, transparent 0 calc(100% - 6px), var(--ink) calc(100% - 6px) calc(100% - 4px), transparent calc(100% - 4px) calc(100% - 1px), var(--ink) calc(100% - 1px)); }
.bx-a { display: flex; width: 300px; height: 168px; background: var(--paper); text-decoration: none; color: var(--ink); }
.bx-c1, .bx-c2 { display: flex; flex-direction: column; align-items: center; padding: 14px 8px; border-right: 1px solid var(--ink); }
.bx-c1 { width: 52px; } .bx-c2 { width: 72px; gap: 10px; padding: 14px 6px; }
.bx-c3 { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 14px 12px; }
.lbl { font: 500 12px/1.2 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); }
.bx-n { font: 700 36px/1 var(--disp); margin-top: 4px; }
.bx-n .hi { font-size: inherit; padding: 0 4px; mix-blend-mode: multiply; }
.bx-t { font: 700 18px/1 var(--disp); text-transform: uppercase; }
.bx-call { font-size: 12px; line-height: 1.35; color: var(--ink2); }
.bx-a:hover .bx-t, .bx-a:focus-visible .bx-t { text-decoration: underline; text-underline-offset: 3px; }
/* the map lamp over box 1 (pages.js: centre PAD + 90 / 150, strip top + 40 % of the box) */
.lamp--strip { --r: 170px; --a: .55; left: -74px; top: -42px; }
@media (min-width: 1024px) {
  .hero { min-height: clamp(720px, 100svh, 900px); padding-top: 128px; gap: 0; }
  .hero .bg { object-position: 50% 50%; }
  .shade { background: linear-gradient(180deg, rgba(20, 25, 32, 0) 45%, rgba(20, 25, 32, .85)),
                       linear-gradient(90deg, rgba(20, 25, 32, .9), rgba(20, 25, 32, .35) 58%, rgba(20, 25, 32, .05)); }
  .hero-t { gap: 28px; }
  .h1 { font-size: 96px; }
  .hero-p { font-size: 19px; }
  .rail { height: 14px; } .rail .knob { width: 24px; height: 24px; }
  .rb-win { padding-left: 18px; }
  .bx-a { height: 184px; }
  .bx-c1 { width: 62px; } .bx-c2 { width: 88px; }
  .bx-c2 .tl { width: 72px; height: 72px; }
  .bx-n { font-size: 44px; } .bx-t { font-size: 22px; } .bx-call { font-size: 13px; }
  .lamp--strip { --r: 280px; left: -112px; top: -108px; }
  .rb { margin-left: -18px; margin-bottom: calc(var(--dock-h) + var(--dock-b) + 44px); }
}

/* ---------- sections ---------- */
.sec { padding: 56px var(--wrap); }
.sec-hd { display: flex; flex-direction: column; gap: 14px; max-width: 980px; }
.sec-hd--col { gap: 12px; }
@media (min-width: 1024px) { .sec { padding: 96px var(--wrap); } }

/* G: numbered list of boxes + the co-driver's margin note */
.gsec { padding-bottom: 64px; }
.g-body { display: flex; flex-direction: column; gap: 40px; margin-top: 28px; }
.g-list { flex: 1; min-width: 0; }
.g-list::after { content: ''; display: block; height: 6px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.gr-in { position: relative; overflow: hidden; display: grid; grid-template-columns: 52px auto 1fr; grid-template-areas: "n cv tl" "t t t"; align-items: start; gap: 16px; padding: 18px 0; }
.gr-n { grid-area: n; } .gr-n .hi { transition: background-color var(--lamp-t) ease-out; }
.gr-in > .mount { grid-area: cv; width: 112px; }
.gr-tl { grid-area: tl; display: flex; align-items: center; justify-content: center; }
.gr-tl .tl { width: 64px; height: 64px; }
.gr-t { grid-area: t; display: flex; flex-direction: column; gap: 8px; position: relative; }
.gr-h { font: 700 30px/1 var(--disp); text-transform: uppercase; }
.gr-h a { text-decoration: none; }
.gr-h a::after { content: ''; position: absolute; inset: -200px -2000px; z-index: 2; }
.gr-in { isolation: isolate; }
.call { display: flex; align-items: center; gap: 8px; font: 500 14px/1.3 var(--text); }
.gr-p { font-size: 15px; line-height: 1.5; color: var(--ink2); }
/* hover: the lamp pool lights the box (180 ms), title underlined, highlighter full (Tile hover) */
.lamp--row { --r: 520px; --a: .5; left: calc(140px - 520px); top: calc(120px - 364px); z-index: -1; opacity: 0; transition: opacity var(--lamp-t) ease-out; }
.gr:hover .lamp--row, .gr:focus-within .lamp--row { opacity: 1; }
.gr:hover .gr-h a, .gr:focus-within .gr-h a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.gr:hover .hi, .gr:focus-within .hi { background: var(--hi); }
.gr-h a:focus-visible { outline: 0; }
.gr:focus-within .gr-in { outline: 2px solid var(--amber); outline-offset: -2px; }
@media (min-width: 1024px) {
  .gsec { padding-bottom: 104px; }
  .g-body { flex-direction: row; align-items: flex-start; gap: 56px; margin-top: 40px; }
  .gr-in { grid-template-columns: 72px 1fr 112px 142px; grid-template-areas: "n t tl cv"; align-items: center; gap: 28px; padding: 24px 0; }
  .gr-n { align-self: center; } .gr-n .hi { font-size: 56px; }
  .gr-in > .mount { width: 142px; }
  .gr-tl { width: 112px; height: 112px; border: 1px solid var(--ink); }
  .gr-tl .tl { width: 88px; height: 88px; }
  .gr-h { font-size: 40px; } .call { font-size: 15px; } .gr-p { font-size: 16px; }
  .chips .chip { font-size: 14px; }
  .lamp--row { left: calc(300px - 520px); top: calc(90px - 364px); }
}
.anote { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 22px; background: var(--paper2); border: 1px solid var(--ink); }
.anote::before { content: ''; position: absolute; top: 0; right: 0; width: 40px; height: 6px; background: var(--hi); }
.an-h { font: 700 26px/1 var(--disp); text-transform: uppercase; }
.anote p { font-size: 15px; line-height: 1.55; }
.an-a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; }
@media (min-width: 1024px) { .anote { flex: 0 0 300px; position: sticky; top: 32px; } .an-h { font-size: 30px; } }   /* moodboard: «у HTML — sticky» */

/* D: three waypoints on one route line */
.dsec { position: relative; overflow: hidden; background: var(--slate); isolation: isolate; }
.lamp--d { --r: 260px; --a: .22; left: calc(60% - 260px); top: calc(90px - 182px); z-index: -1; }
.route { position: relative; margin-top: 32px; }
.route-line { display: none; }
.wps { display: flex; flex-direction: column; gap: 36px; }
.wp { position: relative; display: flex; flex-direction: column; gap: 14px; }
.wp-dot { display: none; }
.wp-h { font: 700 34px/1 var(--disp); text-transform: uppercase; color: var(--on); }
.wp-p { font-size: 15px; line-height: 1.5; color: var(--on2); }
.wp-g a { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(183, 180, 170, .5); text-decoration: none; color: var(--on); font-weight: 500; }
.wp-g img { width: 56px; height: 56px; object-fit: cover; }
.wp-g span { flex: 1; }
.wp-g .ar { color: var(--hi); transition: transform var(--lamp-t) ease-out; }
.wp-g a:hover span { text-decoration: underline; }
.wp-g a:hover .ar { transform: translateX(3px); }
@media (min-width: 1024px) {
  .lamp--d { --r: 620px; left: calc(50% - 620px); top: calc(140px - 434px); }
  .route { margin-top: 48px; padding-top: 24px; }
  .route-line { display: block; position: absolute; left: 6px; right: 6px; top: 11px; height: 3px; background: var(--amber); opacity: .8; }
  .wps { flex-direction: row; gap: 40px; }
  .wp { flex: 1; }
  .wp-dot { display: block; position: absolute; left: 0; top: -19px; width: 14px; height: 14px; border-radius: 50%; background: var(--amber); }
  .wp-h { font-size: 44px; }
}

/* U: one key legend for all six games */
.usec { background: var(--paper2); }
.usec.ruled::before { opacity: .06; }
.ugs { display: flex; flex-direction: column; gap: 28px; margin-top: 28px; }
.ug { padding: 14px 12px; }
.ug--main { background: var(--paper); border: 1px solid var(--ink); }
.ug-h { font: 700 22px/1.1 var(--disp); letter-spacing: .02em; text-transform: uppercase; margin-bottom: 4px; }
.ur { display: flex; flex-direction: column; gap: 10px; padding: 12px 0; }
.ur dd ul { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.ur li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.ur li .ar { width: 12px; height: 12px; }
.ur li b { font-weight: 700; }
.ur li span { color: var(--ink2); }
@media (min-width: 1024px) {
  .ugs { gap: 40px; margin-top: 40px; }
  .ug { padding: 20px 24px; }
  .ug-h { font-size: 28px; }
  .ur { flex-direction: row; align-items: center; gap: 32px; padding: 14px 0; }
  .ur dt { flex: 0 0 260px; }
  .ur dd ul { gap: 8px 28px; }
  .ur li { font-size: 15px; }
  .ug--main .ur li { font-size: 17px; }
}

/* ---------- inner page head ---------- */
.phead { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 440px; padding: 56px var(--wrap) 64px; background: var(--night); }
.phead--legal { min-height: 400px; }
.phead .bg, .ghead .bg { opacity: .32; object-position: 60% 50%; }
.lamp--head { --r: 300px; --a: .3; right: calc(60px - 300px); top: calc(100px - 210px); }
.ph-in { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 18px; }
.h1p { font: 700 46px/.96 var(--disp); letter-spacing: -.01em; text-transform: uppercase; color: var(--on); max-width: 900px; }
.ph-lead { font-size: 16px; color: var(--on2); max-width: 640px; }
@media (min-width: 1024px) {
  .phead { min-height: 520px; padding: 96px var(--wrap) 120px; }
  .phead--legal { min-height: 440px; }
  .lamp--head { --r: 520px; right: calc(260px - 520px); top: calc(160px - 364px); }
  .h1p { font-size: 88px; } .ph-lead { font-size: 19px; }
}

/* ---------- games: accordion ---------- */
.cat { padding-top: 56px; }
.acc summary { display: flex; align-items: center; gap: 12px; padding: 14px 0; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.ac-n { flex: 0 0 44px; }
.ac-n .hi { font-size: 34px; background: transparent; transition: background-color var(--lamp-t) ease-out; }
.acc[open] .ac-n .hi { background: rgba(228, 242, 58, .95); }
.acc summary:hover .ac-n .hi { background: rgba(228, 242, 58, .5); }
.tl--ac { display: none; width: 56px; height: 56px; }
.ac-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ac-h { font: 700 26px/1 var(--disp); text-transform: uppercase; }
.acc summary:hover .ac-h { text-decoration: underline; text-underline-offset: 4px; }
.ac-call { font-size: 14px; color: var(--ink2); }
.acc[open] .ac-call { display: none; }
.ac-cv { flex: none; width: 56px; } .ac-cv img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.acc[open] .ac-cv { display: none; }
.ac-ar { width: 18px; height: 18px; transition: transform var(--lamp-t) ease-out; }
.acc[open] .ac-ar { transform: rotate(180deg); }
.ac-b { display: flex; flex-direction: column; gap: 18px; padding: 4px 0 24px; }
.ac-b > .mount { width: 100%; max-width: 360px; }
.ac-tx { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ac-sum { font-size: 15px; line-height: 1.55; }
.ac-k { font-size: 15px; color: var(--ink2); }
@media (min-width: 1024px) {
  .cat { padding-top: 96px; }
  .acc summary { gap: 24px; padding: 56px 0; }   /* Figma: ~200 px per closed box on the desktop catalogue */
  .acc[open] summary { padding-bottom: 24px; }
  .ac-n { flex-basis: 64px; } .ac-n .hi { font-size: 48px; }
  .tl--ac { display: block; }
  .ac-h { font-size: 40px; }
  .acc[open] .ac-call { display: block; }
  .ac-cv { width: 72px; }
  .ac-b { flex-direction: row; gap: 40px; padding: 8px 0 32px 88px; }
  .ac-b > .mount { flex: 0 0 270px; }
  .ac-sum { font-size: 18px; }
}

/* ---------- game page ---------- */
.ghead { position: relative; overflow: hidden; background: var(--night); padding: 48px var(--wrap) 48px; }
.ghead .bg { opacity: .22; }
.lamp--g { --r: 260px; --a: .4; left: calc(50% - 260px); top: calc(560px - 182px); }
.gh-in { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 24px; }
.gh-l { display: flex; flex-direction: column; gap: 18px; }
.gh-tags { display: flex; align-items: center; gap: 14px; }
.h1g { font: 700 50px/.94 var(--disp); text-transform: uppercase; color: var(--on); }
.gh-sum { font-size: 15px; line-height: 1.55; color: var(--on); }
.meta { font-size: 14px; color: var(--on2); }
.gh-mount { display: inline-flex; flex-direction: column; padding: 10px; background: var(--paper); box-shadow: 0 20px 44px rgba(0, 0, 0, .45); max-width: 100%; }
.gh-cv img { width: 300px; max-width: 100%; aspect-ratio: 1; object-fit: cover; }
.gh-cap { display: flex; align-items: center; gap: 10px; padding: 12px 4px 4px; font-weight: 500; font-size: 14px; max-width: 300px; }
.gh-cap .tl { width: 40px; height: 40px; }
@media (min-width: 1024px) {
  .ghead { padding: 104px var(--wrap) 120px; }
  .lamp--g { --r: 460px; left: calc(100% - var(--wrap) - 270px - 460px); top: calc(360px - 322px); }
  .gh-in { flex-direction: row; gap: 56px; justify-content: space-between; }
  .gh-l { flex: 0 1 640px; }
  .h1g { font-size: 96px; } .gh-sum { font-size: 19px; }
  .gh-r { flex: 0 0 auto; }
  .gh-cv img { width: 420px; } .gh-cap { max-width: 420px; }
}
.gbody { display: flex; flex-direction: column; gap: 40px; }
.g-main { flex: 1; min-width: 0; max-width: 780px; display: flex; flex-direction: column; gap: 44px; }
.gs { display: flex; flex-direction: column; gap: 14px; }
.gs .dbl { margin-bottom: 4px; }
.kl { display: flex; flex-direction: column; gap: 12px; }
.kl li { display: flex; align-items: center; gap: 16px; font-size: 16px; }
.al { display: flex; flex-direction: column; gap: 12px; }
.al li { display: flex; gap: 12px; font-size: 16px; line-height: 1.55; }
.al .ar { margin-top: 6px; }
.wl { display: flex; flex-direction: column; gap: 8px; }
.wl .chip { font-size: 14px; color: var(--ink); }
.qas { display: flex; flex-direction: column; gap: 14px; }
.q { font-weight: 700; font-size: 17px; }
.a { font-size: 16px; line-height: 1.55; color: var(--ink2); margin-top: 4px; }
.sims { display: flex; flex-direction: column; gap: 16px; }
.sim { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.sim .mount { width: 88px; }
.sim-t { display: flex; flex-direction: column; gap: 4px; }
.sim-h { font: 700 24px/1 var(--disp); text-transform: uppercase; }
.sim-p { font-size: 15px; color: var(--ink2); }
.sim:hover .sim-h { text-decoration: underline; text-underline-offset: 4px; }
.g-side { display: flex; flex-direction: column; gap: 24px; }
.facts { padding: 22px; background: var(--paper2); border: 1px solid var(--ink); }
.fx-h { font: 700 26px/1 var(--disp); text-transform: uppercase; margin-bottom: 6px; }
.facts div, .k-dl div { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; border-top: 1px solid var(--ink); }
.facts dt, .k-dl dt { font: 500 13px/1.3 var(--text); letter-spacing: .04em; text-transform: uppercase; color: var(--ink2); }
.facts dd { font-size: 15px; line-height: 1.45; }
.where { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px; background: var(--night); }
.wh-h { font: 700 24px/1 var(--disp); text-transform: uppercase; color: var(--on); }
.where p { font-size: 15px; color: var(--on2); }
.where-a { font-weight: 500; font-size: 15px; color: var(--hi); }
.where-a:hover { text-decoration-thickness: 2px; }
@media (min-width: 1024px) {
  .gbody { flex-direction: row; align-items: flex-start; gap: 64px; }
  .g-side { flex: 0 0 380px; position: sticky; top: 32px; }
  .q { font-size: 17px; }
}
/* about contact */
.contact { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--night); color: var(--on2); }
.k-h { font: 700 34px/1 var(--disp); text-transform: uppercase; color: var(--on); }
.contact > p { font-size: 15px; }
.k-r { display: flex; flex-direction: column; gap: 8px; }
.k-dl div { border-top-color: var(--on2); }
.k-dl dt { color: var(--on2); }
.k-dl dd { font-weight: 500; font-size: 16px; color: var(--on); overflow-wrap: anywhere; }
.k-dl a { color: var(--hi); }
/* legal */
.legal { display: flex; flex-direction: column; gap: 34px; }
.legal > * { max-width: 760px; }
.l-sum { font-weight: 500; font-size: 16px; line-height: 1.55; }
.ls { display: flex; flex-direction: column; gap: 12px; }
.h3--l { font-size: 24px; }
.ls .p { font-size: 15px; }
@media (min-width: 1024px) { .l-sum { font-size: 20px; } .h3--l { font-size: 30px; } .ls .p { font-size: 17px; } }

/* ---------- footer: giant wordmark ---------- */
.footer { position: relative; overflow: hidden; background: var(--night); color: var(--on); }
.lamp--foot { --r: 300px; --a: .28; right: calc(40px - 300px); top: calc(80px - 210px); }
.f-in { position: relative; display: flex; flex-direction: column; gap: 28px; padding: 48px var(--wrap) 32px; }
.f-top { display: flex; flex-direction: column; gap: 24px; }
.f-l { display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.f-l p { font-size: 15px; line-height: 1.5; }
.f-mail { display: inline-flex; align-items: center; gap: 10px; color: var(--hi); font-weight: 500; font-size: 15px; text-decoration: none; overflow-wrap: anywhere; }
.f-mail:hover span { text-decoration: underline; }
.f-cols { display: flex; flex-wrap: wrap; gap: 24px 32px; }
.f-h { font: 700 15px/1.2 var(--disp); letter-spacing: .06em; text-transform: uppercase; color: var(--on2); margin-bottom: 10px; }
.f-col ul { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.f-col a, .f-col .linkish { text-decoration: none; color: var(--on); font-size: 14px; }
.f-col a:hover { text-decoration: underline; }
.footer .dbl { border-color: var(--on2); }
.wordmark { font: 700 min(13.4vw, 186px)/.88 var(--disp); color: var(--on); white-space: nowrap; letter-spacing: 0; }
.f-base { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--on2); }
@media (min-width: 1024px) {
  .lamp--foot { right: calc(160px - 520px); top: calc(120px - 364px); --r: 520px; }
  .f-in { gap: 40px; padding: 72px var(--wrap) 40px; }
  .f-top { flex-direction: row; justify-content: space-between; gap: 48px; }
  .f-l p { font-size: 18px; } .f-mail { font-size: 18px; }
  .f-cols { gap: 56px; flex-wrap: nowrap; }
  .f-col ul, .f-col a, .f-col .linkish { font-size: 16px; }
  .f-base { flex-direction: row; justify-content: space-between; }
}

/* ---------- cookie: a roadbook card above the dock ---------- */
.cookie { position: fixed; z-index: 70; left: 16px; right: 16px; bottom: calc(var(--dock-h) + var(--dock-b) + 12px); max-width: 500px;
  padding: 3px; background: var(--paper); border: 2px solid var(--ink); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.cookie[hidden] { display: none; }
.ck-in { display: flex; flex-direction: column; gap: 14px; padding: 20px 18px; border: 1px solid var(--ink); max-height: calc(100svh - 140px); overflow: auto; }
.ck-h { display: flex; align-items: center; gap: 12px; font: 700 24px/1 var(--disp); text-transform: uppercase; }
.tl--ck { width: 40px; height: 40px; }
.ck-p { font-size: 15px; line-height: 1.5; }
.ck-acts { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.ck-link { font-size: 14px; color: var(--ink2); align-self: flex-start; }
.ck-manage { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.ck-manage[hidden] { display: none; }
.ck-opt { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.ck-opt input { width: 18px; height: 18px; accent-color: var(--ink); }
.cookie .st-in { font-size: 17px; padding: 10px 14px; }
@media (min-width: 1024px) { .cookie { left: 24px; right: auto; width: 500px; } .ck-in { padding: 26px; } .ck-h { font-size: 30px; } .cookie .st-in { font-size: 20px; padding: 12px 18px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.soc{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;vertical-align:middle;color:inherit;text-decoration:none}
.soc svg{width:100%;height:100%;fill:currentColor}
.soc:hover{opacity:.7}
.soc:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:3px}
