:root {
  --bg:        #100e0a;
  --bg-soft:   #181610;
  --bg-card:   #201d15;
  --line:      rgba(180,150,75,0.26);
  --line-soft: rgba(255,255,255,0.07);
  --text:      #f1ece1;
  --muted:     #9c968a;
  --muted-2:   #6e685e;
  --gold:      #bea35f;
  --gold-2:    #d3bc7b;
  --gold-deep: #cfb572;
  --gold-grad: linear-gradient(135deg, #d6bf7d 0%, #b6954a 52%, #96752a 100%);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
/* Fine film grain for a tactile, premium-print feel */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: #14120d; }

/* Keyboard focus — visible only for keyboard users, not mouse clicks */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline-offset: 4px; }

/* ---------- Shared ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
/* Centered eyebrows get a matching line on the right so the tag reads symmetrically */
.section-head.center .eyebrow::after,
.eyebrow.center::after {
  content: ""; width: 28px; height: 1px; background: var(--gold); opacity: 0.6;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.06; letter-spacing: -0.01em; text-wrap: balance; }
.display { font-size: clamp(2.6rem, 6.5vw, 5.4rem); }
.h2      { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.lede    { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); font-weight: 300; text-wrap: pretty; }

.gold-text {
  background: linear-gradient(135deg, #dfc884 0%, #c5a963 55%, #af8e43 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-deep);
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  letter-spacing: 0.02em;
  padding: 15px 30px; border-radius: 100px;
  cursor: pointer; border: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s ease;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, #bf9d52 0%, #a68843 55%, #8a6d2f 100%);
  color: #14120d;
  box-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 8px 20px -6px rgba(135,111,50,0.36); }
.btn-ghost {
  background: rgba(255,255,255,0.05); color: var(--text);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--gold); transform: translateY(-3px); }
.btn-outline {
  background: transparent; color: var(--gold-deep);
  border: 1px solid var(--gold);
}
.btn-outline:hover { background: rgba(190,163,95,0.12); border-color: var(--gold-deep); transform: translateY(-2px); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Nav ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s ease, border-color .4s ease, padding .4s ease;
  border-bottom: 1px solid transparent;
  padding: 22px 0;
}
nav.scrolled {
  background: rgba(16,14,10,0.82);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }
.brand .name { font-family: "Roboto", var(--sans); font-size: 1.15rem; font-weight: 500; letter-spacing: 0.01em; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 14px; color: var(--muted); font-weight: 500; transition: color .25s ease; position: relative; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-links .btn { padding: 11px 22px; line-height: 1.2; }
@media (max-width: 880px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(16,14,10,0.92) 0%, rgba(16,14,10,0.30) 30%, rgba(16,14,10,0.72) 100%),
    radial-gradient(125% 95% at 8% 50%, rgba(16,14,10,0.96) 0%, rgba(16,14,10,0.15) 62%);
}
.hero-content { position: relative; z-index: 2; padding: 140px 0 90px; }
.hero h1 { margin: 26px 0 24px; max-width: 16ch; }
.hero .lede { max-width: 52ch; color: #c4bdb0; }
.hero-cta { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.hero-scroll .line { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: scrollLine 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollLine { 0%{transform:scaleY(0);opacity:0} 40%{transform:scaleY(1);opacity:1} 100%{transform:scaleY(1);opacity:0} }

/* trust bar */
.trust { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-soft); }
.trust-inner { display: flex; align-items: center; gap: 40px; padding: 26px 0; flex-wrap: wrap; justify-content: center; }
.trust .label { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted-2); }
.trust .logos { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; }
.trust .logos span { font-family: var(--serif); font-size: 1.25rem; color: var(--muted); font-weight: 500; opacity: 0.75; transition: opacity .3s, color .3s; }
.trust .logos span:hover { opacity: 1; color: var(--text); }

/* ---------- Section scaffolding ---------- */
section { position: relative; }
section[id], header[id] { scroll-margin-top: 90px; }
.section-pad { padding: clamp(80px, 11vh, 150px) 0; }
.section-head { max-width: 720px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head .h2 { margin: 20px 0 0; }
.section-head .lede { margin-top: 22px; }

/* ---------- Intro / stats ---------- */
.intro-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: center; }
.intro-copy p { color: var(--muted); margin-top: 22px; font-size: 1.08rem; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; }
.stat { background: var(--bg-card); padding: 34px 30px; position: relative; transition: background .35s ease; }
.stat::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold-grad); opacity: 0; transition: opacity .35s; }
.stat:hover { background: #2a261c; }
.stat:hover::before { opacity: 0.9; }
.stat .num { font-family: var(--serif); font-size: clamp(2.4rem,4vw,3.2rem); line-height: 1; }
.stat .lbl { font-size: 13px; color: var(--muted); margin-top: 10px; letter-spacing: 0.02em; }
@media (max-width: 880px){ .intro-grid{ grid-template-columns: 1fr; gap: 44px; } }

/* ---------- Showcase (3D demo) ---------- */
.showcase { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.browser {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #14120d;
  box-shadow: 0 50px 110px -45px rgba(0,0,0,0.75), 0 8px 24px -16px rgba(0,0,0,0.55);
  margin-top: 56px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.browser:hover {
  transform: translateY(-5px);
  box-shadow: 0 70px 130px -45px rgba(0,0,0,0.85), 0 14px 32px -16px rgba(0,0,0,0.6);
}
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: #161310; border-bottom: 1px solid var(--line-soft); }
.browser-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.browser-bar .dot:nth-child(1){ background: rgba(255,255,255,0.22); }
.browser-url { margin-left: 16px; flex: 1; max-width: 360px; background: #0f0d0a; border: 1px solid var(--line-soft); border-radius: 7px; padding: 6px 14px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.browser-url svg { flex: none; }
.browser video { width: 100%; display: block; }
.showcase-features { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 52px; }
.mini { display: flex; gap: 16px; align-items: flex-start; }
.mini .ic { flex: none; width: 42px; height: 42px; border-radius: 10px; background: rgba(190,163,95,0.10); border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); }
.mini h4 { font-family: var(--sans); font-size: 15px; font-weight: 600; }
.mini p { font-size: 14px; color: var(--muted); margin-top: 5px; }
@media (max-width: 760px){ .showcase-features{ grid-template-columns: 1fr; gap: 24px; } }

/* ---------- 360° walkthrough ---------- */
.tour {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #14120d;
  box-shadow: 0 50px 110px -45px rgba(0,0,0,0.75), 0 8px 24px -16px rgba(0,0,0,0.55);
  margin-top: 56px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tour:hover {
  transform: translateY(-5px);
  box-shadow: 0 70px 130px -45px rgba(0,0,0,0.85), 0 14px 32px -16px rgba(0,0,0,0.6);
}
.tour-bar { display: flex; align-items: center; gap: 16px; padding: 13px 18px; background: #161310; border-bottom: 1px solid var(--line-soft); }
.tour-tag {
  display: flex; align-items: center; gap: 9px; flex: none;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; color: var(--gold-deep);
}
.tour-tag svg { flex: none; }
.tour-unit { flex: 1; font-size: 12px; color: var(--muted); border-left: 1px solid var(--line-soft); padding-left: 16px; }
.tour-hint { flex: none; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted-2); }
.tour-hint svg { flex: none; }
.tour video { width: 100%; display: block; }
@media (max-width: 620px){ .tour-hint, .tour-unit { display: none; } }

/* ---------- Feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.feature-row + .feature-row { margin-top: clamp(80px, 10vh, 130px); }
.feature-row.reverse .f-media { order: 2; }
.feature-media-frame {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line-soft);
  background: var(--bg-card); position: relative;
  box-shadow: 0 40px 80px -50px rgba(0,0,0,0.8), 0 6px 20px -14px rgba(0,0,0,0.55);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.feature-media-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 60px 110px -50px rgba(0,0,0,0.9), 0 12px 30px -16px rgba(0,0,0,0.6);
}
.feature-media-frame video, .feature-media-frame img { width: 100%; display: block; }
.feature-media-frame .badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(18,16,12,0.78); backdrop-filter: blur(8px);
  border: 1px solid var(--line); color: var(--gold-deep);
  padding: 7px 14px; border-radius: 100px; font-weight: 600;
}
.f-copy .h2 { margin: 18px 0 0; }
.f-copy p { color: var(--muted); margin-top: 20px; font-size: 1.06rem; }
.f-list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.f-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 15px; color: #b4ada0; }
.f-list li svg { flex: none; margin-top: 3px; color: var(--gold); }
@media (max-width: 880px){
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.reverse .f-media { order: 0; }
}

/* ---------- Capability grid ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; }
.cap {
  background: var(--bg-card); border: 1px solid var(--line-soft); border-radius: 16px;
  padding: 34px 30px; transition: transform .4s var(--ease), border-color .4s ease, background .4s ease;
  position: relative; overflow: hidden;
}
.cap::after { content:""; position:absolute; inset:0; background: var(--gold-grad); opacity:0; transition: opacity .4s; height:2px; top:0; }
.cap:hover { transform: translateY(-6px); border-color: var(--line); background: #2a261c; box-shadow: 0 24px 50px -34px rgba(0,0,0,0.7); }
.cap:hover::after { opacity: 0.9; }
.cap .ic { width: 52px; height: 52px; border-radius: 12px; background: rgba(190,163,95,0.08); border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); margin-bottom: 22px; }
.cap h3 { font-family: var(--sans); font-size: 1.12rem; font-weight: 600; }
.cap p { font-size: 14.5px; color: var(--muted); margin-top: 12px; }
@media (max-width: 880px){ .cap-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .cap-grid{ grid-template-columns: 1fr; } }

/* ---------- Construction timeline ---------- */
.timeline { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.tl-stage {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-soft); margin-top: 48px;
  box-shadow: 0 40px 80px -50px rgba(0,0,0,0.8), 0 6px 20px -14px rgba(0,0,0,0.55);
  aspect-ratio: 500 / 360; background: #000;
}
.tl-stage img { position: absolute; inset:0; width:100%; height:100%; object-fit: cover; opacity:0; transition: opacity .8s var(--ease); }
.tl-stage img.active { opacity: 1; }
.tl-stage .grade { position:absolute; inset:0; background: linear-gradient(180deg, rgba(11,12,15,0.5) 0%, transparent 30%, transparent 55%, rgba(11,12,15,0.9) 100%); z-index:2; }
.tl-caption { position:absolute; left:28px; bottom:26px; z-index:3; color:#fdfaf3; text-shadow: 0 2px 16px rgba(0,0,0,0.45); }
.tl-caption .stagecount { font-size:12px; letter-spacing:0.24em; text-transform:uppercase; color:#dcc587; font-weight:600; }
.tl-caption .stagename { font-family: var(--serif); font-size: clamp(1.6rem,3vw,2.4rem); margin-top: 6px; }
.tl-controls { display:flex; gap:0; margin-top: 28px; border:1px solid var(--line-soft); border-radius: 14px; overflow:hidden; background: var(--bg-card); }
.tl-btn {
  flex:1; background:transparent; border:none; cursor:pointer; color:var(--muted);
  padding: 20px 14px; text-align:left; transition: background .3s, color .3s;
  border-right: 1px solid var(--line-soft); position:relative; font-family: var(--sans);
}
.tl-btn:last-child { border-right: none; }
.tl-btn:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.tl-btn.active { background: rgba(190,163,95,0.12); color: var(--text); }
.tl-btn.active::before { content:""; position:absolute; top:0; left:0; right:0; height:2px; background: var(--gold-grad); }
.tl-btn .step { font-size: 11px; letter-spacing: 0.12em; color: var(--muted-2); margin-right: 4px; }
.tl-btn.active .step { color: var(--gold); }
.tl-btn .name { font-size: 14px; font-weight: 600; margin-top: 6px; }
@media (max-width: 760px){
  .tl-controls{ flex-wrap: wrap; }
  .tl-btn{ flex: 1 1 40%; border-bottom: 1px solid var(--line-soft); }
}

/* ---------- Platform / business ---------- */
.platform-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 56px; }
.pcard {
  background: var(--bg-card); border:1px solid var(--line-soft); border-radius:16px;
  padding: 38px; display:flex; gap: 24px; align-items:flex-start;
  transition: border-color .4s ease, transform .4s var(--ease);
}
.pcard:hover { border-color: var(--line); transform: translateY(-4px); box-shadow: 0 24px 50px -34px rgba(0,0,0,0.7); }
.pcard .ic { flex:none; width:54px;height:54px;border-radius:12px;background:var(--gold-grad);display:grid;place-items:center;color:#271c08; }
.pcard h3 { font-family: var(--sans); font-size:1.15rem; font-weight:600; }
.pcard p { color: var(--muted); margin-top:10px; font-size:15px; }
@media (max-width:760px){ .platform-grid{ grid-template-columns:1fr; } .pcard{ padding:28px; } }

/* ---------- Immersive band ---------- */
.band { position: relative; height: 60vh; min-height: 440px; display:flex; align-items:center; overflow:hidden; }
.band video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.band .ov { position:absolute; inset:0; z-index:1; background: linear-gradient(90deg, rgba(16,14,10,0.96) 0%, rgba(16,14,10,0.7) 50%, rgba(16,14,10,0.18) 100%); }
.band .wrap { position:relative; z-index:2; }
.band blockquote { font-family: var(--serif); font-size: clamp(1.8rem,3.6vw,3rem); max-width: 18ch; line-height:1.15; position: relative; }
.band blockquote::before {
  content: "\201C"; position: absolute; top: -0.5em; left: -0.14em; z-index: -1;
  font-family: var(--serif); font-weight: 600; font-size: 4.5em; line-height: 1;
  color: var(--gold); opacity: 0.14;
}
.band .who { margin-top: 24px; font-size:14px; color: var(--muted); letter-spacing:0.04em; }
.band .who strong { color: var(--text); font-weight:600; }

/* ---------- CTA ---------- */
.cta { text-align:center; position:relative; overflow:hidden; }
.cta::before {
  content:""; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width: 900px; height: 900px; max-width: 130vw;
  background: radial-gradient(circle, rgba(190,163,95,0.14) 0%, transparent 62%);
  z-index:0;
}
.cta .wrap { position:relative; z-index:1; }
.cta h2 { margin: 22px auto 0; max-width: 18ch; }
.cta .lede { margin: 24px auto 0; max-width: 54ch; }
.cta .hero-cta { justify-content:center; margin-top: 40px; }
.cta .note { margin-top: 26px; font-size: 13px; color: var(--muted-2); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line-soft); background: var(--bg-soft); padding: 64px 0 40px; }
.foot-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .brand { margin-bottom: 18px; }
.foot-brand p { color: var(--muted); font-size: 14px; max-width: 32ch; }
.foot-col h5 { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; font-weight:600; }
.foot-col a { display:block; color: var(--muted); font-size: 14px; margin-bottom: 12px; transition: color .25s; }
.foot-col a:hover { color: var(--gold); }
.foot-bottom { display:flex; justify-content:space-between; align-items:center; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--muted-2); flex-wrap:wrap; gap:16px; }
@media (max-width: 880px){ .foot-grid{ grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 520px){ .foot-grid{ grid-template-columns: 1fr; } }

/* ---------- Book-a-demo modal ---------- */
body.is-locked { overflow: hidden; }

.modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: 24px;
  background: rgba(8,7,5,0.78);
  backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
  overflow-y: auto;
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__card {
  position: relative;
  width: 100%; max-width: 520px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 44px 44px 40px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8);
  transform: translateY(18px) scale(0.985);
  transition: transform .4s var(--ease);
}
.modal.is-open .modal__card { transform: none; }
/* Gold hairline across the top, echoing the .stat cards */
.modal__card::before {
  content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 2px;
  background: var(--gold-grad); border-radius: 2px;
}
.modal__close {
  position: absolute; top: 16px; right: 18px;
  width: 34px; height: 34px; border-radius: 50%;
  background: transparent; border: 1px solid transparent;
  color: var(--muted); font-size: 24px; line-height: 1;
  cursor: pointer; transition: color .25s, border-color .25s;
}
.modal__close:hover { color: var(--gold); border-color: var(--line); }
.modal__card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 18px; }
.modal__sub { color: var(--muted); font-size: 15px; font-weight: 300; margin-top: 14px; }

.book-form { margin-top: 28px; display: grid; gap: 16px; }
.book-form__field { display: grid; gap: 7px; }
.book-form__field > span {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 600;
}
.book-form__opt { text-transform: none; letter-spacing: 0.02em; font-style: normal; opacity: 0.75; }
.book-form__field input,
.book-form__field textarea {
  font-family: var(--sans); font-size: 15px; color: var(--text);
  background: rgba(0,0,0,0.28);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 13px 15px;
  width: 100%;
  transition: border-color .25s, background .25s;
}
.book-form__field textarea { resize: vertical; min-height: 84px; }
.book-form__field input:focus,
.book-form__field textarea:focus { outline: none; border-color: var(--gold); background: rgba(0,0,0,0.4); }
.book-form__field input.is-invalid,
.book-form__field textarea.is-invalid { border-color: #d2704f; }
.book-form__field input::placeholder,
.book-form__field textarea::placeholder { color: var(--muted-2); }

/* Honeypot — off-screen for sighted users, hidden from AT and tab order */
.book-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.book-form__error { color: #e08a68; font-size: 14px; }
.book-form__submit { width: 100%; justify-content: center; margin-top: 4px; }
.book-form__submit:disabled { opacity: 0.6; cursor: progress; transform: none; filter: none; }
.book-form__note { font-size: 12px; color: var(--muted-2); text-align: center; }

.modal__success { text-align: center; padding: 12px 0 6px; }
.modal__tick {
  display: block; width: 54px; height: 54px; margin: 0 auto 22px;
  border-radius: 50%; border: 1px solid var(--gold);
  background: rgba(190,163,95,0.12);
  position: relative;
}
.modal__tick::after {
  content: ""; position: absolute; top: 45%; left: 50%;
  width: 9px; height: 17px;
  border: solid var(--gold-deep); border-width: 0 2px 2px 0;
  transform: translate(-50%,-50%) rotate(45deg);
}
.modal__success p { color: var(--muted); font-size: 15px; font-weight: 300; margin-top: 14px; }
.modal__success .btn { margin-top: 26px; }

@media (max-width: 520px) {
  .modal { padding: 0; place-items: stretch; }
  .modal__card { max-width: none; min-height: 100%; border-radius: 0; border: none; padding: 64px 24px 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .modal, .modal__card { transition: none; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; } .hero-scroll{ display:none; } }
