/* ════════════════════════════════════════════════════════════
   KAMPANTE KA · Estate & Memorial Concierge
   Design system: obsidian dark · champagne gold · editorial type
   ════════════════════════════════════════════════════════════ */

:root {
  --bg-deep:   #121212;
  --bg-soft:   #1A1A1A;
  --bg-card:   #161616;
  --gold:      #D4AF37;
  --gold-soft: #C5A059;
  --gold-dim:  rgba(197, 160, 89, 0.35);
  --gold-ghost:rgba(197, 160, 89, 0.12);
  --white:     #F5F2EA;
  --grey:      #9A958B;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Inter", "Helvetica Neue", sans-serif;
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: linear-gradient(165deg, var(--bg-deep) 0%, var(--bg-soft) 55%, var(--bg-deep) 100%);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold-dim); color: var(--white); }

.serif        { font-family: var(--serif); font-weight: 400; }
.serif-italic { font-family: var(--serif); font-style: italic; font-weight: 400; }

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* ─────────────────────────── LOADER ─────────────────────────── */

#loader {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
}
.loader-panel {
  position: absolute; left: 0; width: 100%; height: 50.5%;
  background: #0D0D0D;
}
.panel-a { top: 0; }
.panel-b { bottom: 0; }
.loader-inner {
  position: relative; z-index: 2; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
}
.loader-mark svg { width: 64px; height: 64px; }
.loader-word {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white); letter-spacing: 0.04em;
}
.loader-line {
  width: 220px; height: 1px; background: rgba(245, 242, 234, 0.12);
  overflow: hidden;
}
.loader-line span {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-100%);
}
.loader-sub {
  font-size: 0.6rem; letter-spacing: 0.5em; color: var(--grey);
}

/* ─────────────────────────── HEADER ─────────────────────────── */

#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem clamp(1.4rem, 4vw, 3.5rem);
  mix-blend-mode: normal;
  opacity: 0; /* revealed by GSAP after loader */
}
.brand { display: flex; align-items: center; gap: 0.8rem; }
.brand-mark {
  font-family: var(--serif); font-size: 1.5rem; color: var(--gold);
  width: 2.4rem; height: 2.4rem; border: 1px solid var(--gold-dim);
  display: grid; place-items: center; border-radius: 50%;
}
.brand-name {
  font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.06em;
}
.header-cta {
  font-size: 0.62rem; letter-spacing: 0.35em; color: var(--gold-soft);
  border: 1px solid var(--gold-dim); padding: 0.7rem 1.4rem;
  border-radius: 2rem; transition: all 0.5s var(--ease-lux);
}
.header-cta:hover { background: var(--gold-ghost); border-color: var(--gold); color: var(--white); }

/* ─────────────────── 1 · IMMERSIVE GALLERY ─────────────────── */

#immersion {
  position: relative; height: 100vh; height: 100svh;
  overflow: hidden;
  background: radial-gradient(ellipse 90% 70% at 50% 45%, #1E1C18 0%, var(--bg-deep) 70%);
}
#gallery-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; cursor: grab;
}
#gallery-canvas.dragging { cursor: grabbing; }

.immersion-ui {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center;
  justify-content: flex-start; padding-top: 14vh;
  pointer-events: none; text-align: center;
}
.immersion-kicker {
  font-size: 0.6rem; letter-spacing: 0.55em; color: var(--gold-soft);
  margin-bottom: 1.2rem;
}
.immersion-title {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.2; font-weight: 400; color: var(--white);
  text-shadow: 0 2px 30px rgba(0,0,0,0.8);
}
.immersion-title em { color: var(--gold-soft); }

.drag-hint {
  position: absolute; bottom: 12vh; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.9rem;
}
.drag-hint-ring {
  width: 30px; height: 30px; border: 1px solid var(--gold-dim);
  border-radius: 50%; display: grid; place-items: center;
}
.drag-hint-dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
  animation: hint-sway 2.6s var(--ease-lux) infinite;
}
@keyframes hint-sway {
  0%, 100% { transform: translateX(-5px); }
  50%      { transform: translateX(5px); }
}
.drag-hint-text { font-size: 0.55rem; letter-spacing: 0.32em; color: var(--grey); }

