/* Kraft Auto: night drive. One dark ground, one signal-orange accent, a wide grotesk. */

/* Archivo (SIL Open Font License), self-hosted: no request to Google on page load */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 300 800; font-stretch: 62% 125%; font-display: swap;
  src: url(fonts/archivo-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 300 800; font-stretch: 62% 125%; font-display: swap;
  src: url(fonts/archivo-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* all type is in rem, so it follows the reader's own text size; on iPhone and iPad the root
   takes the Dynamic Type body size (17 px by default) */
html { font-size: 100%; }
@supports (font: -apple-system-body) and (-webkit-touch-callout: none) {
  html { font: -apple-system-body; }
}

:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --bg-2: #111113;
  --panel: #151517;
  --ink: #f1efe9;
  --muted: #a3a19c;
  --dim: #807e7a;
  --line: rgba(241, 239, 233, .12);
  --line-2: rgba(241, 239, 233, .4);
  --accent: #ff5a1f;
  --accent-ink: #0a0a0b;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* side padding never less than the notch or rounded corner in landscape */
  --pad: max(clamp(20px, 4.4vw, 64px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --r: 22px;
  --top-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 0; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 200; padding: 10px 16px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip:focus-visible { transform: none; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- type ---------- */

.h2 {
  font-weight: 500; font-stretch: 112%; font-size: clamp(2.125rem, 4.7vw, 4.5rem); line-height: 1;
  letter-spacing: -.035em; text-wrap: balance;
}
.lead { font-size: clamp(1.125rem, 1.45vw, 1.3125rem); line-height: 1.55; color: var(--ink); max-width: 36em; }
p { text-wrap: pretty; }
.label { font: 500 .9375rem/1.3 var(--font); color: var(--muted); }
.link { color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .35s var(--ease), color .2s; }
@media (hover: hover) { .link:hover { color: var(--accent); background-size: 0 1px; background-position: 100% 100%; } }

/* ---------- buttons ---------- */
.btn {
  --h: 46px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px; white-space: nowrap;
  font: 600 .9375rem/1 var(--font); font-stretch: 104%; letter-spacing: -.005em;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn--lg { --h: 56px; padding: 0 28px; font-size: 1rem; }
.btn i { position: relative; width: 16px; height: 16px; overflow: hidden; }
.btn i::before, .btn i::after {
  content: "→"; position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; line-height: 1;
  transition: transform .35s var(--ease-out);
}
.btn i::after { transform: translateX(-120%); }
@media (hover: hover) {
  .btn:hover i::before { transform: translateX(120%); }
  .btn:hover i::after { transform: none; }
  .btn:hover { transform: translateY(-1px); }
  .btn--accent:hover { background: #ff7440; }
  .btn--ghost:hover { border-color: var(--ink); background: rgba(241, 239, 233, .08); }
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { color: var(--ink); border: 1px solid var(--line-2); background: rgba(241, 239, 233, .04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .4s, border-color .4s; border-bottom: 1px solid transparent; }
.top.is-scrolled { background: rgba(10, 10, 11, .72); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 32px; height: var(--top-h); max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.top__logo { display: flex; align-items: center; min-height: 44px; }
.top__logo img { width: 92px; height: auto; }
.top__nav { display: flex; gap: 30px; margin-inline: auto; }
.top__nav a { position: relative; font-size: .9375rem; color: var(--muted); padding: 10px 0; transition: color .2s; }
.top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.top__nav a:hover, .top__nav a.is-current { color: var(--ink); }
.top__nav a:hover::after, .top__nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.top__social { display: flex; gap: 8px; }
.top__social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(241, 239, 233, .04); color: var(--muted); transition: color .2s, border-color .2s; }
.top__social a[aria-label="Instagram"] { color: #FF0069; } /* fallback; the icon itself uses its brand gradient */
.top__social a[aria-label="Facebook"] { color: #0866FF; }
.top__social a:hover { border-color: var(--muted); }
.top__social svg { display: block; }
.top__menu { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(241, 239, 233, .04); color: var(--ink); cursor: pointer; position: relative; }
.top__menu i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.top__menu i:nth-of-type(1) { top: 18px; }
.top__menu i:nth-of-type(2) { top: 26px; }
.top__menu[aria-expanded="true"] i:nth-of-type(1) { top: 22px; transform: rotate(45deg); }
.top__menu[aria-expanded="true"] i:nth-of-type(2) { top: 22px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 40; background: rgba(10, 10, 11, .96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; padding: calc(var(--top-h) + 24px) var(--pad) calc(40px + env(safe-area-inset-bottom, 0px)); opacity: 0; transition: opacity .35s; }
.menu.is-open { opacity: 1; }
.menu[hidden] { display: none; }
/* pushed to the bottom, within thumb reach; on a short screen the menu scrolls instead */
.menu nav { display: grid; width: 100%; margin-top: auto; }
.menu nav a { display: block; padding: 14px 0; border-top: 1px solid var(--line); font-size: clamp(1.875rem, 8vw, 3rem); font-weight: 500; font-stretch: 112%; letter-spacing: -.03em; line-height: 1.05; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; min-height: max(100svh, 640px); display: grid; grid-template-rows: 1fr; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; transform: translate3d(0, var(--hy, 0px), 0) scale(var(--hs, 1)); will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.js .hero__media img { transform: scale(1.14); filter: brightness(.4) saturate(.8); transition: transform 2.8s var(--ease-out), filter 2.2s var(--ease); }
.is-loaded .hero__media img { transform: none; filter: none; }

/* the number plate: placed over the photo's own plate by main.js (a 3D matrix from its four corners) */
.plate-layer { position: absolute; inset: 0; pointer-events: none; filter: brightness(.74) saturate(.9) blur(.4px); }
.js .plate-layer { transform: scale(1.14); filter: brightness(.3) saturate(.7) blur(.4px); transition: transform 2.8s var(--ease-out), filter 2.2s var(--ease); }
.is-loaded .plate-layer { transform: none; filter: brightness(.74) saturate(.9) blur(.4px); }
.plate { position: absolute; left: 0; top: 0; width: 600px; height: 161px; transform-origin: 0 0; visibility: hidden; }
.plate.is-placed.is-drawn { visibility: visible; }
.hero__pause {
  position: absolute; z-index: 2; top: calc(var(--top-h) + 14px); right: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer;
  color: var(--ink); border: 1px solid var(--line-2); background: rgba(10, 10, 11, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: .7; transition: opacity .25s, border-color .25s, transform .2s var(--ease-out);
}
.hero__pause[hidden] { display: none; }
.hero__pause:hover, .hero__pause:focus-visible { opacity: 1; border-color: var(--ink); }
.hero__pause:active { transform: scale(.94); }
.hero__pause svg { fill: currentColor; }
.hero__pause .i-play, .hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: inline; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(10, 10, 11, .78) 22%, rgba(10, 10, 11, .18) 55%, rgba(10, 10, 11, .5) 100%),
    radial-gradient(120% 80% at 0% 100%, rgba(10, 10, 11, .7), transparent 60%),
    linear-gradient(90deg, rgba(10, 10, 11, .55) 0%, rgba(10, 10, 11, .4) 40%, rgba(10, 10, 11, 0) 66%);
}
.hero__in { align-self: end; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; padding-top: calc(var(--top-h) + 40px); padding-bottom: 72px; }
.hero__h {
  grid-column: 1 / span 8; font-weight: 500; font-stretch: 112%; font-size: clamp(2.625rem, 6.9vw, 7rem);
  line-height: .96; letter-spacing: -.045em;
}
.hero__h .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__h .line > span { display: inline-block; }
.hero__side { grid-column: 9 / -1; align-self: end; display: grid; gap: 28px; }
.hero__lead { color: var(--ink); font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* entrance */
.js [data-in] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.1s var(--ease-out); }
.js .hero__h [data-in] { opacity: 1; transform: translateY(105%); transition: transform 1.15s var(--ease-out); }
.is-loaded [data-in] { opacity: 1; transform: none !important; }
[data-in="1"] { transition-delay: .25s !important; }
[data-in="2"] { transition-delay: .35s !important; }
[data-in="3"] { transition-delay: .45s !important; }
[data-in="4"] { transition-delay: .55s !important; }
[data-in="5"] { transition-delay: .8s !important; }

/* scroll reveal */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1.1s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- sections ---------- */
.sec { position: relative; padding-block: clamp(96px, 13vh, 168px); }
.sec__head { display: grid; gap: 0; margin-bottom: clamp(40px, 6vh, 72px); max-width: 980px; }

/* route */
.route { min-height: 100svh; padding-block: clamp(96px, 11vh, 140px); display: grid; align-items: center; background: linear-gradient(to bottom, var(--bg), var(--bg-2)); }
.route__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(32px, 6vw, 112px); align-items: start; }
.route__text .lead { margin-top: 24px; color: var(--muted); max-width: 30em; }
.countries { margin-top: 40px; display: grid; gap: 2px; }
.countries li { padding: 2px 0; cursor: default; }
.countries__name { font-size: clamp(1.75rem, 3vw, 2.875rem); font-weight: 600; font-stretch: 118%; letter-spacing: -.035em; line-height: 1; color: var(--dim); transition: color .6s var(--ease), transform .6s var(--ease-out); }
.countries li.is-lit .countries__name { color: var(--ink); }
.countries li.is-hot .countries__name { color: var(--accent); }
html:not(.js) .countries__name { color: var(--ink); }
.countries .countries__more { margin-top: 10px; }
.countries__more .countries__name { font-size: clamp(1.125rem, 1.6vw, 1.5rem); font-weight: 500; font-stretch: 108%; letter-spacing: -.01em; color: var(--muted); }

.map { width: 100%; max-width: 640px; justify-self: end; }
.map__svg { display: block; width: 100%; height: auto; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 16%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 10%, #000 74%, transparent 98%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0%, #000 16%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 10%, #000 74%, transparent 98%); mask-composite: intersect; }
.map__svg path { vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.map__rest { fill: rgba(241, 239, 233, .03); stroke: rgba(241, 239, 233, .14); stroke-width: 1; }
.map__c { fill: rgba(241, 239, 233, .07); stroke: rgba(241, 239, 233, .38); stroke-width: 1.2; transition: fill .6s var(--ease), stroke .6s var(--ease); }
.map__c--main { fill: rgba(241, 239, 233, .14); stroke: rgba(241, 239, 233, .6); }
.map__c.is-lit { fill: rgba(241, 239, 233, .17); stroke: rgba(241, 239, 233, .7); }
.map__c.is-hot { fill: rgba(255, 90, 31, .3); stroke: var(--accent); }
.map__home { fill: var(--accent); stroke: var(--accent); stroke-width: 1; }
.map__labels text { font: 600 26px var(--font); font-stretch: 108%; fill: var(--ink); text-anchor: middle; letter-spacing: -.01em; paint-order: stroke; stroke: rgba(10, 10, 11, .55); stroke-width: 4px; transition: fill .4s; }
.map__labels .map__home-label { fill: var(--accent-ink); stroke: none; }
.map__labels text.is-hot { fill: var(--accent); }

/* services */
.services { background: var(--bg-2); }
.services__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(32px, 5vw, 96px); align-items: start; }
.svc { border-bottom: 1px solid var(--line); }
.svc__item { display: grid; grid-template-columns: minmax(0, 1fr); padding: 30px 0; border-top: 1px solid var(--line); cursor: default; outline-offset: 6px; }
.svc__body { display: grid; gap: 14px; }
.svc__item h3 { font-weight: 500; font-stretch: 110%; font-size: clamp(1.625rem, 2.6vw, 2.5rem); line-height: 1.05; letter-spacing: -.03em; color: var(--muted); transition: color .4s var(--ease); }
.svc__item p { color: var(--muted); max-width: 34em; }
.svc__item p { transition: opacity .5s var(--ease); }
.svc__item.is-on h3 { color: var(--ink); }
.svc__img-m { display: none; }
.svc__stage { position: sticky; top: calc(var(--top-h) + 32px); aspect-ratio: 4 / 5; max-height: calc(100svh - var(--top-h) - 64px); width: 100%; border-radius: var(--r); overflow: hidden; background: var(--panel); }
.svc__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .8s var(--ease), transform 1.4s var(--ease-out); }
.svc__stage img.is-on { opacity: 1; transform: none; }
@media (hover: hover) { .svc__stage:hover img.is-on { transform: scale(1.03); } }
@media (hover: hover) and (min-width: 1024px) {
  .svc__item:not(.is-on) p { opacity: .8; }
}

/* story (sticky) */
.story { position: relative; height: 250svh; background: var(--bg); }
.story__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; }
.story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path .8s var(--ease-out), transform 1.1s var(--ease-out); z-index: -2; }
.story__media img.is-on { clip-path: inset(0 0 0 0); transform: none; }
.story__media img:first-child { clip-path: inset(0 0 0 0); }
.story__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 11, .92) 0%, rgba(10, 10, 11, .7) 38%, rgba(10, 10, 11, .1) 70%), linear-gradient(to top, rgba(10, 10, 11, .7), transparent 40%), linear-gradient(to bottom, rgba(10, 10, 11, .75), transparent 38%); }
.story__in { height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding-top: calc(var(--top-h) + 40px); padding-bottom: 40px; }
.story__steps { align-self: center; display: grid; gap: 4px; max-width: 520px; }
.story__step { display: grid; padding: 18px 0 18px 20px; border-left: 2px solid var(--line); transition: border-color .4s; }
.story__step h3 { font-weight: 500; font-stretch: 110%; font-size: clamp(1.375rem, 2.2vw, 2rem); line-height: 1.1; letter-spacing: -.025em; color: var(--muted); transition: color .4s; }
.story__step p { color: rgba(241, 239, 233, .82); overflow: hidden; max-height: 0; opacity: 0; margin-top: 0; }
.story__step.is-on { border-left-color: var(--accent); }
.story__step.is-on h3 { color: var(--ink); }
.story__step.is-on p { opacity: 1; max-height: 12em; margin-top: 10px; }
.story__step p { transition: max-height .45s var(--ease), opacity .4s var(--ease), margin .45s var(--ease); }
.story__bar { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.story__bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* prices */
.prices { background: var(--bg); min-height: 100svh; display: grid; align-content: center; }
.pricing__label { margin-bottom: 18px; }
.tiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.tier { container-type: inline-size; display: grid; align-content: space-between; gap: 40px; padding: clamp(24px, 2.6vw, 36px); border-radius: 24px; background: var(--panel); border: 1px solid var(--line); }
.tier__range { font-weight: 500; font-stretch: 110%; font-size: 1.3125rem; letter-spacing: -.02em; }
.tier__range small { display: block; margin-top: 4px; font-size: .875rem; font-weight: 400; font-stretch: 100%; letter-spacing: 0; color: var(--muted); }
/* sized to its card: the longest price, 10 000, always fits */
.tier__price { font-weight: 600; font-stretch: 118%; font-size: min(5rem, 21cqi); line-height: .95; letter-spacing: -.05em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tier__price span { font-size: .42em; font-weight: 500; letter-spacing: -.02em; margin-left: .14em; }
.pricing__rows { margin-top: clamp(28px, 3vw, 44px); }
.pricing__rows p { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 1rem; }
.pricing__rows p span { color: var(--muted); }
.pricing__rows small { display: block; font-size: .875rem; margin-top: 2px; }
.pricing__rows p b { font-weight: 500; text-align: right; white-space: nowrap; }
.pricing__note { margin-top: 20px; color: var(--muted); font-size: .9375rem; max-width: 40em; }

/* cars (horizontal) */
.cars { position: relative; background: var(--bg-2); height: var(--cars-h, 260svh); }
.cars__stage { position: sticky; top: 0; height: 100svh; overflow: clip; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; padding-top: calc(var(--top-h) + 24px); padding-bottom: 40px; row-gap: clamp(24px, 4vh, 48px); }
.cars__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.cars__aside { color: var(--muted); max-width: 26em; }
.cars__track { display: flex; gap: 20px; padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); transform: translate3d(var(--x, 0px), 0, 0); will-change: transform; align-items: stretch; min-height: 0; }
.cars__track::after { content: ""; flex: none; width: 1px; margin-left: calc(var(--pad) - 21px); }
.cars__track li { flex: none; height: min(62svh, 560px); aspect-ratio: 5 / 4; border-radius: var(--r); overflow: hidden; background: var(--panel); }
.cars__track img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
@media (hover: hover) { .cars__track li:hover img { transform: scale(1.03); } }
.cars__more { aspect-ratio: 3 / 4 !important; }
.cars__more a { display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 32px; border: 1px solid var(--line-2); border-radius: var(--r); transition: background-color .3s, border-color .3s; }
.cars__more b { font-weight: 500; font-stretch: 112%; font-size: clamp(1.875rem, 3vw, 2.75rem); line-height: 1; letter-spacing: -.03em; }
.cars__more i { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); position: relative; transition: transform .35s var(--ease-out); }
.cars__more i::before { content: "→"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent-ink); font-style: normal; font-size: 22px; }
@media (hover: hover) {
  .cars__more a:hover { background: rgba(255, 90, 31, .08); border-color: var(--accent); }
  .cars__more a:hover i { transform: translateX(6px); }
}

/* about */
.about { overflow: hidden; min-height: 100svh; display: grid; align-items: center; }
.about__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(32px, 6vw, 112px); align-items: start; }
.about__text { display: grid; gap: 22px; }
.about__text .h2 { margin-top: 0; }
.about__text > p:not(.lead) { color: var(--muted); max-width: 34em; }
.about__sign { display: grid; gap: 2px; margin-top: 14px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 34em; }
.about__sign b { font-weight: 600; font-size: 1.125rem; color: var(--ink); }
.about__sign span { color: var(--muted); }
.about__hands-h { font: 500 1.0625rem/1.3 var(--font); color: var(--muted); margin-bottom: 18px; }
.about__list li {
  position: relative; padding-block: clamp(18px, 2.6vh, 28px);
  font-weight: 500; font-stretch: 112%; font-size: clamp(1.875rem, 3.4vw, 3.375rem); line-height: 1.05; letter-spacing: -.03em;
}
.about__list li::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-2);
  transform-origin: 0 50%;
}
.about__list li:first-child::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.js .about__list li[data-reveal] { transition-delay: var(--d, 0s); }
.js .about__list li[data-reveal]::after { transform: scaleX(0); transition: transform 1.3s var(--ease-out) calc(var(--d, 0s) + .15s); }
.js .about__list li[data-reveal].is-in::after { transform: none; }

/* faq */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(32px, 6vw, 112px); align-items: start; }
.faq__head { display: grid; gap: 22px; position: sticky; top: calc(var(--top-h) + 32px); }
.faq__head p { color: var(--muted); max-width: 22em; }
.faq__list { border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding-block: clamp(20px, 2.6vh, 28px); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline-offset: 6px; }
.faq__item h3 { font-weight: 500; font-stretch: 108%; font-size: clamp(1.1875rem, 1.7vw, 1.5625rem); line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; transition: color .2s; }
/* plus that turns into a minus */
.faq__item summary::after {
  content: ""; flex: none; width: 18px; height: 18px; color: var(--muted);
  background: linear-gradient(currentColor, currentColor) 50% 50% / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 1.5px 100% no-repeat;
  transition: background-size .3s var(--ease), color .2s;
}
.faq__item[open] summary::after { background-size: 100% 1.5px, 1.5px 0; color: var(--accent); }
@media (hover: hover) { .faq__item summary:hover h3 { color: var(--accent); } }
.faq__a { padding-bottom: clamp(22px, 2.8vh, 32px); }
.faq__a p { color: var(--muted); max-width: 40em; }
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .faq__item { interpolate-size: allow-keywords; }
    .faq__item::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
    .faq__item[open]::details-content { block-size: auto; }
  }
}

