/* Enfild v2 (2026-10-07; 3D stadium + ball buttons 2026-10-09). Reference: Kombai Gallery "Axiom-9" (a dark scene cut by one
   bright diagonal, heavy italic display type, leader-line callouts, a mono ticker, skewed stat tiles, a closing colour band) in
   Enfild's world. The /3d/ stadium is the hero: the live balon at night behind the turf diagonal; scrolling sweeps the diagonal
   away and flies the camera through the membrane onto the pitch. Sports are picked with real balls. Their words verbatim. */
/* self-hosted fonts (2026-10-25, review 13c): Google Fonts were 419 KB, 27 % of the page. Archivo is the same variable font,
   trimmed to the widths the site uses (wdth 100-125, wght 400-900) and its latin-ext file to Latin Extended-A (č ć đ š ž);
   IBM Plex Mono = Google's own files, unchanged. Both OFL. */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 100% 125%; font-display: swap;
  src: url('../fonts/archivo-normal-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; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 100% 125%; font-display: swap;
  src: url('../fonts/archivo-normal-latin-ext.woff2') format('woff2'); unicode-range: U+0100-017F; }
@font-face { font-family: 'Archivo'; font-style: italic; font-weight: 400 900; font-stretch: 100% 125%; font-display: swap;
  src: url('../fonts/archivo-italic-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; }
@font-face { font-family: 'Archivo'; font-style: italic; font-weight: 400 900; font-stretch: 100% 125%; font-display: swap;
  src: url('../fonts/archivo-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-017F; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/plexmono-400-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; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/plexmono-400-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: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/plexmono-500-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; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/plexmono-500-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: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/plexmono-600-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; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/plexmono-600-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; }
:root {
  --night: #070c09; --night-2: #0d1510; --card: #121c16; --line: rgba(238, 243, 234, .1); --line-2: rgba(238, 243, 234, .22);
  --panel: #2b7a2a;            /* white on it 5.4:1 */
  --turf: #60b045;             /* their brand green */
  --volt: #c8f53c;             /* action + live; ink on it 15:1 */
  --ink: #0a1206; --chalk: #eef3ea; --text: #d6dfd8; --fog: #a3b5a8;
  --display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --spring: linear(0, .012, .05 2.4%, .22 5.6%, .71 13.4%, .93 18%, 1.03 22.5%, 1.06 26.6%, 1.04 31.5%, 1.005 40%, .996 47%, 1.001 66%, 1);
  --page: min(1280px, calc(100vw - 48px));
  --skew: -12deg;
  interpolate-size: allow-keywords;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; -webkit-text-size-adjust: 100%; scrollbar-color: var(--panel) var(--night); }
/* Lenis (lenis.css 1.3.26, inlined) — it owns the easing, so native smooth scroll steps aside while it runs */
html.lenis, html.lenis body { height: auto; } html.lenis { scroll-behavior: auto; } .lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; } .lenis.lenis-smooth iframe { pointer-events: none; }
body { margin: 0; background: var(--night); color: var(--text); font: 400 16.5px/1.6 var(--body); font-stretch: 100%; -webkit-font-smoothing: antialiased; }
::selection { background: var(--volt); color: var(--ink); }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; }
a { color: var(--volt); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; color: var(--chalk); font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.01em; line-height: .92; text-wrap: balance; }
h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-stretch: 108%; }
p { margin: 0 0 1em; max-width: 64ch; }
.mono { font-family: var(--mono); }
.wrap { width: var(--page); margin: 0 auto; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--volt); color: var(--ink); font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- buttons: a skewed slab, the label upright inside ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border: 0; cursor: pointer; text-decoration: none;
  transform: skewX(var(--skew)); position: relative; isolation: isolate; overflow: hidden;
  font: 800 1rem/1 var(--display); font-style: italic; font-stretch: 110%; text-transform: uppercase; letter-spacing: .01em;
  transition: transform .5s var(--spring), background-color .25s, color .25s, box-shadow .3s var(--ease); }
