/* FOGLINE_CORE_VERSION 1.9.3 · promo kit page (page-fogline-kit.php)
   Layout: festival-poster header band, then two stacked runs of copy cards (before / during); each card = copy fields + its image */
:root {
    --paper: #f7f2ea;
  --surface: #fffdf9;
  --line: #e4dbcf;
  --text: #2a2526;
  --muted: #6e6562;
  --accent: #b86a14;       /* warm orange, darkened for text on light */
  --teal: #2f7d63;
  --field: #f3ede4;
  --display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --body: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #1b1718; --surface: #262122; --line: #3a3334; --text: #efe8de; --muted: #a99f99;
  --accent: #e3a04c; --teal: #6cc0a1; --field: #1f1b1c; color-scheme: dark } }
:root[data-theme="dark"] {
  --paper: #1b1718; --surface: #262122; --line: #3a3334; --text: #efe8de; --muted: #a99f99;
  --accent: #e3a04c; --teal: #6cc0a1; --field: #1f1b1c; color-scheme: dark }

body { background: var(--paper); color: var(--text); font: 16px/1.55 var(--body); }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: 20px; }
.band { background: var(--band, #231f20); color: #f6efe3; }
.band .wrap { padding-block: 28px 32px; display: grid; gap: 14px; }
.band img.logo { width: min(380px, 100%); height: auto; display: block; }
.band h1 { font: 400 clamp(2.4rem, 6vw, 3.6rem)/0.95 var(--display); letter-spacing: .02em; margin: 0; text-wrap: balance; }
.band p { margin: 0; max-width: 62ch; color: #d9cfc3; }
.band .maplink { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 4px; }
.band a.open { background: var(--band-accent, #d98a2b); color: #231f20; font-weight: 700; text-decoration: none; padding: 9px 16px; border-radius: 999px; }
.band a.open:focus-visible, button:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.band code { font: 13px var(--mono); color: #c9bfb3; overflow-wrap: anywhere; }

main .wrap { padding-block: 28px 56px; display: grid; gap: 40px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.step b { display: block; font: 400 1.35rem/1 var(--display); letter-spacing: .03em; color: var(--accent); margin-bottom: 4px; }
section { display: grid; gap: 16px; }
section > h2 { font: 400 2rem/1 var(--display); letter-spacing: .03em; margin: 0; }
section > p.lede { margin: -8px 0 4px; color: var(--muted); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.card > header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.card h3 { margin: 0; font: 400 1.6rem/1 var(--display); letter-spacing: .03em; }
.when { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--teal); }
.card-body { padding: 16px 18px 18px; display: grid; gap: 18px; }
.card-body.has-side { grid-template-columns: minmax(0, 1fr) 260px; align-items: start; }
@media (max-width: 760px) { .card-body.has-side { grid-template-columns: minmax(0, 1fr); } }
.col { display: grid; gap: 14px; min-width: 0; }

.field { display: grid; gap: 6px; min-width: 0; }
.field-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
pre.text { margin: 0; background: var(--field); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
  white-space: pre-wrap; overflow-wrap: anywhere; font: 15px/1.55 var(--body); color: var(--text); }
pre.text.mono { font: 13.5px/1.5 var(--mono); }
button { font: 600 13px var(--body); cursor: pointer; border-radius: 999px; padding: 6px 14px; }
button.copy { background: var(--text); color: var(--surface); border: 1px solid var(--text); min-width: 74px; }
button.copy.done { background: var(--teal); border-color: var(--teal); color: #fff; }
p.how { margin: 0; color: var(--muted); font-size: 14px; }

.side { min-width: 0; }
figure.shot { margin: 0; display: grid; gap: 8px; justify-items: center; }
figure.shot img { width: 100%; max-width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); background: #231f20; }
figure.shot.tall img { max-width: 200px; }
figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
a.dl { display: inline-block; font: 600 13px var(--body); border-radius: 999px; padding: 6px 14px; background: transparent; color: var(--text); border: 1px solid var(--line); text-decoration: none; }
a.dl:hover { border-color: var(--text); }
a.dl:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.print { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.print .card-body { gap: 10px; }
.print p { margin: 0; color: var(--muted); font-size: 14px; }
footer.note { color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); padding-top: 16px; }
.toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--text); color: var(--surface);
  padding: 8px 16px; border-radius: 999px; font-size: 14px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.toast.show { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

body.fogline-kit { margin: 0; }
footer.note a { color: inherit; }
