:root {
  --bg: #070708;
  --bg-2: #0c0c0e;
  --surface: #121215;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3efe8;
  --muted: #a39f97;
  --faint: #6b6862;
  --gold: #e3b25a;
  --gold-2: #f6d28c;
  --gold-ink: #1a1206;
  --gold-soft: rgba(227, 178, 90, 0.12);
  --radius: 18px;
  --maxw: 1240px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
em { font-style: italic; }
::selection { background: var(--gold); color: var(--gold-ink); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--gold); color: var(--gold-ink); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* Film grain */
.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  padding: 15px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--gold-ink); box-shadow: 0 0 0 1px rgba(246,210,140,.4) inset, 0 10px 30px -10px rgba(227,178,90,.55); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(246,210,140,.6) inset, 0 14px 40px -10px rgba(227,178,90,.75); }
.btn-line { border-color: rgba(243,239,232,.3); color: var(--text); backdrop-filter: blur(6px); background: rgba(7,7,8,.25); }
.btn-line:hover { border-color: var(--text); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-lg { padding: 18px 30px; font-size: 16px; }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7,7,8,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 36px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { height: 38px; width: auto; }
.footer-logo { display: inline-block; }
.footer-logo img { width: 150px; height: auto; }
.brand-name { display: flex; flex-direction: column; gap: 5px; font: 600 17px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.brand-name span { font-size: 8.5px; font-weight: 500; letter-spacing: .32em; color: #cfcac1; white-space: nowrap; }
.nav-links { display: flex; gap: 32px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--gold); transition: right .3s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; }
.nav-toggle, .mobile-menu { display: none; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 140px 0 120px; }
.hero-media { position: absolute; inset: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(1.04); animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.1) translateX(-1.5%); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,7,8,.92) 0%, rgba(7,7,8,.6) 42%, rgba(7,7,8,.05) 75%),
    linear-gradient(0deg, var(--bg) 0%, transparent 28%),
    linear-gradient(180deg, rgba(7,7,8,.6) 0%, transparent 22%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero h1 { font: 400 clamp(54px, 8.6vw, 132px)/.95 var(--serif); letter-spacing: -0.02em; margin: 0 0 30px; max-width: 13ch; }
.hero h1 em { color: var(--gold); background: linear-gradient(100deg, var(--gold-2), var(--gold) 50%, #b9852f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em; }
.lede { font-size: clamp(17px, 1.5vw, 20px); font-weight: 300; color: #cfcac1; max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 32px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(243,239,232,.35); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; border-radius: 2px; background: var(--gold); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg-2); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 36px; animation: marquee 48s linear infinite; }
.marquee span { font: italic 28px/1 var(--serif); color: #d8d3ca; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--gold); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Statement */
.statement { padding: 150px 0 110px; }
.statement-text { font: 400 clamp(30px, 3.6vw, 52px)/1.18 var(--serif); letter-spacing: -0.01em; color: #8f8a82; max-width: 26ch; max-width: 1050px; }
.statement-text span { color: var(--text); }

/* Numbers */
.numbers { padding: 0 0 130px; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.num { padding: 36px 28px 0 0; }
.num + .num { padding-left: 28px; border-left: 1px solid var(--line); }
.num strong { display: block; font: 400 clamp(46px, 5vw, 72px)/1 var(--serif); color: var(--gold); letter-spacing: -0.02em; }
.num p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 22ch; }

/* Sections */
.section { padding: 130px 0; position: relative; }
.section-head { max-width: 800px; margin-bottom: 72px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .28em; margin-bottom: 22px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.section-head.center .kicker::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.section h2, .book h2 { font: 400 clamp(40px, 5.2vw, 76px)/1.02 var(--serif); letter-spacing: -0.02em; }
.section h2 em, .book h2 em { color: var(--gold); }
.section-sub { color: var(--muted); font-size: 18px; font-weight: 300; margin-top: 22px; }

/* Capabilities */
.cap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.cap:last-child { border-bottom: 1px solid var(--line); }
.cap-flip .cap-media { order: 2; }
.cap-media { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.3; position: relative; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.cap-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); background: linear-gradient(180deg, transparent 60%, rgba(7,7,8,.35)); }
.cap-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.cap:hover .cap-media img { transform: scale(1.12); }
.cap-num { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.cap h3 { font: 400 clamp(32px, 3.2vw, 46px)/1.05 var(--serif); letter-spacing: -0.01em; margin: 16px 0 14px; }
.cap-lead { color: #cfcac1; font-size: 18px; font-weight: 300; margin-bottom: 28px; }
.cap-list { list-style: none; margin: 0; padding: 0; }
.cap-list li { position: relative; padding: 13px 0 13px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.55; }
.cap-list li::before { content: ""; position: absolute; left: 2px; top: 1.32em; width: 12px; height: 1px; background: var(--gold); }
.cap-list b { color: var(--text); font-weight: 500; }

/* AI section */
.ai-section { overflow: hidden; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ai-bg { position: absolute; inset: 0; background: url("assets/texture.jpg") center / cover no-repeat; opacity: .55; }
.ai-section .wrap { position: relative; }
.flows { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
.flow-tabs { display: grid; gap: 10px; }
.flow-tabs button {
  display: flex; align-items: center; gap: 16px; text-align: left;
  font: 400 16px/1.3 var(--sans); color: var(--muted); background: rgba(18,18,21,.6);
  border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; cursor: pointer;
  transition: color .25s, border-color .25s, background .25s;
  backdrop-filter: blur(8px);
}
.flow-tabs button span { font: italic 20px/1 var(--serif); color: var(--faint); transition: color .25s; }
.flow-tabs button:hover { color: var(--text); border-color: var(--line-strong); }
.flow-tabs button[aria-selected="true"] { color: var(--text); border-color: rgba(227,178,90,.55); background: linear-gradient(90deg, rgba(227,178,90,.14), rgba(18,18,21,.6)); }
.flow-tabs button[aria-selected="true"] span { color: var(--gold); }
.flow-panel { background: rgba(18,18,21,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 40px; min-height: 470px; }
.flow-summary { font: 400 clamp(22px, 2vw, 28px)/1.3 var(--serif); max-width: 40ch; }
.flow-steps { list-style: none; margin: 32px 0; padding: 0; counter-reset: s; }
.flow-steps li { counter-increment: s; position: relative; padding: 0 0 22px 56px; animation: rise .5s var(--ease) both; }
.flow-steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font: 500 12px/1 var(--sans); color: var(--gold); border: 1px solid rgba(227,178,90,.45); background: rgba(7,7,8,.6);
}
.flow-steps li::after { content: ""; position: absolute; left: 17.5px; top: 40px; bottom: 4px; width: 1px; background: linear-gradient(var(--gold), transparent); opacity: .5; }
.flow-steps li:last-child { padding-bottom: 0; }
.flow-steps li:last-child::after { display: none; }
.flow-steps strong { display: block; font-weight: 500; font-size: 16px; padding-top: 6px; }
.flow-steps span { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }
.flow-outcome { border-top: 1px solid var(--line); padding-top: 22px; color: #cfcac1; font-size: 15px; }
.flow-outcome b { color: var(--gold); font-weight: 500; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.process li { padding: 36px 28px 0 0; position: relative; }
.process li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.process li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold); }
.process li + li::before { left: -4px; }
.step { display: block; font: italic 54px/1 var(--serif); color: var(--gold); margin-bottom: 22px; }
.process h3 { font: 400 28px/1.1 var(--serif); margin-bottom: 12px; }
.process p { color: var(--muted); font-size: 15px; }

/* About */
.about-section { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about { display: grid; grid-template-columns: 1.35fr 1fr; gap: 88px; align-items: start; }
.about-copy p:not(.kicker) { color: var(--muted); font-size: 17px; margin-top: 20px; }
.pull { margin: 36px 0 12px; padding-left: 28px; border-left: 1px solid var(--gold); font: italic 400 clamp(24px, 2.2vw, 30px)/1.3 var(--serif); color: var(--text); }
.about-copy .btn { margin-top: 40px; }
.about-card { position: sticky; top: 110px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 30px; overflow: hidden; }
.about-portrait {
  aspect-ratio: 4 / 4.2; border-radius: 12px; position: relative; overflow: hidden;
  background: url("assets/hero-sm.jpg") 78% 50% / cover;
  display: grid; place-items: center;
}
.about-portrait::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,7,8,.15), rgba(7,7,8,.75)); }
.portrait-ring {
  position: relative; display: block; width: 74%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(246,210,140,.85), 0 0 0 9px rgba(7,7,8,.55), 0 0 0 10px rgba(227,178,90,.35), 0 30px 70px -20px rgba(227,178,90,.45);
}
/* slight zoom hides the dark corners baked into the source crop */
.portrait-ring img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.about-name { font: 400 32px/1.1 var(--serif); margin: 26px 16px 0; }
.about-role { color: var(--gold); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; margin: 8px 16px 0; }
.about-facts { margin: 22px 16px 0; }
.about-facts div { padding: 14px 0; border-top: 1px solid var(--line); }
.about-facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: var(--faint); }
.about-facts dd { margin: 5px 0 0; font-size: 15px; }

/* Fit */
.fit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; transition: border-color .3s, transform .3s var(--ease); }
.fit:hover { border-color: rgba(227,178,90,.45); transform: translateY(-3px); }
.fit h3 { font: 400 26px/1.1 var(--serif); margin-bottom: 14px; }
.fit p { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq-section { padding-top: 40px; }
.faq-wrap { max-width: 900px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 28px 48px 28px 0; position: relative; font: 400 clamp(22px, 2vw, 27px)/1.25 var(--serif); transition: color .2s; }
.faq summary:hover { color: var(--gold-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--gold); font: 300 30px/1 var(--sans); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 48px 28px 0; font-size: 16px; }

/* Book */
.book { position: relative; padding: 170px 0 150px; overflow: hidden; }
.book-bg { position: absolute; inset: 0; background: url("assets/horizon.jpg") center 60% / cover no-repeat; }
.book-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(7,7,8,.45) 30%, rgba(7,7,8,.55) 65%, var(--bg) 100%); }
.book-inner { position: relative; }
.book .section-head { margin-bottom: 56px; }
.book .section-sub { color: #d6d1c8; }
.book-frame { max-width: 1020px; margin: 0 auto; background: rgba(12,12,14,.82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(227,178,90,.3); border-radius: 22px; overflow: hidden; box-shadow: 0 50px 120px -40px rgba(0,0,0,.9); }
.calendly-inline-widget { min-width: 320px; height: 720px; }
.calendly-inline-widget:empty { display: none; }
.book-fallback { padding: 72px 32px; text-align: center; }
.book-fallback-title { font: 400 38px/1.1 var(--serif); margin-bottom: 14px; }
.book-fallback p:not(.book-fallback-title) { color: var(--muted); margin: 0 auto 30px; max-width: 46ch; }
.book-alt { text-align: center; color: var(--muted); margin-top: 26px; font-size: 15px; }
.book-alt a { color: var(--gold); text-decoration: none; }
.book-alt a:hover { text-decoration: underline; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 100px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: start; }
.footer-tag { color: var(--muted); font-size: 14px; margin-top: 16px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-legal { grid-column: 1 / -1; color: var(--faint); font-size: 13px; padding-top: 26px; border-top: 1px solid var(--line); }

.sticky-cta { display: none; }

/* Responsive */
@media (max-width: 1080px) {
  .cap { grid-template-columns: 1fr 1fr; gap: 44px; }
  .flows { grid-template-columns: 1fr; }
  .flow-tabs { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 56px; }
  .about-card { position: static; max-width: 460px; }
  .fit-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .process li:nth-child(3) { padding-left: 0; border-left: 0; }
  .process li:nth-child(3)::before { left: 0; }
}

@media (max-width: 860px) {
  .nav { background: rgba(7,7,8,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
  .nav-inner { height: 66px; }
  .nav-links, .nav-inner > .btn { display: none; }
  .nav-toggle { display: grid; gap: 6px; margin-left: auto; padding: 10px; background: none; border: 0; cursor: pointer; }
  .nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: transform .25s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .mobile-menu:not([hidden]) { display: grid; padding: 8px 16px 22px; border-top: 1px solid var(--line); }
  .mobile-menu a:not(.btn) { padding: 15px 2px; color: var(--text); text-decoration: none; font: 400 24px/1 var(--serif); border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 18px; }

  .hero { align-items: flex-end; padding: 120px 0 100px; }
  .hero-video { object-position: 72% 50%; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 8%, rgba(7,7,8,.8) 45%, rgba(7,7,8,.3) 100%); }
  .cap, .cap-flip { grid-template-columns: 1fr; gap: 32px; padding: 44px 0; }
  .cap-flip .cap-media { order: 0; }
  .cap-media { aspect-ratio: 16 / 11; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .num:nth-child(3) { padding-left: 0; border-left: 0; }
  .num:nth-child(n+3) { padding-top: 40px; }
  .footer-inner { grid-template-columns: 1fr; }

  .sticky-cta {
    display: inline-flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
    transition: opacity .3s, transform .3s var(--ease);
  }
  .sticky-cta.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero h1 { margin: 0 0 22px; }
  .hero-cta .btn { width: 100%; }
  .scroll-cue { display: none; }
  .marquee span { font-size: 22px; }
  .statement { padding: 100px 0 80px; }
  .numbers { padding-bottom: 90px; }
  .num { padding-right: 12px; }
  .num + .num { padding-left: 14px; }
  .num:nth-child(3) { padding-left: 0; }
  .section { padding: 90px 0; }
  .section-head { margin-bottom: 48px; }
  .flow-tabs { grid-template-columns: 1fr; }
  .flow-panel { padding: 28px 20px; }
  .process { grid-template-columns: 1fr; }
  .process li, .process li + li { padding-left: 0; border-left: 0; }
  .process li::before, .process li + li::before { left: 0; }
  .fit-grid { grid-template-columns: 1fr; }
  .book { padding: 110px 0 100px; }
  .calendly-inline-widget { height: 1020px; }
  .faq summary { padding-right: 36px; }
  .faq details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-video { animation: none; transform: none; }
  .marquee-track, .scroll-cue span, .flow-steps li { animation: none; }
}

/* TAPS AI chat */
.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; }
.taps { position: fixed; right: 24px; bottom: 24px; z-index: 70; font-family: var(--sans); }
.taps-launcher {
  display: grid; place-items: center; width: 60px; height: 60px; padding: 0; cursor: pointer;
  border-radius: 50%; background: rgba(12,12,14,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(227,178,90,.5); box-shadow: 0 18px 50px -12px rgba(0,0,0,.8), 0 0 0 4px rgba(227,178,90,.06);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.taps-launcher:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 22px 60px -12px rgba(0,0,0,.85), 0 0 0 6px rgba(227,178,90,.1); }
.taps-launcher b {
  display: block; text-align: center; font: 700 12px/1.15 var(--sans); letter-spacing: .12em; padding-left: .12em; color: var(--gold);
  background: linear-gradient(100deg, var(--gold-2), var(--gold) 55%, #c4913a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.taps.is-open .taps-launcher { display: none; }

.taps-panel {
  position: absolute; right: 0; bottom: 0; width: 392px; height: min(640px, calc(100vh - 120px));
  display: flex; flex-direction: column; overflow: hidden;
  background: rgba(10,10,12,.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(227,178,90,.32); border-radius: 22px;
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.95), 0 0 80px -40px rgba(227,178,90,.35);
  animation: taps-in .35s var(--ease);
}
.taps-panel[hidden] { display: none; }
@keyframes taps-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.taps-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(227,178,90,.08), transparent); }
.taps-id { display: flex; align-items: center; gap: 12px; }
.taps-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #070708; border: 1px solid rgba(227,178,90,.5); }
.taps-avatar img { width: 24px; height: auto; }
.taps-name { font: 600 15px/1.1 var(--sans); letter-spacing: .14em; }
.taps-status { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.taps-status i { width: 7px; height: 7px; border-radius: 50%; background: #5fd18b; box-shadow: 0 0 8px #5fd18b; }
.taps-close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; transition: color .2s, border-color .2s; }
.taps-close:hover { color: var(--text); border-color: var(--text); }

.taps-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; scrollbar-color: #2a2a2f transparent; }
.taps-msg { max-width: 86%; padding: 11px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }
.taps-msg p + p, .taps-msg p + ul, .taps-msg ul + p { margin-top: 8px; }
.taps-msg ul { margin: 6px 0 0; padding-left: 18px; }
.taps-msg li { margin: 3px 0; }
.taps-msg a { color: var(--gold-2); }
.taps-msg strong { color: var(--text); font-weight: 600; }
.taps-assistant { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); color: #dcd7cf; border-bottom-left-radius: 6px; }
.taps-user { align-self: flex-end; background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--gold-ink); border-bottom-right-radius: 6px; }
.taps-user a { color: var(--gold-ink); }
.taps-msg.is-typing { display: flex; gap: 5px; padding: 15px 16px; }
.taps-msg.is-typing::before, .taps-msg.is-typing::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: taps-dot 1s infinite ease-in-out; }
.taps-msg.is-typing::after { animation-delay: .2s; }
@keyframes taps-dot { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

.taps-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px; }
.taps-chips:not(:empty) { padding-bottom: 12px; }
.taps-chips button { font: 400 13px/1.2 var(--sans); color: var(--text); background: transparent; border: 1px solid rgba(227,178,90,.35); border-radius: 999px; padding: 8px 12px; cursor: pointer; transition: background .2s, border-color .2s; }
.taps-chips button:hover { background: var(--gold-soft); border-color: var(--gold); }

.taps-form { display: flex; align-items: flex-end; gap: 8px; margin: 0 14px; padding: 6px 6px 6px 14px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--surface); transition: border-color .2s; }
.taps-form:focus-within { border-color: rgba(227,178,90,.6); }
.taps-form textarea { flex: 1; resize: none; border: 0; outline: none; background: none; color: var(--text); font: 400 15px/1.45 var(--sans); padding: 8px 0; max-height: 120px; }
.taps-form textarea::placeholder { color: var(--faint); }
.taps-form button { flex: none; width: 38px; height: 38px; border-radius: 12px; border: 0; cursor: pointer; background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--gold-ink); font-size: 18px; font-weight: 600; transition: opacity .2s; }
.taps-form.is-busy button { opacity: .45; pointer-events: none; }
.taps-book { display: block; margin: 10px 14px 0; text-align: center; font-size: 13.5px; color: var(--gold); text-decoration: none; padding: 9px; border-radius: 12px; border: 1px solid rgba(227,178,90,.25); transition: background .2s; }
.taps-book:hover { background: var(--gold-soft); }
.taps-note { text-align: center; color: var(--faint); font-size: 11px; padding: 8px 14px 12px; }

@media (max-width: 860px) {
  .taps { right: 16px; bottom: 84px; }
  body.taps-open .sticky-cta { opacity: 0; pointer-events: none; }
}
@media (max-width: 560px) {
  .taps-launcher { width: 54px; height: 54px; }
  .taps-launcher b { font-size: 11px; }
  .taps.is-open { inset: 0; right: 0; bottom: 0; }
  .taps-panel { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; border: 0; }
  .taps-msg { font-size: 15px; }
  .taps-form textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .taps-panel { animation: none; }
  .taps-msg.is-typing::before, .taps-msg.is-typing::after { animation: none; opacity: .7; }
}
.footer-links a.footer-social { display: inline-flex; align-items: center; gap: 7px; color: var(--gold); }
.footer-links a.footer-social:hover { color: var(--gold-2); }

/* Legal pages */
.legal-page .nav-inner > .legal-back { display: inline-flex; margin-left: auto; }
.legal { padding: 150px 0 110px; }
.legal-wrap { max-width: 860px; }
.legal h1 { font: 400 clamp(46px, 6vw, 76px)/1.02 var(--serif); letter-spacing: -0.02em; }
.legal-meta { color: var(--faint); font-size: 14px; margin-top: 16px; }
.legal h2 { font: 400 clamp(26px, 2.6vw, 34px)/1.15 var(--serif); margin: 64px 0 18px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal h3 { font: 600 15px/1.4 var(--sans); letter-spacing: .02em; color: var(--text); margin: 28px 0 10px; }
.legal p, .legal li { color: #bdb8af; font-size: 16px; line-height: 1.75; }
.legal p + p { margin-top: 14px; }
.legal ul, .legal ol { padding-left: 22px; margin: 12px 0; }
.legal li { margin: 8px 0; }
.legal li::marker { color: var(--gold); }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--gold-2); text-underline-offset: 3px; }
.legal section { scroll-margin-top: 90px; }
.legal-toc { margin: 44px 0 0; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.legal-toc > p { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.legal-toc ol { columns: 2; column-gap: 32px; margin: 14px 0 0; }
.legal-toc li { font-size: 14.5px; margin: 5px 0; break-inside: avoid; }
.legal-toc a { color: #cfcac1; text-decoration: none; }
.legal-toc a:hover { color: var(--gold-2); }
.legal-callout { padding: 22px 26px; border-left: 2px solid var(--gold); background: linear-gradient(90deg, rgba(227,178,90,.08), transparent); border-radius: 0 12px 12px 0; }
.legal-callout ul { margin: 0; }
.legal-table { margin: 20px 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.legal-row { display: grid; grid-template-columns: 1fr 1.2fr 1.6fr; gap: 20px; padding: 16px 20px; border-top: 1px solid var(--line); font-size: 14.5px; color: #bdb8af; line-height: 1.6; }
.legal-row:first-child { border-top: 0; }
.legal-head { background: var(--surface); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.legal-address { font-style: normal; color: #bdb8af; line-height: 1.8; padding: 20px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.footer-links a[aria-current="page"] { color: var(--gold); }
.book-legal { text-align: center; color: var(--faint); font-size: 13px; margin-top: 10px; }
.book-legal a { color: var(--muted); }
@media (max-width: 860px) {
  .legal { padding: 120px 0 90px; }
}
@media (max-width: 560px) {
  .legal-toc ol { columns: 1; }
  .legal-row { grid-template-columns: 1fr; gap: 6px; }
  .legal-head { display: none; }
  .legal-page .legal-back { padding: 8px 12px; font-size: 12.5px; }
  .legal-page .brand-name span { letter-spacing: .2em; }
}
