/* Reel Shortlist — utilities.css
   Composable utility classes + tokens. One file, no build step. */

/* ---------- tokens ---------- */
:root {
  --paper: #ece9f3;
  --paper-lift: #f5f3fa;
  --band-lav: #e2ddee;
  --band-plum: #ecdff0;
  --ink: #262130;
  --ink-soft: #4a4358;
  --plum: #6e2d63;
  --plum-deep: #532248;
  --brass: #d9a93f;
  --brass-text: #7d5f13;
  --line: 2px solid var(--ink);
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px;
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: 44px; /* room for the pinned age bar */
}
@media (max-width: 640px) { body { padding-bottom: 72px; } }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 var(--s2); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); font-weight: 900; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 var(--s2); max-width: 70ch; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--plum); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--plum-deep); }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--brass); outline-offset: 2px;
}

/* em-dash bullets everywhere */
ul.dash { list-style: none; padding-left: 0; margin: 0 0 var(--s2); max-width: 70ch; }
ul.dash li { padding-left: 1.6em; position: relative; margin-bottom: var(--s1); }
ul.dash li::before { content: "\2014"; position: absolute; left: 0; color: var(--plum); font-weight: 700; }
ol { max-width: 70ch; }

/* ---------- layout utilities ---------- */
.wrap { width: min(1120px, 100% - 2 * var(--s3)); margin-inline: auto; }
.wrap-narrow { width: min(780px, 100% - 2 * var(--s3)); margin-inline: auto; }
.stack > * + * { margin-block-start: var(--s3); }
.stack-lg > * + * { margin-block-start: var(--s5); }
.stack-sm > * + * { margin-block-start: var(--s1); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.cluster-tight { display: flex; flex-wrap: wrap; gap: var(--s1); align-items: center; }
.split { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: space-between; align-items: center; }
.grid-2 { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}
.center { text-align: center; }
.center p { margin-inline: auto; }

/* section bands — straight edges, alternating tints */
.band { padding-block: var(--s6); }
.band-lav { background: var(--band-lav); }
.band-plum { background: var(--band-plum); }
.band-lift { background: var(--paper-lift); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink h2, .band-ink h3 { color: #fff; }
.band-ink a { color: var(--brass); }
.band-ink a:hover { color: #eec66a; }

/* numbered section index labels */
.index-label {
  display: inline-flex; align-items: baseline; gap: var(--s1);
  font-family: var(--font-display); font-weight: 900;
  margin-bottom: var(--s2);
}
.index-label .no {
  font-size: 1.9rem; color: var(--plum);
  border-bottom: 4px solid var(--brass); line-height: 1.1;
}
.index-label .lbl {
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft);
}

/* kicker line */
.kicker {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--plum); margin-bottom: var(--s2);
}

/* ---------- framed boxes (soft brutalism, no shadows) ---------- */
.box { background: var(--paper-lift); border: var(--line); border-radius: var(--radius); padding: var(--s3); }
.box-plain { background: transparent; }
.box-ink { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: var(--s3); }
/* double-line frame for featured elements */
.featured { border: var(--line); outline: 2px solid var(--ink); outline-offset: 5px; }

/* ---------- buttons: capsules with small uppercase labels ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  border-radius: 999px; padding: 0.8em 1.7em;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  border: var(--line); cursor: pointer; line-height: 1.1;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--band-lav); color: var(--ink); }
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: #c69732; color: var(--ink); }

/* ---------- badges: tiny uppercase labels ---------- */
.badge {
  display: inline-block; padding: 0.25em 0.7em;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1.5px solid var(--ink); border-radius: 6px; background: var(--paper-lift); color: var(--ink);
  line-height: 1.5; white-space: nowrap;
}
.badge-plum { background: var(--plum); border-color: var(--plum); color: #fff; }
.badge-brass { background: var(--brass); border-color: var(--ink); color: var(--ink); }

/* verdict block */
.verdict {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  border: var(--line); border-radius: 12px; background: var(--brass);
  padding: var(--s1) var(--s2); min-width: 108px; text-align: center;
}
.verdict .word { font-family: var(--font-display); font-weight: 900; font-size: 1.25rem; line-height: 1.1; }
.verdict .cap { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- header: floating pill nav (the site's only box-shadow) ---------- */
.navpill-holder { position: sticky; top: var(--s2); z-index: 40; padding-inline: var(--s2); }
.navpill {
  width: min(1120px, 100%); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  background: var(--paper-lift); border: var(--line); border-radius: 999px;
  padding: 10px var(--s3);
  box-shadow: 5px 5px 0 var(--ink); /* the one and only box-shadow on the site */
}
.navpill .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.navpill .brand img { width: 34px; height: 34px; }
.navpill .brand .name { font-family: var(--font-display); font-weight: 900; font-size: 1.15rem; letter-spacing: -0.01em; }
.navpill nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); align-items: center; }
.navpill nav a { font-size: 0.86rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 760px) {
  .navpill { flex-direction: column; gap: var(--s1); border-radius: 26px; padding: var(--s2); }
  .navpill nav { justify-content: center; gap: var(--s1) var(--s2); }
}

/* ---------- hero: concentric arcs live here only ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: var(--s7) var(--s6);
  background:
    repeating-radial-gradient(circle at 82% -12%,
      transparent 0 54px,
      rgba(110, 45, 99, 0.10) 54px 58px) ,
    repeating-radial-gradient(circle at -6% 110%,
      transparent 0 44px,
      rgba(217, 169, 63, 0.14) 44px 48px),
    var(--paper);
}
.hero-inner { position: relative; }
.hero .lede { font-size: 1.2rem; max-width: 62ch; }

/* credibility stats strip */
.stat-strip { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); border-top: var(--line); border-bottom: var(--line); padding-block: var(--s2); }
.stat-strip .stat { display: flex; flex-direction: column; }
.stat-strip .num { font-family: var(--font-display); font-weight: 900; font-size: 1.7rem; color: var(--plum); line-height: 1.2; }
.stat-strip .cap { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }

/* small compliance notice line */
.notice-line { font-size: 0.9rem; color: var(--ink-soft); max-width: 75ch; }
.notice-line strong { color: var(--ink); }

/* ---------- operator cards: flat, separated by rules + spacing ---------- */
.op-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 860px) { .op-grid { grid-template-columns: 1fr 1fr; column-gap: var(--s5); } }
.op-card { padding-block: var(--s4); border-top: var(--line); display: flex; flex-direction: column; gap: var(--s2); }
.op-card .op-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; }
.op-card .op-logo {
  width: 148px; height: 60px; display: flex; align-items: center; justify-content: flex-start;
  background: #fff; border: var(--line); border-radius: 12px; padding: 8px 14px;
}
.op-card .op-logo img { max-height: 40px; width: auto; max-width: 120px; object-fit: contain; }
.op-card .op-logo .fallback { font-family: var(--font-display); font-weight: 900; font-size: 1rem; }
.op-card h3 { margin: 0; font-size: 1.35rem; }
.op-card .offer { font-size: 0.95rem; border-left: 4px solid var(--brass); padding-left: var(--s2); }
.op-card .offer .ad-tag { font-size: 0.75rem; color: var(--ink-soft); display: block; }
.op-card .licence {
  font-size: 0.82rem; color: var(--ink-soft); background: var(--paper-lift);
  border: 1.5px dashed var(--ink-soft); border-radius: 10px; padding: var(--s1) var(--s2);
}
.op-card .licence dt { font-weight: 700; color: var(--ink); display: inline; }
.op-card .licence dd { display: inline; margin: 0; }
.op-card .licence div { margin-bottom: 2px; }
.op-card .op-actions { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; margin-top: auto; }
.op-card .fineprint { font-size: 0.75rem; color: var(--ink-soft); }

