/* Layout: a fixed night-sky globe behind a scrolling ledger of sections; gold marks the route Budapest -> Dushanbe */
:root {
  --night: #060B14;
  --navy: #0B1626;
  --navy-2: #102038;
  --line: rgba(214, 178, 94, 0.18);
  --line-soft: rgba(236, 231, 218, 0.08);
  --gold: #D6B25E;
  --gold-hi: #F3DC9A;
  --text: #ECE7DA;
  --muted: #B3BBC7;
  --paper: #F2ECDD;
  --paper-ink: #1A1A17;
  --paper-muted: #6B6658;
  --f-display: "Geologica", system-ui, sans-serif;
  --f-body: "Geologica", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --gutter: max(16px, min(4vw, 40px));
  --max: 1240px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
body {
  background: var(--night);
  color: var(--text);
  font: 400 16px/1.65 var(--f-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--night); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow { color: var(--gold); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4.2vw, 52px); line-height: 1.08; }
h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
.gold { color: var(--gold); }
.icon { font-family: "Material Symbols Outlined"; font-weight: 300; font-size: 26px; line-height: 1; font-style: normal; display: inline-block; text-transform: none; letter-spacing: 0; font-variation-settings: "wght" 300, "opsz" 24; }

/* Loader: fades itself out with CSS so the page never stays covered */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--night);
  display: grid; place-items: center; pointer-events: none;
  animation: loaderOut 0.6s ease 1.5s forwards;
}
.loader svg { width: min(320px, 70vw); }
.loader text { font-family: var(--f-display); font-size: 34px; fill: transparent; stroke: var(--gold); stroke-width: 0.8; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.3s ease forwards, fillIn 0.4s ease 1.05s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillIn { to { fill: var(--gold); } }
@keyframes loaderOut { to { opacity: 0; visibility: hidden; } }

/* Globe canvas */
#globe { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; transition: opacity 0.6s ease; }
.globe-label { position: fixed; z-index: 1; pointer-events: none; left: 0; top: 0; color: var(--gold-hi); white-space: nowrap; transition: opacity 0.3s; }
.globe-label b { display: block; font: 500 13px/1.2 var(--f-display); letter-spacing: 0; text-transform: none; color: var(--text); }
.globe-label span { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--gold); }
.globe-label::before { content: ""; position: absolute; left: -14px; top: 6px; width: 8px; height: 1px; background: var(--gold); }

