/* Magdalena Angelova - single page 3D experience
   Layout: a fixed WebGL canvas behind everything; six sticky "beats" drive the camera,
   then content panels scroll over the sunrise skyline. Night-city palette, single theme by design. */
:root {
  --ink: #06080f;
  --ink-2: #0b1020;
  --panel: rgba(8, 12, 22, 0.74);
  --panel-2: rgba(12, 17, 30, 0.88);
  --line: rgba(239, 231, 216, 0.14);
  --line-2: rgba(239, 231, 216, 0.28);
  --sand: #efe7d8;
  --sand-2: rgba(239, 231, 216, 0.68);
  --sand-3: rgba(239, 231, 216, 0.44);
  --gold: #d9b56a;
  --gold-2: #f1d395;
  --gold-dim: rgba(217, 181, 106, 0.18);
  --teal: #86c6d6;
  --danger: #eda493;
  --pop: #0d1322;
  --display: 'Instrument Serif', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --body: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--sand);
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(15px, 0.4vw + 13px, 17px);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, dt, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }

/* ---------- fixed layers ---------- */
.scene {
  position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh;
  z-index: 0; display: block; background: var(--ink);
}
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, -1%); } 100% { transform: translate(3%, 3%); } }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 60; width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid var(--gold); pointer-events: none; transform: translate(-50%, -50%);
  mix-blend-mode: difference; opacity: 0; transition: width .35s var(--ease), height .35s var(--ease), opacity .3s, background-color .3s;
}
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 56px; height: 56px; background: rgba(217, 181, 106, 0.12); }
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: var(--ink); padding-inline: var(--gutter-l) var(--gutter-r);
  transition: opacity .9s var(--ease), visibility .9s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-inner { width: min(420px, 100%); text-align: center; }
.loader-eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--sand-3); }
.loader-name { font-family: var(--display); font-size: clamp(38px, 6vw, 64px); line-height: 1; margin-block: 14px 28px; letter-spacing: -0.01em; }
.loader-name em, .wordmark em, .display em { font-style: italic; color: var(--gold-2); }
.loader-bar { height: 1px; background: var(--line); overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .35s var(--ease); }
.loader-hint { margin-top: 14px; font-size: 12px; color: var(--sand-3); letter-spacing: .08em; }

/* ---------- nav ---------- */
.nav {
  position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); z-index: 50;
  transition: transform .6s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav-inner {
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-inline: var(--gutter-l) var(--gutter-r);
  background: linear-gradient(to bottom, rgba(6, 8, 15, 0.72), rgba(6, 8, 15, 0));
}
.wordmark { font-family: var(--display); font-size: 22px; letter-spacing: 0.01em; white-space: nowrap; }
.nav-links { display: flex; gap: 28px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--sand-2); }
.nav-links a { position: relative; padding-block: 6px; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .5s var(--ease); }
.nav-links a:hover::after { right: 0; }
.nav-progress { height: 1px; background: transparent; }
.nav-progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform-origin: left; transform: scaleX(0); }
@media (max-width: 820px) { .nav-links { display: none; } .wordmark { font-size: 19px; } }

/* beat indicator (desktop only) */
.beats {
  position: fixed; right: max(22px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); z-index: 40;
  display: flex; flex-direction: column; gap: 14px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--sand-3);
  opacity: 0; transition: opacity .8s;
}
.beats.is-on { opacity: 1; }
.beats span { position: relative; padding-right: 22px; text-align: right; transition: color .5s; }
.beats span::after { content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color .5s, border-color .5s, transform .5s; }
.beats span.is-active { color: var(--sand); }
.beats span.is-active::after { background: var(--gold); border-color: var(--gold); transform: scale(1.3); }
@media (max-width: 1100px), (pointer: coarse) { .beats { display: none; } }

