/* ============================================================
   LEADZIFY v3 — "The Private Ledger"
   Ultra-luxury: obsidian + champagne gold, editorial serif,
   living hero demo, slow expensive motion, long-form sections.
   ============================================================ */

:root {
  color-scheme: dark; /* native controls (select popups, scrollbars) render dark */
  --bg:      #0b0a08;
  --bg-2:    #121008;
  --panel:   rgba(255,246,224,.025);
  --panel-2: rgba(255,246,224,.05);
  --border:  rgba(216,179,106,.16);
  --hairline:rgba(255,246,224,.08);
  --gold:    #d8b36a;
  --gold-2:  #efd9a7;
  --text:    #f7f3ea;
  --muted:   #a69f8e;
  --loss:    #e2695c;
  --green:   #7fb587;
  --display: "Fraunces", Georgia, serif;
  --body:    "Inter", "Segoe UI", sans-serif;
  --mono:    "IBM Plex Mono", Consolas, monospace;
}

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

body {
  background: var(--bg); /* the living #scene canvas carries the light */
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* film grain + vignette */
body::before {
  content:""; position:fixed; inset:-50%;
  pointer-events:none; z-index:56;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity:.032;
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform:translate(0,0) } 10% { transform:translate(-5%,-8%) }
  30% { transform:translate(3%,-12%) } 50% { transform:translate(-9%,4%) }
  70% { transform:translate(7%,8%) } 90% { transform:translate(-4%,3%) }
}
body::after {
  content:""; position:fixed; inset:0; pointer-events:none; z-index:55;
  background: radial-gradient(ellipse at 50% 35%, transparent 58%, rgba(0,0,0,.45) 100%);
}

::selection { background: var(--gold); color:#0b0a08; }
a { color: inherit; }
img { max-width:100%; }

/* ---------- the living night scene ---------- */
#scene {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
}
.hero, .strip-zone, main, footer { position: relative; z-index: 1; }

/* ---------- 3D tilt system ---------- */
[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow .3s ease;
}
[data-tilt] > * { transform: translateZ(24px); }
[data-tilt]::after {
  content:""; position:absolute; inset:0; border-radius: inherit;
  background: radial-gradient(480px circle at var(--gx,50%) var(--gy,50%), rgba(239,217,167,.10), transparent 55%);
  opacity:0; transition: opacity .3s ease;
  pointer-events:none;
}
[data-tilt]:hover::after { opacity:1; }

/* ---------- booking pages: stacked rows, full-width calendar ---------- */
.booking {
  max-width: 1080px; margin: 30px auto 110px;
  padding: 0 24px;
}
.booking__copy { max-width: 780px; margin: 0 auto 44px; }
.booking__copy h1 {
  font-family: var(--display); font-weight:500;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height:1.06; letter-spacing:-.015em;
  margin-bottom: 22px;
}
.booking__copy h1 em {
  font-style:italic;
  background: linear-gradient(95deg, var(--gold), var(--gold-2));
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
}
.booking__copy p { color: var(--muted); margin-bottom: 16px; }
.booking__copy .line { font-size: 15px; }
.booking__photo {
  width:100%; border-radius: 12px;
  border: 1px solid var(--border);
  margin: 18px 0 6px;
  box-shadow: 0 26px 70px rgba(0,0,0,.55);
}
.calendar-shell {
  position:relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel) 35%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(18px, 3vw, 34px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 34px 90px rgba(0,0,0,.55);
}
.calendar-shell::before {
  content:""; position:absolute; top:-1px; left:8%; right:8%; height:1px;
  background: linear-gradient(90deg, transparent, rgba(216,179,106,.75), transparent);
}
.calendar-shell iframe {
  width:100%; min-height: 700px; border:none; border-radius: 8px;
  background: transparent;
}
.thanks {
  max-width: 760px; margin: 60px auto 120px; padding: 0 24px;
  text-align:center;
}
.thanks .receipt { margin: 0 auto; }
.next-steps { text-align:left; margin-top: 8px; }