.btn > span { display: inline-flex; align-items: center; gap: .6em; transform: skewX(calc(var(--skew) * -1)); }
.btn:active { transform: skewX(var(--skew)) scale(.965); transition-duration: .12s; }
.btn-volt { background: var(--volt); color: var(--ink); }
.btn-volt:hover { background: #d8ff5c; }
.btn .ball { width: 1.4em; height: 1.4em; transition: transform .75s var(--spring); }
.btn:hover .ball, .btn:focus-visible .ball { transform: translateX(7px) rotate(320deg); }
.btn:active .ball { transform: translateX(10px) rotate(400deg) scale(.92); }
/* the semafor's LED column scans across the volt, once per hover */
.btn-volt::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(10, 18, 6, .5) 0 1.35px, transparent 1.8px) 0 0 / 6px 6px; opacity: 0;
  -webkit-mask: linear-gradient(90deg, transparent 0 36%, #000 46% 54%, transparent 64% 100%) 74% 0 / 300% 100% no-repeat;
          mask: linear-gradient(90deg, transparent 0 36%, #000 46% 54%, transparent 64% 100%) 74% 0 / 300% 100% no-repeat; }
.btn-volt:hover::before, .btn-volt:focus-visible::before { opacity: 1; animation: scan 1.05s cubic-bezier(.45, 0, .25, 1) both; }
@keyframes scan { from { -webkit-mask-position: 74% 0; mask-position: 74% 0; } to { -webkit-mask-position: 14% 0; mask-position: 14% 0; } }
.btn-line { background: transparent; color: var(--chalk); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--volt); color: #fff; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .86rem; }

/* ---------- header ---------- */
.bar { position: fixed; z-index: 50; inset: 0 0 auto; height: 72px; display: flex; align-items: center; gap: 26px; padding: 0 max(24px, calc((100vw - 1280px) / 2));
  transition: background-color .3s, box-shadow .3s; }
.bar.scrolled { background: rgba(7, 12, 9, .97); box-shadow: 0 1px 0 var(--line); }
.logo img { height: 40px; width: auto; }
/* phones: the logo is the one header item that can shrink; it scales, never squashes (review 2026-10-24 BUG 2); tighter gaps
   leave it more room, and on 320 px phones the chip keeps only the dot + the time */
.logo img { object-fit: contain; object-position: left center; }
.status .st-l { transform: none; }
.menu { flex: none; }   /* the menu button keeps its 46 px touch target (it was squeezed to 31 px at 360) */
@media (max-width: 400px) { .bar { gap: 12px; } }
@media (max-width: 340px) { .status .st-l { display: none; } }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { color: var(--text); text-decoration: none; font: 500 .8rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; padding: 10px 0; }
.links a:hover { color: var(--volt); }
.status { display: inline-flex; align-items: center; gap: 8px; font: 500 .8rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--chalk);
  padding: 9px 12px; box-shadow: inset 0 0 0 1px var(--line-2); transform: skewX(var(--skew)); }
.status > * { transform: skewX(calc(var(--skew) * -1)); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--volt); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
.status time { font-variant-numeric: tabular-nums; color: var(--volt); }
.menu { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: var(--card); color: var(--chalk); cursor: pointer; place-items: center; }
.sheet { position: fixed; z-index: 60; inset: 0; display: none; flex-direction: column; gap: 6px; padding: 96px 24px 32px; background: var(--night); }
.sheet.open { display: flex; }
.sheet a { color: var(--chalk); text-decoration: none; font: 900 italic clamp(2.2rem, 10vw, 3.4rem)/1.05 var(--display); font-stretch: 112%; text-transform: uppercase; padding: 6px 0; }
.sheet .x { position: absolute; top: 14px; right: 20px; width: 46px; height: 46px; border: 0; background: var(--card); color: var(--chalk); display: grid; place-items: center; cursor: pointer; }

/* ---------- the 3D world (fixed) and the turf diagonal over it ---------- */
.stage { position: fixed; inset: 0; z-index: 0; background: var(--night); transition: opacity .6s var(--ease), visibility .6s; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s var(--ease); }
.stage.ready canvas { opacity: 1; }
.stage-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: brightness(.42) saturate(.85); }
.stage.no3d canvas { display: none; }
.stage.no3d .stage-photo { opacity: 1; }
.veil, .band, .edge { position: fixed; inset: 0; z-index: 0; pointer-events: none; transition: opacity .6s var(--ease), visibility .6s; }
.veil { background: linear-gradient(100deg, rgba(7, 12, 9, .95) 0%, rgba(7, 12, 9, .88) 60%, rgba(7, 12, 9, .78) 100%); clip-path: polygon(0 0, 54% 0, 36% 100%, 0 100%); }
.band { background: var(--panel); clip-path: polygon(54% 0, 58% 0, 40% 100%, 36% 100%); }
.edge { background: var(--volt); clip-path: polygon(58% 0, 58.2% 0, 40.2% 100%, 40% 100%); }
.stage.asleep, .veil.asleep, .band.asleep, .edge.asleep { opacity: 0; visibility: hidden; }
main, .site { position: relative; z-index: 1; }
main > section:not(.hero):not(#sportovi):not(.book-band), .site { background: var(--night); }
/* 3D leader-line callouts (positioned by the scene each frame) */
.callouts { position: absolute; inset: 0; pointer-events: none; }
.callout { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .42s var(--ease); }
.callout.on { opacity: 1; }
.callout i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 0 4px rgba(200, 245, 60, .2); }
.callout i::after { content: ''; position: absolute; left: 4px; bottom: 4px; width: 64px; height: 1px; background: var(--volt); transform-origin: left bottom; rotate: -34deg; }
.callout span { position: absolute; left: 52px; top: -54px; white-space: nowrap; padding: 7px 12px; background: rgba(7, 12, 9, .94); box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--volt); font: 500 .78rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; transform: skewX(var(--skew)); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 118px 0 0; display: flex; flex-direction: column; }
.hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 44%) 1fr; align-items: center; padding-bottom: 40px; }
.hero h1 { font-size: clamp(3.2rem, 7.2vw, 6.4rem); font-stretch: 118%; line-height: .98; letter-spacing: -.02em; }  /* .86 -> .98 (2026-10-13): room for the caron on DOŠLI */
.hero h1 span { display: block; }
.hero h1 .v { color: var(--volt); }
.lede { margin-top: 26px; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: #e2e9e4; max-width: 42ch; }
.usp { font: 900 italic clamp(1.05rem, 1.6vw, 1.35rem)/1.1 var(--display); font-stretch: 110%; text-transform: uppercase; color: var(--chalk); margin: 6px 0 26px; }
.usp b { color: var(--volt); }
.ctas { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; }
.meta { margin: 0 0 0 6px; font-size: .78rem; line-height: 1.35; color: var(--text); }
.meta span { display: block; color: var(--fog); text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }

.ticker { border-top: 1px solid var(--line-2); background: rgba(7, 12, 9, .92); overflow: hidden; white-space: nowrap; }
.ticker .track { display: inline-flex; gap: 0; padding: 14px 0; animation: tick 46s linear infinite; }
.ticker:hover .track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: 10px; padding: 0 26px; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text); }
.ticker span::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--volt); margin-left: 26px; }
.ticker b { color: var(--chalk); font-weight: 600; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding: clamp(84px, 11vw, 140px) 0; }
.head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px 60px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.head p { margin: 0; color: var(--fog); }

