:root {
  --bg: #111;
  --bg-alt: #1b1916;
  --text: #f2ede4;
  --muted: #a9a196;
  --accent: #e8741c;
  --red: #d8281e;
  --sand: #d9b77e;
  --radius: 6px;
  --font-display: "Barlow Condensed", Impact, sans-serif;
  /* Wordmark, as on the team shirt: "offroad" in bold Impact (Anton is the web-safe twin), "SPORT" in regular Montserrat, white "offroad" + orange "SPORT" */
  --font-logo-a: Anton, Impact, "Arial Narrow Bold", sans-serif;
  --font-logo-b: "Montserrat", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  /* Signature: livery stripe (orange / white / red) and a fixed 12deg "stage cut" */
  --livery: linear-gradient(90deg, var(--accent) 0 52%, transparent 52% 58%, var(--text) 58% 76%, transparent 76% 82%, var(--red) 82%);
  --cut: 10px;
  --cut-shape: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
  --header-h: 64px;
  --header-top-h: 104px;
  --line: #333;
  --surface-2: #222;
  --on-accent: #111;
  --hero-fallback: #2a2118;
  --header-bg: rgba(17,17,17,.92);
  --scrim: rgba(0,0,0,.94);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; background: var(--accent); color: var(--on-accent); padding: 12px 20px; font: 800 1.1rem var(--font-display); text-transform: uppercase; text-decoration: none; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
html { scrollbar-color: var(--accent) var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font-body); }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; line-height: 1.05; margin: 0 0 .5em; text-wrap: balance; }
h1, .section-title { font-style: italic; letter-spacing: .005em; }
p { text-wrap: pretty; }
input, textarea { caret-color: var(--accent); }
/* Small data labels use Archivo's expanded width, set apart from the condensed display face */
.eyebrow, .stats span, .specs dt, .results th, .tier, .contact-form label { font-stretch: 125%; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.container-wide { width: min(1560px, 100% - 32px); }
.section { padding: 96px 0; }
.section-dark { background: var(--bg-alt); clip-path: polygon(0 3vw, 100% 0, 100% calc(100% - 3vw), 0 100%); padding: calc(96px + 3vw) 0; }
.section-title { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; }
.section-title::after, .tagline::after { content: ""; display: block; width: 104px; height: 8px; background: var(--livery); clip-path: var(--cut-shape); margin-top: 14px; }
.hero h1 { margin-bottom: .1em; }
.tagline { font: 500 clamp(1.05rem, 2vw, 1.5rem)/1.2 var(--font-logo-b); letter-spacing: .02em; margin: 0 0 24px; }
.tagline::after { margin-top: 16px; width: clamp(104px, 14vw, 180px); }
.section-lead { color: var(--muted); max-width: 60ch; margin-bottom: 48px; }
.eyebrow { color: var(--sand); text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; margin: 0 0 8px; }
.btn { position: relative; isolation: isolate; display: inline-block; background: var(--accent); color: var(--on-accent); padding: 14px 36px; min-height: 44px; clip-path: var(--cut-shape); font: italic 800 1.15rem var(--font-display); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer; transition: background .2s, color .2s; }
.btn:focus-visible { clip-path: none; outline: 2px solid var(--sand); outline-offset: 4px; }
.btn:hover { background: var(--sand); }
.btn-ghost { background: var(--text); color: var(--text); }
.btn-ghost::before { content: ""; position: absolute; inset: 2px; z-index: -1; background: var(--bg); clip-path: var(--cut-shape); transition: background .2s; }
.btn-ghost:hover { background: var(--text); color: var(--on-accent); }
.btn-ghost:hover::before { background: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 8px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; height: var(--header-top-h); z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(16px, 4vw, 48px); transition: height .4s cubic-bezier(.16,1,.3,1), background .3s, padding .4s cubic-bezier(.16,1,.3,1); }
.site-header.scrolled { height: var(--header-h); background: var(--header-bg); backdrop-filter: blur(8px); }
.logo { font: 800 clamp(1.35rem, 1.9vw, 1.7rem) var(--font-display); transition: font-size .4s cubic-bezier(.16,1,.3,1); color: var(--text); text-decoration: none; }
.logo, .hero h1 { text-transform: none; font-family: var(--font-logo-a); font-weight: 400; font-style: normal; letter-spacing: .02em; }
.logo span, .hero h1 span { font-family: var(--font-logo-b); font-weight: 500; font-size: 1em; letter-spacing: .02em; margin-left: .06em; color: var(--accent); }
.logo { display: inline-flex; align-items: baseline; }
.logo::before { align-self: center; content: ""; margin-right: .5em; width: 1.15em; height: .7em; background: var(--livery); clip-path: var(--cut-shape); }
.logo { color: var(--text); }
.logo { justify-self: start; }
.header-social { justify-self: end; display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.header-social a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--text); transition: color .2s; }
.header-social a:hover { color: var(--accent); }
.nav { display: flex; gap: clamp(20px, 2.4vw, 36px); }
.nav a { color: var(--text); text-decoration: none; font: 600 1.05rem var(--font-display); text-transform: uppercase; letter-spacing: .05em; }
.nav-extra { display: none; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; background: var(--livery); clip-path: var(--cut-shape); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.nav a.active::after, .nav a:hover::after { transform: scaleX(1); }
.nav a.active, .nav a:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 26px; height: 2px; background: var(--text); position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -8px; }
.nav-toggle span::after { position: absolute; top: 8px; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 0 0 12vh; }
.hero-media { position: absolute; inset: 0; overflow: hidden; background: var(--hero-fallback); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity 1s ease, transform 7s cubic-bezier(.16,1,.3,1); }
.hero-media img.is-active { opacity: 1; transform: none; }
.hero-controls { position: absolute; z-index: 2; right: clamp(16px, 4vw, 48px); bottom: clamp(20px, 5vh, 48px); display: flex; align-items: center; gap: 4px; }
.hc-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: none; border: 0; color: var(--text); cursor: pointer; transition: color .2s; }
.hc-btn:hover { color: var(--accent); }
.hc-dots { display: flex; gap: 6px; padding: 0 8px; }
.hc-dots button { width: 32px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.hc-dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 5px; margin-top: -2px; background: rgba(242,237,228,.45); clip-path: var(--cut-shape); transition: background .3s; }
.hc-dots button:hover::after { background: var(--text); }
.hc-dots button[aria-current="true"]::after { background: var(--accent); }
.hc-pause .i-play, .hc-pause[aria-pressed="true"] .i-pause { display: none; }
.hc-pause[aria-pressed="true"] .i-play { display: block; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 24%), linear-gradient(to top, var(--bg) 5%, transparent 60%), linear-gradient(to right, rgba(0,0,0,.6), transparent); }
.hero-content { position: relative; width: min(1200px, 100% - 32px); margin-inline: auto; }
.hero h1 { font-size: clamp(2.25rem, 11vw, 6rem); font-weight: 800; }
.lead { max-width: 45ch; font-size: 1.15rem; }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.card { background: var(--bg-alt); padding: 32px; border-top: 1px solid var(--line); }
/* About */
.about-top { position: relative; display: flex; align-items: center; min-height: clamp(460px, 44vw, 700px); margin-bottom: 96px; }
.about-top > .container { position: relative; z-index: 1; }
.about-top > .container { width: 100%; margin: 0; padding-inline: clamp(16px, 7vw, 104px); }
.about-text { max-width: calc(50vw - clamp(16px, 7vw, 104px) - clamp(32px, 4vw, 72px)); padding: 24px 0; }
.about-claims { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 14px; }
.about-claims li { display: block; font: italic 800 clamp(1.4rem, 2.1vw, 2rem)/1.1 var(--font-display); text-transform: uppercase; }
.about-claims li::before { content: ""; display: inline-block; vertical-align: .12em; margin-right: 14px; width: 26px; height: 8px; background: var(--livery); clip-path: var(--cut-shape); }
.about-claims b { color: var(--accent); font-weight: 800; }
.about-text .section-lead { font-size: clamp(1.05rem, 1.35vw, 1.3rem); max-width: 48ch; margin-bottom: 0; }
.about-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; margin: 0; clip-path: polygon(clamp(60px, 7vw, 130px) 0, 100% 0, 100% 100%, 0 100%); background: var(--surface-2); }
.about-photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 40%; }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr)); gap: 56px 64px; }
.person { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 36px; align-items: start; }
.person img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; background: var(--surface-2); }
.person h3 { margin: 0; font-size: clamp(2.2rem, 3vw, 3rem); }
.person-role { margin: 6px 0 18px; color: var(--sand); font: 500 .85rem var(--font-body); font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; }
.person-text { margin: 0; color: var(--muted); max-width: 44ch; font-size: 1.1rem; line-height: 1.65; }
@media (max-width: 800px) {
  .about-top { display: block; min-height: 0; margin-bottom: 40px; }
  .about-text { max-width: none; padding-bottom: 8px; }
  .about-claims { margin-top: 28px; }
  .about-photo { position: relative; width: 100%; height: 340px; margin-top: 24px; clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%); }
  .person { grid-template-columns: 120px minmax(0, 1fr); gap: 20px; }
  .person h3 { font-size: 1.6rem; }
}

