/* ============================================================
   Book a Demo page
============================================================ */

.nav-links a.active { color: var(--ink); font-weight: 500; }

/* ============================================================
   HERO BACKGROUND (gradient + grain + floating orbs)
============================================================ */
.hero-demo { position: relative; overflow: hidden; padding-top: clamp(48px, 6vw, 90px); padding-bottom: clamp(60px, 8vw, 110px); }
.demo-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

/* Luxury mesh gradient — lavender · ice blue · cream · peach (dark-tuned) */
.db-glow {
  position: absolute;
  inset: -10% -10% -10% -10%;
  background:
    radial-gradient(40% 35% at 78% 18%, rgba(146, 126, 220, 0.14), transparent 70%),
    radial-gradient(38% 32% at 18% 42%, rgba(122, 142, 240, 0.12), transparent 72%),
    radial-gradient(50% 40% at 92% 78%, rgba(217, 119, 87, 0.10), transparent 70%),
    radial-gradient(46% 38% at 12% 88%, rgba(217, 170, 120, 0.08), transparent 72%),
    radial-gradient(60% 50% at 50% 50%, rgba(245, 240, 250, 0.04), transparent 80%);
  filter: blur(0px);
  animation: meshDrift 22s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-1.5%, 1%, 0) scale(1.04); }
  100% { transform: translate3d(1.5%, -1%, 0) scale(1.02); }
}
.db-grain {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(var(--ink-rgb),0.010) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(var(--ink-rgb),0.010) 0 1px, transparent 1px 3px);
  mix-blend-mode: screen;
  opacity: 0.55;
}
.db-orbs { position: absolute; inset: 0; }
.orb {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  mix-blend-mode: screen;
}
.orb.o1 { left: 4%;  top: 10%;  background: rgba(124, 102, 210, 0.45); animation: orbFloat 18s ease-in-out infinite; }
.orb.o2 { right: 6%; top: 28%;  background: rgba(96, 124, 230, 0.40); animation: orbFloat 22s ease-in-out infinite reverse; }
.orb.o3 { left: 40%; bottom: -14%; background: rgba(217, 119, 87, 0.35); animation: orbFloat 26s ease-in-out infinite; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(60px, -40px) scale(1.08); }
}

.hero-demo .container { position: relative; z-index: 1; }
.demo-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 980px){ .demo-hero-grid { grid-template-columns: 1fr; } }