.scroll-cue {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.scroll-cue span { font-size: 0.55rem; letter-spacing: 0.45em; color: var(--grey); }
.scroll-cue i {
  width: 1px; height: 42px;
  background: linear-gradient(var(--gold), transparent);
  animation: cue-drop 2.2s var(--ease-lux) infinite;
  transform-origin: top;
}
@keyframes cue-drop {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(12px); opacity: 0; }
}

/* Fallback grid (mobile / no-WebGL) */
.gallery-fallback {
  position: absolute; inset: 0; z-index: 4; overflow-y: auto;
  padding: 14vh 1.4rem 4rem; text-align: center;
  background: radial-gradient(ellipse 90% 70% at 50% 30%, #1E1C18 0%, var(--bg-deep) 70%);
}
.fallback-grid {
  margin-top: 2rem;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem; max-width: 760px; margin-inline: auto;
}
.fallback-card {
  border: 1px solid rgba(197,160,89,0.18); border-radius: 6px;
  overflow: hidden; background: var(--bg-card); cursor: pointer;
  transition: transform 0.5s var(--ease-lux), border-color 0.4s, box-shadow 0.5s;
  padding: 0; text-align: left;
}
.fallback-card:hover, .fallback-card:focus-visible {
  transform: translateY(-4px); border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(212,175,55,0.12);
}
.fallback-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.fallback-card figcaption {
  padding: 0.7rem 0.8rem 0.9rem;
  font-size: 0.62rem; letter-spacing: 0.18em; color: var(--grey);
}
.fallback-card figcaption b {
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: 0.95rem; letter-spacing: 0.03em; color: var(--white);
  margin-bottom: 0.25rem;
}

/* ── Showcase wall · grouped, fully browsable (layout A) ── */
#immersion.is-wall { height: auto; min-height: 100vh; overflow: visible; }

.showcase {
  position: relative; z-index: 4;
  max-width: 1180px; margin-inline: auto;
  padding: clamp(7rem, 15vh, 11rem) 1.6rem 5rem;
}
.showcase-head { text-align: center; margin-bottom: clamp(2.6rem, 6vw, 4.4rem); }
.showcase-title {
  font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.18;
  font-weight: 400; color: var(--white); margin-top: 1.1rem;
}
.showcase-title em { color: var(--gold-soft); }
.showcase-sub {
  margin-top: 1.2rem; color: var(--grey);
  font-size: 0.95rem; letter-spacing: 0.03em;
}

.showcase-group { margin-bottom: clamp(2.8rem, 6vw, 4.6rem); }
.showcase-group:last-child { margin-bottom: 0; }
.showcase-group-head {
  display: flex; align-items: center; gap: 1.3rem; margin-bottom: 1.6rem;
}
.showcase-group-head h3 {
  font-family: var(--serif); font-weight: 500; text-transform: capitalize;
  font-size: clamp(1.25rem, 2.3vw, 1.8rem); color: var(--white);
  white-space: nowrap; letter-spacing: 0.01em;
}
.showcase-group-head .gline {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--gold-dim), transparent);
}
.showcase-group-head .gcount {
  font-size: 0.55rem; letter-spacing: 0.3em; color: var(--gold-soft); white-space: nowrap;
}

.showcase-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.showcase-card {
  position: relative; border: 1px solid rgba(197,160,89,0.18);
  border-radius: 8px; overflow: hidden; background: #14110D;
  cursor: pointer; padding: 0; text-align: left;
  transition: transform 0.55s var(--ease-lux), border-color 0.4s, box-shadow 0.55s;
}
.showcase-card:hover, .showcase-card:focus-visible {
  transform: translateY(-6px); border-color: var(--gold);
  box-shadow: 0 18px 50px rgba(212,175,55,0.14); outline: none;
}
.showcase-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.sc-cap { padding: 0.85rem 1rem 1.05rem; }
.sc-cap b {
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: 1.08rem; letter-spacing: 0.02em; color: var(--white); margin-bottom: 0.3rem;
}
.sc-cap span { font-size: 0.55rem; letter-spacing: 0.26em; color: var(--gold-soft); }
.sc-go {
  position: absolute; top: 0.7rem; right: 0.7rem;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--gold-dim); display: grid; place-items: center;
  color: var(--gold); background: rgba(20,17,13,0.55);
  opacity: 0; transform: translateY(-5px); transition: 0.4s var(--ease-lux);
}
.showcase-card:hover .sc-go, .showcase-card:focus-visible .sc-go {
  opacity: 1; transform: translateY(0);
}

