:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --band: #eeece6;
  --ink: #121315;
  --ink-2: #4a4d55;
  --ink-3: #8a8d95;
  --line: #e2dfd8;
  --accent: #2f4cff;
  --accent-ink: #ffffff;
  --accent-soft: #e8ecff;
  --good: #128a4f;
  --dark: #121315;
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--accent); }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.band { background: var(--band); padding: 104px 0; }

/* ---------- type ---------- */
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 600; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 600; }
h3 { font-size: 1.2rem; letter-spacing: -0.02em; font-weight: 600; }
.lede { margin-top: 20px; font-size: 1.12rem; color: var(--ink-2); max-width: 46ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 18px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.light { color: rgba(255,255,255,0.7); }
.small { font-size: 0.85rem; color: var(--ink-3); }
.sec-head { max-width: 720px; margin-bottom: 52px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; letter-spacing: -0.01em;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(0.98); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 0.92rem; }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px -10px rgba(47,76,255,.6); }
.btn-accent:hover { background: #2238e0; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2c31; }
.btn-ghost { border: 1px solid var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: #c9c5bc; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246,245,241,0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.06em; line-height: 1; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 30px; font-size: 0.95rem; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }

/* ---------- story stage (hero + scroll story) ---------- */
.story { position: relative; height: 620vh; margin-top: -69px; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; cursor: grab; }
.story.grabbing .stage { cursor: grabbing; }
#world { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px; pointer-events: none;
  background: linear-gradient(to top, var(--bg), transparent); z-index: 1;
}

.hero-layer { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; padding-top: 69px; pointer-events: none; will-change: opacity, transform; }
.hero-layer a { pointer-events: auto; }
.hero-layer.gone a { pointer-events: none; }
.hero-copy { max-width: 600px; }
.hero-copy .lede { max-width: 44ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.cta-row.center { justify-content: center; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; list-style: none; font-size: 0.92rem; color: var(--ink-2); }
.proof li::before { content: "✓"; color: var(--good); font-weight: 700; margin-right: 7px; }

.sig-tip {
  position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none;
  width: 236px; padding: 12px 14px; border-radius: 14px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: 0 18px 40px -18px rgba(18,19,21,.35);
  display: flex; flex-direction: column; gap: 2px; font-size: 0.86rem;
  opacity: 0; transition: opacity .25s ease;
}
.sig-tip.on { opacity: 1; }
.sig-tip .live {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin-bottom: 4px;
}
.sig-tip .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.sig-tip b { font-size: 0.95rem; }
.sig-tip .w { color: var(--ink); }
.sig-tip .s { color: var(--ink-3); font-size: 0.8rem; }

.cap-layer { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; pointer-events: none; opacity: 0; }
.cap-card {
  margin-left: max(24px, calc((100vw - 1160px) / 2 + 24px)); width: 360px; padding: 26px;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(18,19,21,.25);
}
.caps { position: relative; min-height: 196px; }
.cap { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.cap.on { opacity: 1; transform: none; }
.cap .k { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.cap .n { display: block; margin-top: 12px; font-size: 3.4rem; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.cap h3 { margin-top: 6px; font-size: 1.25rem; }
.cap p { margin-top: 10px; color: var(--ink-2); font-size: 0.95rem; }
.seg { display: flex; gap: 6px; margin-top: 18px; }
.seg i { position: relative; flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.seg i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(var(--f, 0)); transform-origin: left; }
.cap-note { margin-top: 12px; font-size: 0.78rem; color: var(--ink-3); }

.leads { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.lead, .lead-more { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }
.lead {
  display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center;
  width: 300px; padding: 10px 14px; border-radius: 14px; background: var(--surface);
  border: 1px solid #cfd7ff; box-shadow: 0 14px 30px -18px rgba(47,76,255,.45); font-size: 0.85rem;
}
.lead b { grid-column: 1; }
.lead span { grid-column: 1; color: var(--ink-2); font-size: 0.8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lead em { grid-column: 2; grid-row: 1 / span 2; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); background: var(--accent-soft); padding: 4px 8px; border-radius: 999px; }
.lead-more { font-size: 0.85rem; font-weight: 600; color: var(--accent); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none;
  font-size: 0.8rem; font-weight: 500; color: var(--ink-3);
}
.scroll-hint i { width: 1px; height: 34px; background: linear-gradient(var(--ink-3), transparent); animation: hint 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.skip {
  position: absolute; right: max(24px, calc((100vw - 1160px) / 2 + 24px)); bottom: 26px; z-index: 2;
  font-size: 0.85rem; color: var(--ink-3); border-bottom: 1px solid currentColor;
}
.skip:hover { color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* No WebGL: show the hero and the story as plain text. */
.no-gl .story { height: auto; margin-top: 0; }
.no-gl .stage { position: relative; height: auto; cursor: default; }
.no-gl #world, .no-gl .sig-tip, .no-gl .cap-layer, .no-gl .leads, .no-gl .scroll-hint, .no-gl .skip { display: none; }
.no-gl .hero-layer { position: relative; padding: 120px 0 80px; }
.no-gl .story .sr-only { position: static; width: auto; height: auto; margin: 0 auto; padding: 0 24px 80px; max-width: 1160px; clip: auto; white-space: normal; display: grid; gap: 8px; color: var(--ink-2); list-style: decimal inside; }

/* ---------- cards ---------- */
.cards.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.card .num { display: block; font-size: 0.85rem; font-weight: 600; color: var(--accent); margin-bottom: 26px; }
.card p { margin-top: 10px; color: var(--ink-2); font-size: 0.98rem; }

/* ---------- steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.step-n {
  width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 600;
}
.steps li:last-child .step-n { background: var(--accent); }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: 0.96rem; }

/* ---------- pricing ---------- */
.dark { background: var(--dark); color: #fff; }
.dark em { color: #8ea0ff; }
.pricing-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pricing-in .btn { margin-top: 32px; }
.price-card { background: #1d1f23; border: 1px solid #2e3036; border-radius: 22px; padding: 34px; }
.ticks { list-style: none; margin-top: 18px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; color: rgba(255,255,255,0.85); }
.ticks li::before { content: "✓"; color: #6ee7a8; font-weight: 700; }
.define { margin-top: 28px; padding-top: 24px; border-top: 1px solid #2e3036; }
.define h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.55); margin-top: 16px; }
.define h4:first-child { margin-top: 0; }
.define p { margin-top: 6px; color: rgba(255,255,255,0.85); font-size: 0.96rem; }

/* ---------- faq ---------- */
.faq-in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; font-weight: 600; font-size: 1.08rem;
  display: flex; justify-content: space-between; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--ink-3); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 60ch; }

/* ---------- cta ---------- */
.cta { text-align: center; }
.cta-in { max-width: 820px; }
.cta .lede { margin: 20px auto 0; }
.contact-note { margin-top: 18px; font-size: 0.92rem; color: var(--ink-3); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px 0; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--ink-2); font-size: 0.95rem; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .pricing-in, .faq-in { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards.three { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section, .band { padding: 72px 0; }
  .hero-layer { align-items: flex-end; padding-bottom: 40px; }
  .hero-copy h1 { font-size: 2.4rem; }
  .hero-copy .btn-ghost { display: none; }
  .hero-copy .lede { font-size: 1rem; }
  .proof { display: none; }
  .cap-layer { align-items: flex-end; }
  .cap-card { margin: 0 12px 16px; width: auto; flex: 1; padding: 20px; }
  .caps { min-height: 190px; }
  .cap .n { font-size: 2.6rem; }
  .lead { width: 230px; }
  .scroll-hint, .skip { display: none; }
  .steps { grid-template-columns: 1fr; }
  .wrap { padding: 0 16px; }
  .btn { width: 100%; }
  .nav .btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- contact options + booking window ---------- */
.opts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; text-align: left; }
.opts.inline { width: 100%; max-width: 520px; margin: 0 auto; }
.opt {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border-radius: 16px; border: 1px solid var(--line); background: var(--surface);
  transition: border-color .2s ease, transform .2s ease;
}
.opt:hover { border-color: #c9c5bc; }
.opt.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.opt.primary:hover { background: #2238e0; }
.opt-ic {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--band);
}
.opt.primary .opt-ic { background: rgba(255,255,255,.16); }
.opt svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.opt-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.opt-tx b { font-weight: 600; }
.opt-tx span { font-size: 0.88rem; color: var(--ink-2); overflow-wrap: anywhere; }
.opt.primary .opt-tx span { color: rgba(255,255,255,.8); }
.opt-go { flex: none; opacity: .7; }

.book {
  position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(18,19,21,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.book[hidden] { display: none; }
.book-panel {
  width: 100%; max-width: 480px; background: var(--bg); border-radius: 24px; padding: 26px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); animation: book-in .25s ease;
}
.book-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.book-head h2 { font-size: 1.6rem; }
.book-head p { margin-top: 6px; color: var(--ink-2); font-size: 0.95rem; }
.book-x {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink);
}
.book-foot { margin-top: 16px; font-size: 0.85rem; color: var(--ink-3); }
@keyframes book-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .book { align-items: flex-end; } .book-panel { border-radius: 24px 24px 18px 18px; } }
@media (prefers-reduced-motion: reduce) { .book-panel { animation: none; } }

/* ---------- look switcher (only with ?compare or ?style=) ---------- */
.look-switch {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 40;
  display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px;
  background: rgba(18,19,21,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.5); max-width: calc(100vw - 24px); overflow-x: auto;
}
.look-switch span { color: rgba(255,255,255,.5); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 0 8px 0 10px; }
.look-switch a { white-space: nowrap; color: rgba(255,255,255,.8); font-size: .85rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; }
.look-switch a:hover { color: #fff; background: rgba(255,255,255,.08); }
.look-switch a[aria-current] { background: #fff; color: #121315; }

/* ---------- team (same layout as Vera's) ---------- */
.team { background: var(--dark); color: #fff; border-radius: 40px 40px 0 0; }
.team .eyebrow { color: rgba(255,255,255,.6); }
.team-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.team-top h2 { max-width: 14ch; }
.team .lede { margin-top: 10px; color: rgba(255,255,255,.65); }
.beliefs { list-style: none; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.beliefs b { display: block; font-size: .9rem; font-weight: 600; }
.beliefs span { display: block; margin-top: 6px; font-size: .85rem; line-height: 1.5; color: rgba(255,255,255,.5); }
.team-head { margin-top: 96px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.team-head h3 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1; letter-spacing: -0.045em; font-weight: 600; }
.team-head p { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.people { list-style: none; margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.person { display: block; padding: 6px; border-radius: 30px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.person:hover { transform: translateY(-6px); }
.person:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 24px; background: #1d1f23; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.person:hover .photo img { transform: scale(1.04); }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), transparent 55%); opacity: .6; transition: opacity .5s; pointer-events: none; }
.person:hover .photo::after { opacity: 1; }
.li-badge { position: absolute; top: 16px; right: 16px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.4); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); backdrop-filter: blur(10px); transition: background .5s; }
.person:hover .li-badge { background: #0a66c2; }
.li-pill { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 6px 6px 6px 16px; border-radius: 999px; background: #fff; color: #121315; font-size: .88rem; font-weight: 500; opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s cubic-bezier(.2,.8,.2,1); }
.li-pill i { width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,.08); display: grid; place-items: center; }
.person:hover .li-pill, .person:focus-visible .li-pill { opacity: 1; transform: none; }
.who { padding: 20px 16px 16px; }
.who b { display: block; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.03em; }
.who span { display: block; margin-top: 4px; font-size: .88rem; color: rgba(255,255,255,.5); }
@media (max-width: 960px) {
  .team-top { grid-template-columns: 1fr; gap: 16px; }
  .beliefs { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr 1fr; }
  .team-head p { display: none; }
  .team-head { margin-top: 64px; }
}
@media (max-width: 600px) { .people { grid-template-columns: 1fr; } }
