/* Trivija · Tiny Gumb
   Paleta: #ED4F00 · #000000 · #FFFFFF · #F0EBE7 — tipografija: Poppins (Light, Regular, Medium, Bold) */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-latin-ext-300-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-latin-300-normal.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: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.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: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-ext-500-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.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: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-ext-700-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.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; }

:root {
  --orange: #ED4F00;
  --black: #000000;
  --white: #FFFFFF;
  --cream: #F0EBE7;
  --ink-soft: rgba(0, 0, 0, 0.68);
  --hair: rgba(0, 0, 0, 0.12);
  --field-line: rgba(0, 0, 0, 0.42);
  --gutter: clamp(20px, 5.4vw, 40px);
  --col: 640px;
  --portrait-w: 44vw;
  --radius-card: 28px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }
a { color: inherit; }
strong { font-weight: 500; }

::selection { background: var(--orange); color: var(--white); }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -80px;
  z-index: 20;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.accent { color: var(--orange); }

/* Tanka okomita linija kao u knjizi standarda: "| zaštićeni prostor" */
.rule {
  margin: 10px 0 0;
  padding-left: 11px;
  border-left: 1px solid var(--black);
  font-size: 0.875rem;
  line-height: 1.4;
}

/* ------------------------------------------------------------------ zaglavlje */

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px var(--gutter) 0;
}
.masthead-logo { display: block; flex: none; line-height: 0; }
/* zaštićeni prostor horizontalnog logotipa ≈ 0,72 × visina – osiguran razmacima oko njega */
.masthead-logo img { display: block; width: auto; height: 26px; }
.masthead-meta { display: none; }
.masthead-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 15px 0 18px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}
.masthead-cta .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.mode-closed .masthead-cta { display: none; }

/* ------------------------------------------------------------------ uvod */

.intro { padding: 44px var(--gutter) 0; }

.live {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 0.875rem;
  font-weight: 500;
}
.live-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.live--closed .live-dot { background: rgba(0, 0, 0, 0.3); }

