/* Shonen Grail. Brand palette and type from the brand guide (v1.0, 2026):
   60% newsprint cream, 25% sumi ink, 10% grail red, 5% treasure gold.
   Style: "restrained collector". Ink rules and tag bars carry the identity; speed lines only in the home hero. */

:root {
  --red: #c8321f;
  --gold: #f2b705;
  --ink: #141210;
  --cream: #f4ead5;
  --paper: #faf4e6; /* lighter cream tint for panels */
  --ink-soft: rgba(20, 18, 16, 0.72);
  --ink-faint: rgba(20, 18, 16, 0.14);
  --rule: 2px solid var(--ink);
  --rule-heavy: 3px solid var(--ink);
  --font-display: "Dela Gothic One", "Zen Kaku Gothic New", system-ui, sans-serif;
  --font-body: "Zen Kaku Gothic New", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Bebas Neue", "Zen Kaku Gothic New", sans-serif;
  --wrap: 1120px;
  --read: 70ch;
  --gap: clamp(16px, 3vw, 28px);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--red);
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}

h1 {
  font-size: clamp(2rem, 5.2vw, 3.3rem);
}

h2 {
  font-size: clamp(1.45rem, 3.2vw, 2rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1.1em;
}

strong {
  font-weight: 700;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.read {
  max-width: var(--read);
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--ink);
  color: var(--cream);
  padding: 8px 12px;
}

/* ---------- Tag bars: the ink strip with letter-spaced caps from the logo lock-up ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.62em 0.9em 0.58em;
}

.tag .ja {
  letter-spacing: 0.12em;
}

.tag--red {
  background: var(--red);
}

.tag--outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.star {
  width: 0.95em;
  height: 0.95em;
  flex: none;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--cream);
  border-bottom: var(--rule-heavy);
  position: sticky;
  top: 0;
  z-index: 5;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}

.brand img {
  height: 40px;
  width: auto;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 8px 10px;
  white-space: nowrap;
}

.nav a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  background: var(--red);
  color: var(--cream);
  border: var(--rule);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 10px 16px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover {
  color: var(--cream);
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.btn--ink {
  background: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  color: var(--ink);
}

.nav .btn {
  margin-left: 8px;
  padding: 9px 14px;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: var(--rule);
  font: inherit;
  font-weight: 700;
  padding: 7px 12px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    border-bottom: var(--rule-heavy);
    padding: 8px var(--gap) 16px;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--ink-faint);
  }
  .nav .btn {
    margin: 12px 0 0;
  }
  .brand img {
    height: 34px;
  }
}

/* ---------- Home hero: the one place the speed lines run free ----------
   Compact two columns: the logo inside a circular speed-line burst, the headline beside it.
   The burst fades to clear cream at its centre, which acts as the logo's cream plate. */

.hero {
  border-bottom: var(--rule-heavy);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding-top: clamp(24px, 4vw, 44px);
  padding-bottom: clamp(24px, 4vw, 44px);
}

.hero-burst {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

.hero-burst::before {
  content: "";
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(20, 18, 16, 0.8) 0deg 1.3deg, transparent 1.3deg 7.5deg);
  -webkit-mask-image: radial-gradient(circle, transparent 0 33%, #000 46%, #000 58%, transparent 71%);
  mask-image: radial-gradient(circle, transparent 0 33%, #000 46%, #000 58%, transparent 71%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-burst img {
  position: relative;
  width: 64%;
}

.hero-copy h1 {
  margin: 14px 0 12px;
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  text-transform: uppercase;
  line-height: 1.08;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-copy p {
  margin: 0;
  max-width: 54ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero-copy .cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
    gap: 8px;
  }
  .hero-burst {
    max-width: 210px;
  }
  .hero-copy h1 {
    margin-top: 10px;
  }
  .hero-copy p {
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
  }
  .hero-copy .cta {
    justify-content: center;
  }
}

/* ---------- Page heads (hubs, grail pages) ---------- */

.page-head {
  border-bottom: var(--rule-heavy);
  padding: clamp(28px, 5vw, 52px) 0 clamp(24px, 4vw, 40px);
  background:
    radial-gradient(var(--ink-faint) 1px, transparent 1.3px) 0 0 / 9px 9px; /* screentone, faint */
}

.page-head .lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0;
}

.page-head .tag {
  margin-bottom: 18px;
}

.crumbs {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--ink-soft);
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

.crumbs span[aria-hidden] {
  margin: 0 6px;
}

/* ---------- Sections with a kanji label ---------- */

.section {
  padding: clamp(32px, 5vw, 56px) 0;
}

.section + .section {
  border-top: 1px solid var(--ink-faint);
}

.section-label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.section-label .ja {
  /* Dela Gothic's heavy kanji blur at small sizes; Zen Kaku Bold stays crisp */
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--red);
}

.section-label .en {
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-label::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--ink);
  align-self: center;
}

