/* ==========================================================================
   1st Class Events & Design — Fresno, CA
   Design system + components
   ========================================================================== */

:root {
  --ink: #0e0b12;
  --ink-2: #161119;
  --ink-3: #211a27;
  --plum: #2c1d35;
  --plum-glow: #6b3d8c;
  --gold: #c8a46a;
  --gold-2: #e8d3a6;
  --gold-3: #a8844b;
  --ivory: #f7f2ea;
  --ivory-2: #efe7da;
  --paper: #fffdf9;
  --text: #2a2430;
  --text-soft: #5f5667;
  --on-dark: #f3eee8;
  --on-dark-soft: #b8adc1;
  --line-dark: rgba(232, 211, 166, 0.18);
  --line-light: rgba(42, 36, 48, 0.12);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --header-h: 76px;
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(80px, 12vw, 150px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 30px 80px -30px rgba(14, 11, 18, 0.45);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
main { overflow-x: clip; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--gold); color: var(--ink); padding: 10px 18px; border-radius: 999px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ----- Layout ----- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--plum { background: radial-gradient(120% 120% at 80% 0%, #3a2448 0%, var(--ink-2) 55%, var(--ink) 100%); color: var(--on-dark); }
.section--paper { background: var(--paper); }
.section--ivory2 { background: var(--ivory-2); }

.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.split { display: grid; gap: clamp(36px, 6vw, 88px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr .85fr; }
  .split--wide-right { grid-template-columns: .85fr 1.15fr; }
}

/* ----- Typography ----- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-size: .74rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase; color: var(--gold-3);
  margin-bottom: 22px;
}
.section--dark .eyebrow, .section--plum .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .8; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .8; }

.h1 { font-size: clamp(2.7rem, 7vw, 6rem); }
.h2 { font-size: clamp(2.2rem, 4.8vw, 4rem); }
.h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.h4 { font-size: 1.45rem; }
.italic, em.accent { font-style: italic; color: var(--gold-3); font-weight: 500; }
.section--dark em.accent, .section--plum em.accent, .hero em.accent, .page-hero em.accent, .cta-band em.accent { color: var(--gold-2); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.75; color: var(--text-soft); max-width: 60ch; }
.section--dark .lead, .section--plum .lead { color: var(--on-dark-soft); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section-head { margin-bottom: clamp(44px, 6vw, 72px); }
.section-head .h2 { margin-bottom: 18px; }
.muted { color: var(--text-soft); }
.section--dark .muted, .section--plum .muted { color: var(--on-dark-soft); }

/* split-word reveal */
.split-line { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word { display: inline-block; will-change: transform; }

/* ----- Buttons ----- */
.btn {
  --bg: var(--gold); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .92rem; letter-spacing: .04em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.55) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(200, 164, 106, .7); }
.btn:hover::before { transform: translateX(120%); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { --bg: transparent; --fg: var(--on-dark); border: 1px solid rgba(243, 238, 232, .35); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); box-shadow: none; }
.btn--dark { --bg: var(--ink); --fg: var(--ivory); }
.btn--dark:hover { box-shadow: 0 16px 36px -14px rgba(14, 11, 18, .6); }
.btn--outline { --bg: transparent; --fg: var(--ink); border: 1px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--ivory); box-shadow: none; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .84rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; letter-spacing: .04em; color: var(--gold-3); }
.section--dark .link-arrow, .section--plum .link-arrow { color: var(--gold); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: transform .5s var(--ease), background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header.is-scrolled { background: rgba(14, 11, 18, .88); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--line-dark); }
.site-header.is-hidden { transform: translateY(-100%); }
.menu-open .site-header { background: var(--ink) !important; transform: none !important; box-shadow: 0 1px 0 var(--line-dark); z-index: 120; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 54px; width: auto; }
.nav-desktop { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { display: none; align-items: center; gap: 8px; color: var(--on-dark); font-weight: 600; font-size: .9rem; }
.header-phone svg { width: 16px; height: 16px; color: var(--gold); }
.header-cta { display: none; }

.burger {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; color: var(--on-dark);
  border: 1px solid rgba(243, 238, 232, .25);
}
.burger-lines { position: relative; width: 20px; height: 12px; }
.burger-lines span { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease), opacity .3s, top .45s var(--ease); }
.burger-lines span:nth-child(1) { top: 0; }
.burger-lines span:nth-child(2) { top: 5.25px; }
.burger-lines span:nth-child(3) { top: 10.5px; }
.burger[aria-expanded="true"] .burger-lines span:nth-child(1) { top: 5.25px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger-lines span:nth-child(3) { top: 5.25px; transform: rotate(-45deg); }

@media (min-width: 1100px) {
  .burger { display: none; }
  .header-cta { display: inline-flex; }
  .nav-desktop { display: flex; align-items: center; gap: 4px; }
  .header-phone { display: inline-flex; }
}
@media (min-width: 1100px) and (max-width: 1260px) { .header-phone { display: none; } }

.nav-desktop > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px;
  color: var(--on-dark); font-size: .9rem; font-weight: 600; letter-spacing: .02em;
  position: relative;
}
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-link[aria-current="page"] { color: var(--gold-2); }
.nav-link svg { width: 12px; height: 12px; transition: transform .3s; }
.has-dropdown:hover .nav-link svg, .has-dropdown.is-open .nav-link svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%; min-width: 250px;
  background: rgba(22, 17, 25, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-dark); border-radius: 16px; padding: 10px;
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .3s, transform .4s var(--ease), visibility .3s;
  box-shadow: var(--shadow);
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--on-dark); font-size: .9rem; transition: background .25s, color .25s; }
.dropdown a small { display: block; color: var(--on-dark-soft); font-size: .76rem; }
.dropdown a:hover { background: rgba(200, 164, 106, .12); color: var(--gold-2); }

/* ==========================================================================
   Mobile menu (overlay) — scrollable, header stays above
   ========================================================================== */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  height: 100vh; height: 100dvh;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: radial-gradient(120% 80% at 100% 0%, #2f1f3a 0%, var(--ink) 60%);
  color: var(--on-dark);
  padding: calc(var(--header-h) + 18px) var(--gutter) calc(40px + env(safe-area-inset-bottom));
  visibility: hidden; opacity: 0;
  transition: opacity .4s var(--ease), visibility .4s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transition: opacity .4s var(--ease), visibility 0s; }
.mobile-menu[hidden] { display: block; }
.mobile-nav > li { border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mobile-menu.is-open .mobile-nav > li { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-nav > li:nth-child(2) { transition-delay: .04s; }
.mobile-menu.is-open .mobile-nav > li:nth-child(3) { transition-delay: .08s; }
.mobile-menu.is-open .mobile-nav > li:nth-child(4) { transition-delay: .12s; }
.mobile-menu.is-open .mobile-nav > li:nth-child(5) { transition-delay: .16s; }
.mobile-menu.is-open .mobile-nav > li:nth-child(6) { transition-delay: .2s; }
.mobile-menu.is-open .mobile-nav > li:nth-child(7) { transition-delay: .24s; }
.mobile-menu.is-open .mobile-nav > li:nth-child(8) { transition-delay: .28s; }
.mobile-row { display: flex; align-items: center; justify-content: space-between; }
.mobile-link { display: block; flex: 1; padding: 16px 0; font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; }
.mobile-link[aria-current="page"] { color: var(--gold-2); font-style: italic; }
.sub-toggle { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--gold); flex: none; }
.sub-toggle svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(45deg); }
.mobile-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.mobile-sub > ul { overflow: hidden; }
.mobile-sub.is-open { grid-template-rows: 1fr; }
.mobile-sub a { display: block; padding: 10px 0 10px 16px; color: var(--on-dark-soft); border-left: 1px solid var(--line-dark); font-size: 1rem; }
.mobile-sub li:last-child a { margin-bottom: 16px; }
.mobile-sub a:hover { color: var(--gold-2); border-color: var(--gold); }
.mobile-menu-foot { margin-top: 32px; display: grid; gap: 14px; }
.mobile-menu-foot .meta { color: var(--on-dark-soft); font-size: .9rem; line-height: 1.6; margin-top: 10px; }
.mobile-menu-foot .meta a { color: var(--gold-2); }
html.menu-open, html.menu-open body { overflow: hidden; }

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  background: var(--ink); color: var(--on-dark); overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 40px) 0 clamp(120px, 14vw, 150px);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero-slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(0, 0, 0); } to { transform: scale(1.02) translate3d(-1%, -1%, 0); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 11, 18, .55) 0%, rgba(14, 11, 18, .15) 35%, rgba(14, 11, 18, .65) 72%, var(--ink) 100%),
    radial-gradient(80% 60% at 20% 80%, rgba(44, 29, 53, .7), transparent 70%);
}
.hero-canvas { position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: screen; }
.hero-content { position: relative; max-width: 940px; }
.hero h1 { margin-bottom: 26px; text-wrap: balance; }
.hero .lead { color: rgba(243, 238, 232, .82); margin-bottom: 36px; }
.hero-rating {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 34px;
  padding: 10px 18px 10px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .86rem;
}
.hero-rating .g { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.hero-rating .g svg { width: 18px; height: 18px; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; }
.hero-dots { position: absolute; right: var(--gutter); bottom: clamp(120px, 14vw, 150px); display: none; flex-direction: column; gap: 10px; }
.hero-dots button { width: 3px; height: 28px; background: rgba(255, 255, 255, .25); border-radius: 3px; overflow: hidden; position: relative; }
.hero-dots button.is-active::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: dotfill 7s linear forwards; transform-origin: top; }
@keyframes dotfill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (min-width: 900px) { .hero-dots { display: flex; } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 8px; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark-soft); }
.scroll-cue span { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Quick quote bar */
.quick-quote { position: relative; z-index: 5; margin-top: -78px; }
.qq-card {
  background: var(--paper); border-radius: 22px; box-shadow: var(--shadow);
  padding: 22px; display: grid; gap: 14px; border: 1px solid rgba(200, 164, 106, .25);
}
.qq-card .qq-title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.qq-card .qq-title small { display: block; font-family: var(--font-body); font-size: .78rem; color: var(--text-soft); margin-top: 4px; letter-spacing: .02em; }
@media (min-width: 900px) {
  .qq-card { grid-template-columns: 1.1fr 1fr 1fr 1fr auto; align-items: end; padding: 26px 28px; }
}

/* ==========================================================================
   Forms
   ========================================================================== */
.field { display: grid; gap: 6px; }
.field label, .field .label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-soft); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--line-light); background: #fff; color: var(--text);
  transition: border-color .25s, box-shadow .25s; font-size: 1rem;
}
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a8844b' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.textarea { min-height: 140px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200, 164, 106, .18); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: #b4463c; }
.field-error { color: #b4463c; font-size: .8rem; min-height: 0; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: 1 / -1; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-light); background: #fff; font-size: .88rem; font-weight: 600; cursor: pointer; transition: all .25s; user-select: none; }
.chip input:checked + span { background: var(--ink); color: var(--gold-2); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.segmented { display: inline-grid; grid-template-columns: 1fr 1fr; background: var(--ivory-2); border-radius: 999px; padding: 5px; gap: 4px; width: 100%; max-width: 420px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 999px; font-weight: 700; font-size: .88rem; cursor: pointer; transition: all .3s var(--ease); }
.segmented input:checked + span { background: var(--ink); color: var(--gold-2); box-shadow: 0 6px 16px -8px rgba(0,0,0,.5); }
.segmented input:focus-visible + span { outline: 2px solid var(--gold); }
.date-note { font-size: .82rem; color: var(--text-soft); min-height: 1.4em; }
.date-note.is-weekend { color: var(--gold-3); font-weight: 600; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success.is-visible { display: block; }
.form-success .check { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(200, 164, 106, .15); color: var(--gold-3); }
.form-success .check svg { width: 34px; height: 34px; }
.hp-field { position: absolute; left: -9999px; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--ivory); padding: clamp(24px, 4vw, 40px) clamp(16px, 3vw, 32px); text-align: center; }
.stat-num { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1; color: var(--ink); }
.stat-num sup { font-size: .45em; color: var(--gold-3); top: -1em; }
.stat-label { margin-top: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text-soft); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.section--dark .stats { background: var(--line-dark); border-color: var(--line-dark); }
.section--dark .stat { background: var(--ink); }
.section--dark .stat-num { color: var(--gold-2); }
.section--dark .stat-label { color: var(--on-dark-soft); }

/* ==========================================================================
   Image treatments
   ========================================================================== */
.frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--square { aspect-ratio: 1; }
.parallax-img { overflow: hidden; }
.parallax-img img { height: 118%; margin-top: -9%; will-change: transform; }
.img-stack { position: relative; padding: 0 0 18% 14%; }
.img-stack .frame--front { position: absolute; left: 0; bottom: 0; width: 48%; border: 6px solid var(--ivory); box-shadow: var(--shadow); }
.img-badge {
  position: absolute; right: -6px; top: 8%; z-index: 2;
  width: 132px; height: 132px; border-radius: 50%; background: var(--ink); color: var(--gold-2);
  display: grid; place-items: center; text-align: center; box-shadow: var(--shadow);
}
.img-badge strong { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; }
.img-badge span { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-soft); }
.img-badge svg.ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.quote-sign { margin-top: 30px; padding-left: 22px; border-left: 2px solid var(--gold); font-family: var(--font-display); font-size: 1.4rem; font-style: italic; line-height: 1.4; color: var(--text); }
.quote-sign cite { display: block; margin-top: 8px; font-family: var(--font-body); font-style: normal; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3); }