/* ---------- type ---------- */
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter-l) var(--gutter-r); }
.eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.display {
  font-family: var(--display); font-weight: 400; letter-spacing: -0.015em; line-height: 0.98;
  font-size: clamp(42px, 6.4vw, 92px); text-wrap: balance;
}
.display-xl { font-size: clamp(54px, 9.5vw, 148px); }
h3 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; letter-spacing: -0.01em; }
.lede { font-size: clamp(16px, 1.1vw + 10px, 20px); color: var(--sand-2); max-width: 36em; line-height: 1.55; }
.body { color: var(--sand-2); max-width: 34em; }
.center { margin-inline: auto; text-align: center; }
.fineprint { font-size: 12px; color: var(--sand-3); margin-top: 28px; }
.todo { color: var(--gold); }

/* word-reveal */
[data-reveal] .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
[data-reveal] .w > span { display: inline-block; transform: translateY(112%); will-change: transform; }
[data-reveal].is-in .w > span { transform: none; transition: transform 1.1s var(--ease); }
[data-reveal] .w > span { transition-delay: calc(var(--i, 0) * 28ms); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding-inline: 26px; border-radius: 999px; font-weight: 500; font-size: 14px; letter-spacing: .02em;
  border: 1px solid transparent; transition: transform .5s var(--ease), background-color .4s, color .4s, border-color .4s, box-shadow .5s;
  white-space: nowrap; will-change: transform;
}
.btn-sm { height: 42px; padding-inline: 18px; font-size: 13px; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 40px -14px rgba(217, 181, 106, 0.6); }
.btn-gold:hover { background: var(--gold-2); box-shadow: 0 16px 48px -14px rgba(241, 211, 149, 0.7); }
.btn-ghost { border-color: var(--line-2); color: var(--sand); background: rgba(6, 8, 15, 0.25); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.ico { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: -4px; color: inherit; }
.btn .ico { width: 17px; height: 17px; margin-right: 2px; }
.social-row a, .footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.social-row .ico, .footer-links .ico { width: 16px; height: 16px; color: var(--gold); }
.contact-phone .ico { color: var(--gold); }
/* floating action dock: WhatsApp first, then call, Instagram, TikTok, form */
.dock {
  position: fixed; z-index: 45; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.dock.is-on { opacity: 1; transform: none; pointer-events: auto; }
.dock-items { display: flex; flex-direction: column; gap: 10px; }
.dock-btn, .dock-main { position: relative; display: grid; place-items: center; border-radius: 50%; transition: transform .45s var(--ease), background-color .3s, border-color .3s, color .3s; }
.dock-btn { width: 44px; height: 44px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--sand); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.dock-btn .ico { width: 18px; height: 18px; }
.dock-btn:hover { border-color: var(--gold); color: var(--gold-2); transform: translateX(-3px); }
.dock-main { width: 56px; height: 56px; background: var(--gold); color: var(--ink); box-shadow: 0 14px 40px -12px rgba(217, 181, 106, 0.75); }
.dock-main .ico { width: 26px; height: 26px; }
.dock-main:hover { background: var(--gold-2); transform: translateX(-3px) scale(1.04); }
.dock-main::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(217, 181, 106, 0.55); animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(0.9); opacity: 0.9; } 70% { transform: scale(1.35); opacity: 0; } 100% { opacity: 0; } }
.dock [data-tip]::after {
  content: attr(data-tip); position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%); white-space: nowrap;
  font-size: 12px; letter-spacing: .06em; color: var(--sand); background: var(--panel-2); border: 1px solid var(--line); border-radius: 4px; padding: 6px 10px;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease);
}
.dock [data-tip]:hover::after, .dock [data-tip]:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
/* collapsed by default (phones, tablets, short windows): WhatsApp + a toggle; items open on tap */
.dock-toggle { display: grid; }
.dock-toggle .ico { transition: transform .4s var(--ease); }
.dock-items { display: none; }
.dock.is-open .dock-items { display: flex; }
.dock.is-open .dock-toggle .ico { transform: rotate(45deg); }
.dock [data-tip]::after { display: none; }
.dock-main::before { display: none; }
/* expanded only where there is room and a real pointer: large desktop windows */
@media (min-width: 821px) and (min-height: 800px) and (pointer: fine) {
  .dock-toggle { display: none; }
  .dock-items { display: flex; }
  .dock [data-tip]::after { display: block; }
  .dock-main::before { display: block; }
}
@media (prefers-reduced-motion: reduce) { .dock-main::before { animation: none; } }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold-2); font-size: 14px; letter-spacing: .04em; margin-top: 8px; }
.link-arrow i { width: 34px; height: 1px; background: currentColor; position: relative; transition: width .5s var(--ease); }
.link-arrow i::after { content: ""; position: absolute; right: -1px; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.link-arrow:hover i { width: 52px; }

/* ---------- story beats ---------- */
.story { position: relative; z-index: 2; }
.beat { height: 160vh; height: 160lvh; position: relative; }
.beat-hero { height: 140vh; height: 140lvh; }
.beat-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.beat-copy { display: grid; gap: 22px; opacity: 0; will-change: opacity, transform; position: relative; }
.beat-copy::before { content: ""; position: absolute; inset: -26% -30%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(6, 8, 15, 0.9), rgba(6, 8, 15, 0.55) 55%, transparent); pointer-events: none; }
.beat-copy, .hero-copy { text-shadow: 0 1px 2px rgba(6, 8, 15, 0.9), 0 0 26px rgba(6, 8, 15, 0.85); }
.beat-hero .beat-sticky::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(100deg, rgba(6, 8, 15, 0.78) 0%, rgba(6, 8, 15, 0.42) 42%, rgba(6, 8, 15, 0) 68%), linear-gradient(to top, rgba(6, 8, 15, 0.7), transparent 32%); }
.beat-hero .hero-grid, .beat-hero .scroll-cue { position: relative; z-index: 1; }
.beat-copy-left { justify-items: start; max-width: 720px; }
.beat-copy-right { justify-items: start; max-width: 680px; margin-left: auto; }
.beat-copy-center { justify-items: center; text-align: center; width: 100%; }
.beat-copy .eyebrow { margin-bottom: 4px; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: end; gap: 24px; min-height: 100svh; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 48px; }
.hero-copy { display: grid; gap: 26px; align-self: center; }
.hero-copy .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-copy .line > span { display: inline-block; transform: translateY(110%); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
[data-intro] { opacity: 0; transform: translateY(18px); }

.hero-portrait {
  position: relative; justify-self: end; width: min(100%, 520px); aspect-ratio: 1; max-width: 100%;
  opacity: 0; transform: translateY(40px) scale(0.96); will-change: transform, opacity;
}
.hero-portrait img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50% 50% 46% 46% / 42% 42% 58% 58%;
  -webkit-mask-image: radial-gradient(ellipse 64% 70% at 50% 42%, #000 46%, rgba(0, 0, 0, 0.85) 62%, transparent 86%);
  mask-image: radial-gradient(ellipse 64% 70% at 50% 42%, #000 46%, rgba(0, 0, 0, 0.85) 62%, transparent 86%);
  filter: saturate(0.92) contrast(1.04);
}
.hero-portrait::before {
  content: ""; position: absolute; inset: 8% 10% -4%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(217, 181, 106, 0.28), rgba(217, 181, 106, 0.06) 60%, transparent 72%);
  filter: blur(12px);
}
.hero-portrait figcaption {
  position: absolute; left: 6%; bottom: 10%; display: grid; gap: 2px; padding: 12px 16px;
  border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(10px); border-radius: 4px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--sand-2);
}
.hero-portrait figcaption span:first-child { color: var(--sand); font-family: var(--display); font-size: 17px; letter-spacing: 0; text-transform: none; }

