/* MGYM Kraków: layout z Simracing Dream, kolory pachołka (pomarańcz na grafitowym tle). */
@font-face { font-family: "Saira"; src: url(/fonts/saira-latin.woff2) format("woff2"); font-weight: 500 900; font-stretch: 75% 100%; font-display: swap;
  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; }
@font-face { font-family: "Saira"; src: url(/fonts/saira-latin-ext.woff2) format("woff2"); font-weight: 500 900; font-stretch: 75% 100%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; src: url(/fonts/geist-latin.woff2) format("woff2"); font-weight: 400 700; font-display: swap;
  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; }
@font-face { font-family: "Geist"; src: url(/fonts/geist-latin-ext.woff2) format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  --bg: #0e0f11;
  --bg-2: #141619;
  --surface: #1c1f23;
  --surface-2: #262a2f;
  --line: rgb(236 240 245 / .09);
  --line-2: rgb(236 240 245 / .17);
  --text: #f3f5f7;
  --text-2: #d3d8de;
  --muted: #a3aab3;
  --red: #ff6a13;
  --red-hi: #ff8a3d;
  --red-soft: rgb(255 106 19 / .14);
  --gold: #f5b90a;
  --r: 8px;       /* cards, images, buttons */
  --r-sm: 4px;    /* chips, flags, tabs */
  --head: 76px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --display: "Saira", "Arial Narrow", system-ui, sans-serif;
  --body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  /* brand motif: the "///" slashes from the logo */
  --slashes: repeating-linear-gradient(115deg, var(--red) 0 7px, transparent 7px 12px);
  /* carbon-like weave for textured sections */
  --weave: repeating-linear-gradient(45deg, rgb(255 255 255 / .018) 0 2px, transparent 2px 6px), repeating-linear-gradient(-45deg, rgb(0 0 0 / .25) 0 2px, transparent 2px 6px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 40px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
/* film grain over everything, fixed so it never repaints on scroll */
body::after { content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; font-stretch: 82%; text-transform: uppercase; line-height: .98; letter-spacing: -.005em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.35rem; line-height: 1.1; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter) max(16px, env(safe-area-inset-right, 0px)); }
.i { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.grow { flex: 1; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: var(--r); font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px;
  border-radius: var(--r); border: 1px solid transparent; background: var(--red); color: #fff; text-decoration: none; white-space: nowrap;
  font: 700 15px/1 var(--display); font-stretch: 90%; letter-spacing: .05em; text-transform: uppercase; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .12s var(--ease), box-shadow .2s var(--ease);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--red-hi); box-shadow: 0 8px 24px rgb(255 106 19 / .28); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn-ghost { background: rgb(8 9 10 / .35); border-color: rgb(236 240 245 / .3); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgb(255 255 255 / .08); border-color: rgb(236 240 245 / .55); box-shadow: none; }
.btn-soft { background: var(--red-soft); border-color: rgb(255 106 19 / .45); }
.btn-soft:hover { background: rgb(255 106 19 / .26); box-shadow: none; }
.btn-light { background: var(--text); color: #b23d00; }
.btn-light:hover { background: #fff; box-shadow: 0 8px 24px rgb(0 0 0 / .3); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- top bar + header ---------- */
.topbar { background: #08090a; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.topbar .wrap { display: flex; align-items: center; gap: 22px; min-height: 36px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; white-space: nowrap; }
.topbar .i { color: var(--red); width: 15px; height: 15px; }
.topbar a:hover { color: var(--text); }
.tb-social { gap: 4px !important; }
.tb-social a { padding: 6px; }
.tb-social .i { color: var(--muted); }
.tb-social a:hover .i { color: var(--text); }
.lang { font: 700 13px/1 var(--display); letter-spacing: .08em; padding: 6px 0 6px 10px; border-left: 1px solid var(--line); }
@media (max-width: 760px) { .topbar .tb-addr, .topbar .tb-social { display: none; } .topbar .wrap { gap: 14px; } }

.site-head { position: sticky; top: 0; z-index: 30; background: rgb(14 15 17 / .88); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgb(255 106 19 / .35); padding-top: env(safe-area-inset-top, 0px); }
.site-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--red) 20%, var(--red) 80%, transparent); opacity: .7; }
.head-row { height: var(--head); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img:first-child { width: 44px; height: 44px; }
.brand .wordmark { width: auto; height: 34px; }
.nav { display: flex; align-items: center; justify-content: center; gap: 2px; flex: 1; min-width: 0; }
.nav a { position: relative; padding: 10px 11px; text-decoration: none; font: 600 15px/1 var(--display); font-stretch: 90%; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; transition: color .15s; }
.nav a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover { color: var(--text); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav a[aria-current] { color: var(--text); }
.head-cta { flex: none; }
/* Hot Lap: a tab hanging under the header bar */
.hang { position: absolute; left: 0; right: 0; top: 100%; display: flex; justify-content: flex-end; gap: 8px; pointer-events: none; }
.hang a { pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px 10px; margin-top: 1px; text-decoration: none;
  background: linear-gradient(180deg, #2a1608, #17191c); border: 1px solid rgb(245 185 10 / .55); border-top: 0; border-radius: 0 0 var(--r) var(--r);
  font: 800 14px/1 var(--display); font-stretch: 88%; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); box-shadow: 0 10px 24px rgb(0 0 0 / .45); transition: background-color .2s, color .2s; }
.hang a:hover, .hang a[aria-current] { background: var(--gold); color: #1b0e05; }
.hang .i { width: 17px; height: 17px; }

.burger { display: none; }
.burger summary { list-style: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--r); border: 1px solid var(--line-2); cursor: pointer; }
.burger summary::-webkit-details-marker { display: none; }
.burger summary .i { width: 22px; height: 22px; }
.burger .shut, .burger[open] .open { display: none; }
.burger[open] .shut { display: block; }
.burger nav { position: fixed; inset: calc(var(--head) + env(safe-area-inset-top, 0px)) 0 auto 0; max-height: calc(100dvh - var(--head)); overflow: auto; overscroll-behavior: contain;
  background: var(--bg-2); border-bottom: 1px solid var(--red); padding: 12px var(--gutter) 24px; display: grid; gap: 2px; z-index: 31; }
.burger nav > a:not(.btn) { padding: 13px 4px; text-decoration: none; font: 700 20px/1.1 var(--display); text-transform: uppercase; border-bottom: 1px solid var(--line); }
.burger nav > a[aria-current] { color: var(--red-hi); }
.burger-contact { display: flex; flex-wrap: wrap; gap: 18px; margin: 14px 0 6px; }
.burger-contact a { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; color: var(--text-2); }
.burger nav .btn { margin-top: 10px; }
@media (max-width: 1239px) {
  .nav { display: none; }
  .burger { display: block; }
  .head-row { justify-content: space-between; }
  .head-cta { margin-left: auto; }
}
@media (max-width: 520px) {
  :root { --head: 64px; }
  .brand .wordmark { display: none; }
  .head-cta { padding: 0 14px; min-height: 42px; font-size: 14px; }
  .hang a { padding: 7px 14px 8px; font-size: 13px; }
}

/* ---------- section tones ---------- */
.block { position: relative; isolation: isolate; padding-block: clamp(72px, 9vw, 128px) clamp(80px, 10vw, 144px); }
.sec-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.sec-bg img { width: 100%; height: 100%; object-fit: cover; }
.sec-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(14 15 17 / .93), rgb(14 15 17 / .78) 45%, rgb(14 15 17 / .95)); }
.tone-texture { background: var(--weave), radial-gradient(ellipse 80% 60% at 100% 0%, rgb(255 106 19 / .1), transparent 60%), var(--bg-2); border-block: 1px solid var(--line); }
.tone-red { background: radial-gradient(ellipse 70% 90% at 0% 0%, rgb(255 106 19 / .28), transparent 60%), radial-gradient(ellipse 60% 80% at 100% 100%, rgb(255 106 19 / .16), transparent 60%), #181a1d; }
.tone-plain + .tone-plain { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 16px; max-width: 68ch; margin-bottom: 48px; }
.section-head h2::before, .prose h2::before, .visit-info h2::before, .cta h2::before {
  content: ""; display: block; width: 52px; height: 12px; margin-bottom: 18px; background: var(--slashes); transform: skewX(-8deg); }
.section-head p { color: var(--muted); font-size: 18px; }

/* ---------- home hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(calc(100dvh - var(--head) - 36px), 860px); display: grid; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(14 15 17 / .96) 0%, rgb(14 15 17 / .8) 34%, rgb(14 15 17 / .15) 70%), linear-gradient(0deg, var(--bg) 0%, transparent 35%); }
.hero-inner { display: grid; grid-template-rows: 1fr auto; gap: 40px; padding-block: 72px 36px; }
.hero-copy { align-self: center; display: grid; gap: 26px; justify-items: start; max-width: 640px; }
.hero-logo { width: min(340px, 78%); height: auto; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); font-stretch: 76%; line-height: .92; max-width: 12ch; }
.hero .lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--text-2); max-width: 42ch; }
.hero-stats { margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0;
  background: rgb(14 15 17 / .55); border: 1px solid var(--line-2); border-radius: var(--r); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06); }
.hero-stats > div { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ic val" "ic lab"; column-gap: 16px; align-items: center; align-content: center; padding: 18px 28px; border-left: 1px solid var(--line); }
.hero-stats dd { grid-area: val; }
.hero-stats dt { grid-area: lab; }
.hero-stats .hs-icon { grid-area: ic; margin: 0; width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r); color: #fff; background: linear-gradient(135deg, var(--red), #a63a00); box-shadow: 0 6px 18px rgb(255 106 19 / .3); }
.hero-stats .hs-icon .i { width: 26px; height: 26px; }
.hero-stats > div:first-child { border-left: 0; }
.hero-stats dd:not(.hs-icon) { margin: 0; font: 800 clamp(2rem, 3.4vw, 2.8rem)/.95 var(--display); font-stretch: 80%; font-variant-numeric: tabular-nums; }
.hero-stats dt { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) {
  .hero-bg::after { background: linear-gradient(0deg, var(--bg) 8%, rgb(14 15 17 / .82) 55%, rgb(14 15 17 / .45)); }
  .hero-inner { padding-block: 48px 28px; }
  .hero-stats { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats > div { padding: 12px 14px; column-gap: 12px; border-top: 1px solid var(--line); }
  .hero-stats > div:nth-child(odd) { border-left: 0; }
  .hero-stats > div:nth-child(-n+2) { border-top: 0; }
  .hero-stats .hs-icon { width: 38px; height: 38px; }
  .hero-stats .hs-icon .i { width: 20px; height: 20px; }
}

/* ---------- sub-page hero ---------- */
.pagehero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; min-height: clamp(360px, 52vh, 560px); padding-block: 96px 64px; }
.pagehero.no-img { min-height: 0; padding-block: 88px 56px; background: var(--weave), radial-gradient(ellipse 60% 120% at 0% 100%, rgb(255 106 19 / .32), transparent 65%), var(--bg-2); border-bottom: 1px solid var(--line); }
.ph-bg { position: absolute; inset: 0; z-index: -1; }
.ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(14 15 17 / .94), rgb(14 15 17 / .6) 55%, rgb(14 15 17 / .25)), linear-gradient(0deg, var(--bg) 0%, transparent 55%); }
.pagehero .wrap { display: grid; gap: 22px; justify-items: start; }
.pagehero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); font-stretch: 76%; line-height: .92; max-width: 14ch; }
.pagehero h1::before { content: ""; display: block; width: 72px; height: 14px; margin-bottom: 22px; background: var(--slashes); transform: skewX(-8deg); }
.pagehero .lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--text-2); max-width: 50ch; }