/* Vehicles */
.vehicle { background: var(--bg); overflow: hidden; }
.vehicle img { aspect-ratio: 16/10; object-fit: cover; width: 100%; height: auto; background: var(--surface-2); }
.vehicle-body { padding: 24px; }
.vehicle h3 { font-size: 2rem; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; margin: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }

/* Stats & results */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin: 24px 0 64px; }
.stats strong { display: block; font-variant-numeric: tabular-nums; font: 800 clamp(3rem, 8vw, 5.5rem) var(--font-display); color: var(--accent); line-height: 1; }
.stats span { color: var(--muted); text-transform: uppercase; font-size: .85rem; }
.source { margin: 16px 0 0; color: var(--muted); font-size: .85rem; max-width: 70ch; }
.source a { color: var(--sand); }
.results { width: 100%; border-collapse: collapse; }
.results th, .results td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.results th { font-family: var(--font-display); text-transform: uppercase; color: var(--sand); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button { background: none; border: 1px solid var(--muted); color: var(--text); padding: 10px 18px; min-height: 44px; font: 600 1rem var(--font-display); text-transform: uppercase; cursor: pointer; }
.filters button.active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery a { overflow: hidden; background: var(--surface-2); aspect-ratio: 3 / 2; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.06); }
.gallery a.hidden { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--scrim); color: #fff; align-items: center; justify-content: center; }
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: var(--scrim); }
body:has(.lightbox[open]) { overflow: hidden; }
.lightbox img { max-width: 90vw; max-height: 85vh; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 3rem; line-height: 1; cursor: pointer; padding: 16px; min-width: 56px; min-height: 56px; }
.lb-close { top: 8px; right: 8px; } .lb-prev { left: 8px; } .lb-next { right: 8px; }

