/* MAISON ALMA — Dubai Prime Residential
   Cinematic, editorial, restrained. */

:root {
  --noir: #0D0E10;
  --ink: #16181B;
  --ink-2: #2A2D31;
  --paper: #F4F1EB;
  --stone: #E7E1D4;
  --line: #D8D1C0;
  --line-dark: #2A2D31;
  --muted: #6B6760;
  --muted-dark: #8A8780;
  --accent: oklch(0.35 0.06 250); /* deep marine */
  --accent-soft: oklch(0.86 0.02 250);
  --focus: oklch(0.55 0.13 250);

  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

#root { min-height: 100vh; }

/* ───── type ───── */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); }
.label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.label-dark { color: var(--muted-dark); }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1.display, .display-1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 7.2vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.025em;
}
h2.display, .display-2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.display-3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 2.8vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.italic-flex { font-style: italic; font-weight: 300; }

p.lead {
  font-family: var(--serif);
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.45;
  font-weight: 400;
  color: var(--ink);
  max-width: 64ch;
}

p.body { font-size: 15px; line-height: 1.65; color: var(--ink); max-width: 62ch; }
p.body-dark { color: rgba(244,241,235,0.78); }

/* ───── layout ───── */
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .container { padding: 0 22px; } }

.section { padding: clamp(80px, 11vw, 160px) 0; }
.section-tight { padding: clamp(56px, 8vw, 112px) 0; }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
@media (max-width: 720px) { .grid-12 { grid-template-columns: repeat(6, 1fr); gap: 16px; } }

/* ───── nav ───── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.dark { color: var(--paper); }
.nav.light { color: var(--ink); }
.nav.scrolled.dark {
  background: rgba(13,14,16,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255,255,255,0.08);
}
.nav.scrolled.light {
  background: rgba(244,241,235,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
@media (max-width: 720px) { .nav { padding: 14px 22px; } }

.brand {
  display: flex; align-items: baseline; gap: 12px;
  cursor: pointer;
  user-select: none;
}
.brand-mark {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.04em;
  font-weight: 400;
}
.brand-sub {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
}
@media (max-width: 720px) { .brand-sub { display: none; } }

.nav-links {
  display: flex; gap: 32px;
  font-size: 13.5px;
  letter-spacing: 0.02em;
}
.nav-links button {
  background: none; border: 0; color: inherit;
  font: inherit; cursor: pointer; padding: 6px 0;
  position: relative; opacity: 0.86;
  transition: opacity 0.2s;
}
.nav-links button:hover { opacity: 1; }
.nav-links button.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: currentColor;
}
@media (max-width: 980px) { .nav-links { display: none; } }

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-cta {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 10px 18px; border: 1px solid currentColor;
  background: transparent; color: inherit;
  cursor: pointer; font-family: var(--sans); font-weight: 500;
  transition: background 0.25s, color 0.25s;
}
.nav-cta:hover { background: currentColor; }
.nav.dark .nav-cta:hover { color: var(--noir); }
.nav.light .nav-cta:hover { color: var(--paper); }

.locale {
  display: flex; gap: 4px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.locale button {
  background: none; border: 0; color: inherit; font: inherit;
  padding: 4px 6px; cursor: pointer; opacity: 0.5;
  transition: opacity 0.2s;
}
.locale button.active { opacity: 1; }
.locale button:hover { opacity: 0.85; }
@media (max-width: 720px) { .locale { display: none; } }

/* ───── hero ───── */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--noir);
  color: var(--paper);
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-img.active { opacity: 1; }
.hero-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,14,16,0.45) 0%, rgba(13,14,16,0.15) 35%, rgba(13,14,16,0.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 120px 40px 56px;
}
@media (max-width: 720px) { .hero-content { padding: 110px 22px 32px; } }

.hero-meta {
  display: flex; justify-content: space-between; align-items: flex-start;
  color: rgba(244,241,235,0.7);
}
.hero-meta .label { color: rgba(244,241,235,0.6); }

.hero-headline {
  align-self: end;
  max-width: 1080px;
}
.hero-headline h1 { color: var(--paper); }
.hero-headline .sub {
  font-family: var(--serif);
  font-size: clamp(18px, 1.55vw, 24px);
  font-style: italic;
  font-weight: 300;
  margin-top: 28px;
  color: rgba(244,241,235,0.82);
  max-width: 52ch;
}