.scroll-cue {
  position: absolute; left: 50%; bottom: max(22px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--sand-3); white-space: nowrap;
}
.scroll-cue span { width: 1px; height: 38px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateY(-100%); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60% { transform: translateY(100%); } 100% { transform: translateY(100%); } }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; margin-top: 10px; width: 100%; }
.stats div { border-top: 1px solid var(--line); padding-top: 14px; min-width: 0; }
.stats dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--sand-3); order: 2; margin-top: 4px; }
.stats dd { font-family: var(--display); font-size: clamp(44px, 5vw, 76px); line-height: 1; color: var(--sand); font-variant-numeric: tabular-nums; }
.stats dd small { font-family: var(--body); font-size: 14px; letter-spacing: .1em; color: var(--gold); vertical-align: 0.35em; margin-right: 4px; }

.marquee { width: 100vw; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 0; width: max-content; will-change: transform; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--display); font-size: clamp(44px, 7.5vw, 112px); line-height: 1; padding-inline: 0.42em; white-space: nowrap; color: var(--sand); }
.marquee-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--sand-3); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- panels ---------- */
.panel { position: relative; z-index: 2; padding-block: clamp(84px, 11vw, 150px); }
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--panel); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.panel + .panel::before { border-top: 1px solid var(--line); }
.panel-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }

.deals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; perspective: 1400px; }
.deal {
  position: relative; display: grid; gap: 10px; align-content: start; padding: 28px 26px 26px; min-height: 360px; min-width: 0;
  border: 1px solid var(--line); background: linear-gradient(160deg, rgba(239, 231, 216, 0.05), rgba(239, 231, 216, 0.012)); border-radius: 6px;
  transform-style: preserve-3d; transition: border-color .5s, box-shadow .6s var(--ease); will-change: transform;
}
.deal::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(217, 181, 106, 0.12), transparent 45%); opacity: 0; transition: opacity .5s; }
.deal:hover { border-color: rgba(217, 181, 106, 0.5); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9); }
.deal:hover::after { opacity: 1; }
.deal-tag { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.deal h3 { margin-top: 10px; }
.deal-sub { color: var(--sand-3); font-size: 14px; }
.deal-price { font-family: var(--display); font-size: clamp(30px, 2.6vw, 38px); margin-top: 16px; font-variant-numeric: tabular-nums; }
.deal-price small { font-family: var(--body); font-size: 12px; letter-spacing: .12em; color: var(--gold); vertical-align: .4em; margin-right: 4px; }
.deal-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.deal-facts li { font-size: 12px; letter-spacing: .04em; color: var(--sand-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }
.deal .link-arrow { margin-top: auto; padding-top: 18px; }

.closed-list { display: grid; margin-top: 26px; border-top: 1px solid var(--line); }
/* fixed track sizes: every row is its own grid, so an `auto` price column would shift the middle column per row */
.closed-list li { border-bottom: 1px solid var(--line); min-width: 0; }
.closed-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 11rem; gap: 16px; align-items: baseline; padding: 20px 14px; margin-inline: -14px; border-radius: 4px; transition: background-color .4s, padding-left .5s var(--ease); }
.closed-row:hover { background: rgba(239, 231, 216, 0.04); padding-left: 22px; }
.closed-row:hover .closed-name { color: var(--gold-2); }
.closed-name { transition: color .4s; }
.closed-name { font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); }
.closed-where { color: var(--sand-3); font-size: 14px; }
.closed-price { font-variant-numeric: tabular-nums; color: var(--gold-2); white-space: nowrap; text-align: right; }