@media (max-width: 980px) {
  .showcase-cards { grid-template-columns: repeat(2, 1fr); }
  .showcase-group-head h3 { white-space: normal; }
}
@media (max-width: 480px) {
  .showcase-cards { grid-template-columns: 1fr; }
}

/* ─────────────────────── CARD MODAL ─────────────────────── */

.card-modal {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center;
  visibility: hidden; pointer-events: none;
}
.card-modal.open { visibility: visible; pointer-events: auto; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0;
}
.modal-card {
  position: relative; z-index: 2;
  width: min(880px, calc(100vw - 2.4rem));
  max-height: calc(100vh - 4rem);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  background: linear-gradient(160deg, #1C1B18, var(--bg-card));
  border: 1px solid rgba(197,160,89,0.25);
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.7), 0 0 80px rgba(212,175,55,0.07);
  opacity: 0;
}
.modal-media { position: relative; min-height: 320px; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.modal-body { padding: clamp(1.6rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 1.1rem; }
.modal-eyebrow { font-size: 0.6rem; letter-spacing: 0.45em; color: var(--gold-soft); }
.modal-title { font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.1; font-weight: 500; }
.modal-desc { color: var(--grey); line-height: 1.8; font-size: 0.92rem; }
.modal-close {
  margin-top: auto; align-self: flex-start;
  background: none; border: none; color: var(--gold-soft); cursor: pointer;
  font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.35em;
  display: flex; align-items: center; gap: 0.8rem; padding: 0.6rem 0;
  transition: color 0.4s;
}
.modal-close:hover { color: var(--white); }
.modal-close-line {
  width: 38px; height: 1px; background: var(--gold);
  transition: width 0.5s var(--ease-lux);
}
.modal-close:hover .modal-close-line { width: 58px; }

/* ─────────────────────── 2 · HERO ─────────────────────── */

#hero {
  position: relative; height: 100vh; height: 100svh;
  overflow: hidden;
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; will-change: transform; }
.hero-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,18,18,0.85) 0%, rgba(18,18,18,0) 30%, rgba(18,18,18,0) 55%, rgba(18,18,18,0.92) 100%),
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 55%, rgba(10,10,10,0.55) 100%);
}

.hero-label {
  position: absolute; top: 7.5rem; left: clamp(1.4rem, 4vw, 3.5rem);
  font-size: 0.62rem; letter-spacing: 0.55em; color: var(--gold-soft);
  z-index: 4;
}
.hero-label::before {
  content: ""; display: inline-block; width: 36px; height: 1px;
  background: var(--gold-dim); margin-right: 1rem; vertical-align: middle;
}

.hero-title-wrap {
  position: absolute; bottom: clamp(2.4rem, 7vh, 5rem); left: clamp(1.4rem, 4vw, 3.5rem);
  z-index: 4; max-width: 90vw;
}
.hero-title {
  font-size: clamp(4.2rem, 13.5vw, 13rem);
  line-height: 0.92; font-weight: 400; letter-spacing: -0.01em;
  color: var(--white);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span { display: inline-block; }
.hero-title .line:last-child span { color: var(--gold-soft); }
.hero-tagline {
  margin-top: 1.6rem; max-width: 560px;
  color: rgba(245,242,234,0.78); font-size: clamp(0.85rem, 1.1vw, 1rem);
  line-height: 1.8; letter-spacing: 0.02em;
}

.hero-sigil {
  position: absolute; bottom: clamp(2rem, 6vh, 4.5rem); right: clamp(1.4rem, 4vw, 3.5rem);
  z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
}
.hero-sigil svg { width: clamp(90px, 9vw, 150px); height: auto; }
.hero-sigil p { font-size: 0.52rem; letter-spacing: 0.5em; color: var(--grey); }

.sigil-slow { transform-origin: 100px 100px; animation: sigil-rot 60s linear infinite; }
.sigil-mid  { transform-origin: 100px 100px; animation: sigil-rot 38s linear infinite reverse; }
.sigil-fast { transform-origin: 100px 100px; animation: sigil-breathe 9s var(--ease-lux) infinite; }
.sigil-dash { stroke-dasharray: 5 9; }
.sigil-core { animation: sigil-pulse 4.5s ease-in-out infinite; transform-origin: 100px 100px; }

@keyframes sigil-rot { to { transform: rotate(360deg); } }
@keyframes sigil-breathe {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50%      { transform: rotate(45deg) scale(0.82); }
}
@keyframes sigil-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.6); }
}

