/* ============================================================
   Mirror Path — shared stylesheet
   Edit colors, fonts, and spacing here. These CSS variables
   cascade to every page, so change them once and the whole
   site updates.
   ============================================================ */

:root {
  /* --- Brand colors --- */
  --bg:          #0f1117;   /* deep charcoal page background */
  --bg-raised:   #171a22;   /* cards / raised surfaces */
  --bg-raised-2: #1f2330;   /* hover / nested surfaces */
  --border:      rgba(212, 175, 55, 0.30);  /* subtle gold accent outline */
  --border-soft: #2a2f3d;   /* neutral divider (where gold would be too much) */

  --text:        #eef1f7;   /* primary text */
  --text-muted:  #a3acc2;   /* secondary text */

  --gold:        #e8c468;   /* primary metallic accent */
  --gold-deep:   #d4af37;   /* darker gold for borders */
  --arcane:      #8b7bd8;   /* jewel-tone secondary accent */

  /* --- Shape & motion --- */
  --radius:      6px;
  --radius-sm:   4px;
  --shadow:      0 10px 30px rgba(0, 0, 0, 0.45);
  --maxw:        1080px;

  /* --- Fonts --- */
  --font-display: "Cinzel", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/*
  Page background image + dark scrim.
  Drop your image into the assets/ folder named  bg.jpg  and it appears here.
  The scrim (the dark linear-gradient) keeps text readable over the image;
  raise its opacity values toward 1 to darken, lower them to show more image.
  If bg.jpg is missing, the page just falls back to the solid dark background.
*/
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(232, 196, 104, 0.10), transparent 60%),
    linear-gradient(rgba(15, 17, 23, 0.82), rgba(15, 17, 23, 0.92)),
    url("../assets/bg.jpg") center top / cover no-repeat fixed;
  pointer-events: none;
}
@media (max-width: 768px) {
  /* fixed backgrounds are janky on mobile — let it scroll instead */
  body::before {
    background:
      radial-gradient(1200px 600px at 50% -10%, rgba(232, 196, 104, 0.10), transparent 60%),
      linear-gradient(rgba(15, 17, 23, 0.84), rgba(15, 17, 23, 0.93)),
      url("../assets/bg.jpg") center top / cover no-repeat scroll;
  }
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--text); }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   Nav bar (shared across all pages)
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--text);
  white-space: nowrap;
}
.nav__brand span { color: var(--gold); }
.nav__logo {
  height: 38px;
  width: 38px;
  border-radius: 9px;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
/* Premium golden nav buttons — gold-outlined, fill solid on hover/active */
.nav__links a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-deep);
  color: var(--gold);
  background: linear-gradient(180deg, rgba(232, 196, 104, 0.10), rgba(232, 196, 104, 0.02));
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.12s;
}
.nav__links a:hover {
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: #2a1f06;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
  transform: translateY(-1px);
}
.nav__links a.is-active {
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: #2a1f06;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s, background 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.btn--primary {
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: #2a1f06;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.25);
}
.btn--primary:hover { color: #2a1f06; box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4); }

.btn--ghost {
  background: var(--bg-raised);
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover { background: var(--bg-raised-2); color: var(--text); }

.btn--block { width: 100%; }

/* ============================================================
   Sections & headings
   ============================================================ */
.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 14px;
}

h1.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.05;
  margin: 0 0 20px;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #ffffff, #cdd4e6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 8px;
  color: var(--text);
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 0 32px;
}

.section-intro { color: var(--text-muted); max-width: 60ch; margin: 0 auto 40px; text-align: center; }
.text-center { text-align: center; }

/* Show only on small screens (e.g. mailto buttons that need a mail app) */
.mobile-only { display: none; }
@media (max-width: 768px) { .mobile-only { display: inline-flex; } }

/* ============================================================
   Live video banner (landing)
   ============================================================ */
.live-banner {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
}
.live-banner__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.live-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #ff4d4d;
  box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 77, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 12px 0 16px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Keep the banner video from dominating the fold on desktop. */