/* contact */
.contact { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.contact__media { position: absolute; inset: 0 0 auto; height: 62%; z-index: -2; overflow: hidden; }
.contact__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform: scale(var(--cs, 1.1)); }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--bg) 0%, rgba(10, 10, 11, 0) 30%, rgba(10, 10, 11, .25) 45%, var(--bg) 62%); }
.contact__in { display: grid; gap: 28px; padding-top: 40vh; padding-bottom: clamp(64px, 12vh, 128px); }
.contact__h { font-weight: 500; font-stretch: 114%; font-size: clamp(2.75rem, 7vw, 7rem); line-height: .94; letter-spacing: -.05em; max-width: 11em; text-wrap: balance; }
.contact__in .lead { color: rgba(241, 239, 233, .82); }
.contact__direct { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px clamp(28px, 4vw, 64px); }
/* padded to a 44 px tap target, the underline kept at the text */
.contact__direct a { padding-block: 11px; background-position: 0 calc(100% - 11px); font-weight: 500; font-stretch: 108%; font-size: clamp(1.5rem, 3.4vw, 2.75rem); line-height: 1.15; letter-spacing: -.03em; overflow-wrap: anywhere; }
.contact__direct .contact__mail { color: var(--accent); }
@media (hover: hover) {
  .contact__direct a:hover { background-position: 100% calc(100% - 11px); }
  .contact__direct .contact__mail:hover { color: var(--ink); }
}
.contact__place { display: grid; gap: 6px; color: rgba(241, 239, 233, .64); max-width: 40em; }
.contact__place .link { color: rgba(241, 239, 233, .82); }
@media (hover: hover) { .contact__place .link:hover { color: var(--accent); } }
.contact__social { display: grid; gap: 14px; }
.contact__social p { color: rgba(241, 239, 233, .64); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* footer */
.foot { border-top: 1px solid var(--line); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); }
.foot__in img { width: 84px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-right: auto; }
.foot__nav a, .foot__credits { color: var(--muted); font-size: .9375rem; padding: 10px 0; transition: color .2s; }
.foot__nav a:hover, .foot__credits:hover { color: var(--ink); }
.foot__legal { font-size: .875rem; color: var(--muted); }
.foot__company { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 24px; padding-top: 24px; border-top: 1px solid var(--line); font-style: normal; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.foot__company a { transition: color .2s; }
.foot__company a:hover { color: var(--ink); }
.foot__reg { flex-basis: 100%; }



/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .top__nav { gap: 22px; }
  .hero__h { grid-column: 1 / -1; }
  .hero__side { grid-column: 1 / span 8; }
}
@media (max-width: 1023px) {
  .top__nav { display: none; }
  .top__social { margin-left: auto; }
  .top__menu { display: block; }
  .route__grid, .services__grid, .about__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .faq__grid { row-gap: 32px; }
  .faq__head { position: static; }
  .map { justify-self: center; max-width: 560px; }
  .svc__stage { display: none; }
  .svc__img-m { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; margin-top: 10px; }
  .svc__item h3 { color: var(--ink); }
  
  .hero__side { grid-column: 1 / -1; max-width: 560px; }
  .hero__shade { background: linear-gradient(to top, var(--bg) 0%, rgba(10, 10, 11, .85) 34%, rgba(10, 10, 11, .3) 55%, rgba(10, 10, 11, .12) 70%, rgba(10, 10, 11, .5) 100%); }
}
@media (max-width: 767px) {
  :root { --top-h: 64px; --r: 18px; }
  .top__in { gap: 12px; }
  .top__logo img { width: 74px; }
  .top__social a { width: 44px; height: 44px; }
  .top__menu { width: 44px; height: 44px; }
  .top__menu i { left: 13px; right: 13px; }
  .top__menu i:nth-of-type(1) { top: 17px; }
  .top__menu i:nth-of-type(2) { top: 25px; }
  .top__menu[aria-expanded="true"] i:nth-of-type(1), .top__menu[aria-expanded="true"] i:nth-of-type(2) { top: 21px; }
  .hero { min-height: 100svh; }
  .hero__in { padding-bottom: 40px; row-gap: 22px; }
  /* grows with a larger text size, but never past the width the longest word, prověřených, fits in */
  .hero__h { font-size: min(clamp(2.375rem, 11.2vw, 4rem), 14vw); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__pause { top: calc(var(--top-h) + 10px); }
  .sec { padding-block: 88px; }
  .countries__name { font-size: clamp(1.75rem, 9vw, 2.5rem); }
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .tier { gap: 28px; padding: 22px 22px 24px; border-radius: 20px; }
  .tier__range { font-size: 1.125rem; }
  .tier__price { font-size: min(4rem, 17cqi); }
  .pricing__rows p { flex-direction: column; gap: 4px; }
  .pricing__rows p b { text-align: left; white-space: normal; }
  .story__shade { background: linear-gradient(to top, rgba(10, 10, 11, .95) 0%, rgba(10, 10, 11, .8) 45%, rgba(10, 10, 11, .25) 75%), linear-gradient(to bottom, rgba(10, 10, 11, .92) 0%, rgba(10, 10, 11, .82) 26%, rgba(10, 10, 11, 0) 46%); }
  .cars__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .contact__direct { flex-direction: column; align-items: flex-start; row-gap: 0; }
  .contact__direct a { font-size: clamp(1.25rem, 5.4vw, 1.875rem); }
  .contact__actions .btn { flex: 1 1 100%; }
  .contact { min-height: 0; }
  .contact__media { height: 46svh; }
  .contact::before { background: linear-gradient(to bottom, var(--bg) 0%, rgba(10, 10, 11, 0) 14%, rgba(10, 10, 11, .1) 30svh, var(--bg) 46svh); }
  .contact__in { padding-top: 40svh; padding-bottom: 72px; gap: 22px; }
  .about { min-height: 0; }
  .about__grid { row-gap: 64px; }
  .route { min-height: 0; padding-bottom: 32px; }
  .prices { min-height: 0; }
  .svc__item { padding: 26px 0; }
  .hero__shade { background: linear-gradient(to top, var(--bg) 0%, rgba(10, 10, 11, .86) 32%, rgba(10, 10, 11, .6) 52%, rgba(10, 10, 11, .18) 70%, rgba(10, 10, 11, .12) 84%, rgba(10, 10, 11, .5) 100%); }
  /* phones: one 2-column grid, so nav, legal row and company details share the same column line */
  .foot__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: center; }
  .foot__in > img, .foot__nav, .foot__company { grid-column: 1 / -1; }
  .foot__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin-right: 0; }
  .foot__company { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; }
  .foot__company > * { overflow-wrap: anywhere; }
  .foot__reg { grid-column: 1 / -1; margin-top: 6px; }
  .foot__privacy { grid-column: 1 / -1; }
}
/* the smallest phones: the email no longer fits half the row, so it takes the whole row */
@media (max-width: 359px) {
  .foot__company a[href^="mailto:"] { grid-column: 1 / -1; }
}