/* sports: cards on the left choose the picture on the right */
.sports { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.sport-list { display: grid; gap: 16px; }
.sport { position: relative; padding: 26px 30px 24px 34px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%); transition: background-color .45s var(--ease); }
.sport h3 button { all: unset; cursor: pointer; display: block; width: 100%; font: inherit; color: inherit; }
.sport h3 button:focus-visible { outline: 3px solid var(--volt); outline-offset: 6px; }
.sport p { color: var(--text); margin: 12px 0 0; font-size: .98rem; }
.sport .ph { display: none; }
.sport.is-on { background: var(--panel); box-shadow: none; }
.sport.is-on p { color: #f1f6ef; }
.sport:not(.is-on):hover { background: #172318; }
.specs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 14px 0 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--volt); }
.sport.is-on .specs { color: #e9ffb0; }
.specs li::before { content: '▸ '; opacity: .7; }
#sportovi { position: relative; }
#sportovi::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 12, 9, .94) 0%, rgba(7, 12, 9, .82) 44%, rgba(7, 12, 9, 0) 60%), linear-gradient(180deg, rgba(7, 12, 9, .6) 0, rgba(7, 12, 9, 0) 22%); }
.pitch { position: sticky; top: 92px; height: calc(100vh - 124px); height: calc(100svh - 124px); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; }
.balls { display: flex; gap: clamp(14px, 2.6vw, 30px); padding: 14px 26px 10px; background: rgba(7, 12, 9, .9); box-shadow: inset 0 0 0 1px var(--line-2); transform: skewX(var(--skew)); }
.ball-btn { transform: skewX(calc(var(--skew) * -1)); display: grid; justify-items: center; gap: 6px; min-width: 76px; padding: 4px 6px 6px; border: 0; background: none; cursor: pointer;
  color: var(--fog); font: 800 italic .8rem/1 var(--display); font-stretch: 108%; text-transform: uppercase; letter-spacing: .02em; }
.ball-btn svg { grid-row: 1; width: 62px; height: 62px; filter: drop-shadow(0 12px 8px rgba(0, 0, 0, .5)); transition: transform .6s var(--spring); }
.ball-btn::after { content: ''; grid-row: 2; width: 46px; height: 8px; border-radius: 50%; background: rgba(0, 0, 0, .55); transition: background-color .3s, width .4s var(--spring); }
.ball-btn span { grid-row: 3; }
.ball-btn:hover svg, .ball-btn:focus-visible svg { transform: translateY(-9px) rotate(-28deg); }
.ball-btn:hover::after { width: 34px; }
.ball-btn.is-on { color: var(--volt); }
.ball-btn.is-on svg { transform: scale(1.1); }
.ball-btn.is-on::after { background: rgba(200, 245, 60, .45); width: 54px; }
.ball-btn.kick svg { animation: kick .8s var(--spring); }
@keyframes kick { 0% { transform: none; } 38% { transform: translateY(-30px) rotate(-220deg) scale(1.05); } 100% { transform: scale(1.1) rotate(-360deg); } }
.ball-btn:focus-visible { outline: 3px solid var(--volt); outline-offset: 2px; }
/* the shot: a ball flies off the submit button (a fixed copy, so the button keeps its clip) */
.shot { position: fixed; z-index: 80; width: 26px; height: 26px; pointer-events: none; }

/* matrix: skewed tiles, the numbers that matter */
.matrix { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; padding: 20px 28px 18px; background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line); transform: skewX(var(--skew)); }
.tile > * { transform: skewX(calc(var(--skew) * -1)); }
.tile .k { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fog); }
.tile b { font: 900 italic clamp(3rem, 6vw, 5.2rem)/.9 var(--display); font-stretch: 116%; color: var(--chalk); font-variant-numeric: tabular-nums; }
.tile.wide { grid-row: span 2; }
.tile.volt { background: var(--volt); box-shadow: none; }
.tile.volt .k, .tile.volt b { color: var(--ink); }
.tile.volt b { font-size: clamp(4rem, 9vw, 8rem); }
.tile.turf { background: var(--panel); box-shadow: none; }
.tile.turf .k { color: #dfeedd; }
.day24 { display: flex; gap: 3px; margin-top: 18px; }
.day24 i { flex: 1; height: 10px; background: rgba(10, 18, 6, .28); }
.day24 i.past { background: rgba(10, 18, 6, .62); }
.day24 i.now { background: var(--ink); animation: blink 1.6s ease-in-out infinite; }
.blist { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 28px; }
.blist li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); padding-top: 12px; border-top: 1px solid var(--line); }
.blist .i { color: var(--volt); margin-top: 3px; }