/* ---------- tiles (bento, exact cell count) ---------- */
.tile-grid { display: grid; gap: 14px; grid-auto-rows: clamp(220px, 21vw, 290px); }
.tile-grid.n6 { grid-template-columns: repeat(4, 1fr); }
.tile-grid.n6 .tile:nth-child(1), .tile-grid.n6 .tile:nth-child(6) { grid-column: span 2; }
.tile-grid.n5 { grid-template-columns: repeat(3, 1fr); }
.tile-grid.n5 .tile:first-child { grid-row: span 2; }
.tile-grid.n5 .tile:nth-child(5) { grid-column: span 2; }
.tile-grid.n4 { grid-template-columns: repeat(2, 1fr); }
.tile-grid.n3 { grid-template-columns: 2fr 1fr; }
.tile-grid.n3 .tile:first-child { grid-row: span 2; }
.tile-grid.n2 { grid-template-columns: 1fr 1fr; }
.tile { position: relative; display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--r); text-decoration: none; background: var(--surface); border: 1px solid var(--line); isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(10 11 12 / .94) 5%, rgb(10 11 12 / .35) 55%, rgb(10 11 12 / .1)); transition: background-color .3s; }
.tile::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(.18); transform-origin: left; transition: transform .45s var(--ease); }
.tile-copy { display: grid; gap: 4px; padding: 22px 64px 24px 24px; }
.tile-copy strong { font: 800 clamp(1.4rem, 2.2vw, 1.9rem)/1 var(--display); font-stretch: 80%; text-transform: uppercase; }
.tile-copy span { color: var(--text-2); font-size: 15px; }
.tile-arrow { position: absolute; right: 20px; bottom: 24px; width: 26px; height: 26px; color: var(--red-hi); transition: transform .3s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile:hover::after { transform: scaleX(1); }
.tile:hover .tile-arrow { transform: translateX(4px); }
@media (max-width: 900px) {
  .tile-grid.n6, .tile-grid.n5, .tile-grid.n4, .tile-grid.n3 { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .tile-grid .tile:nth-child(n) { grid-column: auto; grid-row: auto; }
  .tile-grid.n6 .tile:nth-child(1), .tile-grid.n5 .tile:nth-child(1), .tile-grid.n3 .tile:nth-child(1) { grid-column: span 2; }
}
@media (max-width: 560px) { .tile-grid[class] { grid-template-columns: 1fr; } .tile-grid[class] .tile:nth-child(n) { grid-column: auto; } }

/* ---------- text ---------- */
.prose { max-width: 68ch; display: grid; gap: 18px; color: var(--text-2); }
.prose h2 { color: var(--text); margin-bottom: 6px; }
.prose h3 { color: var(--text); margin-top: 10px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.prose li::marker { color: var(--red); }
.prose a { color: var(--text); text-decoration-color: var(--red); text-underline-offset: 3px; text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.prose strong { color: var(--text); }
.prose .actions { margin-top: 10px; }
.split .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.img-left .split-media { order: -1; }
.split-media { margin: 0; position: relative; }
.split-media img { width: 100%; max-height: 640px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); position: relative; z-index: 1; }
.split-media::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border: 1px solid rgb(255 106 19 / .5); border-radius: var(--r); background: var(--weave); }
.split.img-left .split-media::before { inset: 22px 22px -18px -18px; }
@media (max-width: 899px) { .split .wrap { grid-template-columns: 1fr; } .split-media { order: -1; margin-right: 18px; } .split-media img { aspect-ratio: 16 / 11; } }

/* ---------- features ---------- */
.feat-list { list-style: none; margin: 0; padding: 0; }
.cards .feat-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.cards .feat-list.n4 { grid-template-columns: repeat(4, 1fr); }
.cards .feat-list.n6 { grid-template-columns: repeat(3, 1fr); }
.cards .feat-list.n2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
@media (max-width: 900px) { .cards .feat-list[class] { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards .feat-list[class] { grid-template-columns: 1fr; } }
.cards .feat-list li { position: relative; display: grid; gap: 16px; align-content: start; padding: 26px 24px; border-radius: var(--r); background: rgb(28 31 35 / .7); border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .05); overflow: hidden; transition: border-color .25s, transform .25s var(--ease); }
.cards .feat-list li::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; background: radial-gradient(circle, rgb(255 106 19 / .22), transparent 70%); }
.cards .feat-list li:hover { border-color: rgb(255 106 19 / .55); transform: translateY(-2px); }
.feat-icon { width: 46px; height: 46px; padding: 10px; border-radius: var(--r); color: #fff; background: linear-gradient(135deg, var(--red), #a63a00); box-shadow: 0 6px 18px rgb(255 106 19 / .3); }
.cards .feat-list strong { font: 800 1.3rem/1.1 var(--display); font-stretch: 85%; text-transform: uppercase; display: block; }
.cards .feat-list p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.chips .feat-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chips .feat-list li { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; background: rgb(28 31 35 / .8); border: 1px solid var(--line-2); }
.chips .feat-icon { width: 38px; height: 38px; padding: 8px; border-radius: 50%; box-shadow: none; }
.chips .feat-list strong { font-weight: 600; font-size: 16px; }

/* ---------- steps (a real sequence, so numbered) ---------- */
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: s; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); position: relative; }
.step-list.n3 { grid-template-columns: repeat(3, 1fr); }
.step-list.n4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .step-list[class] { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .step-list[class] { grid-template-columns: 1fr; } }
.step-list li { position: relative; display: grid; gap: 8px; align-content: start; padding: 22px 22px 24px; border-top: 3px solid var(--red); background: linear-gradient(180deg, rgb(255 106 19 / .1), transparent 70%); border-radius: 0 0 var(--r) var(--r); }
.step-no { font: 900 3.4rem/.9 var(--display); font-stretch: 75%; color: transparent; -webkit-text-stroke: 1.5px rgb(236 240 245 / .45); }
.step-list strong { font: 800 1.25rem/1.1 var(--display); font-stretch: 85%; text-transform: uppercase; }
.step-list p { color: var(--muted); font-size: 15px; }
.step-list p a { color: var(--text); }
.steps .actions { margin-top: 32px; }

