/* NC Sportsbook Promos — Editorial Grid / Magazine Theme
   Cinzel + Josefin Sans | #000000 / #ffffff palette
   Target: ~18KB */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Josefin+Sans:wght@300;400;500;600;700&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #000000;
  --white: #ffffff;
  --ink: #000000;
  --ink-light: #333333;
  --ink-muted: #666666;
  --rule: #cccccc;
  --bg: #ffffff;
  --bg-off: #f7f7f5;
  --accent: #000000;
  --font-serif: 'Cinzel', Georgia, 'Times New Roman', serif;
  --font-sans: 'Josefin Sans', 'Helvetica Neue', Arial, sans-serif;
  --max-w: 1200px;
  --col-read: 72ch;
  --header-h: 64px;
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--header-h);
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: underline; }
a:hover { text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(1.75rem, 4vw, 3rem); }
h2 { font-size: clamp(1.25rem, 2.5vw, 1.875rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.375rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1.2em; }
ul, ol { padding-left: 1.4em; margin-bottom: 1.2em; }
li { margin-bottom: 0.4em; }

hr {
  border: none;
  border-top: 2px solid var(--ink);
  margin: 0.5rem 0 1.2rem;
}

blockquote {
  border-left: 4px solid var(--ink);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  font-size: 1.1em;
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--ink-light);
  background: var(--bg-off);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
table th, table td {
  border: 1px solid var(--rule);
  padding: 0.65rem 0.85rem;
  text-align: left;
}
table th {
  font-family: var(--font-serif);
  font-weight: 600;
  background: var(--ink);
  color: var(--white);
  letter-spacing: 0.04em;
}
table tbody tr:nth-child(even) { background: var(--bg-off); }

/* ===== FIXED BOTTOM BAR HEADER ===== */
.site-header {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--black);
  color: var(--white);
  height: var(--header-h);
  border-top: 2px solid var(--white);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
  gap: 0.5rem;
}

.header-brand {
  flex: 0 1 auto;
  text-align: center;
}

.brand-link {
  font-family: var(--font-serif);
  font-size: clamp(0.8rem, 2vw, 1.1rem);
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.brand-link:hover { color: var(--rule); }

.header-left { flex: 0 0 auto; }
.header-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ===== CTA BUTTONS ===== */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  border-radius: 0;
  white-space: nowrap;
}

.cta-signup {
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--white);
}
.cta-signup:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--white);
}

.cta-login {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.cta-login:hover {
  background: var(--white);
  color: var(--black);
}

.hero-cta {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  min-height: 48px;
  padding: 0 1.5rem;
}

.aside-cta {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ===== HAMBURGER TOGGLE ===== */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 2px solid var(--white);
  cursor: pointer;
  list-style: none;
  padding: 0;
}
.nav-toggle::-webkit-details-marker { display: none; }
.nav-toggle::marker { display: none; }

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}
.hamburger-icon span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
}

/* ===== NAV OVERLAY ===== */
.nav-details { position: static; }

.nav-overlay {
  position: fixed;
  inset: 0;
  bottom: var(--header-h);
  background: var(--black);
  z-index: 999;
  overflow-y: auto;
}

.nav-overlay-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  position: relative;
}

.nav-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: 2px solid var(--white);
  color: var(--white);
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-close:hover { background: var(--white); color: var(--black); }

.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-menu li {
  border-bottom: 1px solid var(--ink-muted);
  margin: 0;
}
.nav-menu li a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0.75rem 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.nav-menu li a:hover { color: var(--rule); }

/* Hide overlay when details is closed */
.nav-details:not([open]) .nav-overlay { display: none; }

/* ===== HERO — HOME ===== */
.hero-home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-media {
  position: relative;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-texture {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem 4rem 2.5rem;
  text-align: right;
  background: var(--bg);
}
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}
.hero-h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
}
.hero-sub {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--ink-light);
  max-width: 40ch;
  margin-left: auto;
}

