/* ==========================================================================
   Tema "Golden Hour" (Sunset Junction) — kobasic.dev
   Svijetlo i toplo kao zlatni sat u igri: krem papir, zalazak sunca, tirkizna,
   senf i hrđa; prometni znakovi i oznake milja; razglednice.
   Fontovi su na našem serveru (GDPR): Lora, DM Sans, Overpass (natpisi), OFL.
   ========================================================================== */
@font-face { font-family: "Lora"; src: url("../../fonts/Lora.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../../fonts/DMSans.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Overpass"; src: url("../../fonts/Overpass.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* Tokeni teme */
  --paper: #f7eedd;
  --paper-2: #f2e5cd;
  --sand: #e9d4b2;
  --card: #fffaf1;
  --ink: #2b221c;
  --ink-2: #574638;
  --muted: #86705d;
  --line: rgb(74 51 37 / .14);
  --line-2: rgb(74 51 37 / .24);
  --teal: #2a8580;
  --teal-deep: #1b5d59;
  --sign: #11654e;
  --sign-ink: #f3fbf7;
  --mustard: #e3a43a;
  --sun: #ec8a3c;
  --coral: #e0684f;
  --rust: #b7442d;
  --asphalt: #2c2a2b;
  --night: #0d1a20;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --signage: "Overpass", "DM Sans", system-ui, sans-serif;
  --max: 1200px;
  --gutter: clamp(16px, 5vw, 64px);
  --r: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.62 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: rgb(236 138 60 / .28); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--paper); font-weight: 600; transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; }

/* ── Gumbi, oznake ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0; font: 600 15.5px/1 var(--sans); white-space: nowrap; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { cursor: default; opacity: .6; transform: none; }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 0 14px 30px -16px rgb(43 34 28 / .8); }
.btn-teal { background: var(--teal-deep); color: #fff7e8; box-shadow: 0 12px 26px -16px rgb(27 93 89 / .9); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.play { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sun); color: #fff; font-size: 9px; padding-left: 2px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; background: rgb(255 250 241 / .7); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.chip i { display: none; }
.chip.warm { color: var(--rust); box-shadow: inset 0 0 0 1px rgb(183 68 45 / .35); }
.chip.warm i, .chip.ok i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px rgb(224 104 79 / .18); }
.chip.ok { color: var(--teal-deep); box-shadow: inset 0 0 0 1px rgb(27 93 89 / .3); }
.chip.ok i { background: var(--teal); box-shadow: 0 0 0 3px rgb(42 133 128 / .18); }
.chip.on { background: var(--teal-deep); color: #fff7e8; box-shadow: none; }
.wip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: rgb(43 34 28 / .62); color: #fff4e2; font: 700 10.5px/1.2 var(--signage); letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(6px); }
.wip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mustard); }
.media { position: relative; display: block; overflow: hidden; border-radius: 18px; background: var(--sand); }
.media > img, .media > video { width: 100%; height: 100%; object-fit: cover; }
.media .wip { position: absolute; left: 10px; bottom: 10px; }
button.media { width: 100%; padding: 0; border: 0; cursor: zoom-in; }

/* ── Zaglavlje ── */
.top { position: sticky; top: 0; z-index: 50; background: rgb(247 238 221 / .86); backdrop-filter: blur(14px) saturate(1.1); box-shadow: 0 1px 0 var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 700 13.5px/1 var(--sans); letter-spacing: .3em; }
.mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--teal-deep); color: #fff4e2; font: 600 17px/1 var(--serif); letter-spacing: 0; box-shadow: inset 0 0 0 2px var(--teal-deep), inset 0 0 0 3.5px rgb(255 244 226 / .55); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-size: 14.5px; font-weight: 500; transition: background .2s, color .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); background: rgb(43 34 28 / .06); }
.menu { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgb(43 34 28 / .06); cursor: pointer; }
.menu span { display: block; width: 18px; height: 1.6px; margin: 4px auto; background: var(--ink); transition: transform .3s, opacity .3s; }
.menu-open .menu span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.menu-open .menu span:nth-child(2) { opacity: 0; }
.menu-open .menu span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
.mobile-menu { display: none; }