/* ---------- specs ---------- */
.rig-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .rig-list { grid-template-columns: 1fr; } }
.rig { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); }
.rig-media { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2); }
.rig-media img { width: 100%; height: 100%; object-fit: cover; }
.rig-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--surface) 0%, transparent 50%); }
.dof-badge { position: absolute; left: 20px; top: 18px; z-index: 1; padding: 7px 12px 6px; border-radius: var(--r-sm); background: var(--red); font: 800 15px/1 var(--display); letter-spacing: .06em; }
.rig-body { display: grid; gap: 14px; align-content: start; padding: 4px 26px 28px; margin-top: -26px; position: relative; z-index: 1; }
.rig h3 { font-size: 2rem; font-stretch: 78%; }
.rig .meta { margin-top: 6px; color: var(--muted); font-size: 14px; }
.rig-book { justify-self: start; margin-top: 6px; }
.rig .tagline { color: var(--text-2); }
.spec-grid { margin: 6px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.spec-grid div { display: grid; gap: 2px; padding-left: 12px; border-left: 2px solid rgb(255 106 19 / .55); }
.spec-grid dt { font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.spec-grid dd { margin: 0; font-weight: 600; font-size: 15px; }
@media (max-width: 480px) { .spec-grid { grid-template-columns: 1fr; } }

/* ---------- team ---------- */
.people { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.people.n3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .people[class] { grid-template-columns: 1fr; max-width: 720px; } }
.person { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-2); overflow: hidden; }
.avatar { position: relative; height: 150px; display: grid; place-items: end start; padding: 0 24px; background: var(--weave), radial-gradient(ellipse 90% 120% at 100% 0%, rgb(255 106 19 / .45), transparent 60%), var(--surface-2); }
.avatar span { font: 900 5.2rem/.8 var(--display); font-stretch: 75%; color: transparent; -webkit-text-stroke: 2px rgb(236 240 245 / .55); transform: translateY(14px); }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person-copy { display: grid; gap: 10px; align-content: start; padding: 28px 24px; }
.person h3 { font-size: 1.8rem; font-stretch: 80%; }
.person .role { color: var(--red-hi); font-weight: 600; font-size: 15px; }
.person .highlight { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r-sm); background: rgb(245 185 10 / .1); border: 1px solid rgb(245 185 10 / .35); color: var(--gold); font-size: 14px; font-weight: 600; }
.person .highlight .i { margin-top: 2px; }
.person .bio { color: var(--text-2); font-size: 15.5px; }