/* ==========================================================================
   Spaces (horizontal on desktop)
   ========================================================================== */
.spaces-wrap { position: relative; }
.spaces-track { display: grid; gap: 24px; }
.space-card {
  position: relative; border-radius: 22px; overflow: hidden; min-height: 520px;
  display: flex; flex-direction: column; justify-content: flex-end; color: var(--on-dark);
  isolation: isolate; transform-style: preserve-3d;
}
.space-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.space-card:hover > img { transform: scale(1.06); }
.space-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,11,18,0) 25%, rgba(14,11,18,.92) 88%); }
.space-body { padding: clamp(24px, 3vw, 36px); }
.space-num { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 1.1rem; margin-bottom: 8px; }
.space-card h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 12px; }
.space-card p { color: rgba(243, 238, 232, .78); max-width: 46ch; }
.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.spec-chips li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(232, 211, 166, .35); font-size: .78rem; font-weight: 600; letter-spacing: .03em; color: var(--gold-2); background: rgba(14, 11, 18, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (min-width: 1024px) {
  .spaces-pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .spaces-track { display: flex; gap: 28px; width: max-content; padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); padding-right: var(--gutter); }
  .space-card { width: min(62vw, 760px); min-height: 0; height: min(64vh, 560px); flex: none; }
  .spaces-intro { width: min(36vw, 420px); flex: none; display: flex; flex-direction: column; justify-content: center; padding-right: 20px; }
}
.spaces-progress { display: none; }
@media (min-width: 1024px) {
  .spaces-progress { display: block; position: absolute; left: 50%; bottom: 6vh; width: min(320px, 40vw); height: 2px; background: var(--line-dark); transform: translateX(-50%); }
  .spaces-progress span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
}