.hero-bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; padding-top: 56px;
  border-top: 1px solid rgba(244,241,235,0.18);
  margin-top: 56px;
}
.hero-stat { color: rgba(244,241,235,0.78); }
.hero-stat .n {
  font-family: var(--serif); font-size: clamp(26px, 2.3vw, 38px);
  font-weight: 300; line-height: 1;
}
.hero-stat .l { display: block; margin-top: 8px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.6; }

.hero-scroll {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; opacity: 0.7;
}
.hero-scroll svg { animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

.hero-img-switcher {
  position: absolute; bottom: 32px; right: 40px; z-index: 3;
  display: flex; gap: 8px;
}
.hero-img-switcher button {
  width: 36px; height: 2px;
  background: rgba(244,241,235,0.25);
  border: 0; cursor: pointer; padding: 0;
  transition: background 0.3s;
}
.hero-img-switcher button.active { background: var(--paper); }
@media (max-width: 720px) { .hero-img-switcher { right: 22px; bottom: 24px; } }

/* ───── search bar ───── */
.search {
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1.4fr 1fr 1fr auto;
  align-items: stretch;
  max-width: 1100px;
  margin: -40px auto 0;
  position: relative;
  z-index: 5;
}
.search-tabs {
  display: flex; border-right: 1px solid var(--line);
}
.search-tabs button {
  padding: 22px 22px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  background: transparent; border: 0; color: var(--muted); cursor: pointer;
  font-family: var(--sans); font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.search-tabs button.active { color: var(--ink); border-bottom-color: var(--accent); }
.search-field {
  display: flex; flex-direction: column;
  justify-content: center; padding: 14px 20px;
  border-right: 1px solid var(--line);
}
.search-field:last-of-type { border-right: 0; }
.search-field label { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.search-field input, .search-field select {
  background: transparent; border: 0; outline: none;
  font: inherit; color: var(--ink); font-size: 14px;
  appearance: none; -webkit-appearance: none;
  padding: 2px 0;
}
.search-go {
  background: var(--noir); color: var(--paper);
  border: 0; padding: 0 36px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  font-family: var(--sans); font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.search-go:hover { background: var(--accent); }

@media (max-width: 980px) {
  .search { grid-template-columns: 1fr 1fr; margin: -28px 20px 0; max-width: none; }
  .search-tabs { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .search-go { grid-column: 1 / -1; padding: 18px; }
}

/* ───── property card ───── */
.prop-card {
  cursor: pointer;
  display: flex; flex-direction: column;
  gap: 18px;
}
.prop-card .img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--stone);
  position: relative;
}
.prop-card .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.prop-card:hover .img-wrap img { transform: scale(1.05); }
.prop-card .img-wrap .tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(13,14,16,0.7);
  color: var(--paper);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 10px;
  backdrop-filter: blur(8px);
}
.prop-card .meta-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.prop-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; }
.prop-card .area { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.prop-card .specs {
  display: flex; gap: 22px;
  font-size: 13px;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.prop-card .specs strong { color: var(--ink); font-weight: 500; }
.prop-card .price {
  font-family: var(--serif); font-size: 20px; font-weight: 400;
}
.prop-card .poa { font-style: italic; color: var(--muted); }

/* ───── reusable ───── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--noir); color: var(--paper);
  padding: 16px 28px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  font-family: var(--sans); font-weight: 500;
  border: 0; cursor: pointer;
  transition: background 0.25s, gap 0.25s;
}
.btn-primary:hover { background: var(--accent); gap: 22px; }
.btn-primary .arrow { font-family: var(--serif); font-weight: 300; font-size: 18px; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 12px;
  background: transparent; color: var(--ink);
  padding: 14px 0;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  font-family: var(--sans); font-weight: 500;
  border: 0; border-bottom: 1px solid var(--ink); cursor: pointer;
  transition: gap 0.25s, color 0.25s;
}
.btn-ghost:hover { gap: 22px; color: var(--accent); border-color: var(--accent); }

.btn-light {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--paper); color: var(--noir);
  padding: 16px 28px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  font-family: var(--sans); font-weight: 500;
  border: 0; cursor: pointer;
  transition: gap 0.25s;
}
.btn-light:hover { gap: 22px; }

.divider-rule {
  height: 1px; background: var(--line); border: 0; margin: 0;
}
.divider-rule.dark { background: rgba(244,241,235,0.18); }

/* section heads */
.sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 56px; gap: 32px;
}
.sec-head .lhs { display: flex; flex-direction: column; gap: 18px; max-width: 64ch; }
.sec-head h2 { color: inherit; }
@media (max-width: 720px) { .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; } }

/* dark section variant */
.section.dark { background: var(--noir); color: var(--paper); }
.section.dark .label { color: var(--muted-dark); }
.section.dark .prop-card .area { color: var(--muted-dark); }
.section.dark .prop-card .specs { border-color: rgba(244,241,235,0.15); color: var(--muted-dark); }
.section.dark .prop-card .specs strong { color: var(--paper); }

/* ───── area tiles ───── */
.area-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.area-tile {
  grid-column: span 4;
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.area-tile:nth-child(3n) { border-right: 0; }
.area-tile .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.area-tile:hover .bg { transform: scale(1.06); }
.area-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,14,16,0) 40%, rgba(13,14,16,0.85) 100%);
}
.area-tile .label-wrap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 32px;
  color: var(--paper);
  z-index: 2;
}
.area-tile .label-wrap .nm {
  font-family: var(--serif); font-size: 28px; font-weight: 400;
  letter-spacing: -0.01em;
}
.area-tile .label-wrap .ct {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 8px;
}
.area-tile .label-wrap .ct .l {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.8;
}
.area-tile .label-wrap .ct .n {
  font-family: var(--serif); font-size: 24px; font-weight: 300;
}
@media (max-width: 980px) {
  .area-tile { grid-column: span 6; }
  .area-tile:nth-child(3n) { border-right: 1px solid var(--line); }
  .area-tile:nth-child(2n) { border-right: 0; }
}
@media (max-width: 600px) {
  .area-tile { grid-column: span 6; }
}