/* stories */
.story .split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.story.rev .frames { order: 2; }
.story .tx p { color: var(--text); }
.story .tx h2 { margin-bottom: 26px; }
.story .note { color: var(--chalk); font-weight: 600; margin-top: 18px; }
/* Restoran Limonella (2026-10-13): a card in the café story, links out to their site */
.resto { display: grid; gap: 6px; margin-top: 24px; padding: 18px 22px 16px; max-width: 64ch; background: var(--card); color: var(--text); text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--line-2), inset 4px 0 0 var(--volt); transition: background-color .25s, box-shadow .3s var(--ease); }
.resto b { font: 900 italic clamp(1.35rem, 2.2vw, 1.8rem)/1 var(--display); font-stretch: 112%; text-transform: uppercase; color: var(--chalk); }
.resto .go { display: inline-flex; align-items: center; gap: 8px; color: var(--volt); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.resto:hover, .resto:focus-visible { background: var(--night-2); box-shadow: inset 0 0 0 1px var(--volt), inset 4px 0 0 var(--volt); }
.frames { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(360px, 42vw, 520px); }
.frames img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%); transition: clip-path .7s var(--ease); }
.frames img:first-child { grid-row: span 2; }
.frames img:hover { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.review { margin: 0; padding: 28px 34px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); clip-path: polygon(2.5% 0, 100% 0, 97.5% 100%, 0 100%); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.review blockquote { margin: 0; }
.review p { margin: 0; color: var(--chalk); font-size: 1.12rem; line-height: 1.5; }
.review:nth-child(2) p { font: 900 italic clamp(1.6rem, 2.6vw, 2.2rem)/1.05 var(--display); font-stretch: 112%; text-transform: uppercase; color: var(--volt); }
.review figcaption { font-size: .76rem; color: var(--fog); text-transform: uppercase; letter-spacing: .08em; }
.review figcaption b { display: block; color: var(--chalk); font-weight: 600; letter-spacing: .04em; }

/* faq */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 90px); }
.faq .aside p { color: var(--fog); margin: 22px 0 24px; }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; position: relative; padding: 20px 52px 20px 0; color: var(--chalk); font-weight: 700; font-size: 1.06rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 18px; height: 18px; margin-top: -9px; transform: skewX(var(--skew));
  background: linear-gradient(var(--volt), var(--volt)) center / 100% 2px no-repeat, linear-gradient(var(--volt), var(--volt)) center / 2px 100% no-repeat; transition: transform .4s var(--spring); }
