/* =====================================================================
   BaccaratBay Casino Hotel — stylesheet
   A single, deliberate night-lounge world: deep tidewater teal, brass
   gold, and a coral ember accent. Not theme-switching by design — this
   is the casino hotel's one true light rig, on every page.
   ===================================================================== */

:root {
  color-scheme: dark;

  /* --- palette ------------------------------------------------------ */
  --bg:        #081619;
  --bg-soft:   #0c2024;
  --surface:   #102a30;
  --surface-2: #143540;
  --line:      rgba(201, 162, 92, 0.22);
  --line-soft: rgba(238, 241, 232, 0.10);

  --ink:       #eef1e6;
  --ink-dim:   #a9bcb8;
  --ink-faint: #6f8985;

  --brass:     #c9a25c;
  --brass-lt:  #e6c384;
  --ember:     #d9694f;
  --ember-lt:  #ef8a6c;
  --tide:      #2f6f6a;

  /* --- type ----------------------------------------------------------
     Display: Fraunces (wet, characterful serif — the marquee voice)
     Body:    Sora (clean geometric grotesk — the concierge voice)
     Data:    Space Mono (tabular, for rates & odds)
  --------------------------------------------------------------------- */
  --font-display: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --font-body: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-data: "Space Mono", "SFMono-Regular", Menlo, monospace;

  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-inline: clamp(18px, 4vw, 48px);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
[hidden] { display: none !important; }

a { color: inherit; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; }

.eyebrow {
  font-family: var(--font-data);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--brass);
}

.lede {
  color: var(--ink-dim);
  max-width: 62ch;
  font-size: 1.05rem;
}

/* =========================== background wash ======================= */
body {
  background:
    radial-gradient(ellipse 900px 500px at 85% -10%, rgba(201,162,92,0.10), transparent 60%),
    radial-gradient(ellipse 700px 500px at -10% 20%, rgba(47,111,106,0.16), transparent 55%),
    var(--bg);
}

/* =============================== bar ================================
   Slim top ribbon — a live-ticker strip, not a nav.
   ===================================================================== */
.bar {
  border-bottom: 1px solid var(--line-soft);
}
.bar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 10px;
  font-family: var(--font-data);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  flex-wrap: wrap;
}
.bar span { white-space: nowrap; }
.bar .dot { color: var(--ember); }

/* =============================== header ============================= */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: rgba(8, 22, 25, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}
.brand .mark {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.brand .mark em {
  font-style: normal;
  color: var(--brass-lt);
}
.brand .sub {
  font-family: var(--font-data);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

nav.primary {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}
nav.primary a {
  text-decoration: none;
  font-size: 0.86rem;
  color: var(--ink-dim);
  position: relative;
  padding-block: 4px;
}
nav.primary a:hover { color: var(--ink); }
nav.primary a.active { color: var(--brass-lt); }
nav.primary a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
nav.primary a:hover::after,
nav.primary a.active::after { transform: scaleX(1); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 3px;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}
.btn-gold {
  background: linear-gradient(180deg, var(--brass-lt), var(--brass));
  color: #1a1206;
}
.btn-gold:hover { filter: brightness(1.08); }
.btn-line {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-line:hover { border-color: var(--brass); color: var(--brass-lt); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  width: 40px;
  height: 36px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* =============================== hero ================================
   Asymmetric split: headline column + a brass-edged "table odds" panel.
   ===================================================================== */
.hero {
  padding-block: clamp(48px, 8vw, 88px) clamp(56px, 9vw, 96px);
}
.hero .grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 14px; }
.hero-copy h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  line-height: 1.06;
  margin-bottom: 20px;
}
.hero-copy h1 span { color: var(--brass-lt); }
.hero-copy .lede { margin-bottom: 30px; font-size: 1.12rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(18px, 3vw, 36px);
}
.hero-stats .stat b {
  display: block;
  font-family: var(--font-data);
  font-size: 1.5rem;
  color: var(--brass-lt);
}
.hero-stats .stat span {
  font-size: 0.74rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* -- the odds panel -- */
.odds-panel {
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px;
  position: relative;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7);
}
.odds-panel::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201,162,92,0.16);
  border-radius: 3px;
  pointer-events: none;
}
.odds-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.odds-head h3 {
  font-family: var(--font-data);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.odds-head .live {
  font-family: var(--font-data);
  font-size: 0.65rem;
  color: var(--ember-lt);
  letter-spacing: 0.08em;
}
.odds-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 11px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.92rem;
}
.odds-row:last-child { border-bottom: none; }
.odds-row .name { color: var(--ink); }
.odds-row .tag {
  display: block;
  font-size: 0.7rem;
  color: var(--ink-faint);
}
.odds-row .val {
  font-family: var(--font-data);
  color: var(--brass-lt);
  font-size: 0.95rem;
}
.odds-foot {
  margin-top: 18px;
  font-size: 0.76rem;
  color: var(--ink-faint);
}

/* ============================= wave divider ========================== */
.wave {
  display: block;
  width: 100%;
  height: clamp(28px, 5vw, 56px);
  color: var(--bg-soft);
}
.wave path { fill: currentColor; }

/* ============================= sections ============================= */
section.panel {
  padding-block: clamp(56px, 8vw, 92px);
}
.panel.tint {
  background: var(--bg-soft);
  margin-inline: calc(-1 * clamp(18px, 4vw, 48px));
  padding-inline: clamp(18px, 4vw, 48px);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-top: 10px;
}
.section-head .lede { margin-top: 14px; }
.section-num {
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}