@media (min-width: 768px) {
  .video-frame { max-width: 640px; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero { padding: 72px 0 40px; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

/* Hero split: live video beside the headline (desktop) */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 640px) 1fr;
  gap: 30px;
  align-items: center;
  padding-top: 6px;
}
.hero-split__media { min-width: 0; }
.hero-split__media .video-frame { margin: 10px 0 0; }
.video-note { color: var(--text-muted); font-size: 0.85rem; margin: 10px 2px 0; }

/* Episodes column (right of the video) */
.hero-split__aside { min-width: 0; }
.ep-head { margin: 0 0 12px; }
.ep-head__title { font-family: var(--font-display); font-size: 1.15rem; color: var(--text); }
.ep-head__warn { color: var(--gold); font-size: 0.82rem; letter-spacing: 0.04em; margin-top: 2px; }

.ep-list { display: flex; flex-direction: column; gap: 9px; }
.ep-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-deep);
  color: var(--gold);
  background: transparent;
  font-weight: 600;
  font-size: 0.93rem;
  line-height: 1.3;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.ep-btn:hover { background: var(--gold); color: #2a1f06; box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25); }
.ep-playlists { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.ep-playlists .ep-btn { width: auto; }

/* App CTA card (right of the video) */
.app-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: linear-gradient(180deg, rgba(232, 196, 104, 0.08), rgba(232, 196, 104, 0.02));
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.app-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(212, 175, 55, 0.28); }
.app-cta__phone { color: var(--gold); line-height: 0; }
.app-cta__phone svg { width: 66px; height: 66px; }
.app-cta__title { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); }
.app-cta__sub { color: var(--text-muted); margin: 0; font-size: 0.95rem; line-height: 1.5; }
.app-cta .btn { margin-top: 6px; }
.app-cta:hover .btn--primary { box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45); }

/* Headline block, below the video row — smaller, left-aligned */
.hero-below { max-width: 760px; margin: 28px auto 0 0; text-align: left; }
.hero-below .display { font-size: clamp(1.5rem, 3vw, 2.4rem); }
.hero-below .lede { margin-left: 0; margin-right: auto; }
.hero-below .hero__actions { justify-content: flex-start; margin-bottom: 0; }

@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; gap: 18px; }
  .hero-below { margin-top: 26px; }
}

/* Portrait (9:16) video frames — phone-app tutorials shown side by side */
.video-frame--portrait { aspect-ratio: 9 / 16; max-width: 300px; margin: 0 auto; }
@media (min-width: 768px) { .video-frame--portrait { max-width: 300px; } }

/* Center-alignment helpers (so a .text-center hero centers its lede + buttons) */
.text-center .lede { margin-left: auto; margin-right: auto; }
.text-center .hero__actions { justify-content: center; }

/* ============================================================
   RPG App page — video placeholder + screenshots
   ============================================================ */
.video-placeholder {
  max-width: 760px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px dashed var(--gold-deep);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(232, 196, 104, 0.06), rgba(232, 196, 104, 0.01));
  color: var(--text-muted);
}
.video-placeholder__icon { color: var(--gold); line-height: 0; opacity: 0.85; }
.video-placeholder__icon svg { width: 52px; height: 52px; }
.video-placeholder__text {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-size: 1rem;
}
.video-placeholder--portrait { aspect-ratio: 9 / 16; max-width: 300px; }

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.shot {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
}
.shot--placeholder {
  aspect-ratio: 9 / 16;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  border-style: dashed;
  background: linear-gradient(180deg, rgba(232, 196, 104, 0.05), rgba(232, 196, 104, 0.01));
  color: var(--text-muted);
  font-size: 0.9rem;
}
@media (max-width: 860px) { .shot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .shot-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Card grid (route tiles, link hub, offerings)
   ============================================================ */
.grid {
  display: grid;
  gap: 18px;
}
/* Let grid items shrink instead of forcing the track wider than the viewport
   (the default min-width:auto caused an ~8px horizontal overflow on mobile). */
.grid > * { min-width: 0; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  display: block;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
a.card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-deep);
  box-shadow: var(--shadow);
}
.card__icon { margin-bottom: 14px; color: var(--gold); line-height: 0; }
.card__icon svg { width: 40px; height: 40px; }
.card h3 {
  font-family: var(--font-display);
  margin: 0 0 8px;
  font-size: 1.3rem;
  color: var(--text);
}
.card p { margin: 0; color: var(--text-muted); }
.card__arrow { color: var(--gold); font-weight: 600; margin-top: 14px; display: inline-block; }

/* ============================================================
   Link hub list
   ============================================================ */
.linklist {
  display: grid;
  gap: 14px;
  max-width: 620px;
  margin: 0 auto;
}
.linkrow {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.linkrow:hover {
  transform: translateY(-2px);
  border-color: var(--gold-deep);
  background: var(--bg-raised-2);
}
.linkrow__icon {
  width: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.linkrow__icon svg { width: 26px; height: 26px; }
.linkrow__body { flex: 1; min-width: 0; }
.linkrow__title { color: var(--text); font-weight: 600; display: block; }
.linkrow__sub { color: var(--text-muted); font-size: 0.9rem; }
.linkrow__chev { color: var(--gold); line-height: 0; flex-shrink: 0; }
.linkrow__chev svg { width: 20px; height: 20px; display: block; }

/* ============================================================
   The Lore page — book covers + story placeholders
   ============================================================ */
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.book-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.book-card:hover { transform: translateY(-3px); border-color: var(--gold-deep); box-shadow: var(--shadow); }
.book-cover {
  width: 100%;
  max-width: 210px;
  margin: 0 auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: block;
}
.book-cover--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  border-style: dashed;
  border-color: var(--gold-deep);
  background: linear-gradient(180deg, rgba(232, 196, 104, 0.06), rgba(232, 196, 104, 0.01));
  color: var(--text-muted);
  font-size: 0.85rem;
}
.book-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
  margin: 8px 0 0;
  line-height: 1.3;
}
.book-card .btn { margin-top: auto; }
@media (max-width: 620px) { .book-grid { grid-template-columns: 1fr; max-width: 320px; } }

