:root {
  --bg: #F6F1E8;
  --bg2: #EBE4D6;
  --ink: #1A1612;
  --muted: #5C5348;
  --accent: #1E3D32;
  --accent2: #8B1E3F;
  --gold: #C9A24A;
  --card: #FFFCFA;
  --cream: #FFFCFA;
  --shadow: 0 10px 32px rgba(58, 42, 28, 0.08);
  --shadow-sm: 0 4px 16px rgba(58, 42, 28, 0.06);
  --radius: 18px;
  --bar: 3px solid var(--accent);
  --font-serif: "Fraunces", "Palatino Linotype", Palatino, serif;
  --font-sans: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(246, 241, 232, 0.92), rgba(235, 228, 214, 0.55)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 11px,
      rgba(201, 162, 74, 0.035) 11px,
      rgba(201, 162, 74, 0.035) 12px
    );
  min-height: 100vh;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

h1,
h2,
h3,
.wordmark,
.mast-kicker {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.15rem, 5vw, 3.65rem);
  font-weight: 700;
  margin: 0 0 0.7rem;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  margin: 0 0 0.55rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.4rem;
}

p {
  margin: 0 0 1rem;
  color: var(--ink);
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--accent);
  color: var(--cream);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  z-index: 200;
}

.skip:focus {
  top: 12px;
  color: var(--cream);
}

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

/* —— Header —— */
.masthead {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 74, 0.35);
}

.mast-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--accent);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.wordmark {
  font-size: 1.2rem;
  font-weight: 600;
}

.site-nav ul {
  display: flex;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(30, 61, 50, 0.25);
  background: var(--card);
  border-radius: 12px;
  cursor: pointer;
  padding: 10px 11px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-toggle:hover span,
.nav-toggle:focus-visible span {
  background: var(--accent2);
}

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

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--accent);
  color: var(--cream);
  border: 0;
  border-radius: 14px;
  padding: 0.78rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.18s ease, transform 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent2);
  color: var(--cream);
  transform: translateY(-1px);
}

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

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  box-shadow: none;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  border-radius: 12px;
}

/* —— Hero —— */
.hero {
  padding: 3.4rem 0 3.1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.mast-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 1rem;
}

.mast-kicker span + span::before {
  content: "·";
  margin-right: 1rem;
  color: var(--gold);
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 38rem;
}

.lead::first-letter {
  font-family: var(--font-serif);
  font-size: 3.1rem;
  float: left;
  line-height: 0.75;
  padding-right: 0.45rem;
  padding-top: 0.28rem;
  color: var(--accent);
  font-weight: 600;
}

.hero-frame {
  position: relative;
}

.hero-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255, 252, 250, 0.9);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.7rem;
  border-radius: 10px;
  border-left: var(--bar);
}

.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border: 0;
  margin: 0;
}

/* —— Sections —— */
.band {
  padding: 3.4rem 0;
}

.band-alt {
  background: var(--bg2);
}

.band-intro {
  max-width: 40rem;
  margin-bottom: 1.8rem;
}

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

/* —— Game row —— */
.pick-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.2rem 0 0.8rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.pick-row::-webkit-scrollbar {
  height: 8px;
}

.pick-row::-webkit-scrollbar-thumb {
  background: rgba(30, 61, 50, 0.28);
  border-radius: 8px;
}

.pick {
  flex: 1 1 190px;
  min-width: 188px;
  max-width: 220px;
  scroll-snap-align: start;
  background: var(--card);
  border-radius: 18px;
  padding: 1.15rem 1.1rem 1.2rem;
  border-left: var(--bar);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pick:hover {
  box-shadow: var(--shadow);
}

.pick-logo {
  width: 64px;
  height: 64px;
  max-width: 64px;
  max-height: 64px;
  object-fit: contain;
  object-position: left center;
  image-rendering: auto;
  flex-shrink: 0;
}

.pick h3 {
  font-size: 1.08rem;
  margin: 0;
}

.score {
  font-family: var(--font-serif);
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 600;
}

.score span {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
}

.pick p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  flex: 1;
}

/* —— Feature spread —— */
.spread {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.2rem;
  align-items: center;
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border-left: var(--bar);
}

.spread img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.spread-copy {
  padding: 1.8rem 1.8rem 1.8rem 0.4rem;
}

.spread-copy p:last-of-type {
  margin-bottom: 1.2rem;
}