/* Partners */
.tier { color: var(--muted); font-size: 1.1rem; margin-top: 40px; }
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; align-items: center; }
.logos-lg { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.logos-xl { grid-template-columns: minmax(0, 360px); }
.logos a { display: flex; align-items: center; justify-content: center; min-height: 100px; padding: 16px; background: var(--bg-alt); }
.logos img { max-height: 70px; filter: grayscale(1) brightness(1.6); opacity: .8; transition: filter .3s, opacity .3s; }
.logos a:hover img { filter: none; opacity: 1; }

/* Disciplines */
.disciplines { display: grid; gap: clamp(48px, 7vw, 96px); }
.discipline { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.discipline:nth-child(even) .discipline-photo { order: 2; }
.discipline-photo { margin: 0; aspect-ratio: 3 / 2; background: var(--surface-2); clip-path: polygon(13% 0, 100% 0, 87% 100%, 0 100%); overflow: hidden; }
.discipline-photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.discipline-body h3 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); font-style: italic; margin-bottom: .3em; }
.discipline-body > p { margin: 0 0 28px; color: var(--muted); max-width: 52ch; font-size: 1.05rem; }
.facts { display: flex; flex-wrap: wrap; gap: 20px 40px; margin: 0; }
.facts dt { color: var(--muted); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-stretch: 125%; }
.facts dd { margin: 4px 0 0; font: 800 1.5rem/1.1 var(--font-display); text-transform: uppercase; color: var(--text); }
@media (max-width: 800px) { .discipline { grid-template-columns: 1fr; } .discipline:nth-child(even) .discipline-photo { order: 0; } }

