/* ZEN Mouana Investor Deck — Montserrat-only ZEN identity
   Editorial luxury: Italic light + bold for emphasis, gold gradient accents,
   bezel cards, hairline rings, scroll-progress, side-nav dots.
*/

:root {
  --cream: #FDFBF7;
  --cream-2: #F4EFE6;
  --ink: #1c1c1c;
  --ink-2: #0f0f0f;
  --muted: #5a5048;
  --muted-dark: #a59c92;
  --gold-1: #cbb26a;
  --gold-2: #e2d085;
  --gold-3: #f8ed9f;
  --gold-grad: linear-gradient(135deg, #cbb26a 0%, #e2d085 50%, #f8ed9f 100%);
  --bezel: cubic-bezier(0.32, 0.72, 0, 1);
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-feature-settings: "ss01", "cv11";
}

/* Film grain overlay — Editorial Luxury signature */
.grain::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Display typography — Montserrat italic light, bold for emphasis */
.display-italic {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.015em;
}

.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.dark .eyebrow, [data-theme="dark"] .eyebrow { color: var(--muted-dark); }

/* Section base */
.section {
  min-height: 100dvh;
  padding: 7rem 8% 7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
@media (max-width: 768px) {
  .section { padding: 5rem 1.25rem; min-height: auto; }
}

.section.cream { background: var(--cream); color: var(--ink); }
.section.dark { background: var(--ink); color: var(--cream); }
.section.dark .muted { color: var(--muted-dark); }
.section.cream .muted { color: var(--muted); }

/* Hairline */
.hairline { height: 1px; background: rgba(28,28,28,0.08); }
.dark .hairline { background: rgba(253,251,247,0.10); }

/* Double-Bezel card */
.bezel {
  background: rgba(28,28,28,0.04);
  padding: 8px;
  border-radius: 2rem;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 30px 60px -25px rgba(45,30,10,0.10);
}
.section.dark .bezel {
  background: rgba(253,251,247,0.05);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 40px 80px -30px rgba(0,0,0,0.6);
}
.bezel-inner {
  background: var(--cream);
  border-radius: calc(2rem - 0.5rem);
  padding: 2rem;
  box-shadow:
    0 1px 1px rgba(255,255,255,0.6) inset,
    0 0 0 1px rgba(28,28,28,0.05);
  position: relative;
  overflow: hidden;
}
.section.dark .bezel-inner {
  background: var(--ink-2);
  box-shadow:
    0 1px 1px rgba(255,255,255,0.06) inset,
    0 0 0 1px rgba(253,251,247,0.06);
  color: var(--cream);
}

/* Pill CTA */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem 0.875rem 1.75rem;
  border-radius: 9999px;
  background: var(--gold-grad);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.6s var(--bezel), box-shadow 0.6s var(--bezel);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 10px 30px -10px rgba(203,178,106,0.5);
}
.pill .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(28,28,28,0.08);
  transition: transform 0.5s var(--bezel), background 0.5s var(--bezel);
}
.pill:hover {
  transform: scale(1.02);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 16px 36px -10px rgba(203,178,106,0.6);
}
.pill:hover .arrow { transform: translate(2px, -1px) scale(1.06); background: rgba(28,28,28,0.14); }
.pill:active { transform: scale(0.98); }

/* Gold accent */
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Readability — on light (cream) sections the bright gold gradient washes out.
   Use a deeper, higher-contrast gold for all gold-clipped text on cream. */