/* phones, and any screen too short for the pinned scenes (a phone held sideways, a small laptop window):
   the story shows one step at a time and the car row is a plain sideways scroller */
@media (max-width: 767px), (max-height: 560px) {
  .story__steps { align-self: end; padding-bottom: 20px; display: grid; gap: 0; }
  .story__step, .story__step:last-child { grid-area: 1 / 1; border: 0; border-left: 2px solid var(--accent); padding: 4px 0 4px 18px; opacity: 0; transition: opacity .5s var(--ease); align-self: end; }
  .story__step.is-on { opacity: 1; }
  .story__step p, .story__step:not(.is-on) p { max-height: none; opacity: 1; margin-top: 10px; transition: none; }
  .cars { height: auto; }
  .cars__stage { position: relative; height: auto; padding-block: 88px; }
  .cars__track { transform: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scroll-padding-inline: var(--pad); scrollbar-color: var(--line-2) transparent; }
  .cars__track li { height: auto; width: min(80vw, 100svh); scroll-snap-align: start; }
  .cars__more { width: min(60vw, 56svh) !important; }
}
/* touch screens swipe the row, so its scrollbar is hidden there */
@media (max-width: 767px) and (hover: none), (max-height: 560px) and (hover: none) {
  .cars__track { scrollbar-width: none; padding-bottom: 4px; }
  .cars__track::-webkit-scrollbar { display: none; }
}
@media (max-height: 560px) {
  .story__in { padding-top: calc(var(--top-h) + 16px); padding-bottom: 20px; }
  .story__steps { padding-bottom: 12px; }
}