/* ---------- Grail file: the answer box, styled like a grading label ---------- */

.grail-file {
  border: var(--rule-heavy);
  background: var(--paper);
  margin: 0 0 8px;
}

.grail-file-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--red);
  color: var(--cream);
  border-bottom: var(--rule-heavy);
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.grail-file-head span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.grail-file-head .no {
  font-family: var(--font-num);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

.grail-file-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-bottom: var(--rule);
}

.grail-file-facts div {
  padding: 12px 14px;
  border-right: var(--rule);
}

.grail-file-facts div:last-child {
  border-right: 0;
}

.grail-file-facts dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.grail-file-facts dd {
  margin: 2px 0 0;
  font-family: var(--font-num);
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.grail-file-facts dd small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.3;
  margin-top: 4px;
}

.grail-file-answer {
  padding: 16px 16px 4px;
  font-size: 1.08rem;
}

@media (max-width: 720px) {
  .grail-file-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grail-file-facts div:nth-child(2) {
    border-right: 0;
  }
  .grail-file-facts div:nth-child(-n + 2) {
    border-bottom: var(--rule);
  }
}

/* ---------- Grail page layout ---------- */

.grail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  padding: clamp(28px, 4vw, 44px) 0;
}

.grail-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

@media (max-width: 960px) {
  .grail-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .grail-aside {
    position: static;
  }
}

.prose {
  max-width: var(--read);
}

.prose h2 {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.6em;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
  margin: 0 0 1.2em;
}

.prose li {
  margin-bottom: 0.4em;
}

.prose blockquote {
  margin: 1.4em 0;
  padding: 12px 18px;
  border-left: 6px solid var(--red);
  background: var(--paper);
}

/* Photo panels: placeholders until we have our own or licensed photos */
.photo-panel {
  border: var(--rule-heavy);
  aspect-ratio: 5 / 7;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  background:
    radial-gradient(rgba(20, 18, 16, 0.18) 1.2px, transparent 1.5px) 0 0 / 8px 8px,
    var(--paper);
}

.photo-panel p {
  margin: 0;
  background: var(--cream);
  border: var(--rule);
  padding: 10px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
}

.photo-panel figcaption {
  font-size: 0.8rem;
}

/* With real photos: no dotted placeholder, the images fill the panel (a pair sits side by side). */
.photo-panel.has-photos {
  aspect-ratio: auto;
  display: block;
  margin: 0;
  padding: 12px;
  background: var(--paper);
}

.photo-grid {
  display: grid;
  gap: 10px;
  align-items: start;
}

.photo-panel.is-pair .photo-grid {
  grid-template-columns: 1fr 1fr;
}

.photo-grid a {
  display: block;
}

.photo-grid img {
  display: block;
  width: 100%;
  height: auto;
  border: var(--rule);
  background: var(--cream);
}

.photo-panel.has-photos figcaption {
  margin-top: 10px;
  text-align: left;
}