main { position: relative; z-index: 2; }

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(6, 11, 20, 0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line-soft); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { font-family: var(--f-display); font-weight: 600; letter-spacing: 0.04em; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.logo i { width: 26px; height: 26px; border: 1px solid var(--gold); border-radius: 50%; position: relative; display: inline-block; }
.logo i::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--gold-hi), var(--gold)); }
.logo small { font-family: var(--f-mono); font-size: 10px; color: var(--muted); letter-spacing: 0.1em; font-weight: 400; }
.nav-links { display: flex; gap: 30px; font-size: 14px; color: var(--muted); }
.nav-links a { position: relative; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang { font-family: var(--f-mono); font-size: 12px; color: var(--muted); display: flex; gap: 10px; }
.lang b { color: var(--gold); font-weight: 400; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform 0.35s, top 0.35s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: var(--night);
  padding: calc(100px + env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) 40px max(24px, env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; gap: 8px;
  clip-path: circle(0 at calc(100% - 40px) 36px); transition: clip-path 0.7s cubic-bezier(.7,0,.2,1);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 36px); visibility: visible; }
.mobile-menu a { font-family: var(--f-display); font-size: 30px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; }

/* Buttons */
.btn {
  --bx: 0px; --by: 0px;
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 100px;
  font: 600 14px/1 var(--f-body); letter-spacing: 0.02em; cursor: pointer; border: 0;
  transform: translate(var(--bx), var(--by)); transition: transform 0.25s cubic-bezier(.2,.8,.2,1), background 0.25s, color 0.25s;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold::before { content: ""; position: absolute; inset: 0; background: var(--gold-hi); transform: translateY(101%); transition: transform 0.4s cubic-bezier(.7,0,.2,1); z-index: -1; border-radius: inherit; }
.btn-gold:hover::before { transform: none; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.btn .arr { transition: transform 0.3s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-sm { padding: 11px 18px; font-size: 13px; }

/* Cursor ring (fine pointers only) */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid var(--gold); border-radius: 50%; opacity: 0; transition: width 0.3s, height 0.3s, margin 0.3s, background 0.3s, opacity 0.3s; mix-blend-mode: difference; }
.cursor.on { opacity: 0.9; }
.cursor.big { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(214, 178, 94, 0.15); }

/* Hero */
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,11,20,.92) 0%, rgba(6,11,20,.6) 38%, transparent 62%); pointer-events: none; }
.hero { min-height: min(100svh, 980px); display: flex; align-items: center; padding-block: 120px 80px; position: relative; }
.hero .wrap { width: 100%; position: relative; z-index: 1; }
.hero-grid { max-width: 680px; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(32px, 3.5vw, 54px); line-height: 1.06; letter-spacing: -0.03em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line { display: inline-block; margin-right: 0.26em; vertical-align: top; }
.hero h1 .ch { display: inline-block; will-change: transform; }
.hero .lead { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.coords { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); }
.coords b { color: var(--gold); font-weight: 400; }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); }
.scroll-hint i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: drip 2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Story over the globe */
.story { position: relative; height: 200vh; }
.story-sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; }
.story-panels { position: relative; max-width: 520px; min-height: 340px; }
.panel { position: absolute; inset: 0 0 auto 0; display: flex; flex-direction: column; gap: 18px; opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s cubic-bezier(.2,.8,.2,1); }
.panel.active { opacity: 1; transform: none; }
.panel .num { font-family: var(--f-display); font-size: 90px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.panel p { color: var(--muted); font-size: 17px; max-width: 46ch; }
.panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.panel li { display: flex; gap: 12px; align-items: baseline; color: var(--text); font-size: 15px; }
.panel li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; transform: translateY(-2px); }
.story-progress { position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); display: grid; gap: 14px; }
.story-progress span { width: 2px; height: 44px; background: var(--line-soft); position: relative; overflow: hidden; }
.story-progress span i { position: absolute; inset: 0; background: var(--gold); transform: scaleY(0); transform-origin: top; }