.section.cream .gold-text,
.section.cream .strategy-price,
.section.cream .stat-num,
.section.cream .cap-final,
.section.cream .pin-num,
.section.cream .unit-type {
  background: linear-gradient(135deg, #8a6d22 0%, #b08f37 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Gold underline on cream — make the highlight bar a touch denser for contrast */
.section.cream .gold-underline {
  background-image: linear-gradient(135deg, #cbb26a 0%, #d8c271 100%);
  background-position: 0 92%;
  background-repeat: no-repeat;
  background-size: 100% 0.16em;
}
.gold-underline {
  background-image: var(--gold-grad);
  background-position: 0 92%;
  background-repeat: no-repeat;
  background-size: 100% 0.18em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone; /* underline matches each wrapped line, not stretched to container edge */
}

/* Hero numbers — Montserrat italic light, very large */
.hero-num {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(6rem, 18vw, 14rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

/* Headline scale — Montserrat bold/italic mix */
.h-display {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance; /* even out heading lines — no orphaned conjunctions / split accents */
}
.h-display em {
  font-style: italic;
  font-weight: 300;
}
.h-1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.h-2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.h-3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.body-lg { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.55; font-weight: 400; text-wrap: pretty; }
.body { font-size: 1rem; line-height: 1.6; font-weight: 400; text-wrap: pretty; }

/* Language switcher (fixed top-left) */
.lang-switch {
  position: fixed;
  top: 1.15rem;
  left: 1.5rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 9999px;
  background: rgba(253, 251, 247, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px -8px rgba(28,28,28,0.28), 0 0 0 1px rgba(28,28,28,0.06);
}
.lang-opt {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s var(--bezel);
}
.lang-opt.active { color: var(--ink); }
.lang-opt:hover { color: var(--ink); }
.lang-sep { color: rgba(28,28,28,0.28); font-size: 0.72rem; line-height: 1; }
@media (max-width: 768px) {
  .lang-switch { top: 0.9rem; left: 0.9rem; padding: 0.4rem 0.7rem; }
}

/* Source line */
.source-line {
  font-size: 0.72rem;
  opacity: 0.45;
  letter-spacing: 0.05em;
  margin-top: 2.5rem;
}

/* Reveal animations */
@keyframes revealIn {
  from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); }
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  animation: revealIn 0.75s var(--bezel) both;
}
.reveal.in[data-delay="1"] { animation-delay: 0.08s; }
.reveal.in[data-delay="2"] { animation-delay: 0.16s; }
.reveal.in[data-delay="3"] { animation-delay: 0.24s; }
.reveal.in[data-delay="4"] { animation-delay: 0.32s; }
.reveal.in[data-delay="5"] { animation-delay: 0.4s; }
.reveal.in[data-delay="6"] { animation-delay: 0.48s; }
.reveal.in[data-delay="7"] { animation-delay: 0.56s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; }
  .reveal.in { animation: none; }
}

/* Section number tag */
.section-no { display: none; }

/* Bento */
.bento { display: grid; gap: 1.25rem; }
@media (min-width: 768px) {
  .bento-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento-asym { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); }
  .bento-asym > .span-8 { grid-column: span 8; }
  .bento-asym > .span-7 { grid-column: span 7; }
  .bento-asym > .span-6 { grid-column: span 6; }
  .bento-asym > .span-5 { grid-column: span 5; }
  .bento-asym > .span-4 { grid-column: span 4; }
  .bento-asym > .row-2 { grid-row: span 2; }
}

/* Split layout */
.split { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1.05fr 0.95fr; gap: 6rem; } }

/* Scroll-progress */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: rgba(28,28,28,0.06); z-index: 110;
}
.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gold-grad);
  transition: width 0.1s linear;
}

/* Side nav dots */
.side-nav {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 90;
}
.side-nav a {
  width: 8px; height: 8px;
  border-radius: 9999px;
  background: rgba(28,28,28,0.18);
  transition: all 0.4s var(--bezel);
}
.side-nav a:hover { background: rgba(28,28,28,0.4); transform: scale(1.4); }
.side-nav a.active { background: var(--gold-1); width: 22px; }
@media (max-width: 768px) { .side-nav { display: none; } }

