/* =========================================================
   GatherHall24 Base Styles
   Light Warm Editorial Restaurant Hall Theme
   ========================================================= */

/* =========================================================
   1. CSS VARIABLES (Design Tokens)
   ========================================================= */
:root {
  /* Color System – 09_Color_Warm_Magazine */
  --color-bg: #faf5ee;              /* ivory / warm base */
  --color-surface: #fffaf3;         /* warm cream panels */
  --color-surface-soft: #f5eadc;    /* soft honey wash */

  --color-text: #5c4434;            /* warm brown */
  --color-text-soft: #7a5a46;       /* softer copy */
  --color-text-muted: #a98b72;      /* muted notes */

  --color-primary: #c9934c;         /* muted gold */
  --color-primary-soft: #e3c89a;    /* soft gold wash */
  --color-primary-strong: #a67635;  /* deeper gold-brown */

  --color-success: #9aaf72;         /* herbal green */
  --color-warning: #d9a150;         /* amber */
  --color-danger: #c9675b;          /* pale terracotta red */

  /* Neutral warm grays / walnuts (no black/charcoal) */
  --color-border-subtle: #e3d4c3;   /* tablecloth line */
  --color-border: #d1bda8;          /* warm walnut line */
  --color-border-strong: #b4977a;

  --color-walnut-soft: #c7aa8c;     /* for line accents */
  --color-walnut-deep: #8a6142;

  /* Background accents */
  --color-section-alt: #f4ebdf;
  --color-hero-bg: #fffaf3;

  /* Focus & selection */
  --color-focus: #c9934c;
  --color-selection-bg: #f2d3a5;
  --color-selection-text: #5c4434;

  /* Typography */
  --font-sans: "Source Sans Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", "Georgia", "Times New Roman", serif;
  --font-masthead: "Playfair Display", "Georgia", "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;    /* 16px */
  --font-size-md: 1.0625rem; /* 17px - body plus */
  --font-size-lg: 1.25rem;   /* 20px */
  --font-size-xl: 1.5rem;    /* 24px */
  --font-size-2xl: 1.875rem; /* 30px */
  --font-size-3xl: 2.25rem;  /* 36px */
  --font-size-4xl: 2.75rem;  /* 44px */

  --line-height-tight: 1.2;
  --line-height-snug: 1.35;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* Spacing scale (0–96px) */
  --space-0: 0;
  --space-1: 0.125rem; /* 2px */
  --space-2: 0.25rem;  /* 4px */
  --space-3: 0.375rem; /* 6px */
  --space-4: 0.5rem;   /* 8px */
  --space-5: 0.625rem; /* 10px */
  --space-6: 0.75rem;  /* 12px */
  --space-7: 0.875rem; /* 14px */
  --space-8: 1rem;     /* 16px */
  --space-10: 1.25rem; /* 20px */
  --space-12: 1.5rem;  /* 24px */
  --space-14: 1.75rem; /* 28px */
  --space-16: 2rem;    /* 32px */
  --space-20: 2.5rem;  /* 40px */
  --space-24: 3rem;    /* 48px */
  --space-28: 3.5rem;  /* 56px */
  --space-32: 4rem;    /* 64px */
  --space-40: 5rem;    /* 80px */
  --space-48: 6rem;    /* 96px */

  /* Radius */
  --radius-none: 0;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  --radius-card-soft: 18px;        /* soft table-corner */

  /* Shadows – warm, subtle */
  --shadow-soft: 0 8px 18px rgba(139, 98, 63, 0.08);
  --shadow-card: 0 16px 40px rgba(92, 68, 52, 0.14);
  --shadow-elevated: 0 22px 60px rgba(70, 48, 34, 0.18);

  /* Transitions */
  --transition-fast: 120ms ease-out;
  --transition-medium: 200ms ease-out;
  --transition-slow: 320ms ease-out;

  /* Layout tokens */
  --max-width-page: 1120px;
  --max-width-wide: 1320px;
  --header-height-desktop: 188px;
  --header-height-mobile: 120px;

  /* Z-index scale */
  --z-header: 40;
  --z-header-overlay: 45;
  --z-overlay: 50;
  --z-tooltip: 60;

  /* Decorative motif (horizontal line pattern) */
  --decor-line-color: #d4bda3;
  --decor-line-color-soft: #e7d6c4;
}