/* ─────────────────── 3 · PHILOSOPHY ─────────────────── */

#philosophy {
  position: relative;
  padding: clamp(8rem, 18vh, 14rem) clamp(1.4rem, 6vw, 5rem);
  display: flex; justify-content: center;
}
.philosophy-inner { max-width: 1000px; text-align: center; }
.philosophy-rule {
  display: block; width: 1px; height: 90px; margin: 0 auto 3.5rem;
  background: linear-gradient(transparent, var(--gold));
}
.pull-quote {
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.25; color: var(--white); font-weight: 400;
}
.pull-quote .word, .philosophy-bio .word {
  display: inline-block; white-space: pre-wrap;
}
.philosophy-bio {
  margin-top: 4rem; max-width: 760px; margin-inline: auto;
  font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 2;
  color: rgba(245,242,234,0.9); font-weight: 300;
}

/* ─────────────── 4 · OFFERINGS · HORIZONTAL ─────────────── */

#offerings { position: relative; background: #101010; }
.offerings-viewport { height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.offerings-track {
  display: flex; align-items: center; height: 100%;
  padding-left: clamp(1.4rem, 6vw, 6rem);
  will-change: transform;
  width: max-content;
}

.offer-intro {
  flex: 0 0 auto; width: clamp(280px, 34vw, 560px);
  margin-right: clamp(3rem, 7vw, 8rem);
}
.offer-kicker { font-size: 0.6rem; letter-spacing: 0.5em; color: var(--gold-soft); margin-bottom: 1.6rem; }
.offer-intro h2 {
  font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.12; font-weight: 400;
}
.offer-intro h2 em { color: var(--gold-soft); }
.offer-intro-sub { margin-top: 1.6rem; color: var(--grey); font-size: 0.85rem; letter-spacing: 0.04em; }
.offer-arrow { display: block; margin-top: 2rem; color: var(--gold); font-size: 1.6rem; }

.offer-block {
  position: relative; flex: 0 0 auto;
  width: 45vw; min-width: 420px; height: 78vh;
  margin-right: clamp(2.5rem, 5vw, 5rem);
  border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(197,160,89,0.14);
  background: var(--bg-card);
}
.offer-media { position: absolute; inset: 0; }
.offer-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 1.4s var(--ease-lux);
}
.offer-media .media-b { opacity: 0; }
.offer-block:hover .media-b { opacity: 1; }
.offer-block:hover .offer-media img { transform: scale(1.04); }
.offer-block::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,16,16,0.1) 30%, rgba(16,16,16,0.92) 100%);
  pointer-events: none;
}

.offer-copy {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(1.4rem, 2.6vw, 2.6rem);
}
.offer-num {
  position: absolute; top: -3.2rem; right: 1.8rem;
  font-family: var(--serif); font-size: 5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--gold-dim);
}
.offer-eyebrow { font-size: 0.58rem; letter-spacing: 0.45em; color: var(--gold-soft); margin-bottom: 0.9rem; }
.offer-copy h3 { font-size: clamp(1.7rem, 2.6vw, 2.6rem); font-weight: 500; line-height: 1.1; }
.offer-desc { margin-top: 0.9rem; color: rgba(245,242,234,0.75); font-size: 0.88rem; line-height: 1.75; max-width: 46ch; }
.offer-list { margin-top: 1.2rem; list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 0.6rem; }
.offer-list li {
  font-size: 0.6rem; letter-spacing: 0.22em; color: var(--gold-soft);
  border: 1px solid rgba(197,160,89,0.25); border-radius: 2rem;
  padding: 0.45rem 0.9rem;
}