/* Contents menu */
.menu-btn {
  position: fixed; top: 1.15rem; right: 1.5rem; z-index: 120;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 1.05rem 0.55rem 0.85rem;
  background: rgba(253, 251, 247, 0.85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(28,28,28,0.10); border-radius: 9999px;
  font-family: 'Montserrat', sans-serif; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  color: var(--ink); cursor: pointer;
  box-shadow: 0 10px 30px -12px rgba(28,28,28,0.30);
  transition: transform 0.4s var(--bezel), box-shadow 0.4s var(--bezel);
}
.menu-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -12px rgba(28,28,28,0.38); }
.menu-btn:active { transform: translateY(0) scale(0.98); }
.menu-btn-lines { position: relative; width: 16px; height: 11px; flex: none; }
.menu-btn-lines i { position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform 0.45s var(--bezel); }
.menu-btn-lines i:nth-child(1) { top: 2px; }
.menu-btn-lines i:nth-child(2) { bottom: 2px; }
.menu-btn.open .menu-btn-lines i:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-btn.open .menu-btn-lines i:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.menu-overlay {
  position: fixed; inset: 0; z-index: 116; background: rgba(20,18,14,0.34);
  opacity: 0; visibility: hidden; transition: opacity 0.45s var(--bezel), visibility 0.45s;
}
.menu-overlay.open { opacity: 1; visibility: visible; }

.menu-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 118;
  width: min(340px, 86vw); background: var(--cream);
  border-left: 1px solid rgba(28,28,28,0.08);
  box-shadow: -26px 0 70px -24px rgba(28,28,28,0.4);
  padding: 4.75rem 1.5rem 2rem;
  transform: translateX(102%); transition: transform 0.5s var(--bezel);
  overflow-y: auto; overscroll-behavior: contain;
}
.menu-panel.open { transform: translateX(0); }
.menu-title { font-family: 'Montserrat', sans-serif; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; padding-left: 0.75rem; }
.menu-list { list-style: none; display: flex; flex-direction: column; gap: 0.1rem; margin: 0; padding: 0; }
.menu-list a {
  display: flex; align-items: baseline; gap: 0.8rem;
  padding: 0.55rem 0.75rem; border-radius: 0.6rem;
  font-family: 'Montserrat', sans-serif; font-size: 0.9rem; line-height: 1.25; color: var(--ink); text-decoration: none;
  transition: background 0.3s var(--bezel), color 0.3s;
}
.menu-list a:hover { background: rgba(203,178,106,0.13); }
.menu-list a.active { background: rgba(203,178,106,0.18); font-weight: 600; }
.menu-num { font-size: 0.64rem; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 1.6em; letter-spacing: 0.04em; }
.menu-list a.active .menu-num { color: var(--gold-2); }
@media (max-width: 768px) {
  .menu-btn { top: 0.85rem; right: 0.9rem; padding: 0.5rem 0.85rem; }
  .menu-btn-label { display: none; }
}

/* Phosphor-like icon containers */
.icon-frame {
  width: 3rem; height: 3rem;
  border-radius: 9999px;
  border: 1px solid rgba(28,28,28,0.10);
  display: inline-flex; align-items: center; justify-content: center;
}
.section.dark .icon-frame { border-color: rgba(253,251,247,0.15); }

/* Number ticker */
.tick-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* Speaker cue */
.speaker-cue {
  margin-top: 5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(28,28,28,0.18);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  opacity: 0.65;
  max-width: 64ch;
}
.section.dark .speaker-cue { border-top-color: rgba(253,251,247,0.20); opacity: 0.75; }
.speaker-cue::before { content: "→ "; opacity: 0.7; }
.speaker-cue .label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-style: normal;
  margin-right: 0.5rem;
  opacity: 0.6;
}

/* Photo frame */
.photo {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2a2520 0%, #3a3128 100%);
  height: 100%;
}
.photo::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(248,237,159,0.08), transparent 60%);
  pointer-events: none;
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Cover hero — full-screen photo background */
.cover-bg {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(203,178,106,0.18), transparent 60%),
    linear-gradient(180deg, #0f0f0f 0%, #1c1c1c 60%, #15110c 100%);
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}
.section.dark.cover-full {
  background:
    linear-gradient(100deg, rgba(12,12,12,0.94) 0%, rgba(12,12,12,0.80) 38%, rgba(12,12,12,0.42) 70%, rgba(12,12,12,0.22) 100%),
    url('assets/mrk-drone-hero.webp') center/cover no-repeat;
  min-height: 100svh;
  padding: 3rem 8%;
  justify-content: center;
}
.cover-content {
  max-width: 80ch;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .section.dark.cover-full {
    background:
      linear-gradient(180deg, rgba(12,12,12,0.84) 0%, rgba(12,12,12,0.7) 55%, rgba(12,12,12,0.9) 100%),
      url('assets/mrk-drone-hero.webp') center/cover no-repeat;
  }
}