/* ==========================================================================
   Cards
   ========================================================================== */
.services-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--paper); border: 1px solid var(--line-light);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
  transform-style: preserve-3d; will-change: transform;
}
.service-card:hover { box-shadow: var(--shadow); border-color: rgba(200, 164, 106, .5); }
.service-card .frame { border-radius: 0; aspect-ratio: 4 / 3; }
.service-card .frame img { transition: transform 1.2s var(--ease); }
.service-card:hover .frame img { transform: scale(1.07); }
.service-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-body h3 { font-size: 1.75rem; }
.service-body p { color: var(--text-soft); font-size: .96rem; }
.service-body .link-arrow { margin-top: auto; padding-top: 8px; }
.service-icon { position: absolute; top: 16px; left: 16px; width: 46px; height: 46px; border-radius: 50%; background: rgba(14, 11, 18, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; color: var(--gold-2); z-index: 2; }
.service-icon svg { width: 22px; height: 22px; }

.feature-list { display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list svg { flex: none; width: 22px; height: 22px; color: var(--gold-3); margin-top: 3px; }
.section--dark .feature-list svg, .section--plum .feature-list svg { color: var(--gold); }
.feature-cols { display: grid; gap: 14px 32px; }
@media (min-width: 640px) { .feature-cols { grid-template-columns: 1fr 1fr; } }

.info-cards { display: grid; gap: 20px; }
@media (min-width: 760px) { .info-cards { grid-template-columns: repeat(3, 1fr); } }
.info-card { padding: 32px 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-light); }
.section--dark .info-card, .section--plum .info-card { background: rgba(255,255,255,.03); border-color: var(--line-dark); }
.info-card .ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(200, 164, 106, .14); color: var(--gold-3); margin-bottom: 20px; }
.section--dark .info-card .ic, .section--plum .info-card .ic { color: var(--gold); }
.info-card .ic svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 1.6rem; margin-bottom: 10px; }
.info-card p { color: var(--text-soft); font-size: .96rem; }
.section--dark .info-card p, .section--plum .info-card p { color: var(--on-dark-soft); }