/* ───── editorial split ───── */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.editorial-img {
  aspect-ratio: 4/5;
  background-size: cover; background-position: center;
}
.editorial-text { display: flex; flex-direction: column; gap: 28px; max-width: 52ch; }
@media (max-width: 900px) {
  .editorial { grid-template-columns: 1fr; gap: 48px; }
  .editorial-img { aspect-ratio: 4/3; }
}

/* ───── insights/journal ───── */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.journal-card {
  cursor: pointer;
  display: flex; flex-direction: column; gap: 18px;
}
.journal-card .img {
  aspect-ratio: 5/4;
  background-size: cover; background-position: center;
  transition: transform 1.2s ease;
}
.journal-card:hover .img { transform: scale(0.98); }
.journal-card .cat {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-top: 8px;
}
.journal-card h4 {
  font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.22;
  letter-spacing: -0.01em;
}
.journal-card .read {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 980px) { .journal-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .journal-grid { grid-template-columns: 1fr; } }

/* ───── footer ───── */
.footer {
  background: var(--noir); color: var(--paper);
  padding: 96px 0 32px;
}
.footer .grid-12 { padding-bottom: 64px; border-bottom: 1px solid rgba(244,241,235,0.12); }
.footer-col h5 {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(244,241,235,0.5);
  margin-bottom: 22px; font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  color: rgba(244,241,235,0.85);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
  cursor: pointer;
}
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(244,241,235,0.5);
}
@media (max-width: 720px) {
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}

.footer-brand .brand-mark { font-size: 32px; color: var(--paper); }
.footer-brand .brand-sub { color: rgba(244,241,235,0.6); margin-top: 8px; display: block; }