/* Focus ring */
:focus-visible { outline: 2px solid var(--gold-1); outline-offset: 4px; border-radius: 4px; }

/* Mobile collapse */
@media (max-width: 768px) {
  .bento-3, .bento-asym { grid-template-columns: 1fr; }
  .bento-asym > * { grid-column: span 1 !important; grid-row: span 1 !important; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
}

/* ═══════════════════════════════════════════════════════════════
   MOUANA DECK — section-specific components
   ═══════════════════════════════════════════════════════════════ */

/* Section 04 — Map pins */
.map-pins { display: grid; gap: 1.25rem; }
.map-pin {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(28, 28, 28, 0.08);
}
.map-pin:last-child { border-bottom: none; padding-bottom: 0; }
.map-pin .pin-num {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--gold-1);
  text-align: right;
}
.map-pin h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0;
  letter-spacing: -0.005em;
}
.map-pin p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.15rem 0 0;
}

/* Section 04 — Map links to Google Maps */
.map-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  max-width: 720px;
}
.map-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  border-radius: 0.875rem;
  background: rgba(28, 28, 28, 0.03);
  border: 1px solid rgba(28, 28, 28, 0.08);
  text-decoration: none;
  color: var(--ink);
  transition: all 0.4s var(--bezel);
}
.map-link:hover {
  background: rgba(203, 178, 106, 0.08);
  border-color: rgba(203, 178, 106, 0.4);
  transform: translateY(-2px);
}
.map-link-pin {
  font-size: 1.25rem;
  line-height: 1;
}
.map-link p {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.map-link-arrow {
  font-size: 1.25rem;
  color: var(--gold-1);
  font-weight: 300;
}

/* Section 16 — inline link to Sales Office inside next-step */
.next-step-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--gold-1);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.3s var(--bezel);
}
.next-step-link:hover { opacity: 0.7; }