select option { background: #181510; color: #f7f3ea; }

/* minute-breakdown cards under the calendar */
.cardrow { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.mini-card {
  position:relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel) 40%);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 26px 24px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.mini-card .kicker { margin-bottom: 8px; font-size: 10.5px; }
.mini-card > b { font-family: var(--display); font-weight:500; font-size: 19px; display:block; margin-bottom: 8px; }
.mini-card p:not(.kicker) { color: var(--muted); font-size: 14px; line-height:1.6; margin:0; }
@media (max-width: 820px) { .cardrow { grid-template-columns: 1fr; } }

/* ---------- ticker ---------- */
.ticker {
  position: sticky; top:0; z-index:50;
  background: rgba(11,10,8,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  color: var(--gold);
  font-family: var(--mono);
  font-weight:400; font-size: 11.5px;
  letter-spacing:.18em; text-transform:uppercase;
  overflow:hidden; white-space:nowrap;
}
.ticker__track { display:inline-block; padding: 10px 0; animation: tick 36s linear infinite; }
.ticker__track span { margin: 0 1.8em; }
@keyframes tick { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ---------- nav ---------- */
.nav {
  display:flex; align-items:center; gap: 34px;
  max-width: 1240px; margin: 0 auto;
  padding: 26px 28px 0;
  font-weight:500; letter-spacing:.14em; text-transform:uppercase;
  font-size: 11.5px;
}
.nav a { text-decoration:none; color: var(--muted); transition: color .25s; }
.nav a:hover { color: var(--gold-2); }
.nav__brand {
  font-family: var(--display); font-weight:600; font-style:normal;
  font-size: 23px; letter-spacing:.01em; text-transform:none;
  color: var(--text) !important;
  margin-right:auto;
  display:flex; align-items:center;
}
.nav__brand img { height: 32px; width: auto; display: block; }

/* ---------- hero ---------- */
.hero {
  position:relative;
  max-width: 1240px; margin: 0 auto;
  padding: 90px 28px 120px;
  isolation:isolate;
}
.hero--split {
  display:grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(30px, 5vw, 80px);
  align-items:center;
  text-align:left;
}
.hero--center { text-align:center; }
.hero .spot {
  position:absolute; inset:0; z-index:-1; pointer-events:none;
  background: radial-gradient(760px circle at var(--mx,60%) var(--my,30%), rgba(216,179,106,.07), transparent 62%);
}

.kicker {
  font-family: var(--mono);
  font-weight:400;
  text-transform:uppercase;
  letter-spacing:.3em;
  font-size: clamp(10.5px, 1.3vw, 12.5px);
  color: var(--gold);
  margin-bottom: 28px;
}
.hero--center .kicker { max-width: 54em; margin-left:auto; margin-right:auto; }

.hero h1 {
  font-family: var(--display);
  font-weight:500;
  font-size: clamp(40px, 5.4vw, 74px);
  line-height: 1.04;
  letter-spacing:-.02em;
  margin-bottom: 30px;
}
.hero h1 em {
  font-style:italic; font-weight:500;
  background: linear-gradient(95deg, var(--gold) 5%, var(--gold-2) 60%, var(--gold) 110%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
}
.hero__sub {
  max-width: 33em;
  margin-bottom: 42px;
  font-size: clamp(16px, 1.9vw, 19px);
  line-height:1.7;
  color: var(--muted);
}
.hero--center .hero__sub { margin-left:auto; margin-right:auto; }
.hero__sub strong { color: var(--text); font-weight:600; }
.hero__micro { margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.hero__micro b { color: var(--gold-2); font-weight:600; }

/* trust chips under hero CTA */
.chips { display:flex; flex-wrap:wrap; gap: 10px 22px; margin-top: 26px; }
.chips span {
  font-family: var(--mono); font-size: 11.5px; letter-spacing:.12em;
  text-transform:uppercase; color: var(--muted);
}
.chips span::before { content:"— "; color: var(--gold); }

/* ---------- CTA ---------- */
.cta {
  display:inline-block;
  font-family: var(--body);
  font-weight:600;
  letter-spacing:.02em;
  font-size: clamp(15px, 1.8vw, 17px);
  color:#151208; text-decoration:none;
  background: linear-gradient(95deg, var(--gold-2), var(--gold) 85%);
  padding: 18px 42px;
  border:none; border-radius: 2px;
  box-shadow: 0 14px 50px rgba(216,179,106,.22), inset 0 1px 0 rgba(255,255,255,.55);
  transition: box-shadow .3s ease, transform .3s ease;
  cursor:pointer;
  position:relative; overflow:hidden;
}
.cta:hover, .cta:focus-visible {
  box-shadow: 0 18px 70px rgba(216,179,106,.4), inset 0 1px 0 rgba(255,255,255,.55);
  outline:none;
}
.cta::before {
  content:""; position:absolute; top:0; bottom:0; left:-80%; width:50%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
  pointer-events:none;
}
.cta:hover::before { left:130%; }
.cta--ghost {
  background: transparent; color: var(--gold-2);
  box-shadow: inset 0 0 0 1px var(--gold);
}

/* ---------- living demo (hero diorama) ---------- */
.demo {
  position:relative;
  min-height: 480px;
  perspective: 1200px;
}
.demo__card {
  position:absolute;
  background: linear-gradient(180deg, rgba(30,27,20,.92), rgba(18,16,11,.92));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 30px 70px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,246,224,.06);
  backdrop-filter: blur(8px);
  width: min(340px, 88%);
  opacity:0;
}
.demo__card--call   { top: 0; left: 4%; }
.demo__card--chat   { top: 96px; right: 0; width: min(360px, 92%); }
.demo__card--book   { top: 285px; left: 0; }
.demo__card--ledger { top: 392px; right: 6%; width: min(300px, 80%); }

.demo__time { font-family: var(--mono); font-size: 11px; letter-spacing:.16em; color: var(--muted); text-transform:uppercase; margin-bottom: 8px; }
.demo__title { font-weight:600; font-size: 15px; margin-bottom: 4px; }
.demo__note { font-size: 13px; color: var(--muted); }
.demo__badge {
  display:inline-block; margin-top:10px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing:.14em; text-transform:uppercase;
  color: var(--green); border:1px solid rgba(127,181,135,.5); border-radius:999px;
  padding: 3px 12px;
}
.demo__badge--gold { color: var(--gold-2); border-color: rgba(216,179,106,.55); }

.bubble {
  max-width: 85%;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13.5px; line-height:1.5;
  margin-top: 10px;
  opacity:0;
}
.bubble--caller { background: rgba(255,246,224,.07); border:1px solid var(--hairline); }
.bubble--ai {
  margin-left:auto;
  background: linear-gradient(120deg, rgba(216,179,106,.16), rgba(216,179,106,.08));
  border: 1px solid rgba(216,179,106,.3);
}
.bubble--typing span {
  display:inline-block; width:5px; height:5px; border-radius:50%;
  background: var(--gold-2); margin-right:4px;
  animation: blink 1s infinite;
}
.bubble--typing span:nth-child(2){ animation-delay:.2s } .bubble--typing span:nth-child(3){ animation-delay:.4s }
@keyframes blink { 0%,80%,100%{opacity:.25} 40%{opacity:1} }

.demo__amt { font-family: var(--mono); font-weight:600; font-size: 24px; color: var(--gold-2); }
.demo__amt small { font-size: 12px; color: var(--muted); font-weight:400; }
.demo__loop-label {
  position:absolute; bottom:-34px; left:0; right:0; text-align:center;
  font-family: var(--mono); font-size: 10.5px; letter-spacing:.22em;
  text-transform:uppercase; color: var(--muted);
}

/* free-website hero demo: site assembling in a browser frame */
.demo--site .frame {
  position:relative;
  border: 1px solid var(--border); border-radius: 14px;
  background: linear-gradient(180deg, rgba(30,27,20,.94), rgba(18,16,11,.94));
  box-shadow: 0 30px 70px rgba(0,0,0,.6);
  overflow:hidden;
  min-height: 420px;
}
.frame__bar { display:flex; gap:6px; padding: 13px 16px; border-bottom:1px solid var(--hairline); }
.frame__bar i { width:9px; height:9px; border-radius:50%; background: rgba(255,246,224,.18); }
.frame__body { padding: 26px; }
.blockline { border-radius: 6px; background: rgba(255,246,224,.08); opacity:0; }
.blockline--hero { height: 90px; background: linear-gradient(120deg, rgba(216,179,106,.25), rgba(216,179,106,.08)); margin-bottom:16px; }
.blockline--t1 { height: 16px; width: 70%; margin-bottom: 10px; }
.blockline--t2 { height: 16px; width: 46%; margin-bottom: 22px; }
.blockline--card { height: 68px; margin-bottom: 12px; }
.frame__chat {
  position:absolute; right: 18px; bottom: 18px;
  background: linear-gradient(120deg, rgba(216,179,106,.9), rgba(239,217,167,.9));
  color:#151208; font-size:12.5px; font-weight:600;
  border-radius: 14px 14px 3px 14px;
  padding: 10px 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,.5);
  opacity:0;
}
.frame__live {
  position:absolute; top: 12px; right: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing:.18em;
  color: var(--green); border:1px solid rgba(127,181,135,.5);
  border-radius: 999px; padding: 3px 10px; opacity:0;
}

/* ---------- panels ---------- */
.strip-zone { position:relative; padding: 10px 24px 120px; }

.receipt {
  position:relative;
  max-width: 940px;
  margin: 130px auto;
  background: linear-gradient(180deg, rgba(20,17,11,.72), rgba(12,10,7,.78) 40%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 62px clamp(26px, 6vw, 76px) 56px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 40px 110px rgba(0,0,0,.6), 0 2px 0 rgba(239,217,167,.05) inset;
}
.receipt::before {
  content:""; position:absolute; top:-1px; left:6%; right:6%; height:1px;
  background: linear-gradient(90deg, transparent, rgba(216,179,106,.75), transparent);
}
.receipt--wide { max-width: 1080px; }

.receipt .kicker { margin-bottom: 20px; }
.receipt h2 {
  font-family: var(--display);
  font-weight:500;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height:1.05;
  letter-spacing:-.015em;
  margin-bottom: 24px;
}
.receipt h2 em {
  font-style:italic;
  background: linear-gradient(95deg, var(--gold), var(--gold-2));
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
}
.receipt h3 {
  font-family: var(--display); font-weight:500;
  font-size: clamp(20px, 2.4vw, 26px);
  margin: 34px 0 10px;
}
.receipt p { margin-bottom: 18px; }
.receipt .soft { color: var(--muted); font-size: 15px; }
.receipt .divider { border:none; border-top: 1px solid var(--hairline); margin: 34px 0; }
.receipt .center { text-align:center; }

/* ledger rows */
.line {
  display:flex; align-items:baseline; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 15.5px;
}
.line__desc { flex:1; }
.line__desc b {
  display:block; font-family: var(--display); font-weight:500;
  font-size:18px; letter-spacing:0; margin-bottom:3px;
}
.line__desc span { color: var(--muted); font-size: 14.5px; line-height:1.6; }
.line__dots { flex: 0 1 70px; border-bottom: 1px dotted rgba(255,246,224,.22); align-self:center; }
.line__amt { font-family: var(--mono); font-weight:600; white-space:nowrap; font-size: 16.5px; color: var(--gold-2); }
.line__amt.loss { color: var(--loss); }
.line__amt.struck { text-decoration: line-through; color: var(--muted); font-weight:400; }
.line--total { border-bottom:none; border-top: 1px solid rgba(216,179,106,.45); margin-top: 12px; padding-top: 22px; }
.line--total .line__amt { font-size: clamp(24px, 3vw, 32px); }
.price-final { color: var(--gold-2) !important; text-shadow: 0 0 40px rgba(216,179,106,.5); }

/* rich service rows (the machine, expanded) */
.svc { padding: 26px 0; border-bottom: 1px solid var(--hairline); }
.svc:last-of-type { border-bottom:none; }
.svc__head { display:flex; align-items:baseline; gap:14px; }
.svc__num { font-family: var(--mono); font-size: 12px; color: var(--gold); letter-spacing:.1em; min-width: 2.2em; }
.svc__head b { font-family: var(--display); font-weight:500; font-size: 20px; flex:1; }
.svc__worth { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space:nowrap; }
.svc p { color: var(--muted); font-size: 15px; margin: 8px 0 0 calc(2.2em + 14px); }
.svc p b { color: var(--text); font-weight:600; }

/* timeline */
.timeline { margin-top: 8px; }
.tl {
  position:relative;
  padding: 0 0 34px 34px;
  border-left: 1px solid rgba(216,179,106,.3);
  margin-left: 8px;
}
.tl:last-child { padding-bottom: 4px; border-left-color: transparent; }
.tl::before {
  content:""; position:absolute; left:-5px; top:4px;
  width:9px; height:9px; border-radius:50%;
  background: var(--gold); box-shadow: 0 0 16px rgba(216,179,106,.7);
}
.tl__when { font-family: var(--mono); font-size: 11.5px; letter-spacing:.18em; text-transform:uppercase; color: var(--gold); margin-bottom: 6px; }
.tl b { font-family: var(--display); font-weight:500; font-size: 19px; display:block; margin-bottom: 6px; }
.tl p { color: var(--muted); font-size: 15px; margin:0; }

/* comparison table */
.compare { width:100%; border-collapse: collapse; margin-top: 10px; font-size: 14.5px; }
.compare th, .compare td { padding: 14px 14px; border-bottom: 1px solid var(--hairline); text-align:left; vertical-align:top; }
.compare th { font-family: var(--mono); font-size: 11px; letter-spacing:.16em; text-transform:uppercase; color: var(--muted); font-weight:400; }
.compare td:first-child { color: var(--muted); }
.compare .yes { color: var(--green); }
.compare .no { color: var(--loss); }
.compare .col-lz { background: rgba(216,179,106,.05); }
.compare th.col-lz { color: var(--gold-2); }
.compare-wrap { overflow-x:auto; }

/* ROI calculator */
.roi { margin-top: 6px; }
.roi__row { margin-bottom: 26px; }
.roi__row label {
  display:flex; justify-content:space-between; align-items:baseline;
  font-family: var(--mono); font-size: 12px; letter-spacing:.14em;
  text-transform:uppercase; color: var(--muted); margin-bottom: 10px;
}
.roi__row label output { font-size: 16px; color: var(--gold-2); font-weight:600; letter-spacing:0; }
.roi input[type=range] {
  width:100%; appearance:none; -webkit-appearance:none;
  height: 2px; border-radius:2px;
  background: linear-gradient(90deg, var(--gold) var(--fill,50%), rgba(255,246,224,.15) var(--fill,50%));
  outline:none;
}
.roi input[type=range]::-webkit-slider-thumb {
  appearance:none; -webkit-appearance:none;
  width: 22px; height: 22px; border-radius:50%;
  background: var(--gold-2);
  border: 2px solid #151208;
  box-shadow: 0 0 0 1px var(--gold), 0 6px 20px rgba(0,0,0,.5);
  cursor:pointer;
}
.roi input[type=range]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius:50%;
  background: var(--gold-2); border: 2px solid #151208;
  box-shadow: 0 0 0 1px var(--gold); cursor:pointer;
}
.roi__result {
  display:grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px; margin-top: 30px;
}
.roi__stat {
  border: 1px solid var(--hairline); border-radius: 6px;
  padding: 20px 22px;
  background: var(--panel);
}
.roi__stat .k { font-family: var(--mono); font-size: 10.5px; letter-spacing:.18em; text-transform:uppercase; color: var(--muted); margin-bottom: 8px; }
.roi__stat .v { font-family: var(--mono); font-weight:600; font-size: clamp(22px, 2.6vw, 30px); color: var(--loss); }
.roi__stat--lz .v { color: var(--gold-2); }
.roi__verdict { margin-top: 22px; font-family: var(--display); font-style:italic; font-size: clamp(17px, 2vw, 21px); color: var(--text); }

/* guarantee */
.guarantee {
  border: 1px solid rgba(216,179,106,.4);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(216,179,106,.07), rgba(216,179,106,.02));
  padding: 34px clamp(22px, 4vw, 44px);
  margin-top: 30px;
}
.guarantee b { font-family: var(--display); font-weight:500; font-size: 21px; display:block; margin-bottom: 10px; }
.guarantee p { color: var(--muted); font-size: 15px; margin-bottom: 0; }

/* ---------- badges ---------- */
.stamp {
  display:inline-block;
  font-family: var(--mono);
  font-weight:400; text-transform:uppercase;
  letter-spacing:.2em;
  color: var(--gold-2);
  border: 1px solid rgba(216,179,106,.55);
  border-radius: 2px;
  padding: 8px 22px;
  font-size: clamp(11px, 1.4vw, 12.5px);
  background: rgba(216,179,106,.06);
  transform: rotate(var(--r, 0deg));
  margin: 4px 6px;
}
.stamp--big {
  font-size: clamp(13px, 1.8vw, 16px);
  padding: 13px 32px;
  box-shadow: 0 0 50px rgba(216,179,106,.2);
}
.stamp--float { position:absolute; z-index:2; }
html.js:not(.gsap) .stamp, html.js:not(.gsap) .slam-in { opacity:0; }
html:not(.js) .stamp, html:not(.js) .slam-in { opacity:1 !important; }
.stamped { animation: slam .5s cubic-bezier(.2,1.4,.4,1) forwards; }
@keyframes slam { 0% { opacity:0; transform: scale(1.3) rotate(var(--r,0deg)); } 100% { opacity:1; transform: scale(1) rotate(var(--r,0deg)); } }
.slam-in.stamped { animation: rowslam .5s cubic-bezier(.2,1.4,.4,1) forwards; }
@keyframes rowslam { 0% { opacity:0; transform: translateY(14px); } 100% { opacity:1; transform:none; } }

.barcode { height:1px; margin: 36px auto 10px; max-width: 360px; background: linear-gradient(90deg, transparent, rgba(216,179,106,.5), transparent); }
.barcode + .center { font-family: var(--mono); font-size: 10.5px; letter-spacing:.45em; color: var(--muted); }

/* ---------- statement interludes ---------- */
.night-note {
  text-align:center;
  max-width: 17em;
  margin: 150px auto;
  padding: 0 20px;
  font-family: var(--display);
  font-weight:500;
  letter-spacing:-.015em;
  font-size: clamp(30px, 5vw, 56px);
  line-height:1.16;
}
.night-note em {
  font-style:italic;
  background: linear-gradient(95deg, var(--gold), var(--gold-2));
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
}

/* ---------- tally chip ---------- */
.tally {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  background: rgba(18,16,11,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226,105,92,.5);
  border-radius: 8px;
  box-shadow: 0 14px 50px rgba(0,0,0,.55);
  color: var(--text);
  font-family: var(--mono);
  padding: 13px 20px;
  font-size: 13px;
  text-align:right;
  opacity:0; transform: translateY(10px);
  transition: opacity .4s, transform .4s, border-color .4s;
  pointer-events:none;
}
.tally.on { opacity:1; transform:none; }
.tally__label { text-transform:uppercase; letter-spacing:.18em; font-size:9px; color: var(--loss); }
.tally__amt { font-size: 22px; font-weight:600; color: var(--loss); }
.tally.flipped { border-color: rgba(216,179,106,.6); }
.tally.flipped .tally__label, .tally.flipped .tally__amt { color: var(--gold-2); }

/* ---------- forms ---------- */
.lead-form { margin-top: 8px; }
.lead-form .field { margin-bottom: 18px; }
.lead-form label {
  display:block;
  font-family: var(--mono);
  text-transform:uppercase; letter-spacing:.18em;
  font-size: 10.5px; margin-bottom:7px; color: var(--muted);
}
.lead-form input {
  width:100%;
  font-family: var(--body); font-size: 16px;
  padding: 15px 16px;
  background: rgba(255,246,224,.035);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  color: var(--text);
  transition: border-color .25s, box-shadow .25s;
}
.lead-form input::placeholder { color: rgba(247,243,234,.28); }
.lead-form input:focus {
  outline:none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216,179,106,.14);
}
.lead-form .cta { width:100%; text-align:center; margin-top: 12px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 16px; text-align:center; }
.form-done { text-align:center; padding: 30px 0 10px; }

/* ---------- steps ---------- */
.step { display:flex; gap:24px; padding: 24px 0; border-bottom: 1px solid var(--hairline); }
.step:last-of-type { border-bottom:none; }
.step__num {
  font-family: var(--display); font-weight:500; font-style:italic; font-size: 42px; line-height:1;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
  min-width: 54px;
}
.step__body b { display:block; font-family: var(--display); font-weight:500; font-size:19px; margin-bottom:5px; }
.step__body span { color: var(--muted); font-size: 15px; }

/* ---------- blog ---------- */
.post-list { max-width:920px; margin:30px auto 120px; padding: 0 22px; }
.post-card {
  display:block; text-decoration:none;
  background: linear-gradient(180deg, var(--panel-2), var(--panel) 40%);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  padding: 32px clamp(24px,4vw,46px);
  margin-bottom:26px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216,179,106,.5);
  box-shadow: 0 24px 70px rgba(0,0,0,.5);
}
.post-card h2 { font-family:var(--display); font-weight:500; font-size:clamp(21px,2.8vw,28px); line-height:1.15; margin-bottom:9px; }
.post-card p { color:var(--muted); font-size:14.5px; line-height:1.65; }
.post-card .meta { font-family:var(--mono); text-transform:uppercase; letter-spacing:.22em; font-size:10px; color:var(--gold); margin-bottom:12px; }