/* ---------- stats band ---------- */
.stats { background: var(--bg-2); border-block: 1px solid var(--line); }
.stats dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 0; }
.stats dl > div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 30px 24px; border-left: 1px solid var(--line); }
.stats dd { margin: 0; font: 800 clamp(2.8rem, 5vw, 4rem)/.9 var(--display); font-stretch: 80%; }
.stats dt { color: var(--muted); font-size: 15px; }

/* ---------- image ---------- */
.image figure { margin-block: 0; display: grid; justify-items: center; gap: 12px; }
.image img { border-radius: var(--r); width: 100%; max-width: 900px; }
.image.wide img { max-width: none; }
.image.tall img { width: auto; max-height: 86vh; }
.image figcaption { color: var(--muted); font-size: 15px; }

/* ---------- pricing ---------- */
.pricing { overflow: hidden; }
.plans { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plans-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plans-1 { grid-template-columns: minmax(0, 520px); }
@media (max-width: 1140px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 28px 24px 24px; border-radius: var(--r);
  background: rgb(28 31 35 / .74); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .25s, transform .25s var(--ease); }
.plan:hover { border-color: rgb(255 106 19 / .55); transform: translateY(-3px); }
@media (prefers-reduced-transparency: reduce) { .plan { background: var(--surface); backdrop-filter: none; } }
.plan-media { margin: -28px -24px 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r) var(--r) 0 0; }
.plan-media img { width: 100%; height: 100%; object-fit: cover; }
.plan-link { color: inherit; text-decoration: none; }
.plan-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.plan .btn { position: relative; z-index: 1; }
.plan.featured { border-color: rgb(245 185 10 / .55); background: linear-gradient(180deg, rgb(92 40 12 / .82), rgb(28 31 35 / .8) 45%); }
.flag { position: absolute; top: 0; right: 20px; background: var(--gold); color: #1b0e05; padding: 6px 10px; border-radius: 0 0 var(--r-sm) var(--r-sm); font: 800 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.plan h3 { font-size: 1.9rem; font-stretch: 80%; }
.plan .meta { margin-top: 6px; color: var(--muted); font-size: 14px; }
.plan .desc { color: var(--text-2); font-size: 15px; }
.kit { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.kit li { font-size: 12.5px; padding: 4px 8px; border-radius: var(--r-sm); background: rgb(0 0 0 / .28); border: 1px solid var(--line); color: var(--text-2); }
.prices { list-style: none; margin: auto 0 0; padding: 0; display: grid; }
.prices li { display: flex; justify-content: space-between; align-items: baseline; padding-block: 10px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.prices span { color: var(--muted); font-weight: 500; }
.prices strong { font: 800 1.75rem/1 var(--display); font-stretch: 85%; }
.plan.featured .prices strong { color: var(--gold); }
.note { margin-top: 28px; display: flex; gap: 16px; align-items: flex-start; max-width: 760px; padding: 20px 22px; border-radius: var(--r); background: rgb(28 31 35 / .85); border: 1px solid var(--line-2); }
.note > .i { width: 28px; height: 28px; color: var(--gold); margin-top: 2px; }
.note h3 { font-size: 1.1rem; margin-bottom: 6px; }
.note p { color: var(--text-2); font-size: 15px; }
.note strong { color: var(--gold); }

/* DOF meter (pricing cards + simulator cards) */
.dof-bar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.dof-bar i { height: 7px; border-radius: 2px; background: rgb(236 240 245 / .12); transform: skewX(-18deg); }
.dof-bar i.on { background: var(--red); box-shadow: 0 0 10px rgb(255 106 19 / .45); }
.featured .dof-bar i.on { background: var(--gold); box-shadow: 0 0 10px rgb(245 185 10 / .4); }

/* ---------- gallery ---------- */
.shot { display: block; padding: 0; border: 0; background: var(--surface); border-radius: var(--r); overflow: hidden; cursor: zoom-in; width: 100%; height: 100%; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.03); }
.grid-n1, .grid-n2, .grid-n3, .grid-n4 { display: grid; gap: 12px; grid-auto-rows: clamp(200px, 24vw, 320px); }
.grid-n1 { grid-auto-rows: auto; }
.grid-n2 { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(280px, 38vw, 560px); }
.grid-n2 .shot img { object-fit: contain; background: #0a0b0c; }
.grid-n3 { grid-template-columns: 2fr 1fr; }
.grid-n3 .shot:first-child { grid-row: span 2; }
.grid-n4 { grid-template-columns: 2fr 1fr 1fr; }
.grid-n4 .shot:first-child { grid-row: span 2; }
.grid-n4 .shot:last-child { grid-column: span 2; }
.grid-masonry { columns: 3 260px; column-gap: 12px; }
.grid-masonry .shot { margin-bottom: 12px; break-inside: avoid; height: auto; }
@media (max-width: 760px) {
  .grid-n3, .grid-n4 { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; }
  .grid-n3 .shot:first-child, .grid-n4 .shot:first-child { grid-row: auto; grid-column: span 2; }
  .grid-n4 .shot:last-child { grid-column: span 2; }
  .grid-n2 { grid-template-columns: 1fr; grid-auto-rows: auto; }
}
.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgb(6 7 8 / .9); }
.lightbox img { max-width: 94vw; max-height: 92vh; width: auto; border-radius: var(--r); }
.lb-close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface); color: var(--text); cursor: pointer; }