/* ---------- category picks ---------- */
.pick-panel { border: var(--line); border-radius: var(--radius); background: var(--paper-lift); padding: var(--s3); display: flex; flex-direction: column; gap: var(--s2); }
.pick-panel .pick-head { display: flex; align-items: center; gap: var(--s2); }
.pick-panel ol { list-style: none; counter-reset: pick; margin: 0; padding: 0; }
.pick-panel ol li { counter-increment: pick; display: flex; gap: var(--s2); padding-block: var(--s1); border-top: 1.5px solid var(--band-lav); align-items: baseline; }
.pick-panel ol li::before {
  content: counter(pick, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 900; color: var(--plum); font-size: 1.1rem; min-width: 2ch;
}
.pick-panel .why { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- safety strip ---------- */
.safety-strip { border-block: var(--line); background: var(--paper-lift); padding-block: var(--s3); }
.safety-strip .cards { display: grid; gap: var(--s2); grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) { .safety-strip .cards { grid-template-columns: repeat(4, 1fr); } }
.safety-strip a.res {
  display: flex; flex-direction: column; align-items: center; gap: var(--s1);
  text-decoration: none; color: var(--ink); border: var(--line); border-radius: 12px;
  background: #fff; padding: var(--s2); text-align: center; font-size: 0.82rem; font-weight: 700;
}
.safety-strip a.res:hover { background: var(--band-plum); }
.safety-strip a.res img { height: 30px; width: auto; max-width: 130px; object-fit: contain; }

/* ---------- checklist panel (signature block) ---------- */
.checklist { border: var(--line); border-radius: var(--radius); background: #fff; padding: var(--s3); }
.checklist ul { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; gap: var(--s2); padding-block: var(--s2); border-top: 1.5px solid var(--band-lav); }
.checklist li:first-child { border-top: 0; padding-top: 0; }
.checklist li::before {
  content: "\2713"; flex: 0 0 auto; width: 1.7em; height: 1.7em;
  display: inline-flex; align-items: center; justify-content: center;
  border: var(--line); border-radius: 8px; background: var(--brass);
  font-weight: 900; font-size: 0.85rem;
}

/* ---------- glossary ---------- */
.glossary dt { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-top: var(--s3); }
.glossary dd { margin: var(--s1) 0 0; max-width: 68ch; }

/* ---------- FAQ accordion ---------- */
.faq details { border: var(--line); border-radius: 14px; background: var(--paper-lift); margin-bottom: var(--s2); overflow: hidden; }
.faq summary {
  cursor: pointer; padding: var(--s2) var(--s3); font-weight: 700; font-size: 1.02rem;
  list-style: none; display: flex; justify-content: space-between; gap: var(--s2); align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; color: var(--plum); }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { border-bottom: 1.5px solid var(--band-lav); }
.faq .answer { padding: var(--s2) var(--s3); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; border: var(--line); border-radius: var(--radius); background: #fff; }
table.compare { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 0.95rem; }
table.compare th, table.compare td { padding: var(--s2); text-align: left; border-bottom: 1.5px solid var(--band-lav); vertical-align: top; }
table.compare thead th {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--band-lav); border-bottom: var(--line);
}
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare .num { font-variant-numeric: tabular-nums; }
/* accent-highlighted recommended column */
table.compare .rec { background: var(--band-plum); border-inline: 2px solid var(--plum); }
table.compare thead .rec { background: var(--plum); color: #fff; }
.tick { color: var(--plum); font-weight: 900; }
.cross { color: var(--ink-soft); font-weight: 700; }

/* ---------- comparator tool ---------- */
.tool-controls { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.tool-controls label { display: inline-flex; align-items: center; gap: 0.45em; font-size: 0.9rem; font-weight: 600; }
.tool-controls select {
  font: inherit; font-size: 0.9rem; padding: 0.4em 0.8em; border: var(--line); border-radius: 999px; background: #fff; color: var(--ink);
}
.tool-controls input[type="checkbox"] { width: 1.15em; height: 1.15em; accent-color: var(--plum); }
.tool-count { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- figures (artwork is natively duotone in the palette) ---------- */
.duo { background: var(--band-lav); border: var(--line); border-radius: var(--radius); overflow: hidden; }
.duo img { width: 100%; }
figure { margin: 0; }
figcaption { font-size: 0.82rem; color: var(--ink-soft); margin-top: var(--s1); }

/* hero/band background image helper */
.img-band { position: relative; overflow: hidden; border-block: var(--line); background: var(--ink); }
.img-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-band > .wrap, .img-band > .wrap-narrow { position: relative; padding-block: var(--s6); color: #fff; }
.img-band h2, .img-band h3 { color: #fff; }
.img-band a { color: var(--brass); }

/* ---------- pinned age-notice bar ---------- */
.agebar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 50;
  background: var(--ink); color: var(--paper);
  font-size: 0.8rem; line-height: 1.35;
  padding: 8px var(--s2); text-align: center;
  border-top: 3px solid var(--brass);
}
.agebar a { color: var(--brass); }
.agebar .plus { display: inline-block; border: 1.5px solid var(--brass); border-radius: 6px; padding: 0 0.4em; font-weight: 700; margin-right: 0.5em; }

/* ---------- cookie banner ---------- */
.cookiebar {
  position: fixed; inset-inline: var(--s2); bottom: 52px; z-index: 60;
  max-width: 560px; margin-inline: auto;
  background: var(--paper-lift); border: var(--line); border-radius: var(--radius);
  padding: var(--s2) var(--s3);
  display: none;
}
.cookiebar.show { display: block; }
.cookiebar p { font-size: 0.88rem; margin-bottom: var(--s2); }
.cookiebar .cluster-tight { justify-content: flex-end; }

/* ---------- footer: compact single row ---------- */
.footer { border-top: var(--line); background: var(--band-lav); padding-block: var(--s4); }
.footer .row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; justify-content: space-between; }
.footer .fbrand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 900; }
.footer .fbrand img { width: 28px; height: 28px; }
.footer nav { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); font-size: 0.82rem; }
.footer .fnotice { font-size: 0.78rem; color: var(--ink-soft); max-width: 100%; margin-top: var(--s2); }

/* ---------- anchor highlight micro-feature ---------- */
:target { animation: none; }
.anchor-flash { animation: flash 1.6s ease 1; }
@keyframes flash {
  0% { background-color: var(--brass); }
  100% { background-color: transparent; }
}
@media (prefers-reduced-motion: reduce) { .anchor-flash { animation: none; } }

/* ---------- section reveal (JS adds .in) ---------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- misc ---------- */
.small { font-size: 0.85rem; }
.muted { color: var(--ink-soft); }
.divider-note { font-size: 0.85rem; color: var(--ink-soft); border: 1.5px dashed var(--ink-soft); border-radius: 10px; padding: var(--s2); max-width: 75ch; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--brass); color: var(--ink); padding: var(--s1) var(--s2); z-index: 100; }
.skip-link:focus { left: var(--s2); }