.article {
  max-width:820px; margin:44px auto 100px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel) 30%);
  border:1px solid var(--border); border-radius:6px;
  color:var(--text);
  padding:60px clamp(26px,5vw,64px);
  box-shadow:0 34px 90px rgba(0,0,0,.5);
}
.article h1 { font-family:var(--display); font-weight:500; font-size:clamp(30px,4.4vw,48px); letter-spacing:-.015em; line-height:1.08; margin-bottom:18px; }
.article h2 { font-family:var(--display); font-weight:500; font-size:clamp(22px,3vw,30px); margin:38px 0 12px; }
.article p, .article li { margin-bottom:17px; font-size:16.5px; line-height:1.78; color:#ddd8cc; }
.article ul, .article ol { padding-left:22px; margin-bottom:17px; }
.article .meta { font-family:var(--mono); text-transform:uppercase; letter-spacing:.22em; font-size:10.5px; color:var(--gold); margin-bottom:24px; }
.article a { color:var(--gold-2); }
.article .hero-img { width:100%; height:auto; margin:8px 0 28px; border-radius:6px; border:1px solid var(--border); }
.article .callout { border:1px solid rgba(216,179,106,.4); border-radius:6px; padding:22px 24px; margin:26px 0; background:rgba(216,179,106,.05); }

/* ---------- booking widget ---------- */
.bw { font-size: 15px; }
.bw__meta { display:flex; flex-wrap:wrap; gap: 8px 20px; margin-bottom: 18px; color: var(--muted); font-size: 13.5px; }
.bw__meta b { color: var(--text); font-weight:600; }
.bw__tz { margin: 6px 0 18px; }
.bw__tz select {
  width:100%; font-family: var(--body); font-size: 14px;
  padding: 10px 12px; border-radius: 4px;
  background: rgba(255,246,224,.035); border:1px solid var(--hairline); color: var(--text);
}
.bw__tz select:focus { outline:none; border-color: var(--gold); }
.bw__nav { display:flex; align-items:center; justify-content:space-between; margin-bottom: 10px; }
.bw__nav b { font-family: var(--display); font-weight:500; font-size: 18px; }
.bw__nav button {
  background:none; border:1px solid var(--hairline); border-radius: 4px;
  color: var(--gold-2); font-size: 18px; width: 34px; height: 34px; cursor:pointer;
}
.bw__nav button:disabled { opacity:.3; cursor:default; }
.bw__grid { display:grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 18px; }
.bw__dow { text-align:center; font-family: var(--mono); font-size: 10px; letter-spacing:.1em; color: var(--muted); padding: 6px 0; text-transform:uppercase; }
.bw__day {
  aspect-ratio: 1; border-radius: 6px; border: 1px solid transparent;
  background: none; color: var(--muted); font-family: var(--body); font-size: 14px;
  cursor: default; position:relative;
}
.bw__day.has {
  background: rgba(216,179,106,.08); border-color: rgba(216,179,106,.3);
  color: var(--text); cursor:pointer; font-weight:600;
}
.bw__day.has:hover { background: rgba(216,179,106,.16); }
.bw__day.sel { background: var(--gold); color: #151208; border-color: var(--gold); }
.bw__pick { display:grid; grid-template-columns: 1.15fr .85fr; gap: clamp(18px, 3vw, 40px); align-items:start; margin-bottom: 6px; }
.bw__slotpane { border-left: 1px solid var(--hairline); padding-left: clamp(16px, 2.5vw, 32px); min-height: 280px; }
.bw__slotpane > b { font-family: var(--display); font-weight:500; font-size: 17px; display:block; margin-bottom: 12px; }
.bw__slots {
  display:flex; flex-direction:column; gap: 8px; margin-bottom: 8px;
  max-height: 400px; overflow-y:auto; padding-right: 6px;
  scrollbar-width: thin;                       /* internal scroll, ghlops-style */
  scrollbar-color: rgba(216,179,106,.45) transparent;
}
.bw__slots::-webkit-scrollbar { width: 4px; }
.bw__slots::-webkit-scrollbar-track { background: transparent; }
.bw__slots::-webkit-scrollbar-thumb { background: rgba(216,179,106,.45); border-radius: 4px; }
@media (max-width: 760px) {
  .bw__pick { grid-template-columns: 1fr; }
  .bw__slotpane { border-left:none; padding-left:0; min-height:0; }
}
.bw__slot {
  padding: 12px 8px; border-radius: 4px; text-align:center;
  border: 1px solid rgba(216,179,106,.35); background: rgba(216,179,106,.05);
  color: var(--gold-2); font-family: var(--mono); font-size: 14px; cursor:pointer;
  width:100%;
}
.bw__slot:hover { background: rgba(216,179,106,.16); }
.bw__chosen {
  display:flex; align-items:baseline; justify-content:space-between; gap:12px;
  padding: 12px 14px; border:1px solid rgba(216,179,106,.4); border-radius: 6px;
  background: rgba(216,179,106,.07); margin-bottom: 18px; font-size: 14px;
}
.bw__chosen b { color: var(--gold-2); }
.bw__chosen a { color: var(--muted); font-size: 12.5px; cursor:pointer; text-decoration:underline; white-space:nowrap; }
.bw .field-row { display:grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.bw .consent { display:flex; gap: 10px; align-items:flex-start; margin: 16px 0 4px; font-size: 12.5px; color: var(--muted); line-height:1.5; }
.bw .consent input { margin-top: 3px; accent-color: var(--gold); width: 15px; height: 15px; flex:none; }
.bw__err { color: var(--loss); font-size: 13.5px; margin-top: 12px; text-align:center; }
.bw__loading { text-align:center; color: var(--muted); padding: 40px 0; font-family: var(--mono); font-size: 12.5px; letter-spacing:.14em; text-transform:uppercase; }
.bw select, .bw input[type=text], .bw input[type=tel], .bw input[type=email], .bw textarea {
  width:100%; font-family: var(--body); font-size: 15px;
  padding: 12px 13px; border-radius: 4px; margin-bottom: 12px;
  background: rgba(255,246,224,.035); border:1px solid var(--hairline); color: var(--text);
}
.bw select:focus, .bw input:focus, .bw textarea:focus { outline:none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216,179,106,.12); }
.bw label { display:block; font-family: var(--mono); text-transform:uppercase; letter-spacing:.14em; font-size: 10px; margin-bottom: 5px; color: var(--muted); }
.bw textarea { min-height: 64px; resize: vertical; }
.bw .cta { width:100%; text-align:center; }
.bw__support { text-align:center; font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.bw__support a { color: var(--gold-2); }

/* ---------- plans ---------- */
.plans { display:grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 10px; }
.plan {
  position:relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel) 40%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 34px clamp(22px, 3vw, 36px) 30px;
  display:flex; flex-direction:column;
}
.plan--featured { border-color: rgba(216,179,106,.5); box-shadow: 0 0 60px rgba(216,179,106,.08); }
.plan__tag {
  position:absolute; top:-11px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px; letter-spacing:.2em; text-transform:uppercase;
  color:#151208; background: linear-gradient(95deg, var(--gold-2), var(--gold));
  padding: 4px 14px; border-radius: 999px; white-space:nowrap;
}
.plan__name { font-family: var(--display); font-weight:500; font-size: 23px; margin-bottom: 6px; }
.plan__for { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.plan__price { font-family: var(--mono); font-size: clamp(32px, 4vw, 42px); color: var(--gold-2); font-weight:600; line-height:1; }
.plan__price small { font-size: 15px; color: var(--muted); font-weight:400; }
.plan__note { color: var(--muted); font-size: 13px; margin: 8px 0 22px; }
.plan__list { list-style:none; padding:0; margin: 0 0 26px; }
.plan__list li { padding: 9px 0 9px 24px; position:relative; font-size: 15px; border-bottom: 1px solid var(--hairline); }
.plan__list li:last-child { border-bottom:none; }
.plan__list li::before { content:"✓"; position:absolute; left:0; color: var(--gold); font-size: 13px; }
.plan .cta { margin-top:auto; width:100%; text-align:center; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }

/* ---------- glow blobs ---------- */
.glow {
  position:fixed; width:64vmax; height:64vmax; border-radius:50%;
  filter: blur(100px); mix-blend-mode:screen;
  pointer-events:none; z-index:0; opacity:.1;
}
.glow--red    { background: radial-gradient(circle, #d8b36a 0%, transparent 60%); top:-30vmax; left:-26vmax; }
.glow--yellow { background: radial-gradient(circle, #efd9a7 0%, transparent 60%); bottom:-32vmax; right:-28vmax; opacity:.06; }

/* ---------- GSAP initial states ---------- */
html.gsap .hero h1 { visibility:hidden; }
html.gsap .receipt h2 { opacity:0; }
html.gsap .post-card { opacity:0; }

/* ---------- footer ---------- */
footer {
  text-align:center;
  padding: 60px 20px 90px;
  color: var(--muted);
  font-size: 13px;
}
footer a { color: #d5cfbf; }

/* ---------- accessibility / motion ---------- */
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .ticker__track, body::before { animation:none; }
  .stamp, .slam-in, html.gsap .receipt h2, html.gsap .post-card,
  .demo__card, .bubble, .blockline, .frame__chat, .frame__live { opacity:1 !important; }
  html.gsap .hero h1 { visibility:visible; }
  html { scroll-behavior:auto; }
}

@media (max-width: 960px) {
  .hero--split { grid-template-columns: 1fr; text-align:center; }
  .hero--split .hero__sub, .hero--split .chips { margin-left:auto; margin-right:auto; justify-content:center; }
  .demo { margin: 30px auto 40px; width: min(420px, 100%); }
}
@media (max-width: 600px) {
  .receipt { margin: 64px auto; padding-top: 44px; }
  .tally { right: 10px; bottom: 10px; padding: 10px 14px; }
  .tally__amt { font-size: 18px; }
  .nav { gap: 14px 18px; font-size: 11px; flex-wrap: wrap; }
  .nav .cta { order: 10; width: 100%; text-align: center; margin-top: 4px; padding: 13px 20px !important; font-size: 13px !important; }
  .demo { min-height: 520px; }
  .svc p { margin-left: 0; }
}