/* Respect prefers-reduced-motion for global transitions */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0s;
    --transition-medium: 0s;
    --transition-slow: 0s;
  }
}

/* =========================================================
   2. RESET / NORMALIZE
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
}

h1, h2, h3, h4, h5, h6,
p, figure, blockquote,
dl, dd {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  margin: 0;
  padding: 0;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  border: none;
  padding: 0;
  background: none;
}

textarea {
  resize: vertical;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Remove default focus outlines; we will recreate with :focus-visible */
:focus {
  outline: none;
}

/* =========================================================
   3. BASE TYPOGRAPHY & ELEMENTS
   ========================================================= */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--font-size-md);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background: radial-gradient(circle at top, #fffaf3 0, #faf5ee 42%, #f3ebdf 100%);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: var(--color-selection-bg);
  color: var(--color-selection-text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.3rem, 3vw + 1.4rem, 3.2rem);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-6);
}

h2 {
  font-size: clamp(1.8rem, 2.2vw + 1.1rem, 2.4rem);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-5);
}

h3 {
  font-size: clamp(1.4rem, 1.4vw + 1rem, 1.8rem);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-4);
}

h4 {
  font-size: 1.2rem;
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-3);
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-text-soft);
}

p + p {
  margin-top: var(--space-1);
}

strong {
  font-weight: 600;
  color: var(--color-text);
}

small {
  font-size: 0.875rem;
}

a {
  color: var(--color-primary-strong);
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.22em;
  transition: color var(--transition-medium), text-decoration-color var(--transition-medium), opacity var(--transition-fast);
}

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

a:active {
  opacity: 0.8;
}

hr {
  border: 0;
  border-top: 1px solid var(--color-border-subtle);
  margin: var(--space-16) 0;
}

/* Lists */
ul, ol {
  padding-left: 1.5rem;
  margin: 0 0 var(--space-4);
}

li + li {
  margin-top: var(--space-2);
}

/* =========================================================
   4. ACCESSIBILITY & FOCUS
   ========================================================= */
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

@supports selector(:focus-visible) {
  :focus:not(:focus-visible) {
    outline: none;
  }
}

/* Screen-reader-only content */
.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;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* =========================================================
   5. LAYOUT UTILITIES
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--max-width-page);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

.container-wide {
  width: 100%;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

@media (min-width: 1200px) {
  .container,
  .container-wide {
    padding-inline: var(--space-8);
  }
}

.section {
  padding-block: var(--space-24);
}

.section--tight {
  padding-block: var(--space-16);
}

.section--wide {
  padding-block: var(--space-32);
}

.section--alt {
  background: var(--color-section-alt);
}

.section-heading {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto var(--space-10);
}

.section-heading__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.section-heading__eyebrow::before,
.section-heading__eyebrow::after {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--decor-line-color));
}

.section-heading__title {
  font-size: clamp(1.8rem, 2.2vw + 1.2rem, 2.4rem);
  margin-bottom: var(--space-3);
}

.section-heading__intro {
  font-size: var(--font-size-base);
}

/* Flex utilities */
.flex {
  display: flex;
}

.flex-inline {
  display: inline-flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-gap-sm {
  gap: var(--space-4);
}

.flex-gap-md {
  gap: var(--space-6);
}

.flex-gap-lg {
  gap: var(--space-10);
}

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

.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }

/* Grid utilities */
.grid {
  display: grid;
  gap: var(--space-8);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-10);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-10);
}

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

/* Spacing utilities (margin-bottom only to keep it simple) */
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: var(--space-2) !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }
.mb-6 { margin-bottom: var(--space-6) !important; }
.mb-8 { margin-bottom: var(--space-8) !important; }
.mb-10 { margin-bottom: var(--space-10) !important; }
.mb-12 { margin-bottom: var(--space-12) !important; }

.text-center { text-align: center; }
.text-right { text-align: right; }

/* =========================================================
   6. HEADER – MAGAZINE MASTHEAD
   ========================================================= */
