@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Syne"; src: url("/fonts/syne.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

/* Theme tokens. Each site overrides these below. */
:root, [data-site] {
  --bg: #f6f4ee; --ink: #1c1b18; --muted: #5d5a52; --panel: #ffffff; --line: #1c1b1826;
  --accent: #1f4d3a; --accent2: #c2562d; --gold: #e0a92e; --on-accent: #ffffff;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --h-weight: 700; --h-case: none; --h-track: -0.02em; --h-size: clamp(2.4rem, 6.2vw, 4.75rem); --radius: 10px;
}
[data-site="dialer"] { --bg:#07130f; --ink:#dbf5e7; --muted:#9fc4b1; --panel:#0e2219; --line:#dbf5e72e; --accent:#3df29a; --on-accent:#04140c; --display:"JetBrains Mono",monospace; --h-size:clamp(2rem,5vw,3.9rem); --h-track:-0.04em; --radius:4px; color-scheme:dark; }
[data-site="bdrvn"] { --bg:#17181a; --ink:#f5f2ea; --muted:#b9b6ae; --panel:#2a2c30; --line:#f5f2ea2e; --accent:#ffb61a; --on-accent:#17181a; --display:"Archivo",sans-serif; --h-weight:900; --h-case:uppercase; --h-size:clamp(2.8rem,8vw,6rem); --radius:2px; color-scheme:dark; }
[data-site="itsclear"] { --bg:#f3f8fc; --ink:#112a3e; --muted:#4a6275; --panel:#fff; --line:#112a3e22; --accent:#1769aa; --on-accent:#fff; --display:"Newsreader",serif; --h-weight:500; --h-track:-0.025em; --radius:6px; }
[data-site="callorchat"] { --bg:#fff4ea; --ink:#2b1650; --muted:#5e4b7f; --panel:#fff; --line:#2b165026; --accent:#6327c9; --accent2:#f0703f; --on-accent:#fff; --radius:18px; }
[data-site="chillichief"] { --bg:#1d1412; --ink:#fbeee0; --muted:#d2bcab; --panel:#2f201c; --line:#fbeee02e; --accent:#d92f19; --accent2:#5fa83c; --gold:#f2b632; --on-accent:#fff; --display:"Fraunces",serif; --h-weight:900; --h-size:clamp(2.8rem,8vw,6rem); --radius:8px; color-scheme:dark; }
[data-site="covertoday"] { --bg:#eef3ff; --ink:#0d1f4c; --muted:#47567f; --panel:#fff; --line:#0d1f4c22; --accent:#1c4fd8; --accent2:#3d86f4; --on-accent:#fff; --display:"Archivo",sans-serif; --h-weight:800; --radius:6px; }
[data-site="covertomorrow"] { --bg:#2a1636; --ink:#fbeee2; --muted:#d0bccb; --panel:#3c2249; --line:#fbeee22e; --accent:#f58a4b; --accent2:#f7c26b; --on-accent:#2a1636; --display:"Newsreader",serif; --h-weight:400; --radius:6px; color-scheme:dark; }
[data-site="mailco"] { --bg:#e2f7ea; --ink:#0b2a1e; --muted:#3e5f50; --panel:#fff; --line:#0b2a1e24; --accent:#0a7344; --accent2:#e4572e; --on-accent:#fff; --display:"Syne",sans-serif; --h-weight:800; --h-size:clamp(2.1rem,4.8vw,3.7rem); --radius:4px; }
[data-site="flowish"] { --bg:#fbfaf6; --ink:#1d2033; --muted:#555a73; --panel:#fff; --line:#1d203326; --accent:#4f46e5; --accent2:#e8467c; --on-accent:#fff; --radius:12px; }
[data-site="grafter"] { --bg:#ffe9d4; --ink:#1a1208; --muted:#58452f; --panel:#fff7ef; --line:#1a120830; --accent:#c24600; --on-accent:#fff; --display:"Archivo",sans-serif; --h-weight:900; --h-case:uppercase; --radius:3px; }
[data-site="hadeda"] { --bg:#f4e4dc; --ink:#22252b; --muted:#59565a; --panel:#fff8f4; --line:#22252b28; --accent:#b4276a; --on-accent:#fff; --display:"Syne",sans-serif; --h-weight:800; --h-size:clamp(2.8rem,8vw,6.2rem); --radius:16px; }
[data-site="municipalaction"] { --bg:#eeede6; --ink:#1b2a22; --muted:#515c55; --panel:#fff; --line:#1b2a2226; --accent:#b3261e; --on-accent:#fff; --display:"Newsreader",serif; --h-weight:700; --radius:3px; }
[data-site="pitza"] { --bg:#fbefd9; --ink:#3a1c0e; --muted:#6f4d39; --panel:#eec48b; --line:#3a1c0e26; --accent:#c8321f; --accent2:#3f6b34; --gold:#f7dc8a; --on-accent:#fff; --display:"Fraunces",serif; --h-weight:800; --radius:28px; }
[data-site="vegancanteen"] { --bg:#f2f3df; --ink:#1f3320; --muted:#4e614d; --panel:#fffef6; --line:#1f332026; --accent:#2f7d32; --accent2:#e98c24; --on-accent:#fff; --display:"Fraunces",serif; --h-weight:600; --radius:20px; }
[data-site="webuykaas"] { --bg:#fff7e0; --ink:#34140f; --muted:#6a4a3b; --panel:#fbe08a; --line:#34140f28; --accent:#b81d24; --gold:#f7cd52; --on-accent:#fff; --display:"Bricolage Grotesque",sans-serif; --h-weight:800; --radius:6px; }
[data-site="portfolio"] { --accent:#1f4d3a; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2 { font-family: var(--display); margin: 0; text-wrap: balance; }
h1 { font-size: var(--h-size); line-height: 1.04; font-weight: var(--h-weight); letter-spacing: var(--h-track); text-transform: var(--h-case); }
h2 { font-size: 1.3rem; line-height: 1.2; font-weight: var(--h-weight); }
svg { display: block; width: 100%; height: auto; }

.status { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding: 10px clamp(16px, 4vw, 48px); background: var(--ink); color: var(--bg); font-size: .9375rem; }
.status p { margin: 0; overflow-wrap: anywhere; }
.status a { font-weight: 600; white-space: nowrap; }
.status :focus-visible { outline-color: var(--bg); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.parody { display: flex; align-items: center; background: var(--accent); color: var(--on-accent); font-weight: 600; }
.parody-window { flex: 1; min-width: 0; overflow: hidden; }
.parody-track { display: flex; width: max-content; animation: parody-scroll 40s linear infinite; }
.parody-copy { margin: 0; padding: 10px 48px 10px 0; white-space: nowrap; }
.parody a { color: inherit; }
.parody :focus-visible { outline-color: var(--on-accent); outline-offset: 1px; }
.parody-pause { display: flex; flex: none; align-items: center; gap: 6px; min-height: 44px; padding: 0 clamp(16px, 4vw, 48px) 0 14px; background: var(--accent); font-size: .9375rem; cursor: pointer; }
.parody-pause input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.parody:has(input:checked) .parody-track, .parody-window:hover .parody-track, .parody-window:focus-within .parody-track { animation-play-state: paused; }
@keyframes parody-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .parody-pause, .parody-copy[aria-hidden] { display: none; }
  .parody-track { width: auto; animation: none; }
  .parody-copy { padding: 10px clamp(16px, 4vw, 48px); white-space: normal; }
}
.spot-parody { margin: 12px 0 0; font-size: .9375rem; }

main { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 7vw, 96px) clamp(28px, 4vw, 56px); }
.hero-art { max-width: 400px; justify-self: end; width: 100%; }
.kicker { margin: 0 0 18px; font-size: .9375rem; font-weight: 600; color: var(--muted); }
.kicker span { opacity: .5; margin-inline: 4px; }
.lede { font-size: clamp(1.125rem, 2vw, 1.35rem); line-height: 1.45; max-width: 36em; margin: 22px 0 0; color: var(--ink); }
.cta, button { display: inline-block; margin-top: 28px; padding: 14px 24px; min-height: 48px; border: 0; border-radius: var(--radius); background: var(--accent); color: var(--on-accent); font: 600 1.0625rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: transform .12s ease, filter .12s ease; }
.cta:hover, button:hover { filter: brightness(1.1); }
.cta:active, button:active { transform: translateY(1px); }

.notice { margin: 0 0 clamp(36px, 6vw, 72px); padding: 14px 18px; border-left: 4px solid var(--accent); background: var(--panel); font-size: 1rem; border-radius: 0 var(--radius) var(--radius) 0; max-width: 56em; }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); padding-bottom: clamp(44px, 7vw, 88px); }
.points article { border-top: 2px solid var(--ink); padding-top: 14px; }
.points p { margin: 8px 0 0; color: var(--muted); }
.deal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: clamp(44px, 7vw, 88px); }
.deal > div { background: var(--panel); padding: clamp(20px, 3vw, 36px); }
.deal p { margin: 10px 0 0; }

.contact { max-width: 680px; padding-bottom: clamp(44px, 7vw, 88px); scroll-margin-top: 16px; }
.contact > h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); text-transform: var(--h-case); letter-spacing: var(--h-track); margin-bottom: 22px; overflow-wrap: anywhere; }
.enquiry { display: grid; gap: 18px; }
.enquiry fieldset { border: 0; padding: 0; margin: 0; }
.enquiry legend, .enquiry label { font-weight: 600; font-size: 1rem; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.enquiry .choice { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); font-weight: 500; min-height: 44px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.choice:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.choice input { margin: 0; accent-color: var(--accent); width: 18px; height: 18px; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.enquiry input:not([type=radio]), .enquiry textarea, .enquiry select { display: block; width: 100%; margin-top: 6px; padding: 12px; min-height: 48px; font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--panel); border: 1px solid color-mix(in srgb, var(--ink) 45%, transparent); border-radius: var(--radius); }
.enquiry textarea { resize: vertical; }
.enquiry [aria-invalid="true"] { border-color: #c8200e; border-width: 2px; }
.enquiry button { margin-top: 0; justify-self: start; }
.hint { font-weight: 400; color: var(--muted); }
.fineprint { margin: 0; font-size: .9375rem; color: var(--muted); }
.form-error { margin: 0; padding: 12px 14px; border-radius: var(--radius); background: #fde8e4; color: #7d150a; font-weight: 600; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.foot { max-width: 1180px; margin: 0 auto; padding: 22px clamp(16px, 4vw, 48px) 36px; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--muted); }
.foot p { margin: 0; }

.plain { padding-block: clamp(48px, 8vw, 96px); max-width: 720px; }
/* Long email addresses and links must wrap on small phones. */
.prose, .stats { overflow-wrap: anywhere; }
.prose h2 { margin-top: 28px; }
.prose p { margin: 8px 0 0; }

.stats { max-width: 960px; padding-block: clamp(32px, 5vw, 56px); }
.stats h2 { margin-top: 40px; }
.ranges { display: flex; gap: 8px; margin-top: 16px; }
.ranges a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.ranges a[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px; margin-top: 24px; }
.tile { padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.tile-value { margin: 0; font: 700 clamp(1.5rem, 3vw, 2rem)/1.15 var(--display); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tile-label { margin: 6px 0 0; font-size: .9375rem; color: var(--muted); }
.chart { margin-top: 12px; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--muted); font: 400 12px var(--body); font-variant-numeric: tabular-nums; }
.chart .hit { fill: transparent; }
.chart .mark { fill: #16855a; }
@media (max-width: 760px) { .chart .axis { font-size: 20px; } }
.chart .bar:hover .hit { fill: var(--line); }
.stats table { width: 100%; min-width: 440px; border-collapse: collapse; font-size: 1rem; }
.stats th, .stats td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; overflow-wrap: anywhere; }
.stats th { font-weight: 600; border-bottom: 2px solid var(--ink); }
.stats .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-right: 0; padding-left: 16px; }
.stats details { margin-top: 12px; }
.stats summary { min-height: 44px; display: flex; align-items: center; font-weight: 600; cursor: pointer; }
.alert-warning { margin: 16px 0 0; padding: 12px 16px; border: 2px solid #b7791f; border-radius: var(--radius); background: #fff8e1; }
.stats td { vertical-align: top; }
.stats td:last-child:not(.num) { min-width: 220px; }
.stats td .hint { margin: 0; font-size: .875rem; }
.stats .hint, .stats .empty { color: var(--muted); }
.stats .hint { margin: 8px 0 0; }
.stats .hint:last-child { margin-top: 32px; }

.manual { max-width: 820px; }
.manual h2 { margin-top: 40px; }
.manual h3 { margin: 24px 0 0; font: 600 1.0625rem/1.3 var(--body); }
.manual ul, .manual ol { margin: 8px 0 0; padding-left: 1.3em; }
.manual li { margin-top: 4px; }
.manual .lede { margin-top: 10px; font-weight: 600; }
.table-wrap { overflow-x: auto; margin-top: 12px; }
.manual table { width: 100%; min-width: 440px; border-collapse: collapse; font-size: 1rem; }
.manual th, .manual td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.manual th { font-weight: 600; border-bottom: 2px solid var(--ink); }
.todo { padding: 1px 6px; border-radius: 4px; background: #ffe58f; color: #4a3500; font-weight: 600; }
.draft { margin-top: 24px; padding: 16px 20px; border: 2px solid #b7791f; border-radius: var(--radius); background: #fff8e1; }
.manual .draft h2 { margin: 0; }
.signoff { margin-top: 40px !important; }

.portfolio-head { padding-block: clamp(40px, 7vw, 88px) clamp(28px, 4vw, 48px); max-width: 860px; }
.spotlight { margin-bottom: clamp(32px, 5vw, 56px); }
/* Every slide shares one grid cell, so the page never shifts as they change. */
.spot-stage { display: grid; }
.spot { grid-area: 1 / 1; visibility: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 240px); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(20px, 4vw, 44px); background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); }
.spot.is-current { visibility: visible; animation: spot-in .35s ease; }
@keyframes spot-in { from { opacity: 0; } }
.spot .kicker { margin-bottom: 12px; }
.spot h2 { font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.08; letter-spacing: var(--h-track); text-transform: var(--h-case); }
.spot-lede { margin: 14px 0 0; max-width: 38em; }
.spot-domains { margin: 12px 0 0; font-size: .9375rem; font-weight: 600; overflow-wrap: anywhere; }
.spot-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 18px 0 0; }
.spot-actions .cta { margin-top: 0; }
.spot-visit { font-weight: 600; }
.spot-controls[hidden] { display: none; }
.spot-controls progress { display: block; width: 100%; height: 4px; margin-top: 10px; border: 0; accent-color: var(--accent); }
.spot-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; margin-top: 8px; }
.spot-status { margin: 0; font-size: .9375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.spot-buttons { display: flex; gap: 8px; }
.spot-buttons button { margin: 0; min-width: 76px; min-height: 44px; padding: 10px 14px; background: transparent; color: var(--ink); border: 1px solid var(--line); font-size: .9375rem; }
.spot-buttons button:hover { background: var(--panel); filter: none; }
@media (prefers-reduced-motion: reduce) { .spot.is-current { animation: none; } }
@media (max-width: 760px) {
  .spot { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .spot-art { grid-row: 1; width: 96px; }
}

.shelf { list-style: none; margin: 0 0 clamp(48px, 7vw, 88px); padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.shelf-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: center; height: 100%; padding: 16px; background: var(--bg); color: var(--ink); border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; transition: transform .14s ease; }
.shelf a:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .shelf a:hover { transform: none; } }
.shelf-text { display: grid; gap: 2px; min-width: 0; }
.shelf-name { font: var(--h-weight) 1.2rem/1.2 var(--display); }
.shelf-cat { font-size: .875rem; color: var(--muted); }
.shelf-domains { margin-top: 6px; font-size: .875rem; font-weight: 600; overflow-wrap: anywhere; color: var(--ink); }

@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 220px; justify-self: start; grid-row: 1; }
  .points, .deal, .row { grid-template-columns: minmax(0, 1fr); }
}