/* reels strip */
.panel-reels .wrap.reels-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.panel-reels .panel-head { margin-bottom: 0; }
.reels-nav { display: flex; gap: 10px; flex: none; padding-bottom: 6px; }
.reels-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: border-color .4s, background-color .4s; }
.reels-btn:hover { border-color: var(--gold); background: var(--gold-dim); }
.reels-btn i { width: 9px; height: 9px; border-top: 1px solid var(--sand); border-right: 1px solid var(--sand); transform: rotate(45deg) translate(-1px, 1px); }
.reels-btn[data-dir="-1"] i { transform: rotate(-135deg) translate(-1px, 1px); }
.reels-track {
  display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding-block: clamp(28px, 4vw, 48px) 12px; padding-inline: max(var(--gutter-l), calc((100vw - 1240px) / 2 + 16px)) max(var(--gutter-r), calc((100vw - 1240px) / 2 + 16px));
  scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch;
}
.reels-track::-webkit-scrollbar { display: none; }
.reels-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.reel {
  position: relative; flex: none; width: clamp(220px, 22vw, 300px); aspect-ratio: 9 / 16; max-width: 100%; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: var(--ink-2); scroll-snap-align: start; display: block; isolation: isolate;
  transition: border-color .5s, transform .7s var(--ease), box-shadow .7s var(--ease);
}
.reel video, .reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; }
.reel video { opacity: 0; }
.reel.is-playing video { opacity: 1; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 8, 15, 0.86), rgba(6, 8, 15, 0.1) 45%, rgba(6, 8, 15, 0) 70%); pointer-events: none; }
.reel:hover { border-color: rgba(217, 181, 106, 0.55); transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
.reel:hover video, .reel:hover img { transform: scale(1.04); }
.reel-meta { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: grid; gap: 6px; }
.reel-views { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); display: flex; align-items: center; gap: 8px; }
.reel-views::before { content: ""; width: 0; height: 0; border-left: 7px solid var(--gold-2); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.reel-cap { font-family: var(--display); font-size: 19px; line-height: 1.15; color: var(--sand); }
.reel-ig { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--sand-3); margin-top: 4px; }
.reel-mute { position: absolute; top: 14px; right: 14px; z-index: 2; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--sand-2); padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(6, 8, 15, 0.5); backdrop-filter: blur(6px); }

.about-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
.about-portrait { position: relative; max-width: 520px; }
.about-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 4px; filter: saturate(0.9); }
.about-portrait::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold-dim); border-radius: 4px; z-index: -1; }
.about-copy { display: grid; gap: 22px; }
.ig-card { display: grid; gap: 4px; justify-items: start; padding: 18px 20px; border: 1px solid var(--line); border-radius: 6px; width: fit-content; max-width: 100%; transition: border-color .4s; }
.ig-card:hover { border-color: var(--gold); }
.ig-handle { font-weight: 500; }
.ig-meta { font-size: 13px; color: var(--sand-3); }
.ig-cta { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-top: 8px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps li { display: grid; gap: 12px; align-content: start; padding: 26px 0 0; border-top: 1px solid var(--line-2); min-width: 0; }
.step-n { font-family: var(--display); font-size: 15px; color: var(--gold); letter-spacing: .08em; }
.steps p { color: var(--sand-2); max-width: 30em; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 90px); align-items: start; }
.contact-copy { display: grid; gap: 22px; }
.contact-direct { display: flex; flex-wrap: wrap; gap: 12px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding: 28px; border: 1px solid var(--line); background: var(--panel-2); border-radius: 6px; position: relative; }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--sand-3); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--sand); background: rgba(239, 231, 216, 0.035); border: 1px solid var(--line); border-radius: 4px;
  padding: 13px 14px; transition: border-color .3s, background-color .3s; min-width: 0;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(239, 231, 216, 0.06); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid .dd-btn { border-color: var(--danger); }