/* —— Steps —— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.step {
  background: var(--card);
  border-radius: 18px;
  padding: 1.5rem 1.35rem 1.4rem;
  border-left: var(--bar);
  box-shadow: var(--shadow-sm);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.55rem;
}

/* —— Style grid 2x2 —— */
.style-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  position: relative;
}

.style-card {
  background: var(--card);
  border-radius: 18px;
  padding: 1.5rem;
  border-left: var(--bar);
  box-shadow: var(--shadow-sm);
  min-height: 160px;
}

.style-card--visual {
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 220px;
  border-left: 0;
}

.style-card--visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}

.style-card--visual figcaption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(26, 22, 18, 0.62));
  color: var(--cream);
  padding: 2.2rem 1.2rem 1.1rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
}

/* —— Tips —— */
.tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.tip {
  background: var(--card);
  border-radius: 16px;
  padding: 1.45rem;
  box-shadow: var(--shadow-sm);
  border-left: var(--bar);
}

.tip header {
  font-family: var(--font-serif);
  color: var(--accent2);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* —— Checklist —— */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.check-list li {
  background: var(--card);
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1.15rem 3.1rem;
  box-shadow: var(--shadow-sm);
  border-left: var(--bar);
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 1.3rem;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* —— Inner legal —— */
.legal {
  padding: 2.8rem 0 4rem;
}

.legal-shell {
  background: var(--card);
  border-radius: 20px;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-left: var(--bar);
  box-shadow: var(--shadow-sm);
  max-width: 760px;
}

.legal time {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.legal h2 {
  font-size: 1.35rem;
  margin-top: 1.6rem;
}

.legal ul {
  padding-left: 1.2rem;
  color: var(--ink);
}

.legal li {
  margin-bottom: 0.4rem;
}

/* —— Footer —— */
.site-foot {
  background: var(--accent);
  color: #E8EFEA;
  padding: 2.8rem 0 2.2rem;
  margin-top: 0.5rem;
}

.site-foot a {
  color: #F3E3B0;
}

.site-foot a:hover {
  color: var(--cream);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.foot-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.foot-brand span {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--cream);
}

.site-foot p,
.site-foot address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #D5DED8;
  margin: 0 0 0.7rem;
}

.site-foot h2 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.7rem;
}

.policies {
  list-style: none;
  margin: 0;
  padding: 0;
}

.policies li {
  margin-bottom: 0.35rem;
}

.promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.6rem;
}

.promo code {
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
  background: rgba(255, 252, 250, 0.1);
  color: var(--cream);
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  border: 1px dashed rgba(201, 162, 74, 0.55);
}

.copy-code {
  background: var(--gold);
  color: var(--ink);
}

.copy-code:hover,
.copy-code:focus-visible {
  background: var(--cream);
  color: var(--accent);
}

.copy-note {
  font-size: 0.82rem;
  min-height: 1.2em;
  color: #F3E3B0;
}

.legal-note {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(201, 162, 74, 0.28);
  font-size: 0.82rem !important;
  color: #C5D0C9 !important;
}

.copyright {
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: #C5D0C9;
}

/* —— Cookie bar —— */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  background: var(--card);
  border-top: 3px solid var(--accent);
  box-shadow: 0 -12px 36px rgba(58, 42, 28, 0.12);
  padding: 1rem 0;
}

.cookie-bar[hidden] {
  display: none;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.cookie-inner p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 46rem;
}

.cookie-actions {
  display: flex;
  gap: 0.55rem;
  flex-shrink: 0;
}

body.cookie-open {
  padding-bottom: 7rem;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg);
    border-bottom: 1px solid rgba(201, 162, 74, 0.35);
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    padding: 0.6rem 1.2rem 1.1rem;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.7rem 0;
  }

  .hero-grid,
  .spread,
  .steps,
  .style-grid,
  .tips,
  .check-list,
  .foot-grid,
  .cookie-inner {
    grid-template-columns: 1fr;
  }

  .hero-frame img {
    height: 260px;
  }

  .spread-copy {
    padding: 0 1.3rem 1.4rem;
  }

  .cookie-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    flex-wrap: wrap;
  }

  .cookie-actions .btn {
    flex: 1;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(var(--max), calc(100% - 1.4rem));
  }

  .hero {
    padding-top: 2rem;
  }

  .pick {
    min-width: 78%;
    max-width: 78%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