@media (max-width: 767px) and (max-height: 720px) {
  .hero__in { padding-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-in], .js [data-reveal], .js .hero__h [data-in] { opacity: 1; transform: none; }
  .js .hero__media img { transform: none; filter: none; }
  .js .about__list li[data-reveal]::after { transform: none; }
  .js .plate-layer { transform: none; filter: brightness(.74) saturate(.9) blur(.4px); }
  .hero__pause { display: none !important; }
  .hero__media, .contact__media img { transform: none !important; }
  .cars { height: auto; }
  .cars__stage { position: relative; height: auto; padding-block: clamp(88px, 12vh, 140px); }
  .cars__track { transform: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scroll-padding-inline: var(--pad); scrollbar-color: var(--line-2) transparent; }
  .cars__track li { scroll-snap-align: start; }
}

@media (prefers-contrast: more) {
  :root { --muted: #d9d7d1; --dim: #a3a19c; --line: rgba(241, 239, 233, .3); --line-2: rgba(241, 239, 233, .65); }
  .svc__item:not(.is-on) p { opacity: 1; }
  .story__step p, .contact__in .lead { color: var(--ink); }
}
@media (prefers-reduced-transparency: reduce) {
  .top.is-scrolled, .menu { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .btn--ghost, .top__menu, .top__social a { background: var(--bg-2); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* landscape screens narrower than the photo show more of its left side, so the plate moves right, clear of the headline */
@media (min-width: 641px) and (min-aspect-ratio: 6/5) and (max-aspect-ratio: 8/5) {
  .hero__media img { object-position: 25% 40%; }
}
/* the phone crop of the hero photo puts the plate near the top, above the headline */
@media (max-width: 640px) {
  .hero__media img { object-position: 50% 18%; }
}

/* ---------- fotogalerie (galerie.html) ---------- */
.top__nav a[aria-current="page"] { color: var(--ink); }
.top__nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu a[aria-current="page"] { color: var(--accent); }
.foot__nav a[aria-current="page"] { color: var(--ink); }
.page-gal .top { background: rgba(10, 10, 11, .72); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-color: var(--line); }

.gal { padding-top: calc(var(--top-h) + clamp(48px, 9vh, 112px)); padding-bottom: clamp(72px, 10vh, 128px); }
.gal__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 5vw, 96px); row-gap: 24px; align-items: end; }
.gal__h { font-weight: 500; font-stretch: 112%; font-size: clamp(2.5rem, 8.4vw, 8rem); line-height: .9; letter-spacing: -.05em; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.gal__h > span { display: inline-block; }
.js .gal__h [data-in] { opacity: 1; transform: translateY(105%); transition: transform 1.15s var(--ease-out); }
.gal__side { display: grid; gap: 18px; justify-items: start; padding-bottom: .4em; }
.gal__side .lead { color: rgba(241, 239, 233, .82); }
.gal__jump { font-size: 1rem; padding: 10px 0; background-position: 0 calc(100% - 9px); }
@media (hover: hover) { .gal__jump:hover { background-position: 100% calc(100% - 9px); } }

.gal__filter { display: flex; flex-wrap: wrap; gap: 0 32px; margin-top: clamp(48px, 7vh, 88px); margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.gal__filter button {
  position: relative; display: inline-flex; align-items: baseline; gap: 8px; min-height: 48px; padding: 12px 0; margin-bottom: -1px;
  border: 0; background: none; color: var(--muted); font: 500 1rem/1.2 var(--font); cursor: pointer; transition: color .2s;
}
.gal__filter button span { font-size: .875rem; color: var(--dim); font-variant-numeric: tabular-nums; transition: color .2s; }
.gal__filter button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.gal__filter button:hover { color: var(--ink); }
.gal__filter button[aria-pressed="true"] { color: var(--ink); }
.gal__filter button[aria-pressed="true"] span { color: var(--muted); }
.gal__filter button[aria-pressed="true"]::after { transform: scaleX(1); transform-origin: left; }
.gal__filter button:focus-visible { outline-offset: 0; }
html:not(.js) .gal__filter { display: none; }

/* justified rows: every photo keeps its own shape, each row the same height */
.gal__grid { --rh: clamp(118px, 15vw, 228px); --gap: 10px; display: flex; flex-wrap: wrap; gap: var(--gap); transition: opacity .18s var(--ease); }
.gal__grid::after { content: ""; flex: 10000 1 0px; }
.gal__grid.is-swapping { opacity: 0; }
.gal__grid li { flex: calc(var(--ar) * 100) 1 calc(var(--ar) * var(--rh)); aspect-ratio: var(--ar); border-radius: 12px; overflow: hidden; background: var(--panel); }
.gal__grid a { display: block; height: 100%; border-radius: inherit; cursor: zoom-in; }
.gal__grid a:focus-visible { outline-offset: -3px; }
.gal__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out), filter .4s; }
@media (hover: hover) { .gal__grid a:hover img { transform: scale(1.03); } }

/* social band */
.gal-social { background: var(--bg-2); border-top: 1px solid var(--line); }
.gal-social__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: clamp(32px, 5vw, 96px); row-gap: 40px; align-items: end; }
.gal-social__text { display: grid; gap: 24px; }
.gal-social__text .h2 { max-width: 13em; }
.gal-social__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.soc { display: grid; grid-template-rows: auto 1fr auto; gap: 40px; height: 100%; min-height: 280px; padding: 28px; border: 1px solid var(--line-2); border-radius: var(--r); transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.soc svg { color: var(--ink); }
.soc__txt { display: grid; gap: 6px; align-self: end; }
.soc__txt b { font-weight: 500; font-stretch: 112%; font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1; letter-spacing: -.03em; }
.soc__txt span { color: var(--muted); font-size: 1rem; }
.soc i { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); position: relative; transition: transform .35s var(--ease-out); }
.soc i::before { content: "→"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent-ink); font-style: normal; font-size: 22px; }
@media (hover: hover) {
  .soc:hover { background: rgba(255, 90, 31, .08); border-color: var(--accent); transform: translateY(-2px); }
  .soc:hover i { transform: translateX(6px); }
}
.soc:active { transform: translateY(1px); }
.gal-social__more { grid-column: 1 / -1; color: var(--muted); padding-top: 8px; }
.gal-social__more .link { display: inline-block; padding-block: 10px; background-position: 0 calc(100% - 9px); }
@media (hover: hover) { .gal-social__more .link:hover { background-position: 100% calc(100% - 9px); } }