/* Own builds */
.build { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.build-note { margin: 0 0 32px; max-width: 55ch; }
/* Photo mosaic leans at the same angle as the stage-cut shapes: skew the grid, counter-skew each photo */
#vlastni-auta { overflow-x: clip; }
.build-photos { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; aspect-ratio: 5 / 4; margin-inline: 28px; transform: skewX(-11deg); }
.build-photos figure { margin: 0; overflow: hidden; background: var(--surface-2); }
.build-photos figure:first-child { grid-row: 1 / 3; }
.build-photos img { width: 100%; height: 100%; object-fit: cover; transform: skewX(11deg) scale(1.3); }
@media (max-width: 800px) { .build { grid-template-columns: 1fr; } .build-photos { aspect-ratio: 4 / 3; } }

/* Press */
.media-list { list-style: none; margin: 0; padding: 0; }
.media-list li { border-top: 1px solid var(--line); }
.media-list li:last-child { border-bottom: 1px solid var(--line); }
.media-item { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; align-items: center; gap: clamp(16px, 3vw, 40px); padding: 24px 0; color: var(--text); text-decoration: none; }
.media-logo { display: grid; place-items: center; height: 72px; padding: 0 20px; background: var(--text); }
.media-logo img { max-width: 100%; max-height: 30px; width: auto; height: auto; }
.media-wordmark { color: #1b1916; font: 800 1.35rem var(--font-display); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.media-body { display: grid; gap: 6px; }
.media-title { font: 800 clamp(1.3rem, 2.4vw, 1.9rem)/1.15 var(--font-display); text-transform: uppercase; text-wrap: balance; transition: color .2s; }
.media-meta { color: var(--muted); font-size: .9rem; }
.media-arrow { color: var(--muted); transition: color .2s, transform .3s cubic-bezier(.16,1,.3,1); }
.media-item:hover .media-title, .media-item:hover .media-arrow { color: var(--accent); }
.media-item:hover .media-arrow { transform: translate(3px, -3px); }
@media (max-width: 800px) { .media-item { grid-template-columns: 1fr auto; } .media-logo { grid-column: 1 / -1; justify-self: start; width: 200px; height: 56px; } .media-arrow { align-self: start; } }

/* Partner offer */
.offer { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.offer-list { list-style: none; margin: 0; padding: 0; }
.offer-list li { padding: 24px 0; border-top: 1px solid var(--line); }
.offer-list li:last-child { border-bottom: 1px solid var(--line); }
.offer-list h3 { font-size: 1.6rem; color: var(--sand); margin-bottom: 6px; }
.offer-list p { margin: 0; color: var(--muted); max-width: 55ch; }
@media (max-width: 800px) { .offer { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 48px; }
.social { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.social a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; font: 600 1.05rem var(--font-display); text-transform: uppercase; letter-spacing: .05em; }
.social a:hover { color: var(--accent); }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; color: var(--muted); font-size: .9rem; }
.contact-form input, .contact-form textarea { background: var(--bg); border: 1px solid var(--line); color: var(--text); padding: 12px; font: inherit; border-radius: var(--radius); }
.form-status { margin: 0; min-height: 1.6em; color: var(--sand); }

@media (max-width: 360px) {
  .site-header { padding-inline: 12px; gap: 0; }
  .logo { font-size: 1.2rem; }
  .logo::before { margin-right: .35em; }
  .header-social a { width: 38px; }
  .nav-toggle { width: 40px; }
}

/* Footer */
.site-footer { padding: 56px 0 0; background: var(--bg); color: var(--muted); font-size: .95rem; }
.footer-main, .footer-bar { width: min(1200px, 100% - 32px); margin-inline: auto; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-brand .logo { font-size: 2.2rem; }
.footer-tag { margin: 12px 0 20px; color: var(--text); font: 500 1rem var(--font-logo-b); letter-spacing: .02em; }
.footer-social, .footer-links { list-style: none; margin: 0; padding: 0; }
.footer-social { display: flex; gap: 4px; margin-left: -10px; }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--text); transition: color .2s; }
.footer-social a:hover, .footer-links a:hover, .to-top:hover { color: var(--accent); }
.footer-col h2 { margin: 0 0 14px; font: 800 1.15rem var(--font-display); letter-spacing: .08em; color: var(--sand); }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--text); text-decoration: none; transition: color .2s; }
.footer-col nav, nav.footer-col .footer-links { columns: 2; column-gap: 24px; }
.footer-contact li { display: flex; align-items: center; min-height: 36px; }
.footer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 20px 0 24px; border-top: 1px solid var(--line); font-size: .85rem; }
.footer-bar p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text); text-decoration: none; font: 600 1rem var(--font-display); text-transform: uppercase; letter-spacing: .06em; transition: color .2s; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .gallery img, .nav, .site-header, .logo { transition: none; } .nav.open a { animation: none !important; } .hero-media img { transition: opacity .2s; transform: none; } .gallery a:hover img { transform: none; } }