/* Steps */
.steps { display: grid; gap: 22px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 34px 28px 30px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0)); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-style: italic; font-size: 3.4rem; line-height: 1; color: var(--gold); opacity: .9; display: block; margin-bottom: 18px; }
.step h3 { font-size: 1.7rem; margin-bottom: 10px; }
.step p { color: var(--on-dark-soft); font-size: .96rem; }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee { overflow: hidden; border-block: 1px solid var(--line-dark); background: var(--ink); color: var(--on-dark); padding: 26px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.6rem); font-style: italic; white-space: nowrap; }
.marquee-track span::after { content: "✦"; font-style: normal; font-size: .5em; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-teaser { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery-teaser .frame { aspect-ratio: 1; }
@media (min-width: 900px) {
  .gallery-teaser { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; }
  .gallery-teaser .frame { aspect-ratio: auto; }
  .gallery-teaser .g-big { grid-column: span 2; grid-row: span 2; }
  .gallery-teaser .g-tall { grid-row: span 2; }
}
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filter-btn { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-light); font-weight: 700; font-size: .84rem; letter-spacing: .04em; transition: all .3s var(--ease); background: var(--paper); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--gold-2); }
.filter-btn:hover { border-color: var(--gold); }
.masonry { columns: 2 160px; column-gap: 14px; }
@media (min-width: 900px) { .masonry { columns: 3; column-gap: 18px; } }
.g-item { break-inside: avoid; margin-bottom: 14px; display: block; width: 100%; border-radius: 14px; overflow: hidden; position: relative; cursor: zoom-in; transition: opacity .4s, transform .4s var(--ease); background: var(--ink-3); }
@media (min-width: 900px) { .g-item { margin-bottom: 18px; } }
.g-item img { width: 100%; transition: transform 1s var(--ease), filter .6s; }
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(14,11,18,.85)); color: var(--on-dark); font-size: .84rem; font-weight: 600; opacity: 0; transform: translateY(8px); transition: all .4s var(--ease); text-align: left; }
.g-item:hover figcaption, .g-item:focus-visible figcaption { opacity: 1; transform: none; }
.g-item.is-hidden { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10, 8, 12, .96); display: none; align-items: center; justify-content: center; padding: 70px 16px; overflow-y: auto; overscroll-behavior: contain; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 82vh; max-height: 82dvh; width: auto; max-width: 100%; border-radius: 10px; box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.lightbox figcaption { color: var(--on-dark-soft); text-align: center; margin-top: 14px; font-size: .9rem; }
.lb-btn { position: fixed; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--on-dark); border: 1px solid rgba(255,255,255,.2); background: rgba(14,11,18,.6); transition: all .3s; z-index: 2; }
.lb-btn:hover { border-color: var(--gold); color: var(--gold-2); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } }

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .reviews-layout { grid-template-columns: 340px 1fr; align-items: start; gap: 60px; } }
.rating-card { padding: 34px; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); }
.rating-card .big { font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--gold-2); }
.rating-card .stars svg { width: 20px; height: 20px; }
.rating-bars { margin-top: 22px; display: grid; gap: 8px; font-size: .8rem; color: var(--on-dark-soft); }
.rating-bars div { display: grid; grid-template-columns: 14px 1fr 18px; gap: 10px; align-items: center; }
.rating-bars i { height: 5px; border-radius: 4px; background: var(--line-dark); position: relative; overflow: hidden; }
.rating-bars i b { position: absolute; inset: 0; background: var(--gold); transform-origin: left; }
.review-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .review-grid { grid-template-columns: 1fr 1fr; } }
.review { padding: 28px; border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 16px; transition: border-color .4s, transform .5s var(--ease); }
.review:hover { border-color: rgba(200, 164, 106, .5); transform: translateY(-4px); }
.review blockquote { margin: 0; font-family: var(--font-display); font-size: 1.32rem; line-height: 1.45; color: var(--on-dark); }
.review footer { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: .86rem; color: var(--on-dark-soft); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--plum-glow)); display: grid; place-items: center; font-weight: 800; color: var(--ink); font-size: .9rem; flex: none; }
.review footer strong { display: block; color: var(--on-dark); font-weight: 700; }
.section--paper .review, .section--ivory2 .review { background: #fff; border-color: var(--line-light); }
.section--paper .review blockquote { color: var(--text); }

/* ==========================================================================
   Packages
   ========================================================================== */
.pricing { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 980px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.tier { position: relative; padding: 38px 32px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line-light); display: flex; flex-direction: column; transform-style: preserve-3d; transition: box-shadow .6s var(--ease); }
.tier:hover { box-shadow: var(--shadow); }
.tier--featured { background: var(--ink); color: var(--on-dark); border-color: rgba(200, 164, 106, .5); }
.tier-badge { position: absolute; top: -14px; left: 32px; padding: 6px 14px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.tier h3 { font-size: 2.2rem; margin-bottom: 6px; }
.tier .tier-sub { color: var(--text-soft); font-size: .94rem; min-height: 3em; }
.tier--featured .tier-sub { color: var(--on-dark-soft); }
.tier .price { margin: 22px 0; padding: 18px 0; border-block: 1px solid var(--line-light); font-family: var(--font-display); font-size: 1.7rem; line-height: 1.2; }
.tier--featured .price { border-color: var(--line-dark); color: var(--gold-2); }
.tier .price small { display: block; font-family: var(--font-body); font-size: .78rem; color: var(--text-soft); margin-top: 4px; }
.tier--featured .price small { color: var(--on-dark-soft); }
.tier .feature-list { margin-bottom: 30px; font-size: .95rem; }
.tier--featured .feature-list svg { color: var(--gold); }
.tier .btn { margin-top: auto; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--paper); border: 1px solid var(--line-light); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: rgba(200, 164, 106, .55); box-shadow: 0 20px 40px -30px rgba(14,11,18,.4); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 34px; height: 34px; border-radius: 50%; flex: none; border: 1px solid var(--line-light); display: grid; place-items: center; color: var(--gold-3); transition: transform .4s var(--ease), background .3s; }
.faq summary .pm svg { width: 14px; height: 14px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--ink); color: var(--gold-2); border-color: var(--ink); }
.faq .faq-a { padding: 0 24px 24px; color: var(--text-soft); }
.faq .faq-a ul { list-style: none; display: grid; gap: 6px; margin: 10px 0; }
.faq .faq-a ul li::before { content: "✦"; color: var(--gold); margin-right: 10px; font-size: .7em; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero { position: relative; min-height: 72vh; min-height: 72svh; display: flex; align-items: flex-end; color: var(--on-dark); background: var(--ink); overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 60px) 0 clamp(56px, 8vw, 96px); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; z-index: -2; will-change: transform; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,11,18,.6) 0%, rgba(14,11,18,.35) 40%, rgba(14,11,18,.92) 100%); }
.page-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); margin-bottom: 20px; max-width: 16ch; text-wrap: balance; }
.page-hero .lead { color: rgba(243, 238, 232, .82); }
.breadcrumbs { list-style: none; padding: 0; margin-top: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-soft); margin-bottom: 24px; }
.breadcrumbs a:hover { color: var(--gold-2); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--gold); }