/* Solid sections cover the globe */
.solid { background: var(--night); position: relative; }
.section { padding-block: clamp(80px, 11vw, 150px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 32px 60px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head p { color: var(--muted); font-size: 17px; max-width: 48ch; }
.section-head .mono { grid-column: 1 / -1; }

/* Facts strip */
.facts { border-block: 1px solid var(--line-soft); background: linear-gradient(180deg, transparent, var(--navy) 120%), var(--night); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 40px 28px 36px 0; display: flex; flex-direction: column; gap: 10px; position: relative; }
.fact + .fact { padding-left: 28px; }
.fact + .fact::before { content: ""; position: absolute; left: 0; top: 30px; bottom: 30px; width: 1px; background: var(--line); transform: scaleY(var(--grow, 1)); transform-origin: top; }
.fact strong { font: 500 clamp(30px, 3.6vw, 48px)/1 var(--f-display); color: var(--gold-hi); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.fact strong small { font-size: 0.45em; color: var(--gold); margin-left: 6px; letter-spacing: 0; }
.fact span { color: var(--muted); font-size: 14px; }

/* Audience tilt cards */
.audience { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; perspective: 1200px; }
.tilt {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  border-radius: 28px; padding: clamp(28px, 4vw, 48px); min-height: 400px;
  background: radial-gradient(500px circle at var(--gx) var(--gy), rgba(243, 220, 154, 0.12), transparent 45%), linear-gradient(160deg, var(--navy-2), var(--navy));
  border: 1px solid var(--line);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; gap: 22px; position: relative; overflow: hidden;
}
.tilt:hover { transition-duration: 0.1s; }
.tilt .flag { display: flex; align-items: center; gap: 12px; color: var(--gold); }
.tilt h3 { font-size: clamp(22px, 2.4vw, 30px); transform: translateZ(40px); }
.tilt p { color: var(--muted); transform: translateZ(24px); }
.tilt ul { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 10px; transform: translateZ(30px); }
.tilt li { display: flex; justify-content: space-between; gap: 16px; padding-top: 10px; border-top: 1px solid var(--line-soft); font-size: 15px; }
.tilt li span:last-child { color: var(--gold); font-family: var(--f-mono); font-size: 12px; }
.tilt .bg-route { position: absolute; right: -40px; top: -30px; width: 260px; opacity: 0.35; pointer-events: none; }

/* Process: five steps in one row, no scroll-jacking */
.process { position: relative; }
.process-head { margin-bottom: 40px; }
.track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: st; }
.step { border: 1px solid var(--line-soft); border-radius: 20px; padding: 24px 22px; background: var(--navy); display: flex; flex-direction: column; gap: 14px; position: relative; }
.step .idx { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.step .idx b { font: 500 44px/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px var(--gold); }
.step .idx .mono { font-size: 10px; }
.step h3 { font-size: 17px; }
.step p { color: var(--muted); font-size: 14px; }
.step .out { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--gold-hi); }
.step .out em { font-style: normal; color: var(--muted); display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-soft); border-left: 1px solid var(--line-soft); }
.svc { border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 24px 26px; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 6px; align-content: start; position: relative; overflow: hidden; transition: color 0.4s; }
.svc::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, var(--navy-2), var(--navy)); transform: translateY(101%); transition: transform 0.5s cubic-bezier(.7,0,.2,1); z-index: -1; }
.svc:hover::before { transform: none; }
.svc { isolation: isolate; }
.svc .icon { grid-row: span 2; color: var(--gold); font-size: 28px; transition: transform 0.5s cubic-bezier(.2,.8,.2,1); }
.svc:hover .icon { transform: translateY(-4px) rotate(-8deg) scale(1.1); }
.svc h3 { font-size: 16px; }
.svc p { color: var(--muted); font-size: 14px; }
.svc .tag { position: absolute; top: 34px; right: 30px; color: var(--muted); }

