/* ==========================================================================
   Who Is Pavle?  —  one page, magazine style.
   Sections: base · magazine · games · ads · draft tools
   ========================================================================== */

/* ------------------------------- 1. BASE -------------------------------- */
:root {
  --measure: 38rem;
  --wide: 62rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  overflow-x: hidden;
}
body[data-draft] { padding-bottom: 4.5rem; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0 0 1.2em; }

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 1.25rem; }
.wrap.wide { max-width: var(--wide); }
.doc-only, .mag-only, .shrine-only { display: none; }

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 20; }
.progress span { display: block; height: 100%; width: 0; background: var(--accent); }

/* password gate: an article preview that fades into a paywall */
.gate { display: none; min-height: 100svh; padding: 2.5rem 1.25rem 6rem; }
html.locked .gate { display: block; }
html.locked .hero, html.locked main, html.locked .site-footer, html.locked .progress { display: none; }
.gate-inner { max-width: var(--measure); margin: 0 auto; }
.gate .issue-line { text-align: center; }
.gate h1 { font-size: clamp(3rem, 12vw, 5.5rem); font-weight: 900; letter-spacing: -.03em; line-height: .95; }
.gate .kicker { margin-bottom: .75rem; }
.gate-dek { font-size: 1.35rem; line-height: 1.45; font-style: italic; color: var(--muted); margin: 1.25rem 0 1rem; }
.gate-byline { font: 600 .72rem Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; border-block: 1px solid var(--line); padding: .7rem 0; margin-bottom: 1.75rem; }
.gate-teaser { position: relative; max-height: 12.5rem; overflow: hidden; }
.gate-teaser::after { content: ""; position: absolute; inset: auto 0 0 0; height: 9rem; background: linear-gradient(transparent, var(--bg-solid)); }
.gate-card { background: var(--card); border: 1px solid var(--ink); border-top-width: 5px; box-shadow: 6px 6px 0 var(--ink); padding: 2rem 1.5rem; text-align: center; margin-top: -.5rem; position: relative; }
.gate-card h2 { font-size: clamp(1.6rem, 5vw, 2.3rem); font-weight: 900; letter-spacing: -.02em; }
.gate-sub { color: var(--muted); font-style: italic; margin: 1rem auto 1.5rem; max-width: 28rem; }
#gate-form { display: flex; flex-wrap: wrap; gap: .5rem; }
#gate-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#gate-form input { flex: 1 1 12rem; font: inherit; color: var(--ink); background: var(--bg-solid); border: 1px solid var(--ink); padding: .8rem .9rem; border-radius: 0; }
#gate-form button { font: 600 .85rem Inter, sans-serif; letter-spacing: .15em; text-transform: uppercase; cursor: pointer; background: var(--accent); color: var(--on-accent); border: 0; padding: .9rem 1.4rem; }
#gate-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.gate-msg { min-height: 1.7em; margin: 1rem 0 0; color: var(--danger); font-weight: 600; }
.gate-card.shake { animation: shake .4s; }
.gate .todo-block { margin: 1rem 0 0; text-align: left; }

/* hero */
.hero { text-align: center; padding: 4rem 1.25rem 0; }
.hero-inner { max-width: var(--wide); margin: 0 auto; width: 100%; }
.hero h1 { font-size: clamp(3rem, 12vw, 8.5rem); }
.kicker { font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.5rem; }
.tagline { font-size: clamp(1.05rem, 2.4vw, 1.4rem); color: var(--muted); margin: 1rem auto 1.75rem; max-width: 40rem; text-wrap: balance; }
.hero .hero-photo { max-width: 30rem; margin: 0 auto 2rem; }
.hero-covers { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 1rem; max-width: 48rem; margin: 0 auto 2rem; }
.hero-covers .hero-photo { max-width: none; margin: 0; }
.hero-covers .hero-photo > img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; max-height: none; }
.scroll-cue { display: inline-block; font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; }