.offer-outro {
  flex: 0 0 auto; width: clamp(300px, 32vw, 520px);
  margin-right: 8vw; text-align: center;
}
.offer-outro p { font-size: clamp(2.4rem, 4vw, 3.6rem); color: var(--gold-soft); }
.offer-outro span {
  display: block; margin-top: 1rem;
  font-size: 0.58rem; letter-spacing: 0.5em; color: var(--grey);
}

.offerings-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: rgba(245,242,234,0.08); z-index: 5;
  cursor: pointer;
}
.offerings-progress::before {
  /* invisible padding so the 2px bar is easy to tap */
  content: ""; position: absolute; left: 0; right: 0; top: -16px; bottom: -6px;
}
#offerings-bar {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  transform: scaleX(0); transform-origin: left center;
  box-shadow: 0 0 14px rgba(212,175,55,0.5);
  pointer-events: none;
}

.offerings-nav {
  position: absolute; z-index: 6;
  /* keep clear of the fixed chat bubble (60px + 1.4rem inset) in the corner */
  right: calc(2.9rem + 60px); bottom: clamp(1.5rem, 4.5vh, 3rem);
  display: flex; align-items: center; gap: 0.9rem;
}
.offer-count {
  font-size: 0.62rem; letter-spacing: 0.32em; color: var(--grey);
  margin-right: 0.5rem; user-select: none;
}
.offer-count em { font-style: normal; color: var(--gold-soft); }
.offer-nav-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(197,160,89,0.45);
  background: rgba(18,18,18,0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--gold-soft); cursor: pointer;
  transition: background 0.4s var(--ease-lux), border-color 0.4s var(--ease-lux),
              color 0.4s var(--ease-lux), opacity 0.4s var(--ease-lux);
}
.offer-nav-btn svg { width: 22px; height: 22px; }
.offer-nav-btn:hover:not(:disabled),
.offer-nav-btn:focus-visible:not(:disabled) {
  background: var(--gold); border-color: var(--gold); color: #121212;
}
.offer-nav-btn:disabled { opacity: 0.25; cursor: default; }

/* ─────────────────── 5 · MARQUEE ─────────────────── */

#marquee {
  padding: clamp(5rem, 12vh, 9rem) 0;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 1.2rem;
}
.marquee-row { overflow: hidden; white-space: nowrap; }
.marquee-inner { display: inline-flex; width: max-content; }
.marquee-inner span {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  letter-spacing: 0.06em; line-height: 1.1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(197,160,89,0.22);
  paint-order: stroke;
}
.row-a .marquee-inner { animation: marquee-left 70s linear infinite; }
.row-b .marquee-inner { animation: marquee-right 80s linear infinite; }
.row-b .marquee-inner span { -webkit-text-stroke-color: rgba(245,242,234,0.1); }

@keyframes marquee-left  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ─────────────────── 6 · CONTACT ─────────────────── */

#contact {
  position: relative;
  padding: clamp(6rem, 14vh, 11rem) clamp(1.4rem, 6vw, 5rem) 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(197,160,89,0.06), transparent 70%),
    linear-gradient(180deg, var(--bg-deep), #0E0E0E);
}
.contact-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-kicker { font-size: 0.6rem; letter-spacing: 0.5em; color: var(--gold-soft); margin-bottom: 1.6rem; }
.contact-title { font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.12; font-weight: 400; }
.contact-title em { color: var(--gold-soft); }

#contact-form {
  margin-top: 4.5rem; text-align: left;
  display: flex; flex-direction: column; gap: 2.6rem;
}
.field { position: relative; }
.field label {
  display: block; font-size: 0.58rem; letter-spacing: 0.4em;
  color: var(--grey); margin-bottom: 0.8rem;
}
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: none; outline: none;
  font-family: var(--serif); font-size: 1.5rem; font-weight: 400;
  color: var(--white); padding: 0.4rem 0 0.9rem;
  border-radius: 0;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(245,242,234,0.22); }