/* ---------- visit ---------- */
.visit .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 80px); }
.visit-info { display: grid; gap: 18px; align-content: start; }
.visit-info > p { color: var(--muted); }
.visit-info h3 { margin-top: 12px; font-size: 1.05rem; letter-spacing: .06em; color: var(--muted); }
.hours { margin: 0; display: grid; font-variant-numeric: tabular-nums; }
.hours > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0 9px 14px; border-left: 2px solid var(--line); }
.hours dt { color: var(--text-2); }
.hours dd { margin: 0; font-weight: 600; }
.hours .today { border-left-color: var(--red); background: linear-gradient(90deg, var(--red-soft), transparent 70%); }
.hours small { color: var(--red-hi); font-weight: 600; margin-left: 6px; }
.contact-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list .i { color: var(--red); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.map { position: relative; min-height: 420px; border-radius: var(--r); overflow: hidden; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center;
  background: repeating-linear-gradient(0deg, rgb(255 255 255 / .03) 0 1px, transparent 1px 40px), repeating-linear-gradient(90deg, rgb(255 255 255 / .03) 0 1px, transparent 1px 40px), radial-gradient(circle at 50% 42%, rgb(255 106 19 / .2), transparent 60%), var(--surface); border: 1px solid var(--line-2); }
.map .map-icon { width: 56px; height: 56px; color: var(--red); }
.map p { color: var(--muted); font-size: 14px; }
.map > a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 15px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 899px) { .visit .wrap { grid-template-columns: 1fr; } .map { min-height: 320px; } }