/* ───── forms (valuation/list/viewing) ───── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}
.form-grid .full { grid-column: 1 / -1; }
.field {
  display: flex; flex-direction: column; gap: 8px;
}
.field label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-dark);
  padding: 10px 0;
  font: inherit; font-size: 16px;
  color: inherit;
  outline: none;
  font-family: var(--serif);
  font-weight: 400;
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.field textarea { resize: vertical; min-height: 96px; font-family: var(--sans); font-size: 14px; }
.field .opt-row { display: flex; gap: 10px; flex-wrap: wrap; }
.field .opt {
  padding: 9px 16px;
  border: 1px solid var(--line-dark);
  font-size: 12px;
  cursor: pointer;
  font-family: var(--sans); font-weight: 500;
  letter-spacing: 0.06em;
  background: transparent; color: inherit;
  transition: all 0.2s;
}
.field .opt.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.field .opt:hover { border-color: var(--ink); }
.section.dark .field label { color: var(--muted-dark); }
.section.dark .field input, .section.dark .field select, .section.dark .field textarea {
  border-bottom-color: rgba(244,241,235,0.2); color: var(--paper);
}
.section.dark .field .opt { border-color: rgba(244,241,235,0.25); color: var(--paper); }
.section.dark .field .opt.active { background: var(--paper); color: var(--noir); border-color: var(--paper); }

@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; gap: 22px; } }

/* ───── timeline ───── */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  padding-top: 24px;
}
.timeline::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--line);
}
.timeline-item { display: flex; flex-direction: column; gap: 18px; }
.timeline-item .yr {
  font-family: var(--serif); font-size: 36px; font-weight: 300;
  color: var(--accent); line-height: 1; padding-top: 24px;
  position: relative;
}
.timeline-item .yr::before {
  content: ""; position: absolute; top: 0; left: 0; width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
  transform: translateY(-4px);
}
.timeline-item h4 { font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.25; }
.timeline-item p { font-size: 14px; line-height: 1.6; color: var(--muted); }
@media (max-width: 720px) { .timeline { grid-template-columns: 1fr; gap: 36px; } }

/* ───── gallery (PDP) ───── */
.pdp-hero {
  position: relative;
  height: 88vh; min-height: 600px;
  background-size: cover; background-position: center;
  color: var(--paper);
}
.pdp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,14,16,0.3) 0%, rgba(13,14,16,0) 30%, rgba(13,14,16,0.75) 100%); }
.pdp-hero .label-overlay {
  position: relative; z-index: 1;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 40px 56px;
  max-width: 1440px; margin: 0 auto;
  width: 100%;
}
.pdp-hero .ref {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(244,241,235,0.7);
  margin-bottom: 18px;
}
.pdp-hero h1 { font-family: var(--serif); font-size: clamp(40px, 5vw, 80px); font-weight: 300; line-height: 1; letter-spacing: -0.02em; }
.pdp-hero .area { font-family: var(--serif); font-size: clamp(20px, 1.7vw, 28px); font-style: italic; font-weight: 300; margin-top: 16px; opacity: 0.85; }
@media (max-width: 720px) { .pdp-hero .label-overlay { padding: 0 22px 36px; } }