.field textarea {
  resize: vertical; min-height: 2.6rem; line-height: 1.5;
  font-size: 1.25rem;
}
.label-optional { color: var(--gold-dim); letter-spacing: 0.4em; }
.select-wrap { position: relative; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  color: var(--white);
}
.field select:invalid { color: rgba(245,242,234,0.22); }
.field select option { background: #1A1A1A; color: var(--white); font-family: var(--sans); font-size: 1rem; }
.select-caret {
  position: absolute; right: 0.2rem; top: 50%;
  color: var(--gold-soft); pointer-events: none; font-size: 0.9rem;
  transform: translateY(-60%);
  transition: transform 0.4s var(--ease-lux);
}
.select-wrap.open .select-caret { transform: translateY(-60%) rotate(180deg); }

/* custom dropdown list (desktop — replaces the unstylable native popup) */
.select-list {
  position: absolute; left: -0.7rem; right: -0.7rem; top: calc(100% + 0.7rem);
  z-index: 30; list-style: none; margin: 0;
  padding: 0.45rem;
  background: rgba(22,21,19,0.97);
  border: 1px solid rgba(197,160,89,0.28);
  border-radius: 10px;
  box-shadow: 0 28px 70px rgba(0,0,0,0.65);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.4s var(--ease-lux), transform 0.4s var(--ease-lux);
}
.select-wrap.open .select-list { opacity: 1; transform: translateY(0); pointer-events: auto; }
.select-option {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem;
  padding: 0.9rem 1rem; border-radius: 7px; cursor: pointer;
  transition: background 0.3s var(--ease-lux);
}
.select-option .opt-name {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 400;
  color: var(--white); transition: color 0.3s var(--ease-lux);
}
.select-option .opt-sub {
  font-size: 0.56rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--grey); white-space: nowrap;
  transition: color 0.3s var(--ease-lux);
}
.select-option:hover, .select-option.active { background: rgba(212,175,55,0.08); }
.select-option:hover .opt-name, .select-option.active .opt-name { color: var(--gold); }
.select-option:hover .opt-sub, .select-option.active .opt-sub { color: var(--gold-soft); }
.select-option[aria-selected="true"] .opt-name { color: var(--gold-soft); }
.select-option[aria-selected="true"] .opt-name::after {
  content: ""; display: inline-block; width: 5px; height: 5px;
  border-radius: 50%; background: var(--gold);
  margin-left: 0.6rem; vertical-align: 0.18em;
}
.field-line {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: rgba(245,242,234,0.14);
}
.field-line::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.7s var(--ease-lux);
}
.field:focus-within .field-line::after { transform: scaleX(1); }

.submit-btn {
  position: relative; overflow: hidden;
  margin-top: 0.6rem; padding: 1.35rem 2rem;
  background: transparent; cursor: pointer;
  border: 1px solid var(--gold-dim); border-radius: 3rem;
  transition: border-color 0.5s var(--ease-lux), box-shadow 0.5s var(--ease-lux);
}
.submit-fill {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(100deg, var(--gold-soft), var(--gold));
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.65s var(--ease-lux);
}
.submit-text {
  position: relative; z-index: 2;
  font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.4em;
  color: var(--gold-soft);
  transition: color 0.45s var(--ease-lux);
}
.submit-btn:hover, .submit-btn:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 40px rgba(212,175,55,0.18);
}
.submit-btn:hover .submit-fill, .submit-btn:focus-visible .submit-fill { transform: scaleX(1); }
.submit-btn:hover .submit-text,  .submit-btn:focus-visible .submit-text { color: #141210; font-weight: 500; }

.form-success {
  text-align: center; color: var(--gold-soft);
  font-size: 1.4rem; line-height: 1.6;
}
.form-error {
  margin-top: -1.2rem; text-align: center;
  font-size: 0.82rem; line-height: 1.6; letter-spacing: 0.02em;
  color: #C98B7A;
}
.submit-btn.is-sending { opacity: 0.6; cursor: progress; }
.submit-btn:disabled { pointer-events: none; }

/* footer */
#site-footer {
  margin-top: clamp(5rem, 12vh, 9rem);
  padding: 3rem 1.4rem 2.6rem;
  border-top: 1px solid rgba(245,242,234,0.07);
  text-align: center; display: flex; flex-direction: column; gap: 0.8rem; align-items: center;
}
.footer-mark {
  font-family: var(--serif); color: var(--gold); font-size: 1.2rem;
  width: 2.2rem; height: 2.2rem; border: 1px solid var(--gold-dim);
  display: grid; place-items: center; border-radius: 50%;
}
#site-footer p { font-size: 0.72rem; color: var(--grey); letter-spacing: 0.06em; }
.footer-quiet { font-size: 0.55rem !important; letter-spacing: 0.4em !important; opacity: 0.6; }