.site-header {
  position: relative;
  z-index: var(--z-header);
  background: linear-gradient(to bottom, #fffdf7 0, #faf3e8 100%);
  border-bottom: 1px solid var(--color-border-subtle);
}

/* Top utility row */
.site-header__utility {
  border-bottom: 1px solid var(--color-border-subtle);
  background: rgba(255, 250, 243, 0.9);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.site-header__utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-block: var(--space-2);
}

.site-header__utility-note {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header__utility-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.site-header__pill {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--color-border-subtle);
  background: rgba(245, 234, 220, 0.7);
}

/* Masthead row */
.site-header__masthead {
  padding-block: var(--space-6);
}

.site-header__masthead-inner {
  text-align: center;
}

.site-masthead-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.site-masthead-brand__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-masthead-brand__title {
  font-family: var(--font-masthead);
  font-size: clamp(1.8rem, 1.5vw + 1.4rem, 2.4rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
}

.site-masthead-brand__subtitle {
  font-size: var(--font-size-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Navigation row */
.site-header__nav-row {
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  background: rgba(255, 250, 243, 0.96);
}

.site-header__nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding-block: var(--space-3);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  font-size: var(--font-size-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav__item {
  position: relative;
  padding-inline: var(--space-1);
}

.site-nav__link {
  color: var(--color-text-soft);
  padding-block: var(--space-1);
  border-bottom: 1px solid transparent;
  transition: color var(--transition-medium), border-color var(--transition-medium), opacity var(--transition-fast);
}

.site-nav__link:hover {
  color: var(--color-primary-strong);
  border-color: rgba(201, 147, 76, 0.4);
}

.site-nav__link--active {
  color: var(--color-primary-strong);
  border-color: var(--color-primary);
}

/* Decorative horizontal line pattern under masthead */
.site-header__divider {
  position: relative;
  height: 14px;
  overflow: hidden;
  background: linear-gradient(to bottom, #f1e2d2 0, #f7ecdf 100%);
}

.site-header__divider::before,
.site-header__divider::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  border-top: 1px solid var(--decor-line-color);
}

.site-header__divider::before {
  top: 4px;
  border-style: dashed;
  opacity: 0.9;
}

.site-header__divider::after {
  top: 9px;
  border-style: solid;
  border-color: var(--decor-line-color-soft);
}

/* Header – Mobile behaviour */
.site-header__burger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--color-border-subtle);
  background: rgba(245, 234, 220, 0.9);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.site-header__burger-lines {
  width: 18px;
  height: 12px;
  position: relative;
}

.site-header__burger-lines::before,
.site-header__burger-lines::after,
.site-header__burger-lines span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-text);
  transition: transform var(--transition-medium), opacity var(--transition-medium), top var(--transition-medium), bottom var(--transition-medium);
}

.site-header__burger-lines::before { top: 0; }
.site-header__burger-lines span { top: 5px; }
.site-header__burger-lines::after { bottom: 0; }

.site-header--menu-open .site-header__burger-lines::before {
  top: 5px;
  transform: rotate(45deg);
}

.site-header--menu-open .site-header__burger-lines::after {
  bottom: 5px;
  transform: rotate(-45deg);
}

.site-header--menu-open .site-header__burger-lines span {
  opacity: 0;
}

.site-header__nav-overlay {
  display: none;
}

@media (max-width: 840px) {
  .site-header__masthead {
    padding-block: var(--space-4);
  }

  .site-header__masthead-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-masthead-brand {
    align-items: flex-start;
  }

  .site-masthead-brand__title {
    font-size: 1.35rem;
    letter-spacing: 0.16em;
  }

  .site-masthead-brand__subtitle {
    font-size: 0.7rem;
  }

  .site-header__nav-row {
    border-top: 1px solid var(--color-border-subtle);
    border-bottom: none;
  }

  .site-header__nav-inner {
    justify-content: space-between;
  }

  .site-nav {
    display: none;
  }

  .site-header__burger {
    display: inline-flex;
  }

  .site-header__nav-overlay {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(255, 250, 243, 0.98);
    border-bottom: 1px solid var(--color-border-subtle);
    box-shadow: 0 18px 40px rgba(92, 68, 52, 0.14);
  }

  .site-header--menu-open .site-header__nav-overlay {
    display: block;
  }

  .site-header__nav-overlay-inner {
    padding: var(--space-4) var(--space-6) var(--space-6);
  }

  .site-nav--overlay {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
  }

  .site-nav--overlay .site-nav__item {
    width: 100%;
    padding-block: var(--space-2);
    border-bottom: 1px solid rgba(223, 206, 187, 0.6);
  }

  .site-nav--overlay .site-nav__link {
    display: block;
    width: 100%;
  }
}

/* =========================================================
   7. LOGO EMBLEM & ANIMATION
   ========================================================= */
.logo-emblem {
  --emblem-size: 70px;
  width: var(--emblem-size);
  height: var(--emblem-size);
  border-radius: 32% 40% 35% 45%;
  background: radial-gradient(circle at 30% 0%, #fffaf3 0, #f2e1cf 48%, #e5c8a7 100%);
  border: 1px solid rgba(212, 189, 163, 0.9);
  box-shadow: 0 8px 22px rgba(92, 68, 52, 0.26);
  position: relative;
  overflow: hidden;
}

.logo-emblem::before {
  /* Arch / hall */
  content: "";
  position: absolute;
  inset: 18% 22% 28%;
  border-radius: 50% 50% 30% 30%;
  border: 1px solid rgba(166, 118, 53, 0.75);
  border-bottom: 2px solid rgba(166, 118, 53, 0.9);
  opacity: 0;
  transform: translateY(6px);
}

.logo-emblem::after {
  /* Long table */
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 20%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(to right, #b8946f, #d3ae7f);
  transform-origin: center;
  transform: scaleX(0.1);
  opacity: 0;
}

.logo-emblem__candle {
  position: absolute;
  top: 26%;
  left: 50%;
  width: 1px;
  height: 26px;
  transform: translateX(-50%);
}

.logo-emblem__candle-stem {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 16px;
  background: linear-gradient(to bottom, #b58a5b, #a06d3c);
  border-radius: 999px;
  opacity: 0;
}

.logo-emblem__candle-flame {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 11px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 50% 0%, #ffe6b5 0, #f0b55a 45%, #c57b2a 100%);
  box-shadow: 0 0 14px rgba(240, 181, 90, 0.7);
  opacity: 0;
}

.logo-emblem__plate-accent {
  position: absolute;
  right: 10%;
  bottom: 12%;
  width: 18px;
  height: 10px;
  border-radius: 52% 68% 60% 70%;
  border: 1px solid rgba(185, 148, 111, 0.7);
  border-left-color: transparent;
  border-top-color: transparent;
  opacity: 0;
}

.logo-emblem__card-corner {
  position: absolute;
  left: 12%;
  top: 62%;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  border-right: 1px solid rgba(164, 123, 85, 0.7);
  border-top: 1px solid rgba(164, 123, 85, 0.7);
  opacity: 0;
}

/* Logo reveal on initial page load */
.logo-emblem[data-animated="true"]::before {
  animation: logo-arch-reveal 900ms var(--transition-medium) forwards;
}

.logo-emblem[data-animated="true"]::after {
  animation: logo-table-draw 800ms 180ms cubic-bezier(0.23, 0.71, 0.31, 1) forwards;
}

.logo-emblem[data-animated="true"] .logo-emblem__candle-stem {
  animation: logo-candle-stem-in 600ms 240ms ease-out forwards;
}

.logo-emblem[data-animated="true"] .logo-emblem__candle-flame {
  animation: logo-flame-in 650ms 420ms ease-out forwards, logo-flame-glow 2600ms 1100ms ease-in-out infinite alternate;
}

.logo-emblem[data-animated="true"] .logo-emblem__plate-accent {
  animation: logo-plate-fade 700ms 520ms ease-out forwards;
}

.logo-emblem[data-animated="true"] .logo-emblem__card-corner {
  animation: logo-card-fade 700ms 650ms ease-out forwards;
}

.logo-emblem:hover {
  box-shadow: 0 16px 40px rgba(92, 68, 52, 0.32);
}

.logo-emblem:hover .logo-emblem__candle-flame {
  animation-duration: 1900ms;
  filter: saturate(1.1);
}

@keyframes logo-arch-reveal {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes logo-table-draw {
  0% { transform: scaleX(0.1); opacity: 0; }
  60% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(0.9); opacity: 1; }
}

@keyframes logo-candle-stem-in {
  0% { opacity: 0; transform: translateX(-50%) translateY(8px); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes logo-flame-in {
  0% { opacity: 0; transform: translateX(-50%) translateY(6px) scale(0.8); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

@keyframes logo-flame-glow {
  0% { box-shadow: 0 0 11px rgba(240, 181, 90, 0.55); transform: translateX(-50%) scale(0.96); }
  100% { box-shadow: 0 0 20px rgba(240, 181, 90, 0.85); transform: translateX(-50%) scale(1.02); }
}

@keyframes logo-plate-fade {
  0% { opacity: 0; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes logo-card-fade {
  0% { opacity: 0; transform: translateY(3px); }
  100% { opacity: 0.76; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-emblem,
  .logo-emblem * {
    animation: none !important;
    transition: none !important;
  }
}

/* Favicon variant (if used inline) */
.logo-emblem--icon {
  --emblem-size: 32px;
  box-shadow: 0 4px 10px rgba(92, 68, 52, 0.28);
}

/* =========================================================
   8. HERO – EDITORIAL MAGAZINE LAYOUT
   ========================================================= */
.hero {
  background: var(--color-hero-bg);
  padding-block: var(--space-24) var(--space-20);
}

.hero__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--font-size-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: "";
  display: inline-block;
  width: 42px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--decor-line-color));
}

.hero__title {
  font-size: clamp(2.2rem, 3vw + 1.4rem, 3.1rem);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-4);
}

.hero__intro {
  font-size: 1.05rem;
  color: var(--color-text-soft);
  max-width: 34rem;
  margin: 0 auto var(--space-8);
}

.hero__meta-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-8);
}

.hero__meta-item {
  font-size: var(--font-size-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-inline: var(--space-3);
  border-left: 1px solid rgba(214, 189, 161, 0.9);
}

.hero__meta-item:first-child {
  border-left: none;
}

.hero__actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-bottom: var(--space-10);
}

.hero__card-row {
  position: relative;
  margin-top: var(--space-10);
}

.hero__feature-image-wrap {
  border-radius: var(--radius-card-soft);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  background: #e6d4c0;
}

.hero__feature-image {
  width: 100%;
  height: min(420px, 54vh);
  object-fit: cover;
}

.hero__menu-note {
  position: absolute;
  left: 50%;
  bottom: -10%;
  transform: translateX(-50%);
  max-width: 320px;
  background: rgba(255, 250, 243, 0.96);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  border: 1px solid rgba(212, 189, 163, 0.9);
  box-shadow: 0 18px 35px rgba(92, 68, 52, 0.22);
  padding: var(--space-5) var(--space-6);
}

.hero__menu-note-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  margin-bottom: var(--space-2);
}

.hero__menu-note-body {
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.hero__menu-note-meta {
  margin-top: var(--space-4);
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.hero__menu-note-meta span {
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

@media (max-width: 768px) {
  .hero {
    padding-block: var(--space-20) var(--space-16);
  }

  .hero__menu-note {
    bottom: -16%;
    max-width: 90%;
  }
}

/* =========================================================
   9. BUTTONS & CTAs
   ========================================================= */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--transition-medium), color var(--transition-medium), border-color var(--transition-medium), box-shadow var(--transition-medium), transform var(--transition-fast), opacity var(--transition-fast);
}

.btn--primary {
  background: linear-gradient(to right, #c9934c, #d8aa67);
  color: #fefaf4;
  box-shadow: 0 12px 28px rgba(122, 88, 52, 0.36);
}

.btn--primary:hover {
  background: linear-gradient(to right, #b8833a, #c9934c);
  color: #fffdf8;
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(122, 88, 52, 0.46);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(122, 88, 52, 0.34);
}

.btn--ghost {
  background: rgba(255, 250, 243, 0.94);
  color: var(--color-primary-strong);
  border-color: var(--color-border-subtle);
}

.btn--ghost:hover {
  background: #fffaf3;
  border-color: var(--color-primary-soft);
  box-shadow: 0 10px 26px rgba(122, 88, 52, 0.2);
}

.btn--text {
  padding-inline: 0;
  padding-block: 0.3rem;
  border-radius: 0;
  border-bottom: 1px solid rgba(201, 147, 76, 0.5);
  background: transparent;
  color: var(--color-primary-strong);
  box-shadow: none;
}

.btn--text:hover {
  border-bottom-color: var(--color-primary-strong);
}

.btn--small {
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
  box-shadow: none;
}

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

/* =========================================================
   10. FORMS & INPUTS
   ========================================================= */
.field {
  margin-bottom: var(--space-6);
}

.field__label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.field__hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: rgba(255, 250, 243, 0.9);
  color: var(--color-text);
  transition: border-color var(--transition-medium), box-shadow var(--transition-medium), background-color var(--transition-medium);
}

.textarea {
  border-radius: 14px;
  min-height: 120px;
}

.input::placeholder,
.textarea::placeholder {
  color: rgba(169, 139, 114, 0.9);
}

.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(201, 147, 76, 0.3), 0 10px 30px rgba(92, 68, 52, 0.18);
  background: #fffdf8;
}

.input[disabled],
.textarea[disabled],
.select[disabled] {
  background: #f0e2d2;
  color: var(--color-text-muted);
  cursor: not-allowed;
}

/* =========================================================
   11. CARD COMPONENTS (Editorial Blocks)
   ========================================================= */
.card {
  position: relative;
  border-radius: var(--radius-card-soft);
  background: linear-gradient(145deg, #fffaf3 0, #f5eadc 50%, #f0e1d3 100%);
  border: 1px solid rgba(209, 189, 164, 0.9);
  box-shadow: var(--shadow-card);
  padding: var(--space-6);
}

.card--soft {
  background: rgba(255, 250, 243, 0.9);
  box-shadow: var(--shadow-soft);
}

.card__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.card__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-3);
}

.card__body {
  font-size: 0.95rem;
  color: var(--color-text-soft);
}

.card__meta {
  margin-top: var(--space-4);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.card--timeline {
  padding-inline: var(--space-5);
  padding-block: var(--space-5);
  border-left: 2px solid var(--color-border);
  border-radius: 0 18px 18px 0;
  box-shadow: none;
  background: linear-gradient(to right, rgba(250, 245, 238, 0.9), #fffaf3);
}

.card--timeline + .card--timeline {
  margin-top: var(--space-4);
}

.card--timeline::before {
  content: "";
  position: absolute;
  left: -7px;
  top: var(--space-5);
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 2px solid #fffaf3;
  background: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(215, 184, 142, 0.8);
}

/* =========================================================
   12. STORYTELLING LAYOUT HELPERS
   ========================================================= */
.story-section {
  max-width: 780px;
  margin: 0 auto;
}

.story-section__lede {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.story-section__columned {
  column-count: 2;
  column-gap: var(--space-10);
}

@media (max-width: 880px) {
  .story-section__columned {
    column-count: 1;
  }
}

.story-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 189, 163, 0.9);
  background: rgba(248, 237, 225, 0.9);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.story-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-primary);
}

/* =========================================================
   13. AGE POPUP (Optional)
   ========================================================= */
.age-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 27, 15, 0.35);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-overlay);
}

.age-popup {
  background: #fffaf3;
  border-radius: 18px;
  border: 1px solid rgba(209, 189, 164, 0.9);
  box-shadow: var(--shadow-elevated);
  max-width: 360px;
  width: 90%;
  padding: var(--space-6) var(--space-6) var(--space-5);
  text-align: center;
}

.age-popup__title {
  font-size: 1.2rem;
  margin-bottom: var(--space-3);
}

.age-popup__text {
  font-size: 0.95rem;
  margin-bottom: var(--space-6);
}

.age-popup__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
}

.age-popup button:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

/* =========================================================
   14. PAGE-SPECIFIC HOOKS (Poker Page – non-casino)
   ========================================================= */
.page--poker {
  background: radial-gradient(circle at top, #fffaf3 0, #f4eadc 40%, #ebdece 100%);
}

.page--poker .hero,
.page--poker .section--alt {
  background: transparent;
}

.poker-note {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  border-radius: 14px;
  border: 1px dashed rgba(209, 189, 164, 0.9);
  padding: var(--space-4);
  background: rgba(255, 250, 243, 0.9);
}

/* =========================================================
   15. FOOTER BASICS
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--color-border-subtle);
  background: linear-gradient(to top, #f3e3d3 0, #faf3e8 45%, #fffaf3 100%);
  padding-block: var(--space-10);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-8);
  margin-bottom: var(--space-6);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(214, 189, 161, 0.8);
}

.site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.site-footer__legal-links a {
  text-decoration: underline;
  text-underline-offset: 0.16em;
  text-decoration-thickness: 0.04em;
}

@media (max-width: 720px) {
  .site-footer__top {
    flex-direction: column;
  }
}

/* =========================================================
   16. REDUCED MOTION OVERRIDES
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