.pdp-specs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pdp-spec {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
}
.pdp-spec:last-child { border-right: 0; }
.pdp-spec .v { font-family: var(--serif); font-size: 36px; font-weight: 300; line-height: 1; color: var(--ink); }
.pdp-spec .l { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
@media (max-width: 720px) { .pdp-specs { grid-template-columns: 1fr 1fr; } .pdp-spec:nth-child(2) { border-right: 0; } .pdp-spec:nth-child(1), .pdp-spec:nth-child(2) { border-bottom: 1px solid var(--line); } }

.pdp-gallery {
  display: grid; grid-template-columns: 2fr 1fr; gap: 12px;
  margin-top: 0;
}
.pdp-gallery .lg { grid-row: span 2; aspect-ratio: 4/5; background-size: cover; background-position: center; cursor: zoom-in; }
.pdp-gallery .sm { aspect-ratio: 4/3; background-size: cover; background-position: center; cursor: zoom-in; }
@media (max-width: 720px) { .pdp-gallery { grid-template-columns: 1fr; } .pdp-gallery .lg { aspect-ratio: 4/3; grid-row: auto; } }

/* ───── advisor card ───── */
.advisor {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px;
  display: flex; flex-direction: column; gap: 22px;
  position: sticky; top: 100px;
}
.section.dark .advisor { background: var(--ink); border-color: rgba(244,241,235,0.15); }
.advisor .top { display: flex; gap: 18px; align-items: center; }
.advisor .ava {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--stone), var(--line));
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 26px; font-weight: 300; color: var(--ink);
  flex-shrink: 0;
}
.advisor .nm { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.advisor .ti { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.advisor .ln { padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
.advisor .ln strong { color: var(--ink); font-weight: 500; }
.section.dark .advisor .ln { border-color: rgba(244,241,235,0.15); color: var(--muted-dark); }
.section.dark .advisor .ln strong { color: var(--paper); }
.section.dark .advisor .nm { color: var(--paper); }
.advisor .ctas { display: flex; flex-direction: column; gap: 10px; }

/* ───── badges ───── */
.chip {
  display: inline-flex; align-items: center;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid currentColor;
  background: transparent;
}

/* ───── page transition ───── */
.page-fade {
  animation: pageFade 0.6s ease;
}
@keyframes pageFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* ───── WhatsApp FAB ───── */
.fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 40;
  width: 56px; height: 56px;
  background: var(--noir); color: var(--paper);
  border: 0; border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(13,14,16,0.18);
  transition: transform 0.25s, background 0.25s;
}
.fab:hover { background: var(--accent); transform: scale(1.06); }
.fab svg { width: 22px; height: 22px; }

/* dev microsite hero override */
.dev-hero {
  position: relative;
  min-height: 100vh;
  background-size: cover; background-position: center;
  color: var(--paper);
}
.dev-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,14,16,0.4) 0%, rgba(13,14,16,0.1) 40%, rgba(13,14,16,0.8) 100%); }
.dev-hero .inner {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: 120px 40px 56px;
  max-width: 1440px; margin: 0 auto;
}
.dev-hero .floor { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; padding-top: 64px; border-top: 1px solid rgba(244,241,235,0.18); }
.dev-hero h1 { font-family: var(--serif); font-size: clamp(60px, 8vw, 140px); font-weight: 300; line-height: 0.92; letter-spacing: -0.025em; }
.dev-hero .tag-line { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 28px); font-weight: 300; margin-top: 32px; opacity: 0.86; max-width: 48ch; }
.dev-hero .factstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.dev-hero .fact .v { font-family: var(--serif); font-size: 28px; font-weight: 300; }
.dev-hero .fact .l { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.65; margin-top: 4px; }
@media (max-width: 720px) {
  .dev-hero .inner { padding: 110px 22px 32px; }
  .dev-hero .floor { grid-template-columns: 1fr; }
  .dev-hero .factstrip { grid-template-columns: 1fr 1fr; }
}

/* big quote */
.bigquote {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(32px, 4vw, 60px); line-height: 1.15; letter-spacing: -0.015em;
  max-width: 26ch;
}
.bigquote .cite {
  font-style: normal;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  display: block; margin-top: 24px;
  color: var(--muted);
}
.section.dark .bigquote .cite { color: var(--muted-dark); }

/* tag pills row */
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; }
.tagrow .tg {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 12px; border: 1px solid var(--line); color: var(--muted);
}
.section.dark .tagrow .tg { border-color: rgba(244,241,235,0.15); color: var(--muted-dark); }

/* utility */
.col-6 { grid-column: span 6; }
.col-5 { grid-column: span 5; }
.col-7 { grid-column: span 7; }
.col-4 { grid-column: span 4; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }
.col-3 { grid-column: span 3; }
@media (max-width: 720px) {
  .col-6, .col-5, .col-7, .col-4, .col-8, .col-3 { grid-column: 1 / -1; }
}

.stack-lg { display: flex; flex-direction: column; gap: 32px; }
.stack-md { display: flex; flex-direction: column; gap: 18px; }
.stack-sm { display: flex; flex-direction: column; gap: 12px; }
.row-gap-lg { display: flex; gap: 24px; flex-wrap: wrap; }

.success-msg {
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  padding: 32px;
  font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.4;
}
.section.dark .success-msg { background: rgba(255,255,255,0.05); color: var(--paper); }

.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kpi { padding: 32px 0; border-right: 1px solid var(--line); padding-left: 24px; }
.kpi:last-child { border-right: 0; }
.kpi .v { font-family: var(--serif); font-size: clamp(32px, 3.4vw, 52px); font-weight: 300; line-height: 1; }
.kpi .l { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.section.dark .kpi-row { border-color: rgba(244,241,235,0.15); }
.section.dark .kpi { border-color: rgba(244,241,235,0.15); }
.section.dark .kpi .l { color: var(--muted-dark); }
@media (max-width: 720px) {
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .kpi:nth-child(2) { border-right: 0; }
  .kpi:nth-child(1), .kpi:nth-child(2) { border-bottom: 1px solid var(--line); }
  .section.dark .kpi:nth-child(1), .section.dark .kpi:nth-child(2) { border-color: rgba(244,241,235,0.15); }
}

/* scroll lock during transitions handled in JS */