/* -- floor cards (casino gaming floor) -- */
.floor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.floor-card {
  background: var(--surface);
  padding: 28px 22px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.2s ease;
}
.floor-card:hover { background: var(--surface-2); }
.floor-card .chip {
  font-family: var(--font-data);
  font-size: 0.68rem;
  color: var(--ember-lt);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.floor-card h4 { font-size: 1.15rem; }
.floor-card p { color: var(--ink-dim); font-size: 0.92rem; }

/* -- suites table (hotel rooms) -- */
.rate-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.rate-row {
  display: grid;
  grid-template-columns: 1.1fr 2.2fr 0.9fr;
  gap: 18px;
  padding: 20px 24px;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
}
.rate-row:last-child { border-bottom: none; }
.rate-row.head {
  background: var(--surface);
  font-family: var(--font-data);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}
.rate-row .suite {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--brass-lt);
}
.rate-row .detail { color: var(--ink-dim); font-size: 0.93rem; }
.rate-row .price {
  font-family: var(--font-data);
  text-align: right;
  color: var(--ink);
}

/* -- dining split -- */
.dine-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
}
.dine-item h4 {
  font-size: 1.2rem;
  color: var(--brass-lt);
  margin-bottom: 6px;
}
.dine-item p { color: var(--ink-dim); }
.dine-item .hr {
  height: 1px;
  background: var(--line);
  margin-block: 10px 12px;
  width: 64px;
}

blockquote.quote {
  margin: 40px 0 0;
  padding-left: 22px;
  border-left: 2px solid var(--ember);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
}
blockquote.quote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--font-data);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* -- house rules ledger -- */
.rules-ledger {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
}
.rules-ledger ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: rule;
}
.rules-ledger li {
  counter-increment: rule;
  display: flex;
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.rules-ledger li::before {
  content: counter(rule, decimal-leading-zero);
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: var(--brass);
  flex-shrink: 0;
  padding-top: 2px;
}
.rules-ledger p { color: var(--ink-dim); font-size: 0.94rem; }
.rules-ledger strong { color: var(--ink); font-weight: 600; }

/* -- reserve / contact -- */
.reserve-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}
.contact-card .row {
  display: flex;
  justify-content: space-between;
  padding-block: 12px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.95rem;
}
.contact-card .row:last-child { border-bottom: none; }
.contact-card .row span:first-child { color: var(--ink-faint); }
.contact-card .row span:last-child {
  font-family: var(--font-data);
  color: var(--brass-lt);
  text-align: right;
}

/* ============================== footer =============================== */
footer.site-footer {
  border-top: 1px solid var(--line);
  margin-top: clamp(48px, 8vw, 80px);
  padding-block: 44px 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.foot-brand .mark { font-size: 1.3rem; }
.foot-brand p {
  margin-top: 12px;
  color: var(--ink-faint);
  font-size: 0.86rem;
  max-width: 34ch;
}
.foot-col h5 {
  font-family: var(--font-data);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a {
  text-decoration: none;
  color: var(--ink-dim);
  font-size: 0.9rem;
}
.foot-col a:hover { color: var(--brass-lt); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.78rem;
  color: var(--ink-faint);
}
.foot-bottom .fine { max-width: 60ch; }

/* ============================ legal pages ============================= */
.legal-shell {
  padding-block: clamp(40px, 6vw, 72px);
  max-width: 78ch;
  margin-inline: auto;
}
.legal-shell h1 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  margin-bottom: 10px;
}
.legal-shell .updated {
  font-family: var(--font-data);
  font-size: 0.76rem;
  color: var(--ink-faint);
  margin-bottom: 40px;
  display: block;
}
.legal-shell h2 {
  font-size: 1.3rem;
  margin-top: 42px;
  margin-bottom: 14px;
  color: var(--brass-lt);
}
.legal-shell p, .legal-shell li {
  color: var(--ink-dim);
  font-size: 0.98rem;
  margin-bottom: 14px;
}
.legal-shell ul { padding-left: 20px; }
.legal-shell a { color: var(--brass-lt); }
.legal-shell strong { color: var(--ink); }
.back-link {
  display: inline-block;
  margin-bottom: 30px;
  font-size: 0.85rem;
  color: var(--ink-dim);
  text-decoration: none;
}
.back-link:hover { color: var(--brass-lt); }

/* ================================ misc ================================ */
.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-data);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.age-badge b { color: var(--ember-lt); }

/* ============================= responsive ============================= */
@media (max-width: 980px) {
  .hero .grid { grid-template-columns: 1fr; }
  .floor-grid { grid-template-columns: repeat(2, 1fr); }
  .dine-grid { grid-template-columns: 1fr; }
  .rules-ledger { grid-template-columns: 1fr; }
  .reserve-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  nav.primary {
    position: fixed;
    inset: 68px 12px auto 12px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    display: none;
    z-index: 39;
  }
  nav.primary.open { display: flex; }
  nav.primary a { padding-block: 10px; width: 100%; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-actions .btn-line { display: none; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .floor-grid { grid-template-columns: 1fr; }
  .rate-row { grid-template-columns: 1fr; gap: 4px; }
  .rate-row .price { text-align: left; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .bar .wrap { justify-content: flex-start; gap: 18px; }
}