/* Section 05 — Project list (all Mouana projects) */
.project-list {
  display: grid;
  gap: 0;
}
.project-item {
  display: grid;
  grid-template-columns: 1.25rem 1fr auto auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid rgba(28, 28, 28, 0.08);
}
.project-item:last-child { border-bottom: 1px solid rgba(28, 28, 28, 0.08); }
.project-item-active { background: linear-gradient(90deg, rgba(203, 178, 106, 0.08), transparent); }
.project-dot {
  width: 9px; height: 9px;
  border-radius: 9999px;
  background: var(--gold-1);
  justify-self: center;
}
.project-dot-done { background: rgba(28, 28, 28, 0.2); }
.project-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
  letter-spacing: -0.005em;
}
.project-loc {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: right;
}
.project-status {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  white-space: nowrap;
  text-align: center;
  min-width: 9rem;
}
.status-now { background: rgba(203, 178, 106, 0.18); color: #6b5a28; }
.status-sold { background: rgba(28, 28, 28, 0.06); color: var(--muted); }
@media (max-width: 768px) {
  .project-item {
    grid-template-columns: 1rem 1fr;
    gap: 0.6rem 0.85rem;
    row-gap: 0.3rem;
  }
  .project-loc { text-align: left; grid-column: 2; }
  .project-status { grid-column: 2; justify-self: start; min-width: 0; margin-top: 0.25rem; }
}

/* Equal-height bezel cards in stretch bento (sections 09, 13, 14) */
.bento[style*="stretch"] > .bezel {
  height: 100%;
  display: flex;
}
.bento[style*="stretch"] > .bezel > .bezel-inner {
  width: 100%;
}

/* Section 06 — bento-4 collapse */
@media (max-width: 900px) {
  .bento[style*="repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
  .bento[style*="repeat(4"] { grid-template-columns: 1fr !important; }
}

/* Section 07 — ZEN MVP badge */
.zen-mvp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 1.1rem;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, rgba(203,178,106,0.22), rgba(248,237,159,0.12));
  border: 1px solid rgba(203,178,106,0.45);
}
.zen-mvp-badge .mvp-icon { font-size: 1.5rem; line-height: 1; }
.zen-mvp-badge strong {
  font-weight: 700;
  font-size: 0.95rem;
  color: #8a6d22;
  letter-spacing: 0.01em;
}
.zen-mvp-badge span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* Section 07 — Villa rows (3 types showcase) */
.villa-row {
  padding-top: 2.5rem;
  border-top: 1px solid rgba(28, 28, 28, 0.1);
}
.villa-row:first-of-type { border-top: none; padding-top: 0; }
.villa-row-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}
.villa-row-head h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
.villa-row-price {
  text-align: right;
  white-space: nowrap;
}
.villa-row-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.villa-row-spec {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem 2rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}
.villa-row-spec li {
  position: relative;
  padding-left: 1rem;
}
.villa-row-spec li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold-1);
  font-weight: 600;
}
.villa-row-spec li strong { color: var(--ink); font-weight: 600; }
@media (max-width: 1024px) {
  .villa-row-spec { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .villa-row-head { grid-template-columns: 1fr; gap: 1rem; }
  .villa-row-price { text-align: left; white-space: normal; }
  .villa-row-media { grid-template-columns: 1fr; }
  .villa-row-spec { grid-template-columns: 1fr; }
}

/* Section 07 — Spec table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.spec-table td {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(28, 28, 28, 0.08);
}
.spec-table td:first-child { color: var(--muted); width: 55%; }
.spec-table td:last-child {
  font-style: italic;
  font-weight: 400;
  text-align: right;
}
.spec-table td strong {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}
.spec-table tr:last-child td { border-bottom: none; }

/* Section 08 — Lifestyle grid */
.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 1.25rem;
}
.ls-card { position: relative; overflow: hidden; }
.ls-card.ls-large { grid-column: span 2; grid-row: span 2; }
.ls-card .bezel-inner {
  padding: 0 !important;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.ls-card .photo { height: 100%; }
.ls-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ls-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem;
  background: linear-gradient(0deg, rgba(15,15,15,0.85) 0%, rgba(15,15,15,0) 100%);
  color: var(--cream);
  z-index: 2;
}
.ls-caption .eyebrow { color: var(--gold-1); font-size: 9px; }
.ls-caption p {
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  margin: 0.25rem 0 0;
}
@media (max-width: 1024px) {
  .lifestyle-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 180px); }
  .ls-card.ls-large { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 640px) {
  .lifestyle-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; grid-template-rows: none; }
  .ls-card.ls-large { grid-column: span 1; }
}

/* Section 09 — Pool grid */
.pool-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 0.75rem;
  max-width: 100%;
}
.pool-unit {
  aspect-ratio: 1;
  border-radius: 1rem;
  background: rgba(28, 28, 28, 0.04);
  border: 1px solid rgba(28, 28, 28, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
  text-align: center;
  transition: transform 0.5s var(--bezel), background 0.5s var(--bezel);
}
.pool-unit:hover { transform: translateY(-3px); background: rgba(203, 178, 106, 0.12); }
.pool-unit.pool-unit-4br {
  background: linear-gradient(135deg, rgba(203, 178, 106, 0.22), rgba(248, 237, 159, 0.1));
  border-color: rgba(203, 178, 106, 0.5);
}
.pool-unit .unit-label {
  font-style: italic;
  font-weight: 300;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.pool-unit .unit-type {
  font-style: italic;
  font-weight: 300;
  font-size: 1.4rem;
  color: var(--gold-1);
  margin-top: 0.2rem;
  line-height: 1;
}
.pool-unit .unit-price {
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
}
@media (max-width: 900px) { .pool-grid { grid-template-columns: repeat(3, 1fr); } }

/* Section 10 — Strategies grid (multi-budget) */
.strategies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 1100px) {
  .strategies-grid { grid-template-columns: repeat(4, 1fr); }
}
.strategy-card {
  background: rgba(28, 28, 28, 0.025);
  border: 1px solid rgba(28, 28, 28, 0.06);
  border-radius: 1.5rem;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  transition: transform 0.5s var(--bezel), border-color 0.5s var(--bezel);
}
.strategy-card:hover {
  transform: translateY(-4px);
  border-color: rgba(203, 178, 106, 0.4);
}
.strategy-card.strategy-recommended {
  background: linear-gradient(135deg, rgba(203, 178, 106, 0.12), rgba(248, 237, 159, 0.04));
  border-color: rgba(203, 178, 106, 0.4);
}
.strategy-card.strategy-recommended::before {
  content: "ПОПУЛЯРНЫЙ ВЫБОР";
  position: absolute;
  top: -10px;
  left: 1.5rem;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  padding: 0.3rem 0.6rem;
  background: var(--gold-grad);
  color: var(--ink);
  border-radius: 9999px;
}
.strategy-head { display: flex; flex-direction: column; gap: 0.5rem; }
.strategy-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.strategy-price {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  line-height: 1;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}
.strategy-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  letter-spacing: 0.01em;
}
.strategy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}
.strategy-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink);
}
.strategy-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold-1);
  font-weight: 600;
}
.strategy-list li strong { font-weight: 700; }
.strategy-fit {
  padding-top: 1rem;
  border-top: 1px dashed rgba(28, 28, 28, 0.12);
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}
.strategy-fit .eyebrow { display: block; margin-bottom: 0.3rem; }