/* Products on paper */
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .section-head p, .paper .muted { color: var(--paper-muted); }
.paper .eyebrow { color: #8A6A1F; }
.paper .eyebrow::before { background: #8A6A1F; }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.prod { border-radius: 24px; background: #FBF7EE; border: 1px solid rgba(26, 26, 23, 0.08); padding: 20px; display: flex; flex-direction: column; gap: 14px; transition: transform 0.5s cubic-bezier(.2,.8,.2,1), box-shadow 0.5s; }
.prod:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(60, 40, 10, 0.35); }
.prod .art { aspect-ratio: 1 / 0.85; max-width: 100%; border-radius: 16px; display: grid; place-items: center; overflow: hidden; }
.prod .art svg { width: 78%; height: auto; transition: transform 0.8s cubic-bezier(.2,.8,.2,1); }
.prod:hover .art svg { transform: scale(1.08) rotate(-4deg); }
.prod .hs { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; color: #8A6A1F; }
.prod h3 { font-size: 18px; }
.prod p { font-size: 14px; color: var(--paper-muted); }
.marquee { overflow: hidden; border-block: 1px solid rgba(26, 26, 23, 0.12); margin-top: clamp(48px, 7vw, 90px); padding-block: 22px; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marq 38s linear infinite; font: 500 clamp(22px, 3vw, 40px)/1 var(--f-display); letter-spacing: -0.02em; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: #B8902F; font-size: 0.6em; }
@keyframes marq { to { transform: translateX(-50%); } }

/* Why us: words light up while scrolling */
.why { font: 500 clamp(26px, 3.8vw, 52px)/1.22 var(--f-display); letter-spacing: -0.025em; max-width: 22ch; text-wrap: pretty; }
.why .w { opacity: var(--o, 1); transition: color 0.3s; }
.why .w.hl { color: var(--gold); }
.why-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 7vw, 90px); }
.why-points div { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.why-points b { font-weight: 600; }
.why-points span { color: var(--muted); font-size: 14px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 90px); }
.contact-left { display: flex; flex-direction: column; gap: 28px; }
.contact-left h2 { font-size: clamp(24px, 2.9vw, 42px); white-space: nowrap; }
.req { display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
.req div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.req dt, .req .k { color: var(--muted); }
.req .v { overflow-wrap: anywhere; }
.mail-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mail { font: 500 clamp(18px, 2vw, 24px)/1.2 var(--f-display); user-select: all; }
.copy { border: 1px solid var(--line); background: transparent; color: var(--gold); border-radius: 100px; padding: 8px 14px; font: 500 12px/1 var(--f-mono); letter-spacing: 0.06em; cursor: pointer; text-transform: uppercase; }
.copy:hover { border-color: var(--gold); }
.messengers { display: flex; gap: 12px; flex-wrap: wrap; }

form { border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 44px); background: linear-gradient(160deg, var(--navy-2), var(--navy)); display: grid; gap: 22px; position: relative; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--text);
  font: 400 17px/1.4 var(--f-body); padding: 26px 0 10px; outline: none; border-radius: 0; resize: vertical;
  transition: border-color 0.3s;
}
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--navy); }
.field label { position: absolute; left: 0; top: 26px; color: var(--muted); font-size: 17px; pointer-events: none; transition: transform 0.3s, color 0.3s, font-size 0.3s; transform-origin: left; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-22px); font-size: 12px; color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--f-mono); }
.field .err { color: #F0997B; font-size: 13px; margin-top: 6px; min-height: 0; }
.field.bad input, .field.bad textarea { border-color: #F0997B; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; color: var(--muted); font-size: 12px; font-family: var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; padding: 0; }
fieldset { border: 0; padding: 0; margin: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 15px; border-radius: 100px; border: 1px solid var(--line); font-size: 14px; cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.chip input:checked + span { background: var(--gold); color: var(--night); border-color: var(--gold); }
.chip input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: 12px; max-width: 32ch; }
.done { position: absolute; inset: 0; border-radius: inherit; background: var(--navy); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: clamp(24px, 4vw, 44px); }
.done .icon { color: var(--gold); font-size: 48px; }
.done p { color: var(--muted); max-width: 40ch; }

/* Footer */
.footer { border-top: 1px solid var(--line-soft); padding-block: 60px 40px; }
.footer-big { font: 600 clamp(48px, 13vw, 200px)/0.9 var(--f-display); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px var(--line); margin-bottom: 40px; white-space: nowrap; overflow: hidden; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.footer-row nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-row a:hover { color: var(--gold); }

/* Reveal helper: visible by default, JS animates from offset */
.reveal { will-change: transform, opacity; }

/* Responsive */
@media (max-width: 1080px) {
  .track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav-links, .nav-right .btn, .lang { display: none; }
  .burger { display: block; }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; }
  .fact:nth-child(3)::before { display: none; }
  .audience { grid-template-columns: minmax(0, 1fr); }
  .tilt { min-height: 0; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .story-progress { display: none; }
  .story-panels { min-height: 420px; background: rgba(6, 11, 20, 0.55); padding: 20px; border-radius: 20px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .panel { inset: 20px 20px auto 20px; }
  .panel .num { font-size: 60px; }
}
@media (max-width: 560px) {
  .services, .products, .why-points { grid-template-columns: minmax(0, 1fr); }
  .facts-grid { grid-template-columns: minmax(0, 1fr); }
  .fact { padding-left: 0 !important; }
  .fact + .fact::before { display: none; }
  .fact + .fact { border-top: 1px solid var(--line-soft); }
  .req div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .hero { padding-block: 110px 90px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
}

/* Language switcher */
.lang button { background: none; border: 0; padding: 4px 2px; color: var(--muted); font: inherit; letter-spacing: inherit; cursor: pointer; position: relative; transition: color 0.2s; }
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { color: var(--gold); }
.lang button[aria-pressed="true"]::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: -2px; height: 1px; background: var(--gold); }
.mobile-menu .lang-mobile { display: flex; gap: 22px; margin-top: 28px; font-size: 16px; }
.mobile-menu .lang-mobile button { font-size: 16px; padding: 8px 4px; }

/* Company details card */
.req-card { border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 40px); background: linear-gradient(160deg, var(--navy-2), var(--navy)); align-self: start; position: relative; overflow: hidden; }
.req-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: var(--gold); }
.seal { width: 64px; height: 64px; border-radius: 50%; border: 1px dashed var(--gold); display: grid; place-items: center; text-align: center; font: 500 11px/1.1 var(--f-mono); color: var(--gold); transform: rotate(-12deg); box-shadow: inset 0 0 0 5px var(--navy), inset 0 0 0 6px var(--line); }
.req dd { margin: 0; }
.contact-grid { align-items: start; }
.contact-left .messengers { margin-top: 4px; }

/* Mobile pass: touch-first, short, nothing wider than the screen */
@media (pointer: coarse) {
  .cursor { display: none; }
  .tilt { transform: none !important; }
  .btn { transform: none !important; }
  .prod:hover, .svc:hover .icon { transform: none; }
}
@media (max-width: 768px) {
  .section { padding-block: 64px; }
  .section-head { margin-bottom: 32px; gap: 16px; }
  .hero::before { background: linear-gradient(180deg, rgba(6,11,20,.25) 0%, rgba(6,11,20,.82) 48%, rgba(6,11,20,.95) 100%); }
  .hero { align-items: flex-end; padding-block: 96px 72px; }
  .hero h1 { font-size: clamp(24px, 7.4vw, 34px); }
  .hero h1 .line > span { white-space: normal !important; overflow-wrap: anywhere; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; min-height: 48px; }
  .scroll-hint { display: none; }
  .story-panels { min-height: 0; padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; display: grid; }
  .panel { position: relative; inset: auto; grid-area: 1 / 1; background: rgba(6, 11, 20, 0.78); padding: 20px; border-radius: 18px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .story-sticky { align-items: flex-end; padding-bottom: 32px; }
  .panel .num { font-size: 44px; }
  .panel p { font-size: 15px; }
  .track { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .step { padding: 18px; gap: 10px; }
  .step .idx b { font-size: 34px; }
  .tilt { padding: 24px; border-radius: 22px; gap: 16px; }
  .tilt .bg-route { width: 180px; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .svc { padding: 18px 4px; border-right: 0; }
  .services { border-left: 0; }
  .mobile-menu a:not(.btn) { font-size: 24px; min-height: 48px; display: flex; align-items: center; }
  .mobile-menu .btn { min-height: 48px; }
  .mobile-menu .lang-mobile button { min-width: 48px; min-height: 48px; }
  .copy { min-height: 44px; padding: 10px 16px; }
  .footer-row nav a { padding-block: 6px; }
  .contact-left h2 { font-size: clamp(20px, 6.2vw, 30px); }
  .footer { padding-block: 40px 28px; }
  .footer-big { margin-bottom: 24px; }
}
@media (max-width: 560px) {
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding: 22px 12px 20px 0 !important; }
  .fact:nth-child(odd) { padding-left: 0 !important; }
  .fact:nth-child(even) { padding-left: 16px !important; }
  .fact + .fact { border-top: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .fact strong { font-size: 28px; }
  .fact span { font-size: 13px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .prod { padding: 12px; gap: 8px; border-radius: 18px; }
  .prod h3 { font-size: 15px; }
  .prod p { font-size: 13px; }
  .hero { padding-block: 96px 56px; }
}
@media (max-width: 420px) {
  :root { --gutter: 16px; }
  .nav .wrap { height: 60px; }
  .logo { font-size: 15px; }
  h2 { font-size: clamp(24px, 7.4vw, 32px); }
  .tilt li { flex-direction: column; gap: 2px; }
}

/* v5: gold only where it matters, calmer accents */
.eyebrow { color: var(--muted); }
.svc .icon { color: var(--muted); }
.tilt .flag { color: var(--muted); }
.tilt li span:last-child { color: var(--muted); }
.step .idx .mono.gold { color: var(--muted); }
.fact strong { color: var(--text); }
.fact strong small { color: var(--muted); }
.req-head, .copy { color: var(--text); }
.paper .eyebrow { color: var(--paper-muted); }

/* Audience tabs: hidden on wide screens */
.aud-tabs { display: none; }
@media (max-width: 768px) {
  .facts { display: none; }
  .aud-tabs { display: flex; gap: 6px; margin-bottom: 14px; padding: 4px; border: 1px solid var(--line-soft); border-radius: 100px; }
  .aud-tabs button { flex: 1; min-height: 44px; border: 0; border-radius: 100px; background: transparent; color: var(--muted); font: inherit; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; padding: 6px 10px; line-height: 1.2; }
  .aud-tabs button[aria-selected="true"] { background: var(--gold); color: var(--night); }
  .audience[data-tab="0"] > article:nth-child(2), .audience[data-tab="1"] > article:nth-child(1) { display: none; }
  .tilt .flag { display: none; }

  /* Steps: swipe sideways inside the block, page itself never scrolls sideways */
  .track { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .track::-webkit-scrollbar { display: none; }
  .step { scroll-snap-align: start; }
  .process-head::after { content: "← →"; font-family: var(--f-mono); color: var(--muted); font-size: 12px; }
  .process-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 24px; }
}

/* Product photos */
.prod .art { aspect-ratio: 1 / 1; background: #EFE6D4; }
.prod .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (pointer: coarse) { .prod:hover .art img { transform: none; } }

/* v8 logo: thin globe mark + light wordmark */
.logo { gap: 12px; font-family: var(--f-display); }
.logo .mark { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1; }
.logo .mark .dot { fill: var(--gold-hi); stroke: none; }
.logo .word { font-weight: 400; font-size: 17px; letter-spacing: 0.22em; color: var(--text); }
.logo .word b { color: var(--gold); font-weight: 400; margin: 0 0.05em; }
.logo .word small { font: 300 13px/1 var(--f-display); letter-spacing: 0.04em; color: var(--muted); margin-left: 4px; text-transform: none; }
@media (max-width: 420px) { .logo .word { font-size: 15px; letter-spacing: 0.18em; } }

/* Legal dialog */
.doc { width: min(760px, calc(100vw - 32px)); max-height: min(86svh, 900px); padding: 0; border: 1px solid var(--line); border-radius: 22px; background: var(--navy); color: var(--text); overflow: auto; overscroll-behavior: contain; }
.doc::backdrop { background: rgba(6, 11, 20, 0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.doc-x { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--navy); color: var(--text); font: 300 24px/1 var(--f-body); cursor: pointer; }
.doc-body { padding: clamp(24px, 5vw, 48px); display: grid; gap: 14px; font-size: 15px; line-height: 1.65; }
.doc-body h2 { font-size: clamp(24px, 4vw, 34px); margin-bottom: 6px; padding-right: 48px; }
.doc-body h3 { font-size: 17px; margin-top: 14px; color: var(--gold-hi); }
.doc-body p, .doc-body li { color: var(--muted); }
.doc-body ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.doc-body dl { margin: 0; border-top: 1px solid var(--line-soft); }
.doc-body dl div { display: grid; grid-template-columns: minmax(120px, 0.6fr) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.doc-body dt { color: var(--muted); }
.doc-body dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .doc-body dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.nb { white-space: nowrap; }