/* Placeholder copy (story sections to be filled in later) */
.placeholder-text {
  color: var(--text-muted);
  font-style: italic;
  background: linear-gradient(180deg, rgba(232, 196, 104, 0.05), rgba(232, 196, 104, 0.01));
  border: 1px dashed var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

/* ============================================================
   Offering blocks (work with me)
   ============================================================ */
.offer {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  height: 100%;
}
.offer--feature { border-color: var(--gold-deep); }
.offer h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 6px;
  color: var(--gold);
}
.offer ul { padding-left: 20px; color: var(--text-muted); }
.offer ul li { margin-bottom: 8px; }
.tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #2a1f06;
  background: var(--gold);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ============================================================
   Contact / forms
   ============================================================ */
.panel {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 640px;
  margin: 0 auto;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-row select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
}
.form-row select:focus { outline: none; border-color: var(--gold-deep); }

.form-row .req { color: var(--gold); }
.form-help { color: var(--text-muted); font-size: 0.9rem; margin: -2px 0 10px; }

/* Section dividers inside a long form (e.g. the site builder) */
.form-section { margin: 34px 0 16px; padding-top: 26px; border-top: 1px solid var(--border); }
.form-section:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.form-section h2 { font-family: var(--font-display); font-size: 1.3rem; color: var(--text); margin: 0 0 4px; }
.form-section p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* Color picker row */
.color-row { display: flex; align-items: center; gap: 12px; }
.color-row input[type="color"] {
  width: 52px; height: 42px; padding: 0; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: var(--bg); cursor: pointer; flex: 0 0 auto;
}
.color-row input[type="text"] { flex: 1; }

/* File inputs */
.form-row input[type="file"] {
  padding: 12px;
  background: var(--bg);
  border: 1px dashed var(--border);
  color: var(--text-muted);
  cursor: pointer;
}
.form-row input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-raised);
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
}

/* Radio / checkbox groups */
.form-row fieldset { border: 0; margin: 0; padding: 0; }
.choices { display: grid; gap: 8px; }
.choices--inline {
  grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
  gap: 8px;
}
.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.choice:hover { border-color: var(--gold-deep); background: var(--bg-raised-2); }
.choice input { width: 18px; height: 18px; accent-color: var(--gold-deep); flex-shrink: 0; cursor: pointer; }
.choice--mini { justify-content: center; padding: 11px 4px; }
.choice--mini input { width: 16px; height: 16px; }
.scale-ends { display: flex; justify-content: space-between; color: var(--text-muted); font-size: 0.85rem; margin-top: 6px; }

/* ============================================================
   Booking embed (Google appointment scheduling)
   ============================================================ */
.booking-frame {
  width: 100%;
  height: 700px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-raised);
  overflow: hidden;
}
.booking-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 560px) { .booking-frame { height: 760px; } }

/*
  DARK-MODE SKIN for the Google scheduler.
  The calendar is a cross-origin Google iframe, so its insides can't be styled
  directly — this CSS filter flips the bright white to a dark palette that blends
  with the site. Caveat: it also inverts any photo on the scheduling page.
  To revert to the plain (bright) Google look, delete this whole block.
*/
.booking-frame--dark iframe {
  filter: invert(0.92) hue-rotate(180deg) contrast(0.95) saturate(0.9);
}

/* ============================================================
   Long-form / legal pages
   ============================================================ */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
  margin: 34px 0 10px;
}
.prose h3 { font-size: 1.02rem; color: var(--text); margin: 22px 0 6px; }
.prose p, .prose li { color: var(--text-muted); line-height: 1.7; }
.prose ul { padding-left: 20px; margin: 8px 0 14px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--gold); }
.prose a:hover { color: var(--text); }
.prose strong { color: var(--text); }
.legal-meta { color: var(--text-muted); font-size: 0.9rem; margin-top: 6px; }
.legal-note {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 auto 30px;
  max-width: 760px;
}

/* ============================================================
   Previous guests — gold outline buttons
   ============================================================ */