/* ── Uvod naslovnice ── */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 84px) 0 clamp(90px, 9vw, 130px); background: radial-gradient(70% 60% at 85% 18%, rgb(250 214 160 / .55), transparent 70%), linear-gradient(180deg, #f9e6c9 0%, var(--paper) 62%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-rows: auto auto; column-gap: clamp(32px, 5vw, 80px); }
.hero-copy { grid-column: 1; grid-row: 1; align-self: end; }
.hero-more { grid-column: 1; grid-row: 2; align-self: start; }
.hero-art { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.route { display: inline-flex; align-items: center; gap: 12px; color: var(--ink-2); font: 700 12.5px/1.3 var(--signage); letter-spacing: .2em; text-transform: uppercase; }
.route svg { width: 34px; height: 38px; flex: none; filter: drop-shadow(0 3px 4px rgb(43 34 28 / .18)); }
.title { margin-top: 22px; font-size: clamp(50px, 7.4vw, 108px); line-height: .92; letter-spacing: -.022em; color: var(--ink); }
.plate { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; padding: 11px 20px 9px 16px; border-radius: 10px; background: var(--sign); color: #fff; font: 700 clamp(14px, 1.3vw, 17px)/1 var(--signage); letter-spacing: .26em; text-transform: uppercase; box-shadow: inset 0 0 0 3px var(--sign), inset 0 0 0 5px var(--sign-ink), 0 10px 20px -12px rgb(17 101 78 / .8); }
.plate svg { width: 18px; height: 18px; margin-top: -2px; }
.tagline { margin-top: 24px; font: italic 400 clamp(22px, 2.1vw, 30px)/1.3 var(--serif); color: var(--rust); }
.lead { margin-top: 14px; max-width: 54ch; color: var(--ink-2); font-size: clamp(17px, 1.35vw, 19.5px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { position: relative; margin: 0; justify-self: center; width: min(470px, 100%); }
.sun { position: absolute; z-index: 0; right: -22%; top: -10%; width: 92%; aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(180deg, #f8cf6a 0%, #f4a944 38%, #ea7a4a 70%, #cf5236 100%);
  -webkit-mask: linear-gradient(180deg, #000 0 50%, transparent 50% 54%, #000 54% 63%, transparent 63% 68%, #000 68% 76%, transparent 76% 82%, #000 82% 88%, transparent 88%);
          mask: linear-gradient(180deg, #000 0 50%, transparent 50% 54%, #000 54% 63%, transparent 63% 68%, #000 68% 76%, transparent 76% 82%, #000 82% 88%, transparent 88%);
  opacity: .92; }
.postcard { position: relative; z-index: 1; padding: 10px; border-radius: 22px; background: var(--card); box-shadow: 0 2px 0 rgb(255 255 255 / .6) inset, 0 40px 80px -40px rgb(91 52 25 / .55), 0 10px 24px -14px rgb(91 52 25 / .4); transform: rotate(1.6deg); }
.postcard .media { aspect-ratio: 4 / 5; border-radius: 14px; }
.postcard .media img { object-position: 50% 44%; }
.sticker { position: absolute; z-index: 2; right: -24px; bottom: 70px; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; background: var(--mustard); color: var(--ink); text-align: center; font: 700 10.5px/1.25 var(--signage); letter-spacing: .14em; text-transform: uppercase; transform: rotate(-12deg); box-shadow: inset 0 0 0 4px var(--mustard), inset 0 0 0 5.5px rgb(43 34 28 / .55), 0 14px 26px -14px rgb(91 52 25 / .7); }
.sticker b { display: block; font: 600 25px/1 var(--serif); letter-spacing: 0; text-transform: none; }
.hero-art figcaption { position: relative; z-index: 1; margin-top: 16px; text-align: right; color: var(--muted); font-size: 12.5px; letter-spacing: .04em; }
.mesas { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(54px, 8vw, 110px); pointer-events: none; }
.mesas svg { width: 100%; height: 100%; display: block; }
.hero-plain .title { margin-top: 18px; }

/* ── Odjeljci ── */
.sec { position: relative; padding: clamp(64px, 8vw, 112px) 0; }
.sec.alt { background: var(--paper-2); }
.sec-head { display: flex; align-items: flex-start; gap: 20px; max-width: 840px; }
.mile { flex: none; display: grid; justify-items: center; align-content: center; width: 50px; height: 70px; border-radius: 8px; background: var(--sign); color: #fff; font: 800 25px/1 var(--signage); letter-spacing: -.01em; box-shadow: inset 0 0 0 2.5px var(--sign), inset 0 0 0 4px var(--sign-ink), 0 10px 18px -12px rgb(17 101 78 / .9); }
.mile small { display: block; margin-bottom: 4px; font-size: 8.5px; font-weight: 700; letter-spacing: .22em; }
.eyebrow { color: var(--teal-deep); font: 700 12.5px/1.3 var(--signage); letter-spacing: .24em; text-transform: uppercase; }
.sec-head h2 { margin-top: 8px; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.04; letter-spacing: -.014em; }
.sec-head h2.quote { font-style: italic; font-weight: 400; }
.intro { margin: 22px 0 0 70px; max-width: 62ch; color: var(--ink-2); font-size: clamp(17px, 1.3vw, 19px); }
.sec-foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Što radiš */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(36px, 5vw, 60px); }
.pillar .media { aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -40px rgb(91 52 25 / .6); }
.pillar .n { display: inline-block; margin-top: 22px; color: var(--rust); font: italic 400 17px var(--serif); }
.pillar h3 { margin-top: 6px; font-size: clamp(23px, 1.9vw, 28px); line-height: 1.15; }
.pillar p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }

/* Leveli uz cestu */
.road { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.road::before { content: ""; position: absolute; left: calc(50% - 50vw); right: calc(50% - 50vw); top: 46px; height: 16px; background: var(--asphalt); box-shadow: inset 0 2px 0 rgb(255 255 255 / .06), inset 0 -2px 0 rgb(0 0 0 / .25); }
.road::after { content: ""; position: absolute; left: calc(50% - 50vw); right: calc(50% - 50vw); top: 53px; height: 2px; background: repeating-linear-gradient(90deg, #f1c24f 0 22px, transparent 22px 40px); }
.stages { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.stage { display: flex; flex-direction: column; }
.stage .lv { position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 7px 5px 12px; border-radius: 8px; background: var(--sign); color: #fff; font: 700 11.5px/1 var(--signage); letter-spacing: .16em; text-transform: uppercase; box-shadow: inset 0 0 0 2px var(--sign), inset 0 0 0 3.2px var(--sign-ink), 0 6px 12px -8px rgb(17 101 78 / .9); }
.stage .lv::after { content: ""; position: absolute; left: 18px; top: 100%; width: 3px; height: 14px; border-radius: 0 0 2px 2px; background: #9b8f82; }
.stage .lv b { display: grid; place-items: center; min-width: 20px; height: 20px; margin-top: -2px; padding: 2px 5px 0; border-radius: 5px; background: var(--sign-ink); color: var(--sign); font-size: 12px; letter-spacing: 0; }
.stage .media, .stage .slot { margin-top: 62px; aspect-ratio: 3 / 4; box-shadow: 0 26px 50px -30px rgb(91 52 25 / .7); }
.stage .slot { display: grid; align-content: center; justify-items: center; gap: 12px; padding: 18px; border-radius: 18px; background: repeating-linear-gradient(-45deg, rgb(233 212 178 / .45) 0 12px, rgb(233 212 178 / .18) 12px 24px); box-shadow: inset 0 0 0 2px var(--line-2); text-align: center; color: var(--teal-deep); }
.stage .slot svg { width: 40px; height: 40px; }
.stage .slot small { color: var(--muted); font: 700 11px/1.4 var(--signage); letter-spacing: .16em; text-transform: uppercase; }
.stage .rank { margin-top: 18px; color: var(--teal-deep); font: 700 11.5px/1.3 var(--signage); letter-spacing: .16em; text-transform: uppercase; }
.stage h3 { margin-top: 6px; font-size: 23px; line-height: 1.15; }
.stage p:not(.rank) { margin-top: 6px; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }

/* Razglednice */
.postcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px) clamp(18px, 2.6vw, 34px); margin-top: clamp(40px, 5vw, 64px); padding: 6px; }
.card-post { position: relative; margin: 0; padding: 10px 10px 16px; border-radius: 6px; background: var(--card); box-shadow: 0 1px 0 rgb(255 255 255 / .7) inset, 0 26px 50px -30px rgb(91 52 25 / .6), 0 6px 14px -8px rgb(91 52 25 / .35); transform: rotate(var(--rot, 0deg)); transition: transform .5s var(--ease); }
.card-post:hover { transform: rotate(0) translateY(-4px); }
.card-post:nth-child(6n+1) { --rot: -1.4deg; } .card-post:nth-child(6n+2) { --rot: .9deg; } .card-post:nth-child(6n+3) { --rot: -.6deg; }
.card-post:nth-child(6n+4) { --rot: 1.1deg; } .card-post:nth-child(6n+5) { --rot: -1deg; } .card-post:nth-child(6n+6) { --rot: .7deg; }
.card-post .media { aspect-ratio: 3 / 2; border-radius: 3px; }
.card-post figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 6px 0; }
.card-post figcaption b { font: italic 400 18px/1.25 var(--serif); color: var(--ink); }
.card-post figcaption span { color: var(--muted); font: 700 11px/1 var(--signage); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.stamp { position: absolute; z-index: 2; right: 20px; top: 20px; width: 50px; height: 60px; padding: 4px; background: radial-gradient(circle, transparent 2.2px, var(--card) 2.7px) -3.5px -3.5px / 7px 7px; transform: rotate(4deg); filter: drop-shadow(0 3px 4px rgb(43 34 28 / .25)); pointer-events: none; }
.stamp i { display: grid; place-items: center; height: 100%; background: linear-gradient(180deg, #f6c35c, #e9884a 60%, #d9593f); color: #fff8ec; font: 800 16px/1 var(--signage); font-style: normal; box-shadow: inset 0 0 0 2px rgb(255 248 236 / .55); }
.postmark { position: absolute; z-index: 3; right: 50px; top: 30px; width: 72px; height: 72px; color: rgb(43 34 28 / .6); transform: rotate(-14deg); pointer-events: none; }
.note-wip { margin: 28px 0 0 70px; color: var(--muted); font-size: 13.5px; }

/* Bilješke s huba */
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(36px, 5vw, 60px); }
.note { display: flex; flex-direction: column; padding: 10px 10px 24px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 24px 50px -40px rgb(91 52 25 / .7); transition: transform .4s var(--ease), box-shadow .4s; }
.note:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 50px -36px rgb(91 52 25 / .8); }
.note .media { aspect-ratio: 16 / 10; border-radius: 14px; }
.note .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 18px 12px 0; color: var(--muted); font: 700 12px/1.3 var(--signage); letter-spacing: .1em; text-transform: uppercase; }
.note .meta b { padding: 5px 10px 3px; border-radius: 999px; background: rgb(42 133 128 / .12); color: var(--teal-deep); font-weight: 700; }
.note h3 { margin: 12px 12px 0; font-size: 24px; line-height: 1.18; }
.note p { margin: 10px 12px 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.note .more { margin: auto 12px 0; padding-top: 16px; color: var(--rust); font-weight: 600; font-size: 15px; }

/* Lista čekanja / poziv */
.waitlist { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 60px); align-items: center; padding: clamp(36px, 5vw, 72px); border-radius: 32px; color: #2a1a12;
  background: radial-gradient(60% 90% at 100% 100%, rgb(183 68 45 / .5), transparent 70%), linear-gradient(120deg, #f6c35c 0%, #f1a046 42%, #e7744d 100%); box-shadow: 0 50px 90px -50px rgb(183 68 45 / .8); }
.waitlist::after { content: ""; position: absolute; right: -90px; bottom: -150px; width: 420px; aspect-ratio: 1; border-radius: 50%; background: rgb(255 240 210 / .28); pointer-events: none;
  -webkit-mask: linear-gradient(180deg, #000 0 50%, transparent 50% 55%, #000 55% 64%, transparent 64% 70%, #000 70% 78%, transparent 78%); mask: linear-gradient(180deg, #000 0 50%, transparent 50% 55%, #000 55% 64%, transparent 64% 70%, #000 70% 78%, transparent 78%); }
.waitlist .eyebrow { color: #4a2312; }
.waitlist h2 { margin-top: 12px; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.05; letter-spacing: -.012em; }
.waitlist .copy { margin-top: 16px; max-width: 46ch; font-size: 17.5px; color: #4a2a1a; }
.form { position: relative; z-index: 1; display: grid; gap: 12px; padding: 22px; border-radius: 22px; background: rgb(255 250 241 / .94); box-shadow: 0 30px 60px -40px rgb(74 30 10 / .9); }
.form label.field-label { font: 700 12.5px/1.3 var(--signage); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.form .row { display: flex; gap: 10px; }
.form input[type=email] { flex: 1; min-width: 0; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); font: 400 16px var(--sans); color: var(--ink); }
.form input[type=email]:focus { outline: none; box-shadow: inset 0 0 0 2px var(--teal); }
.form .check { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 14px; line-height: 1.45; cursor: pointer; }
.form .check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal-deep); flex: none; }
.form .check a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 2px; }
.form small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { padding: 12px 14px; border-radius: 14px; font-size: 15px; line-height: 1.45; }
.form-note.ok { background: rgb(42 133 128 / .12); color: var(--teal-deep); }
.form-note.error { background: rgb(183 68 45 / .12); color: var(--rust); }
.wait-actions { justify-items: start; }

/* Igra u radionici (npr. Emberline) */
.workshop { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); overflow: hidden; margin-top: clamp(36px, 5vw, 60px); border-radius: 28px; background: var(--night); color: #e8e3d4; box-shadow: 0 50px 90px -60px rgb(13 26 32 / .9); }
.workshop + .workshop { margin-top: 20px; }
.workshop .media { border-radius: 0; min-height: 320px; background: var(--night); }
.workshop .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--night)); }
.workshop .copy { padding: clamp(28px, 4vw, 56px); display: grid; align-content: center; gap: 14px; }
.workshop .icon { width: 64px; height: 64px; border-radius: 17px; box-shadow: 0 0 0 1px rgb(255 240 198 / .12), 0 14px 30px -12px var(--c); }
.workshop h3 { font-size: clamp(34px, 3.4vw, 46px); line-height: 1; color: #fff0c6; }
.workshop h3 span { display: block; margin-top: 10px; font: 700 12.5px/1.2 var(--signage); letter-spacing: .4em; text-transform: uppercase; color: var(--c); }
.workshop p { color: #c4c7bd; font-size: 16.5px; max-width: 46ch; }
.workshop .chip { justify-self: start; background: transparent; color: var(--c); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent); }
.workshop .chip i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.workshop .links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.btn-light { background: #efe3c4; color: #1b2a26; }
.btn-line { background: transparent; color: #fff0c6; box-shadow: inset 0 0 0 1.5px rgb(214 173 113 / .5); }

/* Ostale igre */
.games { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(36px, 5vw, 60px); }
.game { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px 18px 16px 16px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -34px rgb(91 52 25 / .8); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.game:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 44px -30px color-mix(in srgb, var(--c) 70%, transparent); }
.game::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); opacity: .85; }
.game img, .game-ph { width: 76px; height: 76px; border-radius: 18px; box-shadow: 0 10px 22px -12px var(--c); }
.game-ph { background: var(--sand); }
.game h3 { font-size: 21px; line-height: 1.15; }
.game p { margin-top: 4px; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.game .meta { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 8px; font: 700 10.5px/1.3 var(--signage); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.game .meta b { color: var(--teal-deep); }
.game .go { position: absolute; right: 14px; top: 12px; color: var(--muted); font-size: 14px; }

/* Studio */
.studio { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(26px, 3vw, 40px); }
.studio .lead { margin-top: 0; }
.facts { display: grid; gap: 12px; }
.fact { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.fact b { font: 500 40px/1 var(--serif); color: var(--teal-deep); text-align: center; }
.fact span { color: var(--ink-2); font-size: 15px; line-height: 1.4; }

/* ── Stranica igre ── */
.g-hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); background: radial-gradient(60% 70% at 85% 20%, color-mix(in srgb, var(--c) 18%, transparent), transparent 70%), linear-gradient(180deg, #f9e6c9, var(--paper) 70%); }
.g-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.crumbs { color: var(--muted); font: 700 12px/1.4 var(--signage); letter-spacing: .18em; text-transform: uppercase; }
.crumbs a:hover { color: var(--ink); }
.g-icon { width: 88px; height: 88px; margin-top: 22px; border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -16px var(--c); }
.g-cat { margin-top: 18px; color: var(--ink-2); font: 700 12.5px/1.3 var(--signage); letter-spacing: .2em; text-transform: uppercase; }
.g-hero .title { margin-top: 10px; font-size: clamp(46px, 6.4vw, 92px); }
.g-phone { justify-self: center; display: grid; justify-items: center; gap: 12px; }
.phone { width: min(300px, 72vw); padding: 9px; border-radius: 38px; background: var(--ink); box-shadow: 0 40px 80px -36px rgb(43 34 28 / .75); }
.phone img, .phone video { width: 100%; height: auto; max-height: 72vh; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 30px; }
.g-wip { color: var(--muted); font-size: 12.5px; }
.story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(30px, 4vw, 48px); }
.story-text { display: grid; gap: 14px; }
.story .lead { margin: 0; max-width: 60ch; }
.features { display: grid; gap: 12px; }
.feature { display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; padding: 20px 22px 20px 18px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.feature b { grid-row: span 2; padding-top: 3px; color: var(--rust); font: italic 400 17px var(--serif); }
.feature h3 { font-size: 22px; line-height: 1.2; }
.feature p { color: var(--ink-2); font-size: 15.5px; }
.filmstrip { display: flex; gap: 14px; margin-top: clamp(30px, 4vw, 48px); padding: 6px 2px 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.filmstrip button { flex: 0 0 auto; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: var(--sand); cursor: zoom-in; scroll-snap-align: start; box-shadow: 0 0 0 1px var(--line), 0 18px 30px -24px rgb(91 52 25 / .7); transition: transform .4s var(--ease); }
.filmstrip button:hover { transform: translateY(-4px); }
.filmstrip img { height: clamp(300px, 46vh, 420px); width: auto; max-width: none; }
.details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: clamp(30px, 4vw, 48px); }
.detail { padding: 18px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.detail span { display: block; color: var(--muted); font: 700 11.5px/1.3 var(--signage); letter-spacing: .14em; text-transform: uppercase; }
.detail strong { display: block; margin-top: 6px; font: 500 18px/1.3 var(--serif); word-break: break-word; }
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.doc-link { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.doc-link:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-2); }
.doc-link svg { width: 22px; height: 22px; color: var(--teal-deep); flex: none; }
.doc-link b { display: block; font-weight: 600; }
.doc-link small { color: var(--muted); font-size: 13px; }
.doc-link .arrow { margin-left: auto; color: var(--muted); }

/* ── Dokumenti i podrška ── */
.doc { padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 8vw, 110px); }
.doc-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
.doc-head { grid-column: 1 / -1; display: grid; justify-items: start; gap: 14px; }
.doc-plate { display: inline-flex; padding: 8px 14px 6px; border-radius: 8px; background: var(--sign); color: #fff; font: 700 12px/1 var(--signage); letter-spacing: .2em; text-transform: uppercase; box-shadow: inset 0 0 0 2px var(--sign), inset 0 0 0 3.4px var(--sign-ink); }
.doc-head h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: .98; letter-spacing: -.016em; }
.doc-meta { color: var(--muted); }
.doc-head .chips { margin-top: 0; }
.doc-head .chip:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.doc-head .actions { margin-top: 4px; }
.toc { position: sticky; top: 100px; align-self: start; }
.toc .h4 { margin: 0 0 12px; font: 700 12px/1.3 var(--signage); letter-spacing: .2em; text-transform: uppercase; color: var(--teal-deep); }
.toc ol { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px dashed var(--line-2); display: grid; gap: 2px; }
.toc a { display: block; padding: 5px 0; color: var(--muted); font-size: 14.5px; line-height: 1.35; transition: color .2s; }
.toc a:hover, .toc a.on { color: var(--ink); }
.prose { max-width: 720px; }
.prose h2 { margin: 48px 0 12px; font-size: clamp(25px, 2.3vw, 31px); line-height: 1.2; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; font-size: 21px; }
.prose p, .prose li { color: var(--ink-2); }
.prose a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(27 93 89 / .4); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose code { padding: 2px 7px; border-radius: 6px; background: var(--paper-2); color: var(--ink); font-size: .88em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose .actions { margin-top: 36px; }
.game-docs { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 10px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.game-docs img { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.game-docs > span { flex: 1; display: grid; gap: 2px; }
.prose .game-docs a.name { color: var(--ink); font-weight: 600; text-decoration: none; }
.game-docs small { color: var(--muted); }

/* ── Lista čekanja (glavni web i hub): stranica s obrascem, potvrda, odjava ── */
.wl { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 92px) 0 clamp(72px, 8vw, 124px); background: radial-gradient(60% 70% at 88% 10%, rgb(250 214 160 / .6), transparent 70%), linear-gradient(180deg, #f9e6c9, var(--paper) 72%); }
.wl-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.wl-copy .doc-plate { margin-top: 18px; }
.wl-copy h1 { margin-top: 16px; font-size: clamp(40px, 5.4vw, 72px); line-height: .98; letter-spacing: -.016em; }
.wl-copy .lead { margin-top: 18px; }
.wl-small { margin-top: 18px; color: var(--muted); font-size: 15px; }
.wl-small a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.wl-card .form, .wl-next { box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -40px rgb(91 52 25 / .7); }
.wl-next { display: grid; gap: 20px; padding: 24px; border-radius: 22px; background: var(--card); }
.wl-next .actions { margin-top: 0; }
.wl-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.wl-steps li { counter-increment: step; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.wl-steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 38px; padding-top: 2px; border-radius: 7px; background: var(--sign); color: #fff; font: 800 16px/1 var(--signage); box-shadow: inset 0 0 0 2px var(--sign), inset 0 0 0 3.2px var(--sign-ink); }
.wl-steps b { color: var(--ink); font-weight: 600; }
.wl-email { display: grid; gap: 4px; }
.wl-email span { color: var(--muted); font: 700 12px/1.3 var(--signage); letter-spacing: .12em; text-transform: uppercase; }
.wl-email b { font: 500 21px/1.3 var(--serif); word-break: break-all; }
.wl-doc .wl-grid { grid-template-columns: 300px minmax(0, 1fr); align-items: start; }
.wl-prose { max-width: 720px; padding: clamp(22px, 3vw, 40px); border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }

/* 404 */
.lost { padding: clamp(70px, 12vw, 160px) 0; text-align: center; }
.lost .wrap { display: grid; justify-items: center; }
.lost-sign { display: grid; justify-items: center; padding: 14px 22px 10px; border-radius: 10px; background: var(--mustard); color: var(--ink); font: 800 44px/1 var(--signage); box-shadow: inset 0 0 0 3px var(--mustard), inset 0 0 0 5px var(--ink); transform: rotate(-3deg); }
.lost-sign small { font-size: 11px; letter-spacing: .3em; margin-bottom: 4px; }
.lost h1 { margin-top: 30px; font-size: clamp(40px, 5.6vw, 76px); line-height: 1; }
.lost p { margin: 18px auto 0; max-width: 46ch; color: var(--ink-2); }
.lost .actions { justify-content: center; }

/* ── Podnožje ── */
.footer { position: relative; padding: 74px 0 36px; background: var(--asphalt); color: #d9d2c6; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 3px; background: repeating-linear-gradient(90deg, #f1c24f 0 36px, transparent 36px 64px); opacity: .85; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer .brand { color: #fff4e2; }
.footer .mark { background: var(--paper); color: var(--ink); box-shadow: none; }
.footer p { margin-top: 14px; max-width: 34ch; color: #a9a094; font-size: 14.5px; }
.footer .h4 { margin: 0 0 14px; font: 700 12px/1.3 var(--signage); letter-spacing: .22em; text-transform: uppercase; color: var(--mustard); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer li a { color: #d9d2c6; font-size: 15px; }
.footer li a:hover { color: #fff; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .1); color: #8f877c; font-size: 13.5px; }

/* ── Lightbox i obavijest adminu ── */
dialog.lightbox { width: min(980px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 24px; background: #000; overflow: hidden; box-shadow: 0 30px 90px -30px #000; }
dialog.lightbox::backdrop { background: rgb(43 34 28 / .82); backdrop-filter: blur(8px); }
dialog.lightbox video, dialog.lightbox img { width: 100%; max-height: 92vh; object-fit: contain; }
dialog.lightbox button { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgb(0 0 0 / .6); color: #fff; font-size: 17px; cursor: pointer; }
.admin-notice { position: fixed; left: 50%; bottom: 18px; z-index: 70; translate: -50% 0; display: flex; gap: 10px; align-items: center; padding: 10px 16px; border-radius: 12px; background: #2a1d3d; box-shadow: inset 0 0 0 1px #8b6cd6, 0 14px 30px -12px #000; color: #efe7ff; font-size: 14px; }
.admin-notice a { color: #c9b6ff; text-decoration: underline; }

/* ── Prilagodbe ── */
@media (max-width: 1100px) {
  .road::before, .road::after, .stage .lv::after { display: none; }
  .stage .media, .stage .slot { margin-top: 18px; }
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav, .top-cta { display: none; }
  .menu { display: block; }
  .top-in { min-height: 62px; }
  .mobile-menu { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); box-shadow: 0 20px 40px -24px rgb(43 34 28 / .5), 0 1px 0 var(--line); padding: 8px 0 22px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .25s, visibility .25s; }
  .menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu .wrap { display: grid; gap: 2px; }
  .mobile-menu a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); font: 500 22px/1.2 var(--serif); }
  .mobile-menu .btn { margin-top: 16px; }
  .hero-grid, .waitlist, .workshop, .studio, .g-hero-grid, .story { grid-template-columns: minmax(0, 1fr); }
  .hero-copy, .hero-more, .hero-art { grid-column: 1; grid-row: auto; }
  .hero-art { width: min(400px, 90%); margin-top: 30px; }
  .hero-more { margin-top: 26px; }
  .pillars, .notes { grid-template-columns: minmax(0, 1fr); }
  .postcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro, .note-wip { margin-left: 0; }
  .workshop .media { min-height: 0; aspect-ratio: 16 / 9; }
  .workshop .media::after { background: linear-gradient(180deg, transparent 55%, var(--night)); }
  .docs { grid-template-columns: minmax(0, 1fr); }
  .doc-grid { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .wl-grid, .wl-doc .wl-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .sec-head { gap: 14px; }
  .mile { width: 42px; height: 60px; font-size: 21px; }
  .mile small { font-size: 7.5px; margin-bottom: 3px; }
  .sec-head h2 { margin-top: 6px; }
  .hero { padding-top: 26px; }
  .title { margin-top: 18px; }
  .plate { letter-spacing: .2em; padding: 10px 16px 8px 13px; }
  .actions .btn { flex: 1 1 auto; }
  .sticker { right: -12px; bottom: 56px; width: 86px; height: 86px; font-size: 9.5px; }
  .sticker b { font-size: 21px; }
  .sun { right: -20%; top: 2%; width: 84%; }
  .pillar .media { aspect-ratio: 4 / 3; }
  /* Leveli: mala cesta niz stranicu */
  .road { padding-left: 34px; }
  .road::before { display: block; left: 6px; right: auto; top: 6px; bottom: 6px; width: 12px; height: auto; }
  .road::after { display: block; left: 11px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #f1c24f 0 14px, transparent 14px 26px); }
  .stages { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .stage { display: grid; grid-template-columns: 116px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .stage .lv { grid-column: 1 / -1; justify-self: start; margin-bottom: 10px; }
  .stage .media, .stage .slot { grid-row: 2 / span 3; margin-top: 0; aspect-ratio: 4 / 5; box-shadow: 0 16px 30px -22px rgb(91 52 25 / .7); }
  .stage .slot { padding: 10px; gap: 8px; }
  .stage .slot svg { width: 28px; height: 28px; }
  .stage .rank { margin-top: 0; }
  .stage h3 { font-size: 21px; }
  .stage .rank, .stage h3, .stage p { grid-column: 2; }
  .postcards { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter) 22px; scrollbar-width: none; }
  .card-post { flex: 0 0 84%; scroll-snap-align: center; }
  .stamp { width: 44px; height: 52px; }
  .postmark { width: 62px; height: 62px; right: 44px; }
  .notes { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 24px; scrollbar-width: none; }
  .note { flex: 0 0 84%; scroll-snap-align: center; }
  .waitlist { padding: 30px 22px; border-radius: 26px; }
  .waitlist::after { width: 240px; right: -120px; bottom: -110px; }
  .form .row { flex-direction: column; }
  .games { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .game { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .game img, .game-ph { width: 64px; height: 64px; border-radius: 15px; }
  .fact { grid-template-columns: 60px 1fr; }
  .fact b { font-size: 34px; }
  .details { grid-template-columns: minmax(0, 1fr); }
  .filmstrip img { height: 360px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .admin-notice { left: 12px; right: 12px; translate: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