/* Section 11 — ROI table */
.roi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: rgba(28, 28, 28, 0.02);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(45, 30, 10, 0.1);
}
.roi-table th, .roi-table td {
  padding: 1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid rgba(28, 28, 28, 0.06);
}
.roi-table thead th {
  background: rgba(28, 28, 28, 0.04);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.roi-table thead th:first-child { text-align: left; }
.roi-table .scenario-h.scenario-real {
  background: rgba(203, 178, 106, 0.18);
  color: var(--ink);
}
.roi-table td.scenario-real { background: rgba(203, 178, 106, 0.06); font-weight: 600; }
.roi-table td {
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
}
.roi-table td:first-child {
  text-align: left;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}
.roi-table .td-note {
  font-size: 0.72rem;
  color: rgba(28, 28, 28, 0.4);
  font-weight: 400;
  display: block;
  margin-top: 0.2rem;
}
.roi-table .td-merged {
  background: rgba(28, 28, 28, 0.025);
  font-size: 1.3rem;
  font-weight: 600;
  font-style: italic;
}
.roi-table .td-net td { background: rgba(28, 28, 28, 0.03); }
.roi-table .td-roi td {
  background: rgba(203, 178, 106, 0.1);
  font-size: 1.3rem;
  border-bottom: none;
}
.roi-table .td-roi td.scenario-real {
  background: linear-gradient(135deg, rgba(203, 178, 106, 0.35) 0%, rgba(248, 237, 159, 0.2) 100%);
  font-size: 1.45rem;
}
@media (max-width: 768px) {
  .roi-table { font-size: 0.78rem; }
  .roi-table th, .roi-table td { padding: 0.55rem 0.4rem; }
  .roi-table td { font-size: 0.85rem; }
  .roi-table .td-roi td { font-size: 1rem; }
  .roi-table .td-merged { font-size: 1.05rem; }
}

/* Mobile: financial tables scroll horizontally instead of crushing columns */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll::-webkit-scrollbar { height: 5px; }
.table-scroll::-webkit-scrollbar-thumb { background: rgba(138,109,34,0.35); border-radius: 5px; }
@media (max-width: 768px) {
  .table-scroll > table { min-width: 460px; }
}

/* Section 11 — Capitalization chart */
.cap-chart {
  padding: 2rem 1.75rem;
  background: rgba(28, 28, 28, 0.02);
  border-radius: 1.5rem;
  border: 1px solid rgba(28, 28, 28, 0.05);
}
.cap-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.cap-final {
  font-style: italic;
  font-weight: 300;
  font-size: 1.4rem;
}
.cap-bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  align-items: end;
  height: 200px;
}
.cap-bar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}
.cap-bar::before {
  content: "";
  display: block;
  width: 100%;
  height: var(--h);
  background: linear-gradient(180deg, rgba(203, 178, 106, 0.35) 0%, rgba(203, 178, 106, 0.65) 100%);
  border-radius: 6px 6px 0 0;
  transition: height 1s var(--bezel);
}
.cap-bar.cap-bar-final::before {
  background: var(--gold-grad);
  box-shadow: 0 4px 20px rgba(203, 178, 106, 0.4);
}
.cap-bar .cap-val {
  position: absolute;
  top: calc(100% - var(--h) - 1.6rem);
  font-style: italic;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink);
  white-space: nowrap;
}
.cap-bar .cap-yr {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
}
@media (max-width: 640px) {
  .cap-bars { height: 160px; gap: 0.5rem; }
  .cap-bar .cap-val { font-size: 0.7rem; }
  .cap-bar .cap-yr { font-size: 8px; letter-spacing: 0.12em; }
}