/* sections */
.chapter, .interlude, .finale { padding: 5rem 0; }
.chapter.prologue { padding-top: 2.5rem; }
.chapter-head, .interlude-head { margin-bottom: 2.5rem; }
.chapter-num { font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); margin-bottom: .75rem; }
.chapter-head h2, .interlude-head h2 { font-size: clamp(2.2rem, 7vw, 4rem); }
.chapter-tagline { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(1.4rem, 4vw, 2rem); color: var(--accent); margin: .9rem 0 0; }
.chapter-meta { color: var(--muted); font-style: italic; font-size: 1rem; margin: 1rem 0 0; }
.prose h3 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.lede { font-size: 1.35rem; line-height: 1.5; }

/* a second part inside one section (Friend or Foe, Which Pavle Are You) */
.interlude-head.sub { margin-top: 4.5rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.subhead { font-size: clamp(1.9rem, 6vw, 3rem); font-weight: 900; letter-spacing: -.02em; }

/* table of contents */
.toc { margin-top: 3.5rem; }
.toc-title { font-size: 1rem; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; font-family: var(--font-body); }
.toc ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.toc li { border-bottom: 1px solid var(--line); }
.toc a { display: flex; gap: 1rem; padding: .7rem 0; color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.toc a span { width: 2rem; color: var(--accent); flex: none; }

/* photos */
.photo { margin: 2.5rem 0; }
.photo.wide { margin-left: -6rem; margin-right: -6rem; }
.photo img, .photo video, .photo svg { width: 100%; height: auto; display: block; }
.photo.illustration svg { border: 1px solid var(--ink); }
.photo figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.photo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.25rem; margin: 2.5rem 0; }
.photo-row .photo { margin: 0; }
/* Tall phone photos: cap the height so one picture does not fill the whole screen. */
.photo > img, .photo > video { max-height: 78vh; width: auto; max-width: 100%; margin: 0 auto; }
.photo { text-align: center; }
.photo figcaption { text-align: left; }
/* Photo rows: same shape for every photo, cropped to fit. */
.photo-row .photo > img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; max-height: none; }
.photo .placeholder {
  aspect-ratio: 4 / 3; display: grid; place-content: center; gap: .3rem; text-align: center; padding: 1rem;
  border: 2px dashed var(--line); color: var(--muted); font: .8rem/1.4 ui-monospace, Menlo, monospace;
  background: repeating-linear-gradient(45deg, transparent 0 14px, var(--stripe) 14px 15px);
}
.photo .placeholder b { font-size: 1.6rem; }
@media (max-width: 52rem) { .photo.wide { margin-left: 0; margin-right: 0; } }