/* ==========================================================================
   Room detail
   ========================================================================== */
.room { display: grid; gap: clamp(30px, 5vw, 70px); align-items: center; }
.room + .room { margin-top: clamp(80px, 10vw, 130px); }
@media (min-width: 960px) { .room { grid-template-columns: 1.05fr .95fr; } .room--flip .room-media { order: 2; } }
.room-media { display: grid; gap: 14px; grid-template-columns: 1.4fr 1fr; }
.room-media .frame:first-child { grid-row: span 2; aspect-ratio: 3 / 4; }
.room-media .frame:not(:first-child) { aspect-ratio: 1; }
.room-media--single { grid-template-columns: 1fr; }
.room-media--single .frame:first-child { aspect-ratio: 16 / 11; grid-row: auto; }
.spec-table { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: 14px; overflow: hidden; margin: 26px 0; }
.spec-table div { background: var(--paper); padding: 16px 18px; }
.spec-table dt { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-soft); font-weight: 700; }
.spec-table dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; color: var(--ink); }

/* Floor plan */
.floorplan { background: var(--ink); border-radius: 22px; padding: clamp(18px, 3vw, 34px); border: 1px solid var(--line-dark); }
.floorplan svg { width: 100%; height: auto; }
.floorplan .fp-room { fill: rgba(200, 164, 106, .07); stroke: var(--gold); stroke-width: 1.5; transition: fill .3s; }
.floorplan g:hover .fp-room { fill: rgba(200, 164, 106, .2); }
.floorplan text { fill: var(--on-dark); font-family: var(--font-body); }
.floorplan .fp-title { font-family: var(--font-display); font-size: 26px; fill: var(--gold-2); font-style: italic; }
.floorplan .fp-sub { font-size: 12px; fill: var(--on-dark-soft); letter-spacing: 1px; }
.floorplan .fp-feature { fill: rgba(255,255,255,.05); stroke: rgba(232,211,166,.4); stroke-dasharray: 4 4; }
.floorplan .fp-label { font-size: 11px; fill: var(--on-dark-soft); letter-spacing: 2px; }
.fp-note { margin-top: 14px; font-size: .8rem; color: var(--on-dark-soft); text-align: center; }