.qa details[open] summary::after { transform: skewX(var(--skew)) rotate(45deg); }
.qa details p { color: var(--text); padding: 0 52px 20px 0; margin: 0; }
.qa details::details-content { height: 0; overflow: clip; transition: height .42s var(--ease), content-visibility .42s allow-discrete; }
.qa details[open]::details-content { height: auto; }

/* booking band */
.book-band { position: relative; background: var(--panel); padding: clamp(110px, 13vw, 170px) 0 clamp(84px, 10vw, 130px); clip-path: polygon(0 7vw, 100% 0, 100% 100%, 0 100%); }
.book { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.book-copy h2 { font-size: clamp(2.2rem, 9.6vw, 5.6rem); }   /* "REZERVACIJA" can't wrap: it must fit a 342 px column */
.book-copy p { color: #eef6ec; margin: 22px 0 28px; }
.contact { margin: 0; display: grid; gap: 14px; }
.contact div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .22); }
.contact dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #d7ebd3; }
.contact dd { margin: 0; color: #fff; font-size: .95rem; }
.contact a { color: #fff; }
.form { background: var(--night); padding: clamp(24px, 3vw, 36px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); display: grid; gap: 16px; }
.services { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.services legend { font: 500 .74rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fog); margin-bottom: 10px; padding: 0; }
.services label { position: relative; cursor: pointer; }
.services input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.services span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--chalk); font: 800 italic .86rem/1 var(--display); font-stretch: 108%; text-transform: uppercase; transform: skewX(var(--skew)); transition: background-color .25s, color .25s; }
.services input:checked + span { background: var(--volt); color: var(--ink); box-shadow: none; animation: kick .5s var(--spring); }
@keyframes kick { from { transform: skewX(var(--skew)) scale(.9); } to { transform: skewX(var(--skew)); } }
.services input:focus-visible + span { outline: 3px solid var(--volt); outline-offset: 3px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row2.one { grid-template-columns: 1fr; }
.field[hidden] { display: none; }
.field { display: grid; gap: 7px; }
.field > span { font: 500 .74rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fog); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: 0; background: var(--card); color: var(--chalk); font: 400 16px/1.4 var(--body); box-shadow: inset 0 -2px 0 var(--line-2); color-scheme: dark; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 -2px 0 var(--volt); background: #16231a; }
.field.err input { box-shadow: inset 0 -2px 0 #ff8a73; }
.field .msg { color: #ffb4a3; font-size: .86rem; }
.form .btn { justify-self: start; margin-top: 6px; }
.form .btn[aria-disabled="true"] { opacity: .65; cursor: progress; }
.sent:empty { display: none; }
.sent { margin: 0; color: var(--chalk); }
.form .note { margin: 0; color: var(--fog); font-size: .9rem; }

/* footer */
.site { padding: 70px 0 34px; border-top: 1px solid var(--line); }
.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.flogo { height: 46px; width: auto; margin-bottom: 16px; }
.site p { color: var(--fog); }
.site h3 { font-size: 1.05rem; margin-bottom: 14px; }
.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--text); }
.site ul a { color: var(--text); }
.partners { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; }
.partners a { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; min-height: 44px; }
.partners img { width: 32px; height: 32px; object-fit: contain; }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .74rem; color: var(--fog); text-transform: uppercase; letter-spacing: .06em; }
.legal a { color: var(--fog); text-decoration: underline; }