.kicker.demo { background: rgba(217,119,87,0.10); border-color: rgba(217,119,87,0.20); color: #F2A07E; }
.kicker .dot.demo { background: var(--ai, #D97757); box-shadow: 0 0 0 3px rgba(217,119,87,0.22); }
.dh-copy .display { font-size: clamp(48px, 7.6vw, 100px); line-height: 0.95; }
.dh-copy .lead { max-width: 520px; }

.demo-pills {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.demo-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-mid);
}

/* ============================================================
   CALENDAR WIDGET (animated)
============================================================ */
.dh-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 24px 22px;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: floatCard 9s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.dhc-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.dhc-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.dh-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cal { display: flex; flex-direction: column; gap: 14px; }
.cal-month {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 8px;
}
.cm-name { font-weight: 600; font-size: 14px; letter-spacing: -0.015em; }
.cm-nav {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: var(--bg);
  display: grid; place-items: center;
  font-size: 14px;
  color: var(--muted);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.cg-dow {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: center;
  padding: 4px 0 6px;
}
.cg-dow.muted-2 { color: var(--muted-2); }
.cd {
  font-family: var(--f-mono);
  font-size: 12px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.cd.past, .cd.off { color: var(--muted-2); cursor: default; }
.cd.off { background: transparent; }
.cd.today {
  background: rgba(var(--ink-rgb),0.06);
  font-weight: 600;
  outline: 1.5px solid var(--ink);
}
.cd.avail:hover { background: var(--bg-alt); transform: translateY(-1px); }
.cd.avail.on, .cd.avail.on:hover { background: var(--ink); color: var(--bg); }

#cal-26 { background: var(--ink); color: var(--bg); }

/* Slots */
.cal-slots {
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cs-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
}
.cs-date { font-weight: 600; letter-spacing: -0.015em; }
.cs-tz { font-size: 10.5px; color: var(--muted); }
.cs-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.cs-slot {
  position: relative;
  padding: 8px 10px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.cs-slot:hover { background: var(--bg-alt); transform: translateY(-1px); }
.cs-slot.picked {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.cs-slot.taken {
  color: var(--muted-2);
  cursor: not-allowed;
  text-decoration: line-through;
  background: var(--bg-alt);
}
.cs-slot.taken:hover { transform: none; background: var(--bg-alt); }
.taken-lbl {
  position: absolute;
  inset: auto 0 -16px 0;
  font-size: 10px;
  text-align: center;
  color: var(--muted);
  text-decoration: none;
  display: block;
}

.cal-cta { width: 100%; justify-content: center; margin-top: 6px; }
.cal-foot { text-align: center; margin: 4px 0 0; }

/* ============================================================
   TRUST STRIP
============================================================ */
.demo-trust { padding: 50px 0 30px; }
.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 4vw, 60px);
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
@media (max-width: 720px){ .trust-stats { grid-template-columns: 1fr 1fr; gap: 30px; } }
.ts { display: flex; flex-direction: column; gap: 6px; }
.ts b {
  font-weight: 500;
  font-size: clamp(34px, 4.2vw, 52px);
  letter-spacing: -0.035em;
  line-height: 1;
}
.ts span { font-size: 13px; color: var(--muted); }

/* ============================================================
   TIMELINE
============================================================ */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 24px auto 0;
  max-width: 880px;
}
.tl-track,
.tl-progress {
  position: absolute;
  left: 18px;
  top: 18px;
  bottom: 18px;
  width: 2px;
}
.tl-track { background: var(--line); }
.tl-progress {
  background: var(--ink);
  height: 0%;
  transition: height 0.25s ease;
  z-index: 1;
}
.tl-step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 22px;
  padding: 18px 0 26px;
  position: relative;
  z-index: 2;
}
.tl-dot {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
}
.tl-dot.focus {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 0 0 4px rgba(var(--ink-rgb),0.10);
}
.tl-body { padding-top: 4px; }
.tl-time {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 6px;
}
.tl-body h4 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.15;
}
.tl-step.focus .tl-body h4 { color: var(--ink); }
.tl-body p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.55;
}

/* ============================================================
   PEOPLE STACK
============================================================ */
.people-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.person-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.pc-av {
  width: 56px; height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pc-av.av-1 { background: linear-gradient(135deg, #6B5A47, #B49A78); }
.pc-av.av-2 { background: linear-gradient(135deg, #3F5A55, #6F8F88); }
.pc-av.av-3 { background: linear-gradient(135deg, #8A3F2C, #C26F58); }
.pc-meta { display: flex; flex-direction: column; gap: 2px; }
.pc-l {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.pc-meta b { font-weight: 600; font-size: 15px; letter-spacing: -0.015em; }
.pc-r { font-size: 12.5px; color: var(--muted); line-height: 1.4; }

/* ============================================================
   BRING GRID
============================================================ */
.section-head.center-head { margin-left: auto; margin-right: auto; text-align: center; max-width: 760px; }
.bring-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}
@media (max-width: 820px){ .bring-grid { grid-template-columns: 1fr; } }
.bring {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.bring:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.b-i {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.025em;
}
.bring h4 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.022em;
}
.bring p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.b-tag {
  font-size: 11.5px;
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* ============================================================
   QUOTES (dark)
============================================================ */
.qq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 920px){ .qq-grid { grid-template-columns: 1fr; } }
.qq {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-light);
  border-radius: 18px;
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.qq-mark {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 56px;
  line-height: 0.6;
  color: rgba(255,255,255,0.20);
}
.qq p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  flex: 1;
}
.qq-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
}
.qq-av {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.qq-meta > div { display: flex; flex-direction: column; line-height: 1.25; }
.qq-meta b { font-weight: 600; font-size: 13.5px; color: #fff; }
.qq-meta span { font-size: 12px; color: rgba(255,255,255,0.55); }

/* ============================================================
   BOOK FORM
============================================================ */
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 980px){ .book-grid { grid-template-columns: 1fr; } }
.book-side .section-lead { max-width: 380px; margin: 22px 0 28px; }
.bs-meta { display: flex; flex-direction: column; gap: 8px; }
.bs-link {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: transform .2s ease, border-color .2s ease;
}
.bs-link:hover { transform: translateY(-2px); border-color: var(--ink); }
.bs-l {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.bs-link b { font-weight: 500; font-size: 14px; letter-spacing: -0.012em; }

.book-form {
  padding: clamp(28px, 4vw, 44px);
}

/* form styles (lifted minimal copy from contact.css; pages share intent) */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px){ .field-row { grid-template-columns: 1fr; } }
.field label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea {
  font-family: var(--f-sans);
  font-size: 15px;
  padding: 11px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  width: 100%;
  resize: vertical;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus {
  border-color: var(--ink);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(var(--ink-rgb),0.06);
}

.chip-radio { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-radio input { position: absolute; opacity: 0; pointer-events: none; }
.chip-radio label {
  font-family: var(--f-sans);
  font-size: 13px;
  padding: 7px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-mid);
  cursor: pointer;
  letter-spacing: -0.005em;
  text-transform: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.chip-radio input:checked + label {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.muted.small { font-size: 12px; }

.sent-message {
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(84,181,106,0.10);
  border: 1px solid rgba(84,181,106,0.30);
  border-radius: 12px;
  margin-top: 8px;
}
.sent-message .dt.ok {
  width: 12px; height: 12px;
  background: var(--ok);
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}
.sent-message b { font-weight: 600; font-size: 15px; display: block; }
.sent-message p { margin: 4px 0 0; font-size: 13px; }
.contact-form.sent .sent-message { display: flex; }
.contact-form.sent .field,
.contact-form.sent .field-row,
.contact-form.sent .form-foot { display: none; }

/* FAQ uses base */
.faq-wrap .h-display.small { margin-bottom: 32px; text-align: center; }

/* ── White mode (html[data-theme="light"]) overrides ── */

/* hero atmosphere: original pastel mesh + multiply grain (dark-tuned
   values read as muddy smears on a light background) */
html[data-theme="light"] .db-glow {
  background:
    radial-gradient(40% 35% at 78% 18%, rgba(217, 207, 240, 0.65), transparent 70%),
    radial-gradient(38% 32% at 18% 42%, rgba(208, 215, 240, 0.55), transparent 72%),
    radial-gradient(50% 40% at 92% 78%, rgba(232, 220, 210, 0.55), transparent 70%),
    radial-gradient(46% 38% at 12% 88%, rgba(244, 235, 224, 0.60), transparent 72%),
    radial-gradient(60% 50% at 50% 50%, rgba(245, 240, 250, 0.45), transparent 80%);
}
html[data-theme="light"] .db-grain { mix-blend-mode: multiply; }
html[data-theme="light"] .orb.o1 { background: rgba(208, 196, 236, 0.85); }
html[data-theme="light"] .orb.o2 { background: rgba(196, 208, 240, 0.75); }
html[data-theme="light"] .orb.o3 { background: rgba(240, 226, 212, 0.85); }

/* kicker text back to ink-weight orange */
html[data-theme="light"] .kicker.demo { color: #6B2A14; }

/* sent confirmation: original light-theme green tint */
html[data-theme="light"] .sent-message {
  background: rgba(29,122,58,0.08);
  border-color: rgba(29,122,58,0.22);
}