/* Section 12 — Comparison table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  background: rgba(28, 28, 28, 0.02);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(45, 30, 10, 0.1);
}
.compare-table th, .compare-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(28, 28, 28, 0.06);
}
.compare-table thead th {
  background: rgba(28, 28, 28, 0.04);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.compare-table thead th:first-child { text-align: left; }
.compare-table thead th.compare-win {
  background: linear-gradient(135deg, rgba(203, 178, 106, 0.3), rgba(248, 237, 159, 0.12));
  color: var(--ink);
}
.compare-table td {
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  text-align: center;
}
.compare-table td:first-child {
  text-align: left;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}
.compare-table td.compare-win {
  background: rgba(203, 178, 106, 0.08);
  color: var(--ink);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
@media (max-width: 640px) {
  .compare-table { font-size: 0.85rem; }
  .compare-table th, .compare-table td { padding: 0.7rem 0.6rem; }
  .compare-table td { font-size: 0.9rem; }
}

/* Section 13 — Stat rows */
.stat-row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.25rem;
  align-items: baseline;
}
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.75rem;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  text-align: right;
}

/* Section 14 — Legal list */
.legal-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.legal-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}
.legal-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold-1);
  font-weight: 600;
}

/* Section 16 — Next steps */
.next-step {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  gap: 2rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(253, 251, 247, 0.1);
  align-items: baseline;
}
.next-step:last-child { border-bottom: 1px solid rgba(253, 251, 247, 0.1); }
.next-step .step-num {
  font-style: italic;
  font-weight: 300;
  font-size: 1.6rem;
}
.next-step-final {
  background: linear-gradient(90deg, rgba(203, 178, 106, 0.06), transparent);
}
@media (max-width: 640px) {
  .next-step { grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.25rem 0; }
  .next-step .eyebrow { display: none; }
}

/* Section 17 — Contacts + QR */
.contact-card {
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: rgba(253, 251, 247, 0.04);
  border: 1px solid rgba(253, 251, 247, 0.08);
  color: var(--cream);
  text-decoration: none;
  transition: all 0.4s var(--bezel);
}
.contact-card:hover {
  background: rgba(253, 251, 247, 0.08);
  border-color: rgba(203, 178, 106, 0.4);
  transform: translateY(-2px);
}
.contact-icon {
  width: 3rem; height: 3rem;
  border-radius: 9999px;
  background: rgba(203, 178, 106, 0.15);
  color: var(--gold-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qr-frame {
  display: inline-block;
  padding: 1.25rem;
  background: var(--cream);
  border-radius: 1.5rem;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.qr-frame #qrCode {
  display: block;
  width: 240px;
  height: 240px;
  background: #fff;
}
.qr-frame canvas, .qr-frame img, .qr-frame svg {
  display: block;
  width: 240px !important;
  height: 240px !important;
  margin: 0;
}

/* Print / PDF */
@media print {
  @page { size: 1280px 720px landscape; margin: 0; }
  body { background: #fff; }
  .grain::before, .progress, .side-nav, .menu-btn, .menu-overlay, .menu-panel, .pill, .speaker-cue { display: none !important; }
  .section {
    page-break-after: always;
    page-break-inside: avoid;
    min-height: 720px;
    height: 720px;
    padding: 4rem 5%;
    overflow: hidden;
  }
  .section.dark {
    background: #1c1c1c !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .section-no { opacity: 0.3; }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
}