/* desktop: the call bar becomes a floating pill, Apple-style — the one action, always in reach after the hero (phones keep the full bar) */
.callbar { display: flex; align-items: center; gap: 14px; position: fixed; z-index: 45; left: 50%; bottom: 22px; padding: 7px 7px 7px 18px;
  background: rgba(7, 12, 9, .96); box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px -18px rgba(0, 0, 0, .8); transform: skewX(var(--skew));
  translate: -50% 180%; transition: translate .55s var(--ease); }
.callbar.show { translate: -50% 0; }
.callbar .cb-hours { transform: skewX(calc(var(--skew) * -1)); color: var(--volt); font-size: .86rem; font-weight: 500; letter-spacing: .06em; }
.callbar .btn-line { display: none; }
.callbar .btn { min-height: 46px; padding: 0 20px; font-size: .86rem; }

/* images loading / failed (UX kit) */
img.img-wait { background: linear-gradient(100deg, rgba(255, 255, 255, .04) 30%, rgba(255, 255, 255, .1) 50%, rgba(255, 255, 255, .04) 70%) 0 0 / 220% 100%; animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -220% 0; } }

/* ---------- tablets and phones ---------- */
@media (max-width: 1080px) {
  .links { display: none; }
  .menu { display: grid; }
  .bar .btn-sm { display: none; }
  .status { margin-left: auto; }
}
@media (max-width: 900px) {
  .hero { padding-top: 96px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; align-items: end; }
  .head, .sports, .story .split, .faq, .book { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 31svh; }
  #sportovi::before { background: linear-gradient(180deg, rgba(7, 12, 9, .94) 0, rgba(7, 12, 9, .86) 26%, rgba(7, 12, 9, 0) 34%); }
  .pitch { order: -1; position: relative; top: auto; height: 50svh; margin: 0 -24px; }
  .balls { padding: 12px 18px 8px; }
  .ball-btn { min-width: 66px; }
  .ball-btn svg { width: 54px; height: 54px; }
  .sport .ph { display: block; width: calc(100% + 64px); max-width: none; margin: 16px -30px 0 -34px; aspect-ratio: 16 / 9; object-fit: cover; }
  .matrix { grid-template-columns: 1fr 1fr; }
  .tile.wide { grid-column: span 2; grid-row: auto; }
  .blist { grid-template-columns: 1fr; }
  .story.rev .frames { order: 0; }
  .frames { height: 320px; }
  .reviews { grid-template-columns: 1fr; }
  .site .cols { grid-template-columns: 1fr; }
  .callbar { display: flex; position: fixed; z-index: 45; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); gap: 10px; padding: 8px; background: rgba(7, 12, 9, .97); box-shadow: 0 0 0 1px var(--line-2);
    translate: 0 160%; transition: translate .5s var(--ease); }
  .callbar.show { translate: 0 0; }
  .callbar .btn { flex: 1; min-height: 48px; padding: 0 12px; font-size: .86rem; }
  .callbar { transform: none; align-items: stretch; padding: 8px; }
  .callbar .cb-hours { display: none; }
  .callbar .btn-line { display: inline-flex; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: clamp(2.9rem, 15vw, 4.2rem); }
  .status { padding: 8px 9px; font-size: .72rem; white-space: nowrap; }
  .row2 { grid-template-columns: 1fr; }
  .contact div { grid-template-columns: 1fr; gap: 2px; }
  .callout span { font-size: .68rem; left: 40px; top: -44px; }
  .sport { padding: 22px 22px 20px 26px; }
  .sport .ph { width: calc(100% + 48px); margin: 14px -22px 0 -26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .services input:checked + span, .ball-btn.kick svg { animation: none !important; }
  .btn .ball, .ball-btn svg, .stage canvas { transition: none; }
  .ticker .track { animation: none; }
  .ticker { white-space: normal; } .ticker .track { flex-wrap: wrap; justify-content: center; row-gap: 6px; }  /* wraps, never a sideways-scroll strip (2026-10-13) */
  .btn-volt::before, .status i, .day24 i.now { animation: none; }
  .qa details::details-content, .callbar { transition: none; }
}