/* Image credits on /terms */
.credits {
  font-size: 0.9rem;
}

.credits ul {
  margin: 4px 0 12px;
}

/* ---------- Tables: the sales ledger and population counts ---------- */

.table-wrap {
  overflow-x: auto;
  border: var(--rule-heavy);
  background: var(--paper);
  margin: 0 0 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--ink-faint);
  vertical-align: top;
  word-break: keep-all; /* keep Japanese words like ウルトラパラレル whole */
}

thead th {
  background: var(--ink);
  color: var(--cream);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: 0;
}

td.price {
  font-family: var(--font-num);
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

td.price small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0;
  margin-top: 3px;
}

td.num {
  font-family: var(--font-num);
  font-size: 1.35rem;
  line-height: 1;
}

.grade {
  display: inline-block;
  border: var(--rule);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  white-space: nowrap;
  background: var(--cream);
}

.table-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0 0 1.4em;
}

.src {
  font-size: 0.8rem;
  white-space: nowrap;
}

/* ---------- Japanese search terms ---------- */

.terms {
  display: grid;
  gap: 10px;
  margin: 0 0 1.2em;
}

.term {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: baseline;
  border: var(--rule);
  background: var(--paper);
  padding: 10px 14px;
}

.term .jp {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.term .means {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- Hunt box ---------- */

.hunt {
  background: var(--ink);
  color: var(--cream);
  border: var(--rule-heavy);
  padding: clamp(22px, 4vw, 36px);
}

.hunt h2,
.hunt h3 {
  color: var(--cream);
}

.hunt h2 em {
  font-style: normal;
  color: var(--gold);
}

.hunt p {
  color: rgba(244, 234, 213, 0.86);
}

.hunt form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.hunt label {
  display: grid;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hunt label.full {
  grid-column: 1 / -1;
}

.hunt input,
.hunt select,
.hunt textarea {
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--cream);
  padding: 9px 10px;
  border-radius: 0;
}

.hunt textarea {
  min-height: 84px;
  resize: vertical;
}

.hunt .actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hunt .btn--ghost {
  color: var(--cream);
  border-color: var(--cream);
}

.hunt .fine {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  margin: 0;
}

.hunt-mini {
  background: var(--ink);
  color: var(--cream);
  border: var(--rule-heavy);
  padding: 18px;
}

.hunt-mini h3 {
  color: var(--cream);
  font-size: 1.1rem;
}

.hunt-mini p {
  font-size: 0.92rem;
  color: rgba(244, 234, 213, 0.86);
}

.hunt-mini .btn {
  width: 100%;
}

@media (max-width: 600px) {
  .hunt form {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Cards and the tankōbon shelf ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  display: flex;
  flex-direction: column;
  border: var(--rule-heavy);
  background: var(--paper);
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

a.card:hover {
  color: var(--ink);
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 var(--ink);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: var(--rule);
  padding: 7px 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.card-body {
  padding: 14px 14px 16px;
}

.card-body h3 {
  margin-bottom: 6px;
}

.card-body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.card--planned {
  border-style: dashed;
  background: transparent;
}

.card--planned .card-top {
  border-bottom-style: dashed;
}

/* Home: the hubs as tankōbon spines on a shelf */
.shelf {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  border-bottom: 10px solid var(--ink);
  padding-bottom: 0;
}

.spine {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  border: var(--rule-heavy);
  border-bottom: 0;
  background: var(--paper);
  text-decoration: none;
  padding: 0 0 14px;
  transition: transform 0.15s ease;
}

.spine:nth-child(2) {
  min-height: 330px;
}

.spine:nth-child(3) {
  min-height: 312px;
}

.spine:nth-child(4) {
  min-height: 344px;
}

.spine:hover {
  color: var(--ink);
  transform: translateY(-10px);
}

.spine-band {
  height: 16px;
  border-bottom: var(--rule);
  background: var(--red);
}

.spine:nth-child(even) .spine-band {
  background: var(--ink);
}

.spine:nth-child(3) .spine-band {
  background: var(--gold);
}

.spine-ja {
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  margin: 18px auto 12px;
  letter-spacing: 0.08em;
}

.spine-en {
  text-align: center;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0 6px;
}

@media (max-width: 760px) {
  .shelf {
    grid-template-columns: minmax(0, 1fr);
    border-bottom: 0;
    gap: 10px;
  }
  .spine,
  .spine:nth-child(n) {
    min-height: 0;
    border-bottom: var(--rule-heavy);
    flex-direction: row;
    align-items: center;
    padding: 0;
  }
  .spine-band {
    width: 14px;
    height: auto;
    align-self: stretch;
    border-bottom: 0;
    border-right: var(--rule);
  }
  .spine-ja {
    writing-mode: horizontal-tb;
    white-space: nowrap;
    font-size: 1.1rem;
    margin: 12px 0 12px 14px;
  }
  .spine-en {
    text-align: left;
    padding: 0 12px 0 8px;
    font-size: 0.72rem;
  }
}

/* Three promises from the brand guide */
.promises {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: var(--rule-heavy);
  background: var(--paper);
}

.promises div {
  padding: 18px;
  border-right: var(--rule);
}

.promises div:last-child {
  border-right: 0;
}

.promises h3 {
  margin-bottom: 4px;
}

.promises p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .promises {
    grid-template-columns: minmax(0, 1fr);
  }
  .promises div {
    border-right: 0;
    border-bottom: var(--rule);
  }
  .promises div:last-child {
    border-bottom: 0;
  }
}

/* Steps on the hunt page */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  border: var(--rule-heavy);
  background: var(--paper);
  padding: 16px;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-num);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--red);
  margin-bottom: 6px;
}

/* A–Z index */
.az {
  columns: 2 280px;
  column-gap: 32px;
  padding: 0;
  list-style: none;
}

.az li {
  break-inside: avoid;
  padding: 8px 0;
  border-bottom: 1px solid var(--ink-faint);
}

.az .hub {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-left: 8px;
}

/* Sources */
.sources {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.sources ol {
  padding-left: 1.3em;
}

.sources a {
  word-break: break-word;
}

/* Draft review banner (dev only) */
.draft-banner {
  background: var(--gold);
  border-bottom: var(--rule-heavy);
  font-size: 0.9rem;
  padding: 10px 0;
}

.draft-banner ul {
  margin: 4px 0 0;
  padding-left: 1.2em;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--cream);
  margin-top: clamp(40px, 6vw, 72px);
  padding: 40px 0 28px;
  border-top: 10px solid var(--red);
}

.site-footer img {
  height: 46px;
  width: auto;
  margin-bottom: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.site-footer h3 {
  color: var(--cream);
  font-size: 0.74rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.site-footer a {
  text-decoration-color: rgba(244, 234, 213, 0.35);
}

.site-footer a:hover {
  color: var(--gold);
}

.site-footer p {
  color: rgba(244, 234, 213, 0.78);
  font-size: 0.92rem;
}

.site-footer .disclaimer {
  border-top: 1px solid rgba(244, 234, 213, 0.2);
  margin-top: 24px;
  padding-top: 16px;
  font-size: 0.8rem;
  color: rgba(244, 234, 213, 0.6);
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Consent banner (Europe only, see scripts/site.js) ---------- */

.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  background: var(--ink);
  color: var(--cream);
  border: var(--rule-heavy);
  box-shadow: 5px 5px 0 var(--red);
  padding: 14px 16px;
}

.consent p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.92rem;
  color: rgba(244, 234, 213, 0.9);
}

.consent a {
  color: var(--cream);
}

.consent-actions {
  display: flex;
  gap: 8px;
}

.consent .btn--ghost {
  color: var(--cream);
  border-color: var(--cream);
}

.muted {
  color: var(--ink-soft);
}

.center {
  text-align: center;
}