/* pull quote + note */
.pull { margin: 3rem 0; padding: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.3; }
.pull p { margin: 0 0 .75rem; }
.pull cite, .quotes cite { font: normal .8rem var(--font-body); letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.note { margin: 2.5rem 0 0; padding: 1rem 1.25rem; font-size: .95rem; color: var(--muted); border-left: 3px solid var(--accent); background: var(--card); }
.note b { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: .25rem; }

/* big feature block (The Grudge) */
.feature { margin: 3.5rem -6rem; padding: 3.5rem 2rem; background: var(--accent); color: #fff; text-align: center; }
.feature-kicker { font: 600 .78rem Inter, sans-serif; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 1rem; }
.feature h3 { font-size: clamp(3.2rem, 12vw, 6.5rem); font-weight: 900; letter-spacing: -.03em; line-height: .95; margin-bottom: 1.75rem; }
.feature p { max-width: 32rem; margin-left: auto; margin-right: auto; }
.feature p:last-child { margin-bottom: 0; }
.feature a { color: #fff; font: 600 .85rem Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 52rem) { .feature { margin-left: -1.25rem; margin-right: -1.25rem; padding: 3rem 1.25rem; } }

/* first impressions */
.versus { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.25rem; margin: 2.5rem 0; }
.versus > div { background: var(--card); border: 1px solid var(--line); padding: 1.25rem; }
.versus h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.versus p { margin: 0; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem; }
.stat { background: var(--card); border: 1px solid var(--line); padding: 1.5rem 1rem; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: 3.2rem; line-height: 1; color: var(--accent); margin-bottom: .5rem; }
.stat > span { font-size: .9rem; color: var(--muted); }

/* enemies */
.dossiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.dossier { background: var(--card); border: 1px solid var(--line); padding: 1.25rem; }
.dossier-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.stamp { font: 700 .7rem var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--danger); border: 2px solid currentColor; padding: .15rem .5rem; transform: rotate(-3deg); }
.stamp.dormant { color: var(--muted); }
.stamp.resolved { color: var(--good); }
.threat { color: var(--danger); letter-spacing: .15em; font-size: .9rem; }
.dossier h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.dossier dl { margin: 0; font-size: .95rem; }
.dossier dt, .status dt { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.dossier dd { margin: 0 0 .8rem; }

/* trips (travel chapter) */
.trip { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 2rem; }
.trip-stamp { display: inline-block; font: 700 .72rem Inter, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); border: 2px solid currentColor; border-radius: 999px; padding: .25rem .8rem; transform: rotate(-3deg); margin-bottom: .9rem; }
.trip h3 { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 900; margin-bottom: 1rem; }
.trip .photo { margin: 1.5rem 0 0; }
.trip .photo-row { margin: 1.5rem 0 0; }
.trip .photo-row .photo { margin: 0; }
.trip + .prose { margin-top: 3.5rem; }

/* the nemesis (enemy no. 1) */
.nemesis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 2.5rem; align-items: center; background: var(--ink); color: #f6f1e7; padding: 2.5rem; margin-bottom: 1.5rem; }
.nemesis .photo { margin: 0; }
.nemesis .photo .placeholder { color: #b9b1a1; border-color: #666; }
html[data-style="mag"] .nemesis .photo figcaption { color: #b9b1a1; border: 0; padding: 0; }
.nemesis-kicker { font: 600 .75rem Inter, sans-serif; letter-spacing: .28em; text-transform: uppercase; color: #ff6b7d; margin-bottom: .5rem; }
.nemesis h3 { font-size: clamp(3.5rem, 12vw, 7rem); font-weight: 900; letter-spacing: -.03em; line-height: .9; margin-bottom: 1.5rem; }
.nemesis dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1rem; margin: 1.75rem 0 0; padding-top: 1.25rem; border-top: 1px solid #555; }
.nemesis dt { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: #b9b1a1; }
.nemesis dd { margin: .2rem 0 0; font-weight: 600; }
@media (max-width: 46rem) { .nemesis { grid-template-columns: 1fr; padding: 1.5rem; } }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.quotes blockquote { margin: 0; background: var(--card); border: 1px solid var(--line); padding: 1.5rem; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.35; }
.quotes p { margin: 0 0 1rem; }
.quotes p:last-child { margin-bottom: 0; }

/* numbered list (What Pavle Does Now) */
.doings { list-style: none; counter-reset: doing; margin: 0 0 1.5rem; padding: 0; border-top: 1px solid var(--line); }
.doings li { counter-increment: doing; display: flex; align-items: baseline; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: 1.2rem; }
.doings li::before { content: counter(doing, decimal-leading-zero); font: 600 .78rem Inter, sans-serif; letter-spacing: .1em; color: var(--accent); }

/* current status */
.status { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1px; margin: 2.5rem 0; background: var(--line); border: 1px solid var(--line); }
.status > div { background: var(--bg-solid); padding: 1rem; }
.status dd { margin: .25rem 0 0; font-weight: 600; }

/* gift vault */
.vault, .prize { margin-top: 3rem; padding: 2rem 1.5rem; background: var(--card); border: 1px solid var(--line); text-align: center; }
.vault h3, .prize h3 { font-size: 1.8rem; margin-bottom: 1rem; }
#quiz { text-align: left; margin-top: 1.5rem; }
#quiz label { display: block; font-size: .95rem; font-weight: 600; margin: 1.1rem 0 .35rem; }
#quiz input {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg-solid);
  border: 1px solid var(--line); padding: .7rem .8rem; border-radius: 0;
}
#quiz input:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#quiz button, #prize-copy {
  font: 600 .85rem var(--font-body); letter-spacing: .15em; text-transform: uppercase; cursor: pointer;
  background: var(--accent); color: var(--on-accent); border: 0; padding: .9rem 1.4rem; margin-top: 1.5rem;
}
#quiz button { width: 100%; }
#quiz button[disabled] { opacity: .6; cursor: wait; }
.vault-msg { min-height: 1.7em; margin: 1rem 0 0; color: var(--danger); font-weight: 600; }
.vault.shake { animation: shake .4s; }
.prize-code { font: 700 clamp(1.2rem, 5vw, 2rem) ui-monospace, Menlo, monospace; letter-spacing: .08em; word-break: break-all; padding: 1rem; margin: 1rem 0 0; border: 2px dashed var(--accent); background: var(--bg-solid); }
.prize-note { margin: 1.5rem 0 0; font-style: italic; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

.confetti { position: fixed; top: -1rem; width: .6rem; height: 1rem; z-index: 40; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

.site-footer { text-align: center; font-size: .8rem; color: var(--muted); padding: 3rem 1.25rem; }

/* scroll reveal (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .confetti, .vault.shake { animation: none; }
}

/* ------------------------------ 3. MAGAZINE ----------------------------- */
html[data-style="mag"] {
  --bg: #f6f1e7; --bg-solid: #f6f1e7;
  --ink: #191817; --muted: #6b655c; --accent: #c8102e; --on-accent: #fff;
  --card: #fffdf8; --line: #d9d1c1; --stripe: rgba(0, 0, 0, .04);
  --danger: #c8102e; --good: #2f7d4f;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Source Serif 4", Georgia, serif;
}
html[data-style="mag"] .mag-only { display: block; }
html[data-style="mag"] .issue-line { font: 600 .72rem Inter, sans-serif; letter-spacing: .25em; text-transform: uppercase; border-block: 1px solid var(--ink); padding: .6rem 0; margin-bottom: 2.5rem; }
html[data-style="mag"] .hero h1 { font-weight: 900; letter-spacing: -.03em; line-height: .92; font-size: clamp(3.4rem, 14vw, 10rem); }
html[data-style="mag"] .kicker, html[data-style="mag"] .chapter-num, html[data-style="mag"] .scroll-cue, html[data-style="mag"] .toc-title { font-family: Inter, sans-serif; font-weight: 600; }
html[data-style="mag"] .tagline { font-style: italic; }
html[data-style="mag"] .chapter-head { border-top: 4px solid var(--ink); padding-top: 1.25rem; }
html[data-style="mag"] .chapter-head h2, html[data-style="mag"] .interlude-head h2 { font-weight: 900; letter-spacing: -.02em; }
html[data-style="mag"] .chapter .chapter-head ~ .prose:first-of-type > p:first-child::first-letter,
html[data-style="mag"] .chapter .todo-block + .prose > p:first-child::first-letter {
  font: 900 4.6rem/.8 var(--font-display); float: left; padding: .35rem .6rem 0 0; color: var(--accent);
}
html[data-style="mag"] .pull { font-style: italic; font-weight: 700; border-left: 6px solid var(--accent); padding-left: 1.5rem; }
html[data-style="mag"] .photo figcaption { font: .78rem Inter, sans-serif; border-bottom: 1px solid var(--line); padding-bottom: .6rem; }
html[data-style="mag"] .interlude { background: #efe8d9; }
html[data-style="mag"] .interlude-head { text-align: center; }
html[data-style="mag"] .dossier, html[data-style="mag"] .stat, html[data-style="mag"] .quotes blockquote { box-shadow: 4px 4px 0 var(--ink); border-color: var(--ink); }
html[data-style="mag"] .quotes blockquote { font-style: italic; }

/* ------------------------------- GAMES ---------------------------------- */
.gamebox { background: var(--card); border: 1px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 2rem 1.5rem; text-align: center; max-width: var(--measure); margin: 0 auto; }
.game-step { font: 600 .72rem Inter, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: .75rem; }
.game-q, .game-name, .game-result { font-size: clamp(1.5rem, 5vw, 2.2rem); font-weight: 900; margin-bottom: 1.5rem; }
.game-lead { font-style: italic; color: var(--muted); margin: 0 0 .2rem; }
.game-blurb { font-size: 1.1rem; margin: 0 auto 1.5rem; max-width: 30rem; }
.game-options { display: grid; gap: .6rem; }
.game-option { font: inherit; text-align: left; color: var(--ink); background: var(--bg-solid); border: 1px solid var(--line); padding: .8rem 1rem; cursor: pointer; }
.game-option:hover { border-color: var(--ink); background: #fff; }
.game-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.game-btn { font: 600 .85rem Inter, sans-serif; letter-spacing: .15em; text-transform: uppercase; cursor: pointer; color: #fff; background: var(--ink); border: 2px solid var(--ink); padding: .9rem 1.6rem; }
.game-btn.friend { background: var(--good); border-color: var(--good); }
.game-btn.foe { background: var(--danger); border-color: var(--danger); }
.game-stamp { display: inline-block; font: 700 1rem Inter, sans-serif; letter-spacing: .25em; text-transform: uppercase; border: 3px solid currentColor; padding: .3rem .9rem; transform: rotate(-4deg); margin-bottom: 1.25rem; }
.game-stamp.ok { color: var(--good); }
.game-stamp.bad { color: var(--danger); }

/* -------------------------------- ADS ----------------------------------- */
.ad { max-width: var(--wide); margin: 0 auto; padding: 1rem 1.25rem 3rem; }
.ad-label { font: 600 .62rem Inter, sans-serif; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: .5rem; }
.ad-body { padding: 3.5rem 1.5rem; text-align: center; }
.ad-body p { margin: 0 auto; max-width: 30rem; }
.ad-body .fine { font: .7rem/1.5 Inter, sans-serif; opacity: .7; margin-top: 2rem; }

.ad-tourism .ad-body { background: linear-gradient(#8fd3f4 0%, #c9e9f6 55%, #fde9b8 100%); color: #17324d; }
.ad-tourism .eyebrow { font: 600 .8rem Inter, sans-serif; letter-spacing: .35em; text-transform: uppercase; }
.ad-tourism h3 { font-size: clamp(3.5rem, 13vw, 7rem); font-style: italic; font-weight: 700; margin: .5rem 0 1rem; }
.ad-tourism .line { font-size: 1.3rem; }
.ad-tourism .review { margin-top: 1.5rem; font-style: italic; }

.ad-serbia .ad-body { background: #fffdf8; color: #191817; border: 1px solid #191817; padding: 0; }
.ad-serbia img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 42%; border-bottom: 10px solid #c6363c; }
.ad-serbia .ad-text { padding: 2.5rem 1.5rem 2.5rem; }
.ad-serbia h3 { color: #c6363c; }
.ad-serbia .credit { font: .65rem/1.5 Inter, sans-serif; color: var(--muted); margin-top: .75rem; }
.ad-serbia .credit a { color: inherit; }

.ad-fragrance .ad-body { background: #0f0f10; color: #f1e9d8; }
.ad-fragrance h3 { font-size: clamp(3rem, 12vw, 6.5rem); font-weight: 700; letter-spacing: .28em; margin-right: -.28em; }
.ad-fragrance .by { font: .85rem Inter, sans-serif; letter-spacing: .5em; text-transform: uppercase; color: #c9a45c; margin: .75rem 0 2rem; }
.ad-fragrance .line { font-style: italic; font-size: 1.2rem; }
.ad-fragrance .notes { margin-top: 1rem; color: #b9b1a1; }

.ad-legal .ad-body { background: #ffe600; color: #111; border: 6px double #111; font-family: Inter, sans-serif; }
.ad-legal h3 { font: 900 clamp(1.8rem, 6vw, 3rem)/1.05 Inter, sans-serif; text-transform: uppercase; }
.ad-legal .line { font-weight: 600; font-size: 1.25rem; margin-top: 1rem; }
.ad-legal .phone { display: inline-block; font: 900 clamp(1.6rem, 6vw, 2.6rem) Inter, sans-serif; background: #111; color: #ffe600; padding: .4rem 1rem; margin-top: 1.5rem; max-width: none; }

/* ----------------------------- 5. DRAFT TOOLS --------------------------- */
.todo { background: rgba(255, 214, 0, .28); outline: 1px dashed #c79a00; border-radius: 3px; padding: 0 .2em; }
.todo-block { margin: 0 0 2rem; padding: .8rem 1rem; border: 2px dashed #c79a00; background: rgba(255, 214, 0, .14); font: .82rem/1.5 ui-monospace, Menlo, monospace; }
.todo-block::before { content: "✏️ KEAGAN — "; font-weight: 700; }
body:not([data-draft]) .todo-block, body:not([data-draft]) .draftbar { display: none; }

.draftbar {
  position: fixed; left: 0; right: 0; bottom: 1rem; margin: 0 auto; width: fit-content; z-index: 30;
  display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: .4rem;
  max-width: calc(100vw - 1.5rem); padding: .5rem .7rem; border-radius: 999px;
  background: #111; color: #fff; border: 1px solid #444; box-shadow: 0 6px 24px rgba(0, 0, 0, .45);
  font: 600 .78rem/1 Inter, system-ui, sans-serif;
}
.draftbar-label { color: #ffd600; letter-spacing: .15em; text-transform: uppercase; padding: 0 .4rem; }
.draftbar button { font: inherit; color: #fff; background: #2a2a2a; border: 1px solid #444; border-radius: 999px; padding: .5rem .8rem; cursor: pointer; }
.draftbar button[aria-pressed="true"] { background: #ffd600; color: #111; border-color: #ffd600; }
.draftbar-count { color: #bbb; padding: 0 .4rem; font-weight: 400; }
@media (max-width: 34rem) { .draftbar { border-radius: 1rem; } }

/* ---------- ad: wish foundation ---------- */
.ad-wish .ad-body { background: #f3f8fd; color: #12305a; border: 1px solid #cfe0f1; padding: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; text-align: left; overflow: hidden; }
.ad-wish img { width: 100%; height: 100%; min-height: 22rem; object-fit: cover; object-position: 30% 50%; display: block; }
.ad-wish .ad-text { padding: 2.5rem 2rem; }
.ad-wish .ad-body p { margin: 0; max-width: none; }
.ad-wish .wish-logo { font: 700 .78rem Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #2b6cb0; }
.ad-wish .wish-logo span { color: #f2b705; font-size: 1.1rem; margin-right: .2rem; }
.ad-wish h3 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; font-style: italic; line-height: 1.05; margin: 1rem 0; color: #12305a; }
.ad-wish .line { font-size: 1.15rem; }
.ad-wish .detail { margin-top: .9rem; font-style: italic; opacity: .85; }
.ad-wish .donate { display: inline-block; margin-top: 1.5rem; padding: .7rem 1.6rem; border-radius: 999px; background: #2b6cb0; color: #fff; font: 700 .85rem Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.ad-wish .fine { margin-top: 1.5rem; }
@media (max-width: 44rem) {
  .ad-wish .ad-body { grid-template-columns: 1fr; }
  .ad-wish img { min-height: 0; aspect-ratio: 4 / 3; }
  .ad-wish .ad-text { padding: 2rem 1.5rem 2.25rem; }
}

/* ---------- ad: Grudge, with photo ---------- */
.ad-fragrance .ad-body { padding: 0; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; overflow: hidden; }
.ad-fragrance img { width: 100%; height: 100%; min-height: 38rem; object-fit: cover; object-position: 50% 25%; display: block; filter: grayscale(1) contrast(1.15) brightness(.9); }
.ad-fragrance .ad-text { padding: 3.5rem 2rem; }
.ad-fragrance .notes { list-style: none; padding: 0; margin: 1.75rem auto 0; max-width: 18rem; border-top: 1px solid #3a3530; }
.ad-fragrance .notes li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid #3a3530; color: #d9cfbd; text-align: right; }
.ad-fragrance .notes li span { font: 600 .65rem Inter, sans-serif; letter-spacing: .3em; text-transform: uppercase; color: #c9a45c; padding-top: .3rem; text-align: left; }
.ad-fragrance .tag { margin-top: 1.75rem; font-style: italic; font-size: 1.15rem; }
@media (max-width: 44rem) {
  .ad-fragrance .ad-body { grid-template-columns: 1fr; }
  .ad-fragrance img { min-height: 0; aspect-ratio: 3 / 4; }
  .ad-fragrance .ad-text { padding: 2.5rem 1.25rem 3rem; }
}
.game-stamp.any { color: var(--muted); border-color: var(--muted); }

/* ---------- Friend or Foe: photo buttons (square face, word under it) ---------- */
.game-btn.face { display: inline-flex; flex-direction: column; align-items: center; gap: .5rem; padding: .4rem .4rem .6rem; flex: 0 1 12.5rem; min-width: 0; }
.game-row:has(.game-btn.face) { gap: clamp(1rem, 8vw, 4rem); flex-wrap: nowrap; }
.game-btn.face img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.game-btn.face.friend img { object-position: 50% 30%; }
.game-btn.face.foe img { object-position: 50% 35%; }

/* ---------- corrections box ---------- */
.corrections { max-width: 36rem; width: calc(100% - 2rem); box-sizing: border-box; margin: 0 auto 3rem; padding: 1.25rem 1.5rem; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); font: .9rem/1.6 Inter, sans-serif; color: var(--muted); }
.corrections .chapter-num { margin: 0 0 .5rem; }
.corrections p + p { margin-top: .5rem; }

/* ---------- Submit a Pavle Story ---------- */
.story-form { max-width: 36rem; margin: 0 auto; padding: 2rem 1.5rem; background: var(--card); border: 1px solid var(--line); }
.story-form label { display: block; font-size: .95rem; font-weight: 600; margin: 1.1rem 0 .35rem; }
.story-form label:first-of-type { margin-top: 0; }
.story-form label span { font-weight: 400; color: var(--muted); }
.story-form input, .story-form textarea { width: 100%; box-sizing: border-box; font: inherit; padding: .7rem .8rem; border: 1px solid var(--line); background: var(--bg-solid); color: var(--ink); border-radius: 0; }
.story-form textarea { resize: vertical; min-height: 9rem; }
.story-form button { width: 100%; margin-top: 1.25rem; font: 600 .85rem Inter, sans-serif; letter-spacing: .15em; text-transform: uppercase; color: #fff; background: var(--accent); border: 0; padding: 1rem; cursor: pointer; }
.story-form button[disabled] { opacity: .6; cursor: wait; }
.story-form .hp { position: absolute; left: -9999px; }
.story-msg { min-height: 1.6em; margin: 1rem 0 0; font-weight: 600; text-align: center; }
.story-msg.ok { color: var(--good); }
.story-msg.bad { color: var(--danger); }

/* Freshman year highlights */
.prose .highlights { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.prose .highlights li { margin: 0 0 .5rem; padding-left: .25rem; }
.prose .highlights li::marker { color: var(--accent, #b3122e); }