@keyframes nav-in { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
/* Mobile */
@media (max-width: 1180px) {
  :root { --header-top-h: var(--header-h); }
  .site-header { display: flex; justify-content: space-between; gap: 4px; }
  .logo { margin-right: auto; }
  .header-social { order: 2; }
  .nav-toggle { display: block; order: 3; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--header-h)); overflow-y: auto; flex-direction: column; gap: 0; background: var(--bg); padding: 0; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .25s, visibility 0s .3s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .25s; }
  .nav a:not(.nav-cta) { display: flex; align-items: center; min-height: 68px; padding: 0 clamp(16px, 4vw, 48px); border-bottom: 1px solid var(--line); font: italic 800 2rem var(--font-display); letter-spacing: .02em; }
  .nav a:not(.nav-cta)::after { content: ""; position: static; width: 10px; height: 10px; margin-left: auto; background: none; clip-path: none; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .4; transition: opacity .2s, transform .3s cubic-bezier(.16,1,.3,1); }
  .nav a.active::after, .nav a:active::after { opacity: 1; transform: translateX(4px) rotate(45deg); }
  .nav a:active { background: var(--bg-alt); }
  .nav.open a:not(.nav-cta) { animation: nav-in .5s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i, 0) * 45ms + 60ms); }
  .nav a:nth-child(1) { --i: 0; } .nav a:nth-child(2) { --i: 1; } .nav a:nth-child(3) { --i: 2; } .nav a:nth-child(4) { --i: 3; }
  .nav a:nth-child(5) { --i: 4; } .nav a:nth-child(6) { --i: 5; } .nav a:nth-child(7) { --i: 6; } .nav a:nth-child(8) { --i: 7; }
  .nav-extra { display: block; position: relative; margin-top: auto; padding: 32px clamp(16px, 4vw, 48px) 72px; }
  .nav-extra::before { content: ""; position: absolute; top: 0; left: clamp(16px, 4vw, 48px); width: 104px; height: 8px; background: var(--livery); clip-path: var(--cut-shape); }
  .nav a.nav-cta { display: flex; justify-content: center; width: 100%; color: var(--on-accent); font: italic 800 1.3rem var(--font-display); letter-spacing: .03em; }
  .nav a.nav-cta:hover { color: var(--on-accent); background: var(--sand); }
  .nav-extra p { margin: 16px 0 0; color: var(--muted); font: 500 .95rem var(--font-logo-b); letter-spacing: .02em; text-align: center; }
  .site-header { background: var(--header-bg); }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .results { font-size: .9rem; display: block; overflow-x: auto; }
  .cards-2 { grid-template-columns: 1fr; }
}
address { font-style: normal; }
