/* ==========================================================
   Poker Society
   Card-room palette: baize green, cream card stock, brass, red
   ========================================================== */

:root {
  --felt: #0e3b2c;
  --felt-deep: #0a2c21;
  --felt-light: #17573f;
  --rail: #24160f;
  --paper: #fbf6ea;
  --card: #fffdf7;
  --ink: #15120e;
  --ink-soft: #4d4539;
  --gold: #d8b25a;
  --gold-soft: #ebd197;
  --gold-dark: #85600f;
  --red: #c2362b;
  --text: #f5edda;
  --text-dim: rgba(245, 237, 218, 0.74);
  --line: rgba(245, 237, 218, 0.14);
  --radius: 16px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--felt-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

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

h1 {
  font-size: clamp(2.5rem, 6.2vw, 3.9rem);
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap {
  width: min(1140px, 100% - 32px);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
}
.skip:focus { left: 16px; }

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

.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.5em;
  border: 2px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(245, 237, 218, 0.4);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(245, 237, 218, 0.08);
  border-color: var(--text);
}
.btn-small {
  padding: 0.6em 1.15em;
  font-size: 0.95rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 44, 33, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
}
.brand em {
  font-style: normal;
  color: var(--gold);
}
.brand-mark {
  width: 36px;
  height: 36px;
  padding: 7px;
  border-radius: 10px;
  background: var(--paper);
  fill: var(--ink);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.bars,
.bars::before,
.bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease, background-color 0.2s ease;
}
.bars { position: relative; }
.bars::before,
.bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.bars::before { top: -6px; }
.bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

.site-nav {
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  padding: 6px 16px 22px;
  background: var(--felt-deep);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
}
.site-nav.open { display: flex; }
.site-nav a {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover { color: var(--text); }
.site-nav .btn {
  margin-top: 16px;
  padding: 0.8em 1.2em;
  border: 2px solid var(--gold);
  color: var(--ink);
}

@media (min-width: 920px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .site-nav a {
    padding: 0;
    border: 0;
    font-size: 0.96rem;
  }
  .site-nav .btn {
    margin-top: 0;
    padding: 0.6em 1.15em;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 84px;
  background:
    var(--noise),
    radial-gradient(ellipse 70% 60% at 72% 45%, var(--felt-light), transparent 70%),
    radial-gradient(ellipse 120% 80% at 50% 120%, rgba(0, 0, 0, 0.5), transparent 60%),
    var(--felt);
}
/* the table rail */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12px;
  background: linear-gradient(var(--gold-dark), var(--gold-dark) 2px, var(--rail) 2px, #120b07);
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero h1 span {
  font-style: italic;
  color: var(--gold);
}

.lede {
  max-width: 34em;
  font-size: 1.15rem;
  color: var(--text-dim);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 36px;
}

.next-game {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 540px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
}
.next-game div {
  padding: 14px 16px;
  border-left: 1px solid var(--line);
}
.next-game div:first-child { border-left: 0; }
.next-game dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.next-game dd {
  margin: 4px 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

/* playing cards */
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 330px;
}

.fan {
  position: relative;
  width: 170px;
  height: 238px;
}

.pcard {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  transform-origin: 50% 115%;
  animation: deal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.pcard.red { color: var(--red); }

.pcard .corner {
  position: absolute;
  top: 12px;
  left: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}
.pcard .corner i {
  font-style: normal;
  font-size: 1.1rem;
  margin-top: 2px;
}
.pcard .corner.br {
  top: auto;
  left: auto;
  right: 14px;
  bottom: 12px;
  transform: rotate(180deg);
}
.pcard .pip {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 5.6rem;
  line-height: 1;
}

.pcard-back {
  border: 8px solid var(--card);
  background:
    repeating-linear-gradient(45deg, transparent 0 7px, rgba(255, 255, 255, 0.12) 7px 9px),
    repeating-linear-gradient(-45deg, transparent 0 7px, rgba(255, 255, 255, 0.12) 7px 9px),
    var(--red);
}

.fan .pcard:nth-child(1) { transform: rotate(-18deg) translateX(-34px); animation-delay: 0.05s; }
.fan .pcard:nth-child(2) { transform: rotate(-3deg) translateX(4px); animation-delay: 0.15s; }
.fan .pcard:nth-child(3) { transform: rotate(13deg) translateX(46px) translateY(8px); animation-delay: 0.25s; }

@keyframes deal {
  from {
    opacity: 0;
    transform: rotate(0deg) translateY(40px);
  }
}

/* poker chips */
.chip {
  --c: var(--red);
  display: block;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 7px dashed rgba(255, 255, 255, 0.92);
  background:
    radial-gradient(circle, var(--c) 0 42%, rgba(255, 255, 255, 0.85) 43% 46%, var(--c) 47%);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45), inset 0 0 0 3px rgba(0, 0, 0, 0.15);
}
.chip-red { --c: var(--red); }
.chip-black { --c: #1c1c1c; }
.chip-gold { --c: #b88a2c; }

.chips {
  position: absolute;
  left: 50%;
  bottom: 6px;
  display: flex;
  transform: translateX(-135px);
}
.chips .chip + .chip { margin-left: -24px; }
.chips .chip:nth-child(2) { transform: translateY(-10px); }

@media (min-width: 920px) {
  .hero { padding: 72px 0 112px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
  .hero-art { height: 440px; }
  .fan { width: 210px; height: 294px; }
  .pcard .pip { font-size: 7rem; }
  .chips { transform: translateX(-170px); bottom: 20px; }
}

/* ---------- Sections ---------- */

.section { padding: 84px 0; }
@media (min-width: 920px) {
  .section { padding: 112px 0; }
}

.section-felt {
  background:
    var(--noise),
    radial-gradient(ellipse 90% 70% at 30% 0%, var(--felt-light), transparent 70%),
    var(--felt);
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}
.section-head p:last-child { color: var(--text-dim); }

/* About */
.features {
  display: grid;
  gap: 18px;
}
@media (min-width: 640px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .features { grid-template-columns: repeat(4, 1fr); }
}

.feature {
  padding: 28px 24px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 178, 90, 0.5);
}
.feature p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-dim);
}

.suit {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}
.suit.red { color: var(--red); }

/* Weekly games */
.games-grid {
  display: grid;
  gap: 8px;
}
@media (min-width: 920px) {
  .games-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: start;
  }
  .games-grid .section-head {
    position: sticky;
    top: 110px;
  }
}

.schedule {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.schedule li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
}
.when {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: start;
  min-height: 96px;
  padding: 10px 6px;
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  text-align: center;
}
.when .day {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
}
.when .time {
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.what h3 { margin-bottom: 0.35em; }
.what p {
  margin-bottom: 0.9em;
  font-size: 0.98rem;
  color: var(--text-dim);
}
.tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(216, 178, 90, 0.45);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-soft);
}

@media (max-width: 479px) {
  .schedule li {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .when {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    min-height: 0;
    padding: 8px 14px;
    justify-self: start;
  }
  .when .time { margin-top: 0; }
}

.league {
  display: grid;
  gap: 20px;
  align-items: center;
  margin-top: 48px;
  padding: 28px;
  border: 1px solid rgba(216, 178, 90, 0.4);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(216, 178, 90, 0.14), rgba(216, 178, 90, 0.03));
}
.league h3 { font-size: 1.5rem; }
.league p {
  margin: 0;
  color: var(--text-dim);
}
.league .btn { justify-self: start; }
.league-chip {
  width: 64px;
  height: 64px;
}
@media (min-width: 760px) {
  .league {
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    padding: 32px 36px;
  }
}

/* Events */
.events {
  display: grid;
  gap: 18px;
}
@media (min-width: 900px) {
  .events { grid-template-columns: repeat(3, 1fr); }
}

.event {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}
@media (min-width: 900px) {
  .event {
    grid-template-columns: 1fr;
    padding: 26px 26px 28px;
  }
}

.event-date {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 114px;
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  transform: rotate(-3deg);
}
.event-date.red { color: var(--red); }
.event-date .m {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.event-date .d {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}
.event-date .w {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.event-date .s {
  position: absolute;
  top: 6px;
  left: 9px;
  font-size: 0.9rem;
}

.event-kind {
  margin-bottom: 0.4em;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.event h3 { font-size: 1.4rem; margin-bottom: 0.4em; }
.event-body p:not(.event-kind):not(.event-meta) {
  font-size: 0.98rem;
  color: var(--text-dim);
}
.event-meta {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Learn */
.section-paper {
  background: var(--paper);
  color: var(--ink);
}
.section-paper .eyebrow { color: var(--gold-dark); }
.section-paper p { color: var(--ink-soft); }

.learn-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 980px) {
  .learn-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
  }
}

.steps {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  margin-bottom: 22px;
  padding-left: 58px;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -2px;
  left: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--felt);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: inset 0 0 0 3px var(--felt), inset 0 0 0 5px var(--gold);
}
.steps h3 {
  margin-bottom: 0.25em;
  font-size: 1.2rem;
}
.steps p {
  margin: 0;
  font-size: 0.98rem;
}

.rankings-title {
  margin-bottom: 18px;
  font-size: 1.35rem;
}

.rankings {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rank;
}
@media (min-width: 640px) {
  .rankings {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
  }
}
.rankings li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e7dcc3;
  border-radius: 12px;
  background: #fff;
}
.rankings .name {
  display: flex;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
}
.rankings .name::before {
  counter-increment: rank;
  content: counter(rank) ".";
  flex-shrink: 0;
  min-width: 1.75em;
  color: var(--gold-dark);
}

.hand {
  display: flex;
  flex-shrink: 0;
  gap: 3px;
}
.mc {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 38px;
  border: 1px solid #d8cdb2;
  border-radius: 5px;
  background: var(--card);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.mc i {
  font-style: normal;
  font-size: 0.8rem;
}
.mc.r { color: var(--red); }

/* Join */
.join-grid {
  display: grid;
  gap: 44px;
  align-items: center;
}
@media (min-width: 920px) {
  .join-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 72px;
  }
}
.join-grid > div:first-child > p { color: var(--text-dim); }

.ticks {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  position: relative;
  padding-left: 34px;
  font-weight: 500;
}
.ticks li::before {
  content: "♠";
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.75rem;
}

.member-card {
  position: relative;
  padding: 40px 32px 34px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(216, 178, 90, 0.18), transparent 60%),
    linear-gradient(160deg, #1a1612, #0d0b09);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(216, 178, 90, 0.55), inset 0 0 0 7px #120f0c, inset 0 0 0 8px rgba(216, 178, 90, 0.25);
  text-align: center;
}
.mcard-suit {
  position: absolute;
  font-size: 1.4rem;
  color: var(--gold);
}
.mcard-suit.tl { top: 18px; left: 22px; }
.mcard-suit.br { right: 22px; bottom: 16px; transform: rotate(180deg); }
.mcard-label {
  margin-bottom: 0.4em;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.price {
  margin: 0 0 0.2em;
  font-size: 1.1rem;
  color: var(--text-dim);
}
.price span {
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}
.mcard-note {
  margin-bottom: 26px;
  color: var(--text-dim);
}
.member-card .btn {
  width: 100%;
  max-width: 300px;
}
.mcard-alt {
  margin: 18px 0 0;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.mcard-alt a { color: var(--gold-soft); }

/* FAQ */
.faq-grid {
  display: grid;
  gap: 8px;
}
@media (min-width: 920px) {
  .faq-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: start;
  }
}
.section-head a { color: var(--gold-soft); }

.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  position: relative;
  padding: 22px 44px 22px 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--gold);
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p {
  max-width: 40em;
  margin: -6px 0 22px;
  color: var(--text-dim);
}

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

.site-footer {
  padding: 64px 0 28px;
  border-top: 1px solid var(--line);
  background: #071f17;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  gap: 36px;
}
@media (min-width: 820px) {
  .footer-grid { grid-template-columns: 1.2fr 0.8fr 1.2fr; gap: 48px; }
}
.site-footer p { color: var(--text-dim); }
.site-footer .brand { margin-bottom: 16px; }
.site-footer h3 {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a,
.site-footer p a {
  color: var(--text);
  text-decoration-color: rgba(216, 178, 90, 0.6);
  text-underline-offset: 3px;
}
.footer-links a:hover,
.site-footer p a:hover { color: var(--gold-soft); }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
.footer-base p { margin: 0; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