.form-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.form-note { font-size: 12px; color: var(--sand-3); }
.form-success { grid-column: 1 / -1; display: grid; gap: 10px; text-align: center; padding-block: 24px; }
.form-success .display { font-size: clamp(40px, 5vw, 64px); }
.form.is-sent .field, .form.is-sent .form-foot { display: none; }
/* form details: errors, optional tag, counter, honeypot */
.field-error { font-size: 12px; line-height: 1.4; color: var(--danger); }
.field label .opt { margin-left: 6px; font-size: 10px; letter-spacing: .12em; color: var(--sand-3); opacity: .75; }
.field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.field-count { font-size: 11px; color: var(--sand-3); font-variant-numeric: tabular-nums; }
.field-count.is-near { color: var(--gold-2); }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form .btn[disabled] { opacity: .6; pointer-events: none; }
#turnstileBox:empty { display: none; }
/* phone: country code picker + number */
.phone { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
/* dropdown (listbox) shared by the country code and the budget */
.dd { position: relative; min-width: 0; }
.dd-btn {
  width: 100%; min-height: 48px; display: flex; align-items: center; gap: 9px; text-align: left; font: inherit; color: var(--sand);
  background: rgba(239, 231, 216, 0.035); border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px;
  transition: border-color .3s, background-color .3s;
}
.dd-btn:hover, .dd-btn[aria-expanded="true"] { border-color: var(--gold); background: rgba(239, 231, 216, 0.06); }
.dd-val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dd-val.is-placeholder { color: var(--sand-3); }
.dd-iso { flex: none; font-size: 10px; font-weight: 600; letter-spacing: .08em; line-height: 1.5; color: var(--ink); background: var(--gold); border-radius: 3px; padding: 1px 5px; }
.dd-chev { flex: none; width: 7px; height: 7px; margin-left: 2px; border-right: 1px solid var(--sand-2); border-bottom: 1px solid var(--sand-2); transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.dd-btn[aria-expanded="true"] .dd-chev { transform: translateY(1px) rotate(-135deg); }
.dd-pop {
  position: absolute; z-index: 30; left: 0; top: calc(100% + 6px); min-width: 100%; background: var(--pop);
  border: 1px solid var(--line-2); border-radius: 6px; box-shadow: 0 26px 60px -18px rgba(0, 0, 0, 0.95); overflow: hidden;
}
.dd-country .dd-pop { width: min(320px, 84vw); }
.field .dd-search { width: 100%; font-size: 14px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: rgba(239, 231, 216, 0.05); padding: 12px 14px; }
.field .dd-search:focus { outline: none; background: rgba(239, 231, 216, 0.08); }
.dd-list { position: relative; max-height: 248px; overflow-y: auto; overscroll-behavior: contain; padding: 6px; outline: none; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.dd-opt { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 4px; font-size: 14px; color: var(--sand-2); cursor: pointer; }
.dd-opt.is-active, .dd-opt:hover { background: rgba(217, 181, 106, 0.16); color: var(--sand); }
.dd-opt[aria-selected="true"] { color: var(--gold-2); }
.dd-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-dial { flex: none; color: var(--sand-3); font-variant-numeric: tabular-nums; }
.dd-empty { padding: 12px 10px; font-size: 13px; color: var(--sand-3); }

.footer { position: relative; z-index: 2; padding-block: 44px max(36px, env(safe-area-inset-bottom, 0px)); background: var(--ink); border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px 48px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer-meta { font-size: 13px; color: var(--sand-3); line-height: 1.7; margin-top: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--sand-2); padding-top: 8px; }
.footer-links a { position: relative; padding-block: 4px; }
.footer-links a::after, .inline-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.inline-link { border-bottom: 1px solid var(--line-2); }
.footer-links a:hover::after, .inline-link:hover::after { transform: scaleX(1); }
.footer-bottom { display: flex; justify-content: space-between; gap: 10px 40px; flex-wrap: wrap; padding-top: 22px; }
.footer-legal { font-size: 12px; color: var(--sand-3); line-height: 1.7; max-width: 60ch; }
.footer-credit { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line-2); white-space: nowrap; }
.footer-credit a { color: var(--gold-2); transition: color .3s; }
.footer-credit a:hover { color: var(--sand); }
.inline-link { position: relative; color: var(--gold-2); }
.contact-phone { font-size: 15px; color: var(--sand-2); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.contact-phone a { color: var(--sand); font-variant-numeric: tabular-nums; letter-spacing: .02em; border-bottom: 1px solid var(--line-2); }
.copy-btn { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; transition: border-color .3s; }
.copy-btn:hover { border-color: var(--gold); }
.social-row { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--sand-2); }
.social-row a { position: relative; padding-block: 4px; }
.social-row a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.social-row a, .footer-links a { border-bottom: 1px solid var(--line); }
.social-row a:hover::after { transform: scaleX(1); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .deals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deal:last-child { grid-column: 1 / -1; min-height: 0; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  :root { --nav-h: 62px; }
  /* phones: stacked flow, copy first, portrait fills the remaining height below the buttons (never overlapping) */
  .hero-grid { display: flex; flex-direction: column; justify-content: flex-start; gap: 12px; padding-top: calc(var(--nav-h) + 6px); padding-bottom: 60px; min-height: 100svh; }
  .hero-copy { flex: none; gap: 16px; padding-top: 4px; position: relative; z-index: 2; }
  .hero-portrait { position: relative; align-self: flex-end; width: min(72vw, 320px); margin-right: -4%; flex: 1 1 auto; min-height: 150px; max-height: 360px; aspect-ratio: auto; z-index: 1; opacity: 0; }
  .hero-portrait img { height: 100%; object-position: 50% 16%; }
  .hero-portrait figcaption { display: none; }
  .beat-hero .beat-sticky { align-items: start; }
  .hero-portrait img { -webkit-mask-image: radial-gradient(ellipse 60% 66% at 50% 44%, #000 36%, rgba(0, 0, 0, 0.7) 58%, transparent 82%); mask-image: radial-gradient(ellipse 60% 66% at 50% 44%, #000 36%, rgba(0, 0, 0, 0.7) 58%, transparent 82%); }
  .hero-copy .lede { max-width: 30em; }
  .beat-copy-right { margin-left: 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 18px 20px; }
  .stats dd { font-size: clamp(38px, 11vw, 56px); }
  .deals { grid-template-columns: 1fr; }
  .deal { min-height: 0; }
  .closed-row { grid-template-columns: 1fr auto; }
  .closed-row:hover { padding-left: 14px; }
  .closed-where { grid-column: 1 / -1; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 100%; }
  .about-portrait img { aspect-ratio: 1; }
  .form { grid-template-columns: 1fr; padding: 20px; }
  .footer-credit { display: block; margin: 8px 0 0; padding: 0; border: 0; }
  .scroll-cue { font-size: 10px; }
  .panel::before { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(8, 12, 22, 0.9); }
  .panel-reels .wrap.reels-head { flex-direction: column; align-items: flex-start; }
  .reel { width: min(72vw, 280px); }
}
/* short phones: tighter hero so the portrait still shows below the buttons */
@media (max-width: 820px) and (max-height: 720px) {
  .hero-copy { gap: 12px; }
  .hero-copy .lede { font-size: 15px; line-height: 1.45; }
  .hero-grid { padding-bottom: 44px; }
  .hero-portrait { min-height: 120px; }
}
@media (max-width: 420px) {
  .display { font-size: clamp(38px, 11.5vw, 48px); }
  .btn { height: 48px; padding-inline: 20px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain, .scroll-cue span::after, .marquee-track { animation: none; }
  [data-reveal] .w > span, .hero-copy .line > span { transform: none; transition: none; }
  [data-intro], .hero-portrait, .beat-copy { opacity: 1; transform: none; }
  .btn, .deal { transition: none; }
}

/* ------------------------------------------------------------------ 404 */
.notfound { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; justify-items: start; gap: 22px; width: min(720px, 100%); margin-inline: auto; padding-block: 64px; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.notfound-eyebrow { margin: 0; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.notfound-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; }
.notfound-title em { font-style: italic; color: var(--gold-2); }
.notfound-text { margin: 0; max-width: 46ch; color: var(--sand-2); }