/* contrast over the turf panel (axe 2026-10-07): white on #2b7a2a is 5.4:1; the live chip carries its own dark backing */
.links a { color: #fff; }
.status { background: rgba(7, 12, 9, .88); }
.contact dt { color: #fff; }

/* sports over the 3D (2026-10-09): the intro stays on the dark side; the balls sit at the top of the 3D window */
#sportovi .head { grid-template-columns: minmax(0, 46%); }
.pitch { align-items: flex-start; }
@media (max-width: 900px) {
  #sportovi::before { content: none; }
  #sportovi .head { grid-template-columns: minmax(0, 1fr); margin: 0 -24px 0; padding: 26px 24px 30px; background: rgba(7, 12, 9, .94); }
  .pitch { align-items: flex-end; }
  .sport-list { position: relative; }
}
/* phone numbers never break across lines (2026-10-13) */
a[href^="tel:"] { white-space: nowrap; }

/* ---------- 2026-10-25: review 2026-10-24 fixes + improvements ---------- */
/* 901–1279 px: "REZERVACIJA" can't wrap, so it scales with the window and the form keeps its column (BUG 1: the form was cut
   off and the page scrolled sideways on 1024–1180 laptops and iPads) */
@media (min-width: 901px) and (max-width: 1279px) {
  .book { grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr); }
  .book-copy h2 { font-size: 4.6vw; }
}
/* phones and tablets: only the picked sport's card shows, right under the balls (BUG 5); the three share one cell, so the
   page below never jumps when the sport changes */
@media (max-width: 900px) {
  .sport-list > .sport { grid-area: 1 / 1; }
  .sport:not(.is-on) { visibility: hidden; }
}
/* 320 px phones: the ball picker and the skewed tiles fit (BUG 9) */
@media (max-width: 340px) {
  .balls { gap: 6px; padding: 10px 12px 6px; }
  .ball-btn { min-width: 60px; }
  .ball-btn svg { width: 48px; height: 48px; }
  .matrix { gap: 10px; }
  .tile { padding: 18px 20px 16px; }
  .tile.volt b { font-size: 3.4rem; }
}
/* quotes are verbatim, so a long unbroken word (",,Enfild''") may break rather than widen the page */
.reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.review p { overflow-wrap: break-word; }
@media (max-width: 900px) { .reviews { grid-template-columns: minmax(0, 1fr); } }
/* the Google rating above the quotes */
.rating { margin: 0; font-size: .86rem; text-transform: uppercase; letter-spacing: .08em; }
.rating a { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; color: var(--volt); text-decoration: none; }
.rating a:hover, .rating a:focus-visible { text-decoration: underline; }
/* match nights in the café: a block with its own table action */
.match { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-2); max-width: 64ch; }
.match h3 { margin-bottom: 12px; }
.match p { margin: 0; }
.story .match .note { margin: 12px 0 20px; }
/* the booking form's extra fields (birthday details, Trojka, match table) and the night hint */
.form [hidden] { display: none !important; }
.extra { display: grid; gap: 16px; }
.field .hint { color: var(--fog); font-size: .8rem; line-height: 1.35; }
.row2 { align-items: start; }   /* the hint under Vreme must not stretch the Datum box next to it */
.services.sub span { min-height: 40px; padding: 0 14px; font-size: .78rem; }