/* ---------- cta: red glow + chequered flag fading in from the right ---------- */
.cta { overflow: hidden; background: radial-gradient(ellipse 70% 130% at 0% 50%, rgb(255 106 19 / .6), transparent 70%), linear-gradient(90deg, #3a1a08, var(--bg-2)); border-block: 1px solid rgb(255 106 19 / .35); }
.cta::before { content: ""; position: absolute; inset: 0 0 0 45%; z-index: -1; opacity: .16; transform: skewX(-12deg); transform-origin: bottom;
  background: conic-gradient(#fff 25%, transparent 0 50%, #fff 0 75%, transparent 0) 0 0 / 44px 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.cta .sec-bg::after { background: linear-gradient(90deg, rgb(58 26 8 / .96), rgb(14 15 17 / .8)); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.cta p { margin-top: 10px; color: var(--text-2); font-size: 18px; max-width: 52ch; }

/* ---------- faq ---------- */
.faq dl { margin: 0; display: grid; gap: 28px; }
.faq dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; }
.faq dt { font-weight: 600; font-size: 18px; }
.faq dd { margin: 0; color: var(--text-2); display: grid; gap: 10px; }
@media (max-width: 760px) { .faq dl > div { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- leaderboard ---------- */
.leaderboard .rules { display: inline-flex; gap: 6px; align-items: center; color: var(--text-2); }
.tracks-label { margin-bottom: 10px; font: 800 13px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tracks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-bottom: 28px; }
.tracks button { display: grid; gap: 6px; justify-items: start; align-content: start; text-align: left; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line-2); background: rgb(28 31 35 / .6); color: var(--text-2); font: 500 14px/1.25 var(--body); cursor: pointer; transition: border-color .2s, background-color .2s; }
.tracks button:hover { border-color: rgb(255 255 255 / .35); }
.tracks button strong { color: var(--text); font-size: 16px; font-weight: 700; }
.tracks button[aria-selected="true"] { background: rgb(255 106 19 / .16); border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.lvl { padding: 4px 7px; border-radius: 4px; background: var(--line-2); color: var(--text); font: 800 11px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.lvl-hard { background: var(--red); color: #fff; }
.lvl-mid { background: var(--gold); color: #1b0e05; }
.lvl-easy { background: #22c55e; color: #052e14; }
@media (max-width: 520px) { .tracks { grid-template-columns: 1fr 1fr; gap: 8px; } .tracks button { padding: 10px 12px; } .tracks button strong { font-size: 15px; } }
.lb-body { max-width: 820px; }
.lb-grid.has-media { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.lb-media { position: sticky; top: calc(var(--head) + 24px); }
.lb-media figure { margin: 0; display: grid; gap: 16px; }
.lb-media figure[hidden] { display: none; }
.lb-media .video { border-radius: 28px; }
.video-none { display: grid; place-content: center; justify-items: center; gap: 14px; padding: 20px; text-align: center; color: var(--muted); }
.video-none p { display: inline-flex; gap: 8px; align-items: center; margin: 0; }
.lb-media img { display: block; width: 100%; height: auto; border-radius: 28px; }
@media (max-width: 760px) { .lb-grid.has-media { grid-template-columns: 1fr; gap: 20px; } .lb-media { position: static; max-width: 480px; } }
.lb-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.lb-table th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 500; padding: 8px 12px; }
.lb-table td { padding: 12px; border-top: 1px solid var(--line); }
.lb-table td:first-child { width: 56px; font: 800 1.2rem/1 var(--display); color: var(--muted); }
.lb-table td:last-child { text-align: right; font-weight: 600; }
.lb-table tr:first-child td { background: rgb(245 185 10 / .1); }
.lb-table tr:first-child td:first-child { color: var(--gold); }
.lb-body .btn { margin-top: 16px; }
.lb-skeleton { display: grid; gap: 8px; }
.lb-skeleton span { height: 44px; border-radius: var(--r); background: var(--surface); }
@media (prefers-reduced-motion: no-preference) { .lb-skeleton span { animation: pulse 1.4s ease-in-out infinite; } }
@keyframes pulse { 50% { opacity: .45; } }
.lb-msg { padding: 24px; border: 1px dashed var(--line-2); border-radius: var(--r); display: grid; gap: 12px; justify-items: start; color: var(--text-2); }

/* ---------- footer ---------- */
.site-foot { position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid rgb(255 106 19 / .4); background: #0a0b0c; padding-block: 72px 28px; font-size: 15px; }
.site-foot .sec-bg { opacity: .35; }
.site-foot .sec-bg::after { background: linear-gradient(180deg, rgb(10 11 12 / .9), rgb(10 11 12 / .97)); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-foot h2 { font-size: 1rem; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.site-foot nav { display: grid; gap: 8px; align-content: start; }
.site-foot nav a, .site-foot p a { color: var(--text-2); text-decoration: none; }
.site-foot a:hover { color: var(--text); text-decoration: underline; }
.site-foot p { color: var(--text-2); }
.foot-brand { display: grid; gap: 16px; align-content: start; max-width: 40ch; }
.foot-brand .wordmark { width: 240px; height: auto; }
.foot-brand p { color: var(--muted); }
.foot-hours { margin: 0; display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.foot-hours div { display: flex; justify-content: space-between; gap: 12px; color: var(--text-2); }
.foot-hours dd { margin: 0; }
.foot-hours .today { color: var(--text); font-weight: 600; }
.social { display: flex; gap: 8px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--r); border: 1px solid var(--line-2); background: rgb(0 0 0 / .3); }
.social a:hover { border-color: var(--red); color: var(--text); }
.social .i { width: 20px; height: 20px; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.badges a { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.badges img { width: 120px; height: auto; border-radius: var(--r-sm); }
.foot-bottom { margin-top: 48px; padding-top: 20px; background: linear-gradient(var(--line), var(--line)) no-repeat center top / calc(100% - 2 * var(--gutter)) 1px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; }
.foot-bottom a { color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.cc-open { padding: 0; border: 0; background: none; color: var(--muted); font: inherit; text-decoration: underline; cursor: pointer; }
.cc-open:hover, .foot-bottom a:hover { color: var(--text); }

/* ---------- voucher maker ---------- */
.vc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.vc-form { display: grid; gap: 18px; }
.vc .fld { display: grid; gap: 8px; }
.vc label { font-weight: 600; font-size: 15px; }
.vc input, .vc select { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line-2); background: rgb(8 9 10 / .5); color: var(--text); font: inherit; }
.vc input:focus, .vc select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgb(245 185 10 / .18); }
.vc-exp, .vc-price { color: var(--muted); }
.vc-price { font-size: 18px; }
.vc-price strong { color: var(--text); font: 800 1.9rem/1 var(--display); font-stretch: 85%; margin-left: 6px; }
.vc-exp strong { color: var(--text); }
.vc-note { color: var(--muted); font-size: 14px; }
.vc-preview { margin: 0; position: sticky; top: calc(var(--head) + 24px); }
.vc-preview canvas, .vc-preview img { width: 100%; height: auto; display: block; border-radius: var(--r); box-shadow: 0 24px 60px rgb(0 0 0 / .5); }
@media (max-width: 899px) { .vc { grid-template-columns: 1fr; } .vc-preview { position: static; order: -1; } }

/* ---------- cookie bar ---------- */
.cc { position: fixed; left: 16px; bottom: 16px; z-index: 45; width: min(440px, calc(100vw - 32px)); display: grid; gap: 16px; padding: 20px; border-radius: var(--r);
  background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 18px 50px rgb(0 0 0 / .55); font-size: 15px; }
.cc[hidden] { display: none; }
.cc p { color: var(--text-2); }
.cc a { color: var(--text); }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-actions .btn { flex: 1; }
@media (max-width: 520px) { .cc { left: 8px; bottom: 8px; width: calc(100vw - 16px); padding: 16px; } }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- motion: scroll-driven where supported, content visible everywhere else ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .block .section-head, .block .prose, .plan, .shot, .tile, .visit-info, .map, .feat-list li, .step-list li, .rig, .person, .faq dl > div, .split-media {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%;
    }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .pagehero .wrap > * { animation: hero-in .9s var(--ease) both; }
  .hero-copy > :nth-child(2), .pagehero .wrap > :nth-child(2) { animation-delay: .07s; }
  .hero-copy > :nth-child(3), .pagehero .wrap > :nth-child(3) { animation-delay: .14s; }
  .hero-copy > :nth-child(4) { animation-delay: .21s; }
  .hero-stats { animation: hero-in 1s .3s var(--ease) both; }
  .hero-bg img, .ph-bg img { animation: hero-img 1.6s var(--ease) both; }
  .hang a { animation: drop .6s .4s var(--ease) both; }
}
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } }
@keyframes hero-img { from { transform: scale(1.07); } }
@keyframes drop { from { transform: translateY(-100%); } }
body[data-preview] * { animation: none !important; }

/* ---------- video ---------- */
.video-box { margin: 0; max-width: 1100px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2);
  background: radial-gradient(circle at 50% 50%, rgb(255 106 19 / .25), transparent 60%), var(--surface); }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; border: 0; background: rgb(14 15 17 / .25); color: #fff; cursor: pointer; transition: background-color .2s; }
.video-play .i { width: 88px; height: 88px; padding: 26px 22px 26px 30px; border-radius: 50%; background: var(--red); box-shadow: 0 12px 40px rgb(255 106 19 / .45); transition: transform .25s var(--ease); }
.video-play:hover { background: rgb(14 15 17 / .1); }
.video-play:hover .i { transform: scale(1.06); }
.video-box figcaption { margin-top: 12px; color: var(--muted); font-size: 15px; }

/* ---------- reviews ---------- */
.review-list { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.review-list.n1 { grid-template-columns: minmax(0, 760px); }
.review-list.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .review-list[class] { grid-template-columns: 1fr; } }
.review { margin: 0; display: grid; gap: 18px; align-content: start; padding: 28px 26px; border-radius: var(--r); background: rgb(28 31 35 / .7); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgb(255 255 255 / .05); }
.review .stars { display: flex; gap: 3px; color: rgb(236 240 245 / .18); }
.review .stars .on { color: var(--gold); }
.review blockquote { margin: 0; font-size: 17px; color: var(--text-2); }
.review figcaption { display: grid; gap: 2px; margin-top: auto; }
.review figcaption span { color: var(--muted); font-size: 14px; }
.reviews .actions { margin-top: 32px; }
.review blockquote { border-left: 2px solid var(--red); padding-left: 14px; }

/* ---------- logos ---------- */
.logo-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.logo-row li > * { display: grid; place-items: center; height: 104px; padding: 20px 24px; border-radius: var(--r); background: rgb(28 31 35 / .55); border: 1px solid var(--line); transition: border-color .2s, background-color .2s; }
.logo-row a:hover { border-color: rgb(255 106 19 / .55); background: rgb(28 31 35 / .9); }
.logo-row img { max-height: 60px; width: auto; object-fit: contain; }

/* ---------- notice bar ---------- */
.notice { padding-block: 14px; border-block: 1px solid rgb(255 255 255 / .08); }
.notice .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; text-align: center; font-weight: 600; }
.notice .i { width: 22px; height: 22px; }
.notice a { display: inline-flex; align-items: center; gap: 6px; text-underline-offset: 4px; }
.notice-red { background: linear-gradient(90deg, #a63a00, var(--red), #a63a00); color: #fff; }
.notice-gold { background: var(--gold); color: #181a1d; }
.notice-dark { background: var(--surface); color: var(--text); }
.notice-dark .i:first-child { color: var(--red); }

/* ---------- league: calendar + next round ---------- */
.league-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.league-grid.solo { grid-template-columns: minmax(0, 560px); }
.league-cal { margin: 0; }
.league-cal .shot { aspect-ratio: 1; border: 1px solid var(--line-2); }
.next-round { position: relative; display: grid; gap: 18px; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r); border: 1px solid rgb(255 106 19 / .55);
  background: radial-gradient(ellipse 90% 60% at 100% 0%, rgb(255 106 19 / .2), transparent 70%), var(--surface); box-shadow: 0 24px 60px rgb(0 0 0 / .4); }
.next-round::before { content: ""; position: absolute; top: -1px; left: 24px; width: 64px; height: 6px; background: var(--slashes); transform: skewX(-8deg); }
.next-round .kicker { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 700 14px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--red-hi); }
.next-round .soon { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: var(--r-sm); background: var(--gold); color: #1b0e05; }
.next-round .poster { width: 100%; max-height: 520px; object-fit: contain; border-radius: var(--r-sm); background: #0a0b0c; }
.next-round h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.round-meta { margin: 0; display: grid; gap: 10px; }
.round-meta div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.round-meta dt { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; }
.round-meta dt .i { color: var(--red); }
.round-meta dd { margin: 0; font-weight: 600; color: var(--text); }
.next-round .btn { justify-self: start; }
.next-round.over { place-items: center; text-align: center; color: var(--text-2); min-height: 240px; }
.next-round.over .i { width: 40px; height: 40px; color: var(--red); }
.round-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.round-list li { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line-2); background: rgb(28 31 35 / .55); font-size: 15px; color: var(--text-2); }
.round-list .rl-date { font: 800 1.35rem/1 var(--display); color: var(--text); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.round-list strong { color: var(--text); font-weight: 600; }
.round-list small { color: var(--muted); font-size: 13.5px; }
.round-list em { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--muted); }
.round-list .done { opacity: .6; }
.round-list .next { border-color: var(--red); background: var(--red-soft); box-shadow: inset 0 3px 0 var(--red); }
.round-list .next .rl-date { color: var(--red-hi); }
@media (max-width: 899px) { .league-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .round-list { grid-template-columns: 1fr 1fr; } .round-meta div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- league: sign-up form ---------- */
.signup .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.signup .section-head { margin-bottom: 0; }
.signup-form { display: grid; gap: 18px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r); border: 1px solid var(--line-2); background: rgb(28 31 35 / .7); }
.fld { display: grid; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fld label, .fld legend { font-weight: 600; font-size: 15px; color: var(--text); padding: 0; }
.fld small { color: var(--muted); font-weight: 400; }
.fld input, .fld select { width: 100%; min-height: 50px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line-2); background: #121416; color: var(--text); font: 400 17px/1.2 var(--body); }
.fld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(-45deg, transparent 50%, var(--muted) 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.fld input:focus, .fld select:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px rgb(255 106 19 / .25); }
.fld input:user-invalid { border-color: var(--gold); }
.radios { display: flex; gap: 10px; }
.radios label { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: var(--r); border: 1px solid var(--line-2); cursor: pointer; font-weight: 500; }
.radios label:has(:checked) { border-color: var(--red); background: var(--red-soft); }
.radios input, .consent input { accent-color: var(--red); width: 18px; height: 18px; margin: 0; flex: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-2); cursor: pointer; }
.consent input { margin-top: 3px; }
.consent a { color: var(--text); text-decoration-color: var(--red); text-underline-offset: 3px; }
.signup-form .btn { justify-self: start; }
.signup-form .btn:disabled { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 14px 16px; border-radius: var(--r); border: 1px dashed var(--line-2); color: var(--text-2); }
.form-msg.ok { border: 1px solid rgb(74 222 128 / .5); background: rgb(74 222 128 / .08); color: var(--text); }
.form-msg.err { border: 1px solid rgb(245 185 10 / .6); background: rgb(245 185 10 / .08); color: var(--text); }
@media (max-width: 899px) { .signup .wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .fld-row { grid-template-columns: 1fr; } }

/* ---------- league: standings (rounds on top, races under them) ---------- */
.st-scroll { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line-2); background: rgb(18 20 22 / .85); overscroll-behavior-x: contain; }
.st { border-collapse: separate; border-spacing: 0; width: 100%; font-variant-numeric: tabular-nums; font-size: 15px; }
.st th, .st td { padding: 10px 12px; text-align: center; white-space: nowrap; border-bottom: 1px solid var(--line); }
.st thead th { font: 700 13px/1.1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: #16181b; }
.st thead .st-round { color: var(--text); font-size: 15px; background: linear-gradient(180deg, rgb(255 106 19 / .35), rgb(255 106 19 / .15)); border-left: 2px solid var(--bg); border-bottom-color: var(--red); }
.st .st-sub { color: var(--text); font-weight: 700; background: rgb(255 255 255 / .03); }
.st tbody tr:hover td, .st tbody tr:hover th { background-color: rgb(255 255 255 / .04); }
.st .st-pos { position: sticky; left: 0; z-index: 1; width: 3.2rem; min-width: 3.2rem; font: 800 1.15rem/1 var(--display); color: var(--muted); background: #16181b; }
.st .st-name { position: sticky; left: 3.2rem; z-index: 1; text-align: left; font-weight: 600; color: var(--text); background: #16181b; box-shadow: 1px 0 0 var(--line-2); }
.st thead .st-pos, .st thead .st-name { z-index: 2; }
.st .st-total { font: 800 1.15rem/1 var(--display); color: var(--text); background: var(--red-soft); }
.st .dns { color: var(--muted); }
.st .p1 .st-pos { color: var(--gold); }
.st .p2 .st-pos { color: #d7dbe0; }
.st .p3 .st-pos { color: #d08a4f; }
.st .p1 .st-pos { box-shadow: inset 3px 0 0 var(--gold); }
@media (max-width: 560px) { .st th, .st td { padding: 9px 8px; } .st .st-name { max-width: 9.5rem; overflow: hidden; text-overflow: ellipsis; } }
.st .drop { color: var(--muted); }
.st-tabs { margin-bottom: 18px; }
.st-note { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ---------- MGYM: no photos yet, placeholders + dark text on orange ---------- */
.btn { color: #160b03; }
.btn-ghost, .btn-soft { color: var(--text); }
.hero-stats .hs-icon { color: #160b03; }
.brand-txt { font: 900 26px/1 var(--display); font-stretch: 78%; letter-spacing: .02em; text-transform: uppercase; }
.brand-txt b { color: var(--red); font-weight: 900; }
.hero-bg { background: radial-gradient(ellipse 55% 70% at 85% 40%, rgb(255 106 19 / .35), transparent 65%), var(--weave), var(--bg-2); }
.hero-bg::before { content: ""; position: absolute; inset: 12% -5% 20% 52%; background: var(--slashes); opacity: .14; transform: skewX(-14deg); }
.ph { display: grid; place-items: center; align-content: center; gap: 10px; color: var(--muted); font-size: 13px; text-align: center; padding: 16px;
  background: radial-gradient(circle at 50% 40%, rgb(255 106 19 / .18), transparent 65%), var(--weave), var(--surface); }
.ph .i { width: 40px; height: 40px; color: var(--red); opacity: .8; }
.tile .ph { position: absolute; inset: 0; z-index: -2; padding-bottom: 40%; }
.split-media .ph { position: relative; z-index: 1; aspect-ratio: 4 / 5; max-height: 640px; border-radius: var(--r); }
@media (max-width: 899px) { .split-media .ph { aspect-ratio: 16 / 11; } }
.gallery .shot { cursor: default; }
.todo { color: var(--gold); font-style: normal; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.steps li::before { content: counter(s); display: grid; place-items: center; height: 44px; border-radius: var(--r); background: var(--red-soft); border: 1px solid rgb(255 106 19 / .45); color: var(--red-hi); font: 800 20px/1 var(--display); }
.steps strong { display: block; color: var(--text); }
@media (max-width: 520px) { .head-row .brand-txt { display: none; } }