/* lightbox */
.lb {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--bg); color: var(--ink); overflow: hidden;
}
.lb::backdrop { background: transparent; }
.lb[open] { display: grid; grid-template-rows: 72px minmax(0, 1fr) 72px; padding-block: env(safe-area-inset-top, 0px) env(safe-area-inset-bottom, 0px); animation: lb-in .3s var(--ease); }
@keyframes lb-in { from { opacity: 0; } }
html.lb-open { overflow: hidden; }
.lb__count { grid-row: 1; align-self: center; padding-inline: var(--pad); color: var(--muted); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.lb__stage { --side: calc(var(--pad) + 72px); grid-row: 2; position: relative; min-height: 0; touch-action: pinch-zoom; }
.lb__stage img { position: absolute; inset: 0 var(--side); margin: auto; max-width: calc(100% - var(--side) * 2); max-height: 100%; width: auto; height: auto; border-radius: 12px; transition: opacity .25s; user-select: none; -webkit-user-drag: none; }
.lb.is-loading .lb__stage img { opacity: .35; }
.lb__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(241, 239, 233, .06); color: var(--ink); cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.lb__btn:hover { border-color: var(--ink); background: rgba(241, 239, 233, .12); }
.lb__btn:active { transform: scale(.94); }
.lb__close { top: calc(10px + env(safe-area-inset-top, 0px)); right: var(--pad); }
.lb__prev, .lb__next { top: 50%; margin-top: -26px; }
.lb__prev { left: var(--pad); }
.lb__next { right: var(--pad); }

@media (max-width: 1023px) {
  .gal__head, .gal-social__in { grid-template-columns: minmax(0, 1fr); }
  .gal__side { padding-bottom: 0; }
}
@media (max-width: 767px) {
  .gal__grid { --rh: 112px; --gap: 6px; }
  .gal__grid li { border-radius: 8px; }
  .gal__h { font-size: 13vw; }
  .gal__filter { flex-wrap: nowrap; gap: 0 24px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad); border-bottom: 0; background: linear-gradient(var(--line), var(--line)) var(--pad) 100% / calc(100% - var(--pad) * 2) 1px no-repeat; }
  .gal__filter button { margin-bottom: 0; }
  .gal__filter::-webkit-scrollbar { display: none; }
  .gal__filter button { flex: none; font-size: .9375rem; white-space: nowrap; }
  .gal-social__links { grid-template-columns: minmax(0, 1fr); }
  .soc { min-height: 0; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; gap: 18px; padding: 20px; }
  .soc__txt { align-self: center; }
  .lb[open] { grid-template-rows: 64px minmax(0, 1fr) 88px; }
  .lb__stage { --side: 12px; }
  .lb__stage img { border-radius: 8px; }
  .lb__close { top: calc(8px + env(safe-area-inset-top, 0px)); }
  .lb__prev, .lb__next { top: auto; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); margin-top: 0; }
  .lb__prev { left: calc(50% - 64px); }
  .lb__next { right: calc(50% - 64px); }
}
@media (prefers-reduced-motion: reduce) {
  .js .gal__h [data-in] { transform: none; }
  .gal__grid { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .page-gal .top { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