/* Map */
.map-wrap { border-radius: 22px; overflow: hidden; border: 1px solid var(--line-light); min-height: 380px; background: var(--ivory-2); position: relative; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.25) contrast(1.05); }
.contact-list { display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list .ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(200, 164, 106, .14); color: var(--gold-3); }
.section--dark .contact-list .ic { color: var(--gold); }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 2px; }
.section--dark .contact-list strong { color: var(--on-dark-soft); }
.contact-list a:hover { color: var(--gold-3); }
.hours { display: grid; gap: 6px; font-size: .95rem; }
.hours div { display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px dashed var(--line-light); padding-bottom: 6px; }

.form-card { background: var(--paper); border-radius: 26px; padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); border: 1px solid rgba(200, 164, 106, .25); position: relative; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; isolation: isolate; color: var(--on-dark); text-align: center; padding-block: clamp(100px, 14vw, 170px); background: var(--ink); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 120%; object-fit: cover; z-index: -2; opacity: .55; will-change: transform; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 50%, rgba(14,11,18,.4), rgba(14,11,18,.92)); }
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 5rem); margin-bottom: 22px; }
.cta-band .lead { margin: 0 auto 36px; color: rgba(243,238,232,.8); }
.cta-band .btn-row { justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--on-dark-soft); padding: clamp(70px, 9vw, 110px) 0 calc(28px + env(safe-area-inset-bottom)); font-size: .94rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .5; }
.footer-grid { display: grid; gap: 44px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr .9fr .9fr 1.1fr; } }
.footer-brand img { height: 92px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 34ch; }
.site-footer h3 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 700; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { transition: color .25s; }
.footer-links a:hover { color: var(--gold-2); }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer address a { color: var(--on-dark); }
.site-footer address a:hover { color: var(--gold-2); }
.footer-bottom { margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: .82rem; }
.footer-bottom a { color: var(--on-dark); }
.footer-bottom a:hover { color: var(--gold-2); }
.made-with .heart { color: #e0607e; display: inline-block; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.18); } }

/* Mobile sticky CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(14, 11, 18, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line-dark); transform: translateY(110%); transition: transform .5s var(--ease); }
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { min-height: 48px; padding: 0 14px; }
.menu-open .sticky-cta { transform: translateY(110%); }
@media (min-width: 900px) { .sticky-cta { display: none; } }
@media (max-width: 899px) { .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* ==========================================================================
   Reveal (JS adds .js) — content visible without JS
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(36px); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js .is-revealed[data-reveal] { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .clip-reveal > img { clip-path: inset(100% 0 0 0); transform: scale(1.15); }
.js .clip-reveal.is-revealed > img { clip-path: inset(0 0 0 0); transform: scale(1); transition: clip-path 1.4s var(--ease), transform 1.8s var(--ease); transition-delay: inherit; }

/* Misc */
.divider-orn { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 0 auto 26px; }
.divider-orn::before, .divider-orn::after { content: ""; width: 60px; height: 1px; background: currentColor; opacity: .6; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-light); font-size: .86rem; font-weight: 600; background: var(--paper); }
.section--dark .tag-list li, .section--plum .tag-list li { border-color: var(--line-dark); background: rgba(255,255,255,.03); }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.5rem; margin: 1.4em 0 .4em; }
.prose p, .prose li { color: var(--text-soft); }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.prose a { overflow-wrap: anywhere; color: var(--gold-3); text-decoration: underline; text-underline-offset: 3px; }
.notice { padding: 18px 22px; border-radius: 14px; background: rgba(200, 164, 106, .12); border: 1px solid rgba(200, 164, 106, .35); font-size: .94rem; }
.section--dark .notice, .section--plum .notice { color: var(--on-dark); }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 60px; }
.mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }

.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--ink); color: var(--on-dark); padding: 120px var(--gutter) 80px; }
.error-page .big { font-family: var(--font-display); font-size: clamp(7rem, 22vw, 15rem); line-height: .9; color: var(--gold-2); font-style: italic; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .clip-reveal > img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