/* ===== LAYOUT CONTAINERS ===== */
.main-home,
.main-review,
.main-ranking,
.main-compare,
.main-about,
.main-privacy,
.main-data {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.content-with-aside {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}

.content-primary { min-width: 0; }
.content-aside { position: sticky; top: 1rem; }

/* ===== BODY COPY ===== */
.body-copy {
  max-width: var(--col-read);
  line-height: 1.8;
}

/* Drop cap */
.drop-cap > p:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-size: 4em;
  font-weight: 700;
  float: left;
  line-height: 0.8;
  margin: 0.08em 0.1em 0 0;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* Body copy internal links */
.body-copy a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.body-copy a:hover { text-decoration: none; background: var(--ink); color: var(--white); }

/* Pull quotes inside body */
.body-copy blockquote {
  font-size: 1.2em;
  border-left: 4px solid var(--ink);
  margin: 2.5rem 0;
  padding: 1.25rem 1.75rem;
  font-style: italic;
  font-family: var(--font-serif);
}

/* Headings in body content */
.body-copy h2 {
  margin-top: 2rem;
  margin-bottom: 0.3rem;
  padding-bottom: 0.3rem;
}
.body-copy h3 { margin-top: 1.5rem; }

/* ===== ASIDE WIDGETS ===== */
.aside-widget {
  background: var(--bg-off);
  border: 1px solid var(--rule);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.aside-heading {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.aside-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.aside-links li {
  border-bottom: 1px solid var(--rule);
  margin: 0;
}
.aside-links li:last-child { border-bottom: none; }
.aside-links li a,
.aside-links li {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  gap: 0.5rem;
}
.aside-links li a:hover { text-decoration: underline; }

.aside-author-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.aside-author-creds {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* ===== BYLINE ===== */
.byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.byline-author { font-weight: 600; color: var(--ink); }
.byline-sep { color: var(--rule); }

/* ===== EYEBROW ===== */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}

/* ===== STAGE LABEL ===== */
.stage-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2em 0.5em;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.stage-awareness { border-color: #888; color: #888; }
.stage-consideration { border-color: #555; color: #555; }
.stage-decision { border-color: var(--ink); color: var(--ink); }

/* ===== SECTION HEADINGS ===== */
.section-heading {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-body {
  padding: 1.25rem;
  flex: 1;
}
.card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.card-title a {
  text-decoration: none;
  color: var(--ink);
}
.card-title a:hover { text-decoration: underline; }
.card-desc {
  font-size: 0.9rem;
  color: var(--ink-light);
  margin-bottom: 0.5rem;
}
.card-date {
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-family: var(--font-sans);
}
.card-accent {
  height: 3px;
  background: var(--ink);
  width: 100%;
  flex-shrink: 0;
}

/* ===== RANK TABLE ===== */
.rank-table { margin-top: 0.5rem; }
.rank-pos {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  width: 60px;
}
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== PAGE-SPECIFIC HEADERS ===== */
.review-hero-wrap,
.review-title-block,
.ranking-title-block,
.compare-title-block,
.about-title-block,
.privacy-title-block,
.data-title-block {
  padding: 3rem 0 1.5rem;
}

.review-hero-wrap img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.review-header-section,
.ranking-header-section,
.compare-header-section,
.about-header-section,
.privacy-header-section,
.data-header-section {
  border-bottom: 2px solid var(--ink);
  margin-bottom: 2.5rem;
}

/* ===== AUTHOR SECTION ===== */
.author-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--ink);
}
.author-heading {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}
.author-card {
  margin-top: 1rem;
  padding: 1.5rem;
  background: var(--bg-off);
  border: 1px solid var(--rule);
}
.author-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}
.author-credentials {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.author-bio {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-light);
  margin: 0;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 2.5rem 1.25rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-brand {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.footer-blurb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin: 0;
}
.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}
.footer-links-col a {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.footer-links-col a:hover { color: var(--white); text-decoration: underline; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 1.25rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-sans);
}
.rg-notice {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
  max-width: 60ch;
  text-align: center;
  line-height: 1.5;
}

/* ===== CHILD CARDS BLOCK ===== */
.child-cards-block,
.rank-table-block,
.data-table-block {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

/* ===== SCROLL REVEAL ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal-block {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .reveal-block.is-visible {
    opacity: 1;
    transform: none;
  }
  .reveal-item {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.45s ease, transform 0.45s ease;
  }
  .reveal-item.is-visible {
    opacity: 1;
    transform: none;
  }
  .cards-grid .reveal-item:nth-child(2) { transition-delay: 0.08s; }
  .cards-grid .reveal-item:nth-child(3) { transition-delay: 0.16s; }
  .cards-grid .reveal-item:nth-child(4) { transition-delay: 0.24s; }
  .cards-grid .reveal-item:nth-child(5) { transition-delay: 0.32s; }
  .cards-grid .reveal-item:nth-child(6) { transition-delay: 0.40s; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .content-with-aside {
    grid-template-columns: 1fr 240px;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .hero-home {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-media {
    min-height: 40vw;
    max-height: 45vh;
  }
  .hero-copy {
    padding: 2rem 1.25rem;
    text-align: left;
  }
  .hero-sub { margin-left: 0; }

  .content-with-aside {
    grid-template-columns: 1fr;
  }
  .content-aside {
    position: static;
    order: -1;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-links-col { align-items: flex-start; }

  .main-home,
  .main-review,
  .main-ranking,
  .main-compare,
  .main-about,
  .main-privacy,
  .main-data {
    padding: 2rem 1rem;
  }

  .header-bar { padding: 0 0.75rem; }
  .brand-link { font-size: 0.75rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  .cta { font-size: 0.72rem; padding: 0 0.65rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .drop-cap > p:first-of-type::first-letter { font-size: 3em; }
}

/* ===== UTILITY ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}