.title { margin: 0; font-weight: 700; }
.title-main {
  display: block;
  font-size: clamp(3.25rem, 2.6rem + 3.2vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.title-sub {
  display: block;
  margin-top: 14px;
  font-size: clamp(1.375rem, 1.15rem + 1vw, 1.75rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.title-sub strong { font-weight: 700; }

/* ------------------------------------------------------------------ fotografija */

.portrait { position: relative; margin: 32px 0 0; background: #0c0c0c; }
.portrait picture { display: block; }
.portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.35;
  object-fit: cover;
  object-position: 62% 36%;
}
.portrait::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.portrait-caption {
  position: absolute;
  left: var(--gutter);
  bottom: 18px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding-left: 11px;
  border-left: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--white);
  line-height: 1.3;
}
.portrait-caption strong { font-size: 1rem; font-weight: 500; }
.portrait-caption span { font-size: 0.8125rem; }

/* ------------------------------------------------------------------ kada i gdje */

.details { padding: 30px var(--gutter) 0; }

.facts { display: grid; gap: 22px 36px; margin: 0; }
.fact { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.fact dt {
  align-self: flex-start;
  padding-left: 10px;
  border-left: 1px solid var(--black);
  font-size: 0.8125rem;
  line-height: 1.2;
}
.fact dd { display: flex; flex-direction: column; align-items: flex-start; margin: 0; }
.fact dd strong { font-size: 1.0625rem; font-weight: 500; line-height: 1.4; }
.fact dd > span { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.5; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.link-arrow::after {
  content: "";
  width: 6px; height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.link-arrow:hover { text-decoration-color: var(--orange); }

.moved {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 14px 0 0;
  padding: 13px 18px 14px;
  border-radius: 18px;
  background: var(--cream);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.moved strong { font-weight: 700; }
.moved-dot { flex: none; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--orange); }

/* ------------------------------------------------------------------ besplatno (predložak Tiny Gumb objave) */

.free {
  position: relative;
  margin: 36px var(--gutter) 0;
  padding: 30px 26px 28px;
  border-radius: var(--radius-card);
  background: var(--cream);
  overflow: hidden;
}

.znak { display: flex; gap: 17px; margin-bottom: 26px; }
.znak i { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }

.statement {
  margin: 0;
  font-size: clamp(1.625rem, 1.3rem + 1.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
}
.statement--second { margin-top: 10px; font-size: clamp(1.25rem, 1.1rem + 0.75vw, 1.625rem); line-height: 1.25; }
.statement--second span { display: inline-block; }
.nowrap { white-space: nowrap; }

.free-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 28px;
}

/* ------------------------------------------------------------------ gumbi ("Calling to action" s točkom) */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 58px;
  padding: 0 24px 0 28px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
}
.btn-dot {
  flex: none;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--orange);
  transition: transform 0.35s var(--ease);
}
.btn:hover .btn-dot { transform: scale(1.5); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--black); color: var(--white); }
.btn--pill { background: var(--white); color: var(--black); }
.btn--pill:hover { background: var(--black); color: var(--white); }
.btn[disabled], .btn[aria-busy="true"] { cursor: progress; }
.btn[aria-busy="true"] .btn-dot { animation: busy 0.9s ease-in-out infinite alternate; }
.btn--small {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 0.875rem;
}

/* ------------------------------------------------------------------ kapacitet (niz krugova iz moodboarda) */

.capacity { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.capacity-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.capacity-dots li { width: 18px; height: 18px; border-radius: 50%; background: var(--white); }
.capacity-dots li.is-taken { background: var(--orange); }
.signup .capacity-dots li { background: var(--cream); }
.signup .capacity-dots li.is-taken { background: var(--orange); }
.capacity-label { margin: 0; font-size: 0.9375rem; line-height: 1.45; }
.capacity-label strong { font-weight: 700; }

/* ------------------------------------------------------------------ sekcije */

.signup, .about, .partners { padding: 64px var(--gutter) 0; }
.signup:focus { outline: none; }

.section-head { margin: 0 0 28px; }
.section-head h2 {
  margin: 0;
  font-size: clamp(1.625rem, 1.4rem + 0.9vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

/* ------------------------------------------------------------------ obrazac */

.form { display: grid; gap: 22px; }

.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field > legend { padding: 0; font-size: 0.9375rem; font-weight: 500; line-height: 1.3; }
.field--members > legend { margin-bottom: 10px; }

.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  height: 58px;
  padding: 0 22px;
  border: 1.5px solid var(--field-line);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-size: 1.0625rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field input[type="text"]:hover,
.field input[type="email"]:hover { border-color: var(--black); }
.field input[type="text"]:focus,
.field input[type="email"]:focus {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-color: var(--black);
}

.members { display: flex; flex-wrap: wrap; gap: 12px; }
.member { position: relative; display: block; }
.member input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.member-num {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border: 1.5px solid var(--field-line);
  border-radius: 50%;
  background: var(--white);
  font-size: 1.125rem;
  font-weight: 500;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  pointer-events: none;
}
.member input:hover + .member-num { border-color: var(--black); }
.member input:checked + .member-num { border-color: var(--black); background: var(--black); color: var(--white); }
.member input:focus-visible + .member-num { outline: 2px solid var(--orange); outline-offset: 3px; }

.has-error input[type="text"],
.has-error input[type="email"],
.has-error .member-num { border-color: var(--orange); border-width: 2px; }

.field-error {
  display: flex;
  gap: 9px;
  margin: 2px 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
}
.field-error::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.privacy {
  margin: 2px 0 0;
  padding-left: 11px;
  border-left: 1px solid var(--black);
  color: var(--ink-soft);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.rule-inline { display: none; }

.form-submit { display: flex; flex-direction: column; align-items: stretch; gap: 18px; margin-top: 4px; }

.form-notice,
.waitlist-note {
  display: flex;
  gap: 12px;
  margin: 0 0 22px;
  padding: 15px 18px;
  border-radius: 18px;
  background: var(--cream);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.waitlist-note { display: block; }
.waitlist-note strong { font-weight: 700; }
.notice-dot { flex: none; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--orange); }

.form-errors {
  margin: 0 0 22px;
  padding: 16px 20px;
  border: 2px solid var(--orange);
  border-radius: 20px;
  font-size: 0.9375rem;
}
.form-errors:focus { outline: none; }
.form-errors p { margin: 0; }
.form-errors strong { font-weight: 700; }
.form-errors ul { margin: 8px 0 0; padding-left: 18px; }
.form-errors a { font-weight: 500; }

.closed-card { padding: 30px 26px; border-radius: var(--radius-card); background: var(--cream); }
.closed-card p:not(.statement) { margin: 14px 0 0; }

/* ------------------------------------------------------------------ rezultat prijave */

.result {
  position: relative;
  padding: 30px 26px 28px;
  border-radius: var(--radius-card);
  background: var(--cream);
  overflow: hidden;
}
.result-kicker { margin: 0 0 6px; font-weight: 500; }
.result .statement { margin-bottom: 22px; }
.result p { margin: 0 0 12px; }
.result p strong { font-weight: 700; }

.result-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin: 0 0 20px;
}
.result-facts dt {
  padding-left: 9px;
  border-left: 1px solid var(--black);
  font-size: 0.75rem;
  line-height: 1.2;
}
.result-facts dd { margin: 5px 0 0; padding-left: 10px; font-size: 1.0625rem; font-weight: 500; }
.result-hint { color: var(--ink-soft); font-size: 0.9375rem; }
.result-mail {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--white);
  font-size: 0.9375rem;
}
.result-mail::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.result-link { margin-top: 20px; }
.result-link .rule { margin: 0 0 10px; }
.copy-row { display: flex; gap: 8px; }
.copy-input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  border: 1.5px solid var(--hair);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-size: 0.875rem;
}
.result-again { margin: 18px 0 0 !important; }

/* ------------------------------------------------------------------ poveznica iz prijašnjeg termina */

.again {
  position: relative;
  margin: 0 0 26px;
  padding: 26px 24px 24px;
  border-radius: var(--radius-card);
  background: var(--cream);
  overflow: hidden;
}
.again .statement { margin-bottom: 14px; }
.again p { margin: 0 0 10px; font-size: 0.9375rem; line-height: 1.55; }
.again p:last-child { margin-bottom: 0; }
.again strong { font-weight: 700; }

/* ------------------------------------------------------------------ o kvizu */

.lead {
  max-width: 34em;
  margin: 0 0 18px;
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  font-weight: 300;
  line-height: 1.55;
}
.topics { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.topics li {
  padding: 6px 15px 7px;
  border-radius: 999px;
  background: var(--cream);
  font-size: 0.875rem;
  font-weight: 500;
}
.topics li.topics-more { background: transparent; box-shadow: inset 0 0 0 1.5px var(--cream); font-weight: 400; }

/* ------------------------------------------------------------------ nagrade */

.prize-card {
  margin-top: 40px;
  padding: 28px 26px 26px;
  border: 2px solid var(--cream);
  border-radius: var(--radius-card);
}
.prize-head { margin-bottom: 22px; }
.prize-head h3 { margin: 0; font-size: 1.5rem; font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; }
.prize-statement { margin: 0; }
.podium {
  display: grid;
  grid-template-columns: repeat(3, 52px);
  column-gap: 14px;
  justify-content: start;
  margin: 0 0 24px;
}
.place {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--cream);
  font-size: 1.0625rem;
  font-weight: 700;
}
.brace {
  position: relative;
  grid-column: 1 / -1;
  height: 12px;
  margin: 10px 26px 0;
  border: 1.5px solid var(--black);
  border-top: 0;
}
.brace::after {
  content: "";
  position: absolute;
  left: 50%; top: 100%;
  width: 1.5px; height: 10px;
  background: var(--black);
  transform: translateX(-50%);
}
.brace-label { grid-column: 1 / -1; justify-self: center; margin-top: 12px; font-size: 0.75rem; line-height: 1; }
.prize-notes { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 0.9375rem; line-height: 1.5; }
.prize-notes li { position: relative; padding-left: 20px; }
.prize-notes li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.prize-notes li:first-child { font-weight: 500; }

/* ------------------------------------------------------------------ organizacija */

.partners {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 22px 56px;
}
.partner { display: flex; flex-direction: column; align-items: flex-start; }
.partner-logo { display: flex; align-items: flex-end; height: 76px; margin-bottom: 26px; }
.partner img { display: block; height: auto; }
/* vertikalni logotip: zaštićeni prostor ≈ 0,46 × visina logotipa (≈ 24 px na ovoj veličini) */
.partner--sponsor img { width: 118px; }
.partner--host img { width: 84px; }
.partner .rule { margin: 0; }
.festival { flex-basis: 100%; margin: 6px 0 0; font-size: 0.9375rem; }
.festival strong { font-weight: 500; }

/* ------------------------------------------------------------------ podnožje */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 64px var(--gutter) 0;
  padding: 22px 0 36px;
  border-top: 1px solid var(--hair);
  color: var(--ink-soft);
  font-size: 0.8125rem;
}
.site-footer p { margin: 0; }

/* ------------------------------------------------------------------ tablet (jedan stupac, centrirano) */

@media (min-width: 700px) {
  .page { max-width: 760px; margin: 0 auto; }
  .portrait { margin: 36px var(--gutter) 0; border-radius: var(--radius-card); overflow: hidden; }
  .portrait img { aspect-ratio: 16 / 11; }
  .free, .result, .closed-card { padding: 38px 36px 34px; }
  .again { padding: 30px 36px 28px; }
  .form-submit { flex-direction: row; align-items: center; gap: 26px; }
  .form-submit .btn { flex: none; min-width: 250px; }
  .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "when teams" "where where"; }
  .fact--when { grid-area: when; }
  .fact--teams { grid-area: teams; }
  .fact--where { grid-area: where; }
  .prize-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; padding: 34px 36px 32px; }
  .prize-head { grid-column: 1; grid-row: 1; }
  .podium { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .prize-statement { grid-column: 1; grid-row: 2; align-self: end; }
  .prize-notes { grid-column: 1 / -1; }
  .partners { gap: 22px 80px; }
}

/* ------------------------------------------------------------------ desktop: dvostrani "spread" kao u knjizi standarda */

@media (min-width: 960px) and (orientation: landscape) {
  :root { --gutter: clamp(40px, 5vw, 96px); }

  .page { max-width: none; margin: 0; padding-right: var(--portrait-w); }
  .page > .masthead,
  .page > .site-footer { max-width: calc(var(--col) + var(--gutter) * 2); }
  main > section { max-width: calc(var(--col) + var(--gutter) * 2); }
  .page > .site-footer { max-width: var(--col); }
  main > .free { max-width: var(--col); }

  .masthead { padding-top: 36px; justify-content: flex-start; gap: 48px; }
  .masthead-logo img { height: 30px; }
  .masthead-meta { display: block; margin: 0; padding-left: 11px; border-left: 1px solid var(--black); font-size: 0.8125rem; line-height: 1.3; }
  .masthead-cta { display: none; }

  .intro { padding-top: clamp(48px, 9vh, 96px); }
  .title-sub br { display: none; }

  .portrait {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: var(--portrait-w);
    margin: 0;
    border-radius: 0;
  }
  .portrait picture, .portrait img { height: 100%; }
  .portrait img { aspect-ratio: auto; object-position: 74% 28%; }
  .portrait::after { height: 30%; }
  .portrait-caption { left: 40px; bottom: 36px; }
  .portrait-caption strong { font-size: 1.0625rem; }

  .details { padding-top: 34px; }
  .free { margin-top: 34px; }
  .signup, .about, .partners { padding-top: 84px; }
}

@media (min-width: 1500px) and (orientation: landscape) {
  :root { --col: 680px; --portrait-w: 46vw; }
}

/* ------------------------------------------------------------------ animacije (samo ako korisnik ne traži smanjeno kretanje) */

@media (prefers-reduced-motion: no-preference) {
  .live--open .live-dot, .live--waitlist .live-dot { animation: rec 2.6s ease-in-out infinite; }

  .znak i:last-child { animation: znak 1.1s var(--ease) 0.2s both; }

  .capacity-dots li.is-taken { animation: fill 0.6s var(--ease) both; }
  .capacity-dots li:nth-child(2) { animation-delay: 0.04s; }
  .capacity-dots li:nth-child(3) { animation-delay: 0.08s; }
  .capacity-dots li:nth-child(4) { animation-delay: 0.12s; }
  .capacity-dots li:nth-child(5) { animation-delay: 0.16s; }
  .capacity-dots li:nth-child(6) { animation-delay: 0.2s; }
  .capacity-dots li:nth-child(7) { animation-delay: 0.24s; }
  .capacity-dots li:nth-child(8) { animation-delay: 0.28s; }
  .capacity-dots li:nth-child(9) { animation-delay: 0.32s; }
  .capacity-dots li:nth-child(10) { animation-delay: 0.36s; }
  .capacity-dots li:nth-child(n+11) { animation-delay: 0.4s; }
}

@keyframes rec { 0%, 55%, 100% { opacity: 1; } 72%, 86% { opacity: 0.25; } }
@keyframes znak { from { transform: translateX(var(--znak-travel, 150px)); } to { transform: none; } }
@keyframes fill { from { transform: scale(0.55); background-color: var(--cream); } to { transform: none; } }
@keyframes busy { from { transform: scale(0.8); } to { transform: scale(1.5); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

@media print {
  .masthead-cta, .skip-link, .portrait, .form, .free .btn { display: none !important; }
  .page { padding: 0 !important; }
}