.guest-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.guest-btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-deep);
  color: var(--gold);
  background: transparent;
  font-weight: 600;
  font-size: 0.98rem;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.guest-btn:hover {
  background: var(--gold);
  color: #2a1f06;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

/* ============================================================
   Access gate + form confirmation / status
   ============================================================ */
.gate { max-width: 460px; margin: 0 auto; text-align: center; }
.gate__row { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 10px; margin-top: 14px; }
.gate__row input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}
.gate__row input:focus { outline: none; border-color: var(--gold-deep); }
.gate__row .btn { flex: 0 0 auto; }
.gate__msg { color: #ff8a8a; font-size: 0.92rem; margin-top: 12px; min-height: 1.2em; }

.form-status { color: #ff8a8a; font-size: 0.95rem; margin-top: 14px; }

.form-confirm { text-align: center; padding: 28px 8px; }
.form-confirm__mark {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 2px solid var(--gold-deep);
  color: var(--gold);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-confirm p {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 42ch;
  margin: 0 auto;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Multi-column top area */
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 32px;
}
.footer-brand__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.footer-brand__logo img { width: 30px; height: 30px; border-radius: 7px; }
.footer-brand p { margin: 14px 0; max-width: 36ch; line-height: 1.6; }
.footer-social { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
.footer-social a { color: var(--text-muted); font-weight: 500; }
.footer-social a:hover { color: var(--gold); }
.footer-pay { font-size: 0.82rem; color: var(--text-muted); margin: 0; }
.footer-pay strong { color: var(--gold); font-weight: 600; }

.footer-col h4 {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  padding: 5px 0;
  font-size: 0.9rem;
}
.footer-col a:hover { color: var(--gold); }

/* Bottom legal bar */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
  font-size: 0.84rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { color: var(--text-muted); }
.footer-legal a:hover { color: var(--gold); }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
}

/* ============================================================
   Kai — site guide chat widget
   ============================================================ */
/* The hidden attribute must win over the display values set below. */
.kai-panel[hidden], .kai-welcome[hidden] { display: none !important; }

.kai-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: #2a1f06;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, box-shadow 0.15s;
}
.kai-fab:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(212, 175, 55, 0.5); }
.kai-fab svg { width: 28px; height: 28px; }

.kai-welcome {
  position: fixed;
  bottom: 86px;
  right: 20px;
  z-index: 80;
  max-width: 270px;
  background: var(--bg-raised);
  color: var(--text);
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius);
  padding: 12px 32px 12px 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  box-shadow: var(--shadow);
}
.kai-welcome__x {
  position: absolute;
  top: 6px;
  right: 10px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1;
}

.kai-panel {
  position: fixed;
  bottom: 86px;
  right: 20px;
  z-index: 81;
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 480px;
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  background: var(--bg-raised);
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.kai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.kai-head__id {
  font-family: var(--font-display);
  font-size: 0.84rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.kai-head__dot { width: 8px; height: 8px; border-radius: 50%; background: #7adf7a; box-shadow: 0 0 8px #7adf7a; }
.kai-head__x { background: none; border: none; color: var(--text-muted); font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.kai-head__x:hover { color: var(--text); }

.kai-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.kai-msg {
  max-width: 85%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.kai-msg--me {
  align-self: flex-end;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: #2a1f06;
  border-bottom-right-radius: 3px;
}
.kai-msg--kai {
  align-self: flex-start;
  background: var(--bg-raised-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 3px;
}

.kai-input {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--border);
  align-items: flex-end;
  flex-shrink: 0;
}
.kai-input textarea {
  flex: 1;
  resize: none;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.4;
  max-height: 120px;
}
.kai-input textarea:focus { outline: none; border-color: var(--gold-deep); }
.kai-send {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: none;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: #2a1f06;
  font-size: 1.2rem;
  cursor: pointer;
}
@media (max-width: 480px) {
  .kai-fab { bottom: 16px; right: 16px; }
  .kai-panel { right: 12px; left: 12px; width: auto; bottom: 80px; height: 70vh; }
  .kai-welcome { right: 12px; left: 64px; max-width: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero { padding: 48px 0 24px; }
}

/* ---- Mobile nav: collapse links behind a hamburger toggle ---- */
.nav__toggle { display: none; }
@media (max-width: 760px) {
  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 38px;
    flex-shrink: 0;
    background: linear-gradient(180deg, rgba(232, 196, 104, 0.10), rgba(232, 196, 104, 0.02));
    border: 1px solid var(--gold-deep);
    border-radius: var(--radius-sm);
    color: var(--gold);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
  }
  .nav__inner { height: 60px; gap: 10px; }
  .nav__brand { min-width: 0; font-size: 1.05rem; }
  .nav__brand span { display: none; } /* hide "· MP Update" suffix to free space for the toggle */
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch; /* make every link the same (full) width, not content-width */
    gap: 8px;
    background: rgba(15, 17, 23, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 14px 20px;
  }
  .nav.open .nav__links { display: flex; }
  .nav__links a { display: block; width: 100%; text-align: center; }
}