/* ─────────────────── RESPONSIVE ─────────────────── */

@media (max-width: 860px) {
  .brand-name { display: none; }
  .modal-card { grid-template-columns: 1fr; max-height: calc(100svh - 3rem); overflow-y: auto; }
  .modal-media { min-height: 220px; height: 38vh; }
  .modal-media img { position: absolute; }

  .offer-block { width: 84vw; min-width: 0; height: 72vh; }
  .offer-intro, .offer-outro { width: 74vw; }
  .offer-num { font-size: 3.4rem; top: -2.4rem; }
  .offer-nav-btn { width: 46px; height: 46px; }
  .offer-nav-btn svg { width: 19px; height: 19px; }
  .offerings-nav { gap: 0.7rem; }

  .hero-label { top: 6rem; }
  .hero-sigil { display: none; }
  .br-desk { display: none; }
  .drag-hint-text { font-size: 0.5rem; letter-spacing: 0.2em; }
}

/* ─────────────────── CONCIERGE CHATBOT ─────────────────── */

#chat-widget {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 140;
  font-family: var(--sans);
}
#chat-fab {
  position: relative;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: linear-gradient(160deg, #1E1C18, #141414);
  border: 1px solid var(--gold-dim); color: var(--gold-soft);
  box-shadow: 0 10px 36px rgba(0,0,0,0.55);
  transition: border-color 0.5s var(--ease-lux), color 0.5s, box-shadow 0.5s, transform 0.5s var(--ease-lux);
}
#chat-fab svg { width: 26px; height: 26px; }
#chat-fab:hover {
  border-color: var(--gold); color: var(--gold);
  box-shadow: 0 12px 44px rgba(212,175,55,0.22);
  transform: translateY(-2px);
}
.chat-fab-pulse {
  position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid var(--gold-dim);
  animation: chat-pulse 3.2s var(--ease-lux) infinite;
  pointer-events: none;
}
@keyframes chat-pulse {
  0%   { transform: scale(1); opacity: 0.8; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

#chat-panel {
  position: absolute; right: 0; bottom: calc(100% + 1rem);
  width: min(380px, calc(100vw - 2.8rem));
  height: min(560px, 72vh);
  display: none; flex-direction: column; overflow: hidden;
  background: linear-gradient(170deg, #1C1B18, #131312);
  border: 1px solid rgba(197,160,89,0.25); border-radius: 12px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.65), 0 0 60px rgba(212,175,55,0.06);
}
#chat-panel.open { display: flex; }

.chat-head {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(197,160,89,0.16);
  background: rgba(212,175,55,0.04);
}
.chat-head-mark {
  font-family: var(--serif); color: var(--gold); font-size: 1.1rem;
  width: 2.2rem; height: 2.2rem; flex: 0 0 auto;
  border: 1px solid var(--gold-dim); border-radius: 50%;
  display: grid; place-items: center;
}
.chat-head > div { flex: 1; min-width: 0; }
.chat-head-title { font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.04em; }
.chat-head-sub {
  font-size: 0.52rem; letter-spacing: 0.32em; color: var(--grey); margin-top: 0.2rem;
  display: flex; align-items: center; gap: 0.45rem;
  white-space: nowrap;
}
.chat-head-sub span {
  min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
.chat-head-sub i {
  flex: 0 0 auto;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  animation: sigil-pulse 3s ease-in-out infinite;
}
.chat-stop {
  display: none; align-items: center; gap: 3px;
  height: 26px; padding: 0 0.7rem;
  background: none; border: 1px solid var(--gold-dim); border-radius: 2rem;
  cursor: pointer; transition: border-color 0.3s, box-shadow 0.3s;
}
.chat-stop.speaking { display: inline-flex; }
.chat-stop:hover { border-color: var(--gold); box-shadow: 0 0 14px rgba(212,175,55,0.25); }
.chat-stop span {
  width: 3px; border-radius: 1.5px; background: var(--gold);
  animation: stop-eq 1.1s ease-in-out infinite;
}
.chat-stop span:nth-child(1) { height: 7px; }
.chat-stop span:nth-child(2) { height: 12px; animation-delay: 0.18s; }
.chat-stop span:nth-child(3) { height: 9px;  animation-delay: 0.36s; }
.chat-stop:hover span { animation-play-state: paused; background: var(--white); }
@keyframes stop-eq {
  0%, 100% { transform: scaleY(0.45); }
  50%      { transform: scaleY(1.25); }
}

.chat-close {
  background: none; border: none; cursor: pointer;
  color: var(--grey); font-size: 1.5rem; line-height: 1;
  margin-left: 0.35rem; padding: 0.2rem 0.4rem;
  transition: color 0.3s;
}
.chat-close:hover { color: var(--white); }

.chat-head .chat-lang {
  flex: 0 0 auto; height: 26px; border-radius: 2rem;
  padding: 0 0.65rem;
  background: transparent;
  border: 1px solid var(--gold-dim); color: var(--gold-soft);
  font-family: var(--sans); font-size: 0.56rem; letter-spacing: 0.18em;
  cursor: pointer;
  transition: border-color 0.4s, color 0.4s;
}
.chat-head .chat-lang:hover { border-color: var(--gold); color: var(--gold); }

.chat-messages {
  flex: 1; overflow-y: auto; padding: 1.2rem;
  display: flex; flex-direction: column; gap: 0.8rem;
  scrollbar-width: thin; scrollbar-color: var(--gold-dim) transparent;
}
.chat-msg {
  max-width: 84%; padding: 0.75rem 1rem;
  font-size: 0.85rem; line-height: 1.65; font-weight: 300;
  overflow-wrap: break-word;
}
.chat-msg.bot {
  align-self: flex-start;
  background: rgba(245,242,234,0.05);
  border: 1px solid rgba(197,160,89,0.16);
  border-radius: 14px 14px 14px 4px;
  color: rgba(245,242,234,0.92);
}
.chat-msg.bot a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.chat-msg.user {
  align-self: flex-end;
  background: linear-gradient(120deg, var(--gold-soft), var(--gold));
  border-radius: 14px 14px 4px 14px;
  color: #141210; font-weight: 400;
}
.chat-msg.typing { display: flex; gap: 5px; padding: 0.9rem 1rem; }
.chat-msg.typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-soft);
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.chat-msg.typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-msg.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30%           { transform: translateY(-5px); opacity: 1; }
}

.chat-form {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid rgba(197,160,89,0.16);
}
.chat-form input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--white); font-family: var(--sans); font-size: 0.88rem; font-weight: 300;
  padding: 0.5rem 0.2rem;
}
.chat-form input::placeholder { color: rgba(245,242,234,0.3); }
.chat-form button {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: linear-gradient(120deg, var(--gold-soft), var(--gold));
  border: none; color: #141210;
  transition: transform 0.4s var(--ease-lux), box-shadow 0.4s;
}
.chat-form button svg { width: 18px; height: 18px; }
.chat-form button:hover { transform: scale(1.08); box-shadow: 0 0 24px rgba(212,175,55,0.35); }
.chat-form.busy button { opacity: 0.4; pointer-events: none; }

.chat-form .chat-mic {
  position: relative;
  background: transparent;
  border: 1px solid var(--gold-dim);
  color: var(--gold-soft);
}
.chat-form .chat-mic:hover {
  border-color: var(--gold); color: var(--gold);
  box-shadow: 0 0 18px rgba(212,175,55,0.22);
}
.chat-form .chat-mic.listening {
  background: linear-gradient(120deg, var(--gold-soft), var(--gold));
  border-color: var(--gold); color: #141210;
}
.chat-form .chat-mic.listening::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid var(--gold);
  animation: chat-pulse 1.5s var(--ease-lux) infinite;
  pointer-events: none;
}

@media (max-width: 860px) {
  #chat-widget { right: 1rem; bottom: 1rem; }
  #chat-panel { width: calc(100vw - 2rem); height: min(540px, 68vh); }
}

@media (prefers-reduced-motion: reduce) {
  .sigil-slow, .sigil-mid, .sigil-fast, .sigil-core,
  .marquee-inner, .drag-hint-dot, .scroll-cue i,
  .chat-fab-pulse, .chat-msg.typing span,
  .chat-form .chat-mic.listening::after,
  .chat-stop span { animation: none !important; }
}
