/* ============================================================
   ECLIPSE CAPITAL — 2026 REDESIGN
   "The Vault" — editorial dark finance
   ============================================================ */


/* ---------- Tokens ---------- */
:root {
  --midnight: #111C2E;
  --navy: #192536;
  --navy-2: #1F2E45;
  --navy-3: #263852;
  --navy-line: rgba(255,255,255,0.06);

  --gold: #C2AB82;
  --gold-light: #DCC9A3;
  --gold-deep: #7A6440;
  --gold-glow: rgba(194, 171, 130, 0.22);
  --gold-faint: rgba(194, 171, 130, 0.10);

  --paper: #F6F3EC;      /* warm bone for editorial sections */
  --paper-2: #ECE5D3;
  --ink: #16202F;
  --cream: #FFFDF8;
  --rule-l: #DDD5C0;
  --ink-2: #3A4558;
  --ash: #98A1B0;
  --ash-2: #B6BDC9;

  --pos: #7ED1A0;
  --neg: #E07A6B;

  --font-display: 'Fraunces', 'Times New Roman', Georgia, serif;
  --font-body: 'Geist', system-ui, -apple-system, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;

  --max-w: 1320px;
  --gutter: max(clamp(20px, 4vw, 56px), env(safe-area-inset-left), env(safe-area-inset-right));

  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out-quint: cubic-bezier(0.83, 0, 0.17, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (hover: hover) and (pointer: fine) {
  /* Only enable smooth-scroll on desktop — mobile uses native momentum */
  html { scroll-behavior: smooth; }
}
body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--navy);
  color: rgba(255,255,255,0.86);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variation-settings: 'wght' 400;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--navy); }

/* ---------- Accessibility: honor prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* Reveal animations: just show content immediately */
  .reveal, .reveal-line span { opacity: 1 !important; transform: none !important; }
  /* Hide the custom cursor entirely */
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ---------- Custom cursor (desktop only) ---------- */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, input, textarea, select, label, .cursor-trigger { cursor: none; }
  .cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width .25s var(--ease-out-quint), height .25s var(--ease-out-quint), background .25s, opacity .2s;
    mix-blend-mode: difference;
    opacity: 0.85;
  }
  .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 26px; height: 26px;
    border: 1px solid rgba(194, 171, 130, 0.35);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width .35s var(--ease-out-quint), height .35s var(--ease-out-quint), border-color .25s, opacity .2s;
  }
  .cursor-dot.hover { width: 4px; height: 4px; }
  .cursor-ring.hover { width: 48px; height: 48px; border-color: var(--gold-light); }
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 28px; height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.eyebrow--dark { color: var(--ink-2); }
.eyebrow--dark::before { background: var(--gold-deep); }

/* ---------- Typography ---------- */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-variation-settings: 'opsz' 144, 'SOFT' 30, 'wght' 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: #fff;
}

h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -0.025em; }
h3 { font-size: clamp(22px, 1.8vw, 28px); line-height: 1.2; letter-spacing: -0.015em; font-variation-settings: 'opsz' 60, 'SOFT' 30, 'wght' 400; }

.serif-italic { font-style: italic; font-variation-settings: 'opsz' 144, 'SOFT' 100, 'wght' 300; }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(17, 28, 46, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease-out-quint), padding .4s var(--ease-out-quint), border-color .4s;
}
.nav.scrolled {
  background: rgba(17, 28, 46, 0.94);
  padding: 12px var(--gutter);
  border-bottom-color: rgba(255,255,255,0.06);
}
/* On mobile drop the blur entirely — pure solid is much smoother to scroll under */
@media (max-width: 900px) {
  .nav {
    background: rgba(17, 28, 46, 0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav.scrolled { background: rgba(17, 28, 46, 1); }
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  text-decoration: none;
}
.nav__logo-img {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
  transition: transform .35s var(--ease-out-quint), filter .35s;
}
.nav__brand:hover .nav__logo-img {
  transform: scale(1.03);
  filter: drop-shadow(0 4px 14px rgba(194, 171, 130, 0.25));
}
.nav.scrolled .nav__logo-img { height: 38px; transition: height .4s var(--ease-out-quint); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out-quint);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a.active { color: var(--gold); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  transition: background .3s;
}
.nav__cta:hover { background: var(--gold-light); }
.nav__cta svg { transition: transform .35s var(--ease-out-quint); }
.nav__cta:hover svg { transform: translateX(4px); }

.nav__burger {
  display: none;
  width: 36px; height: 36px;
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 6px; right: 6px;
  height: 1px;
  background: rgba(255,255,255,0.8);
  transition: transform .35s var(--ease-out-quint), opacity .25s;
}
.nav__burger span:nth-child(1) { top: 12px; }
.nav__burger span:nth-child(2) { top: 24px; }
.nav.open .nav__burger span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.nav.open .nav__burger span:nth-child(2) { top: 18px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav__burger { display: block; z-index: 102; }
  .nav__brand { position: relative; z-index: 102; }
  .nav__links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #0B1422;
    background-color: #0B1422;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 26px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s var(--ease-out-quint);
    z-index: 101;
    padding: 80px 24px 40px;
    overflow-y: auto;
  }
  .nav__links a {
    font-family: var(--font-display);
    font-variation-settings: 'opsz' 144, 'SOFT' 40, 'wght' 400;
    font-size: clamp(28px, 7vw, 34px);
    color: #fff;
    padding: 8px 0;
  }
  .nav__links a::after { display: none; }
  .nav.open .nav__links { opacity: 1; pointer-events: auto; }
  .nav__cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 140px var(--gutter) 80px;
  overflow: hidden;
  background: #142640;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("photos/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.55;
}
/* Dark-to-light gradient overlay: strong on left for headline readability, fades right so photos breathe */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(20, 38, 64, 0.96) 0%, rgba(20, 38, 64, 0.85) 40%, rgba(20, 38, 64, 0.45) 70%, rgba(20, 38, 64, 0.25) 100%),
    linear-gradient(180deg, rgba(20, 38, 64, 0.2) 0%, transparent 50%, rgba(11, 26, 51, 0.6) 100%);
  pointer-events: none;
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  pointer-events: none;
}
/* Legacy elements kept but hidden — collage replaces them */
.hero__eclipse,
.hero__eclipse--inner,
.hero__noise { display: none; }

.hero__content {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: end;
  min-height: calc(100vh - 220px);
  min-height: calc(100svh - 220px);
}

.hero__pretitle {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}
.hero__pretitle .pin {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-faint);
}
.hero__pretitle .pin::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.hero__pretitle .text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 40, 'wght' 350;
  font-size: clamp(48px, 6.5vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 32px;
}
.hero__title .it {
  font-style: italic;
  color: var(--gold);
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'wght' 320;
}
.hero__title .reveal-line {
  display: block;
  overflow: hidden;
}
.hero__title .reveal-line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: line-up 1.1s var(--ease-out-quint) forwards;
}
.hero__title .reveal-line:nth-child(2) > span { animation-delay: 0.12s; }
.hero__title .reveal-line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes line-up {
  to { transform: translateY(0%); }
}

.hero__sub {
  max-width: 520px;
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin-bottom: 44px;
  opacity: 0;
  animation: fade-up .9s var(--ease-out-quint) .55s forwards;
}
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 60px;
  opacity: 0;
  animation: fade-up .9s var(--ease-out-quint) .7s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 28px;
  font-size: 13px;
  letter-spacing: 0.02em;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease-out-quint);
}
.btn svg { transition: transform .35s var(--ease-out-quint); }
.btn:hover svg { transform: translateX(5px); }

.btn--primary {
  background: var(--gold);
  color: var(--navy);
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: translateY(100%);
  transition: transform .4s var(--ease-out-quint);
  z-index: 0;
}
.btn--primary:hover::before { transform: translateY(0); }
.btn--primary > * { position: relative; z-index: 1; }

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--dark {
  background: var(--navy);
  color: #fff;
}
.btn--dark:hover { background: var(--midnight); }

.hero__meta {
  /* Span both columns of .hero__content grid, sit below the text + flip card */
  grid-column: 1 / -1;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-top: 1px solid var(--gold-faint);
  border-bottom: 1px solid var(--gold-faint);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  opacity: 0;
  animation: fade-up .9s var(--ease-out-quint) .85s forwards;
}
.hero__meta-item {
  background: rgba(11, 26, 51, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 28px 24px;
  text-align: center;
}
.hero__meta-item .num {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.6vw, 38px);
  color: var(--gold);
  font-variation-settings: 'opsz' 60, 'SOFT' 30, 'wght' 380;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.hero__meta-item .label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ---------- Hero flip card (3D flip) ---------- */
.flip-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 460px;
  margin-left: auto;
  perspective: 1400px;
  cursor: pointer;
  outline: none;
}
.flip-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 8px; }

.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .85s var(--ease-out-quint);
}
.flip-card.is-flipped .flip-card__inner { transform: rotateY(180deg); }

.flip-card__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  background: var(--navy);
  border: 1px solid var(--gold-faint);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.flip-card__face--back {
  transform: rotateY(180deg);
  background: var(--midnight);
  padding: 30px 28px 24px;
  justify-content: space-between;
}

/* Front: photo + gradient + numbers */
.flip-card__photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.flip-card__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(17, 28, 46, 0) 30%, rgba(17, 28, 46, 0.75) 60%, rgba(17, 28, 46, 0.96) 100%),
    linear-gradient(180deg, rgba(17, 28, 46, 0.5) 0%, transparent 40%);
}

.flip-card__corner {
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid var(--gold);
  z-index: 3;
}
.flip-card__corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.flip-card__corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.flip-card__corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.flip-card__corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

.flip-card__badge {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(17, 28, 46, 0.78);
  border: 1px solid var(--gold-faint);
  padding: 7px 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.flip-card__front-body,
.flip-card__back-body {
  position: relative;
  z-index: 2;
  padding: 32px 28px 28px;
}
.flip-card__back-body { padding: 0; }

.flip-card__property {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'SOFT' 40, 'wght' 380;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 6px;
}
.flip-card__address {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
}

/* Front: 3-stat row floating over photo */
.flip-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.flip-card__stat {
  display: flex;
  flex-direction: column;
}
.flip-card__stat-k {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 6px;
}
.flip-card__stat-v {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
}
.flip-card__stat-v.gold { color: var(--gold); }

.flip-card__hint {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 14px;
  border-top: 1px solid rgba(194, 171, 130, 0.25);
  transition: gap .25s var(--ease-out-quint);
}
.flip-card:hover .flip-card__hint { gap: 14px; }
.flip-card__hint svg { transition: transform .35s var(--ease-out-quint); }
.flip-card:hover .flip-card__hint svg { transform: translateX(2px); }

/* Back: full ledger */
.flip-card__rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 24px 0;
}
.flip-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
  font-family: var(--font-mono);
  font-size: 13px;
}
.flip-card__row:last-child { border-bottom: 0; }
.flip-card__row .k {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.flip-card__row .v {
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.flip-card__row .v.gold { color: var(--gold); }
.flip-card__row .v.pos { color: #7ED1A0; }

.flip-card__cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 0 auto !important;
  max-width: 460px;
  width: 100%;
}

.live-dot--gold {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
}

@media (max-width: 980px) {
  /* Disable the 3D flip on mobile — show front face as a static card.
     Mobile Safari's 3D transform support is unreliable, and tapping a card
     to flip doesn't make sense on touch (no "back to original" gesture).
     "See more projects" takes them to the full ledger anyway. */
  .flip-card {
    perspective: none;
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    max-width: 100%;
    margin-left: 0;
    cursor: default;
  }
  .flip-card__inner {
    transform: none !important;
    transform-style: flat;
    position: static;
    height: auto;
  }
  .flip-card.is-flipped .flip-card__inner { transform: none !important; }
  .flip-card__face--back { display: none; }
  .flip-card__face {
    position: relative;
    inset: auto;
    aspect-ratio: auto;
    height: auto;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
  }
  .flip-card__face--front {
    display: grid;
    grid-template-rows: 280px auto;
  }
  .flip-card__photo {
    position: relative;
    height: 280px;
    grid-row: 1;
  }
  .flip-card__gradient {
    grid-row: 1;
    grid-column: 1;
  }
  .flip-card__front-body {
    grid-row: 2;
    background: var(--midnight);
    padding: 26px 22px 24px;
    z-index: 4;
    position: relative;
  }
  .flip-card__hint { display: none; }
  .flip-card__property { font-size: 28px; }
  .flip-card__stat-v { font-size: 18px; }
  .flip-card__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 0;
    padding-top: 18px;
  }
  .flip-card__cta { margin-left: 0 !important; margin-top: 18px; }
}
@media (max-width: 480px) {
  .flip-card__face--front { grid-template-rows: 240px auto; }
  .flip-card__photo { height: 240px; }
  .flip-card__property { font-size: 24px; }
  .flip-card__stat-v { font-size: 16px; }
  .flip-card__stat-k { font-size: 9px; }
}

/* ---------- Hero deal card (legacy) ---------- */
.deal-card {
  position: relative;
  padding: 32px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  opacity: 0;
  animation: card-in 1.1s var(--ease-out-quint) .35s forwards;
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.deal-card__corner {
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--gold);
}
.deal-card__corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.deal-card__corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.deal-card__corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.deal-card__corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.deal-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 22px;
}
.deal-card__head .label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.deal-card__head .id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.deal-card__property {
  font-family: var(--font-display);
  font-size: 22px;
  font-variation-settings: 'opsz' 36, 'SOFT' 30, 'wght' 380;
  color: #fff;
  margin-bottom: 6px;
}
.deal-card__address {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 22px;
}

.deal-card__rows {
  display: grid;
  gap: 0;
}
.deal-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px dashed rgba(255,255,255,0.06);
}
.deal-card__row:first-child { border-top: 0; }
.deal-card__row .k {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.55);
}
.deal-card__row .v {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  font-feature-settings: "tnum" 1;
}
.deal-card__row .v.gold { color: var(--gold); }
.deal-card__row .v.pos { color: var(--pos); }

.deal-card__foot {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 10px;
}
.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pos);
  box-shadow: 0 0 0 0 rgba(111, 207, 143, 0.7);
  animation: live 2s ease-in-out infinite;
}
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(111, 207, 143, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(111, 207, 143, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 207, 143, 0); }
}
.deal-card__foot .status {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.deal-card__badge {
  position: absolute;
  padding: 7px 12px;
  background: var(--navy);
  border: 1px solid var(--gold);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.deal-card__badge.b1 { top: -12px; right: 20px; }
.deal-card__badge.b2 { bottom: -12px; left: 30px; }

@media (max-width: 960px) {
  .hero__content { grid-template-columns: 1fr; gap: 60px; }
  .hero__meta { grid-template-columns: repeat(3, 1fr); gap: 1px; }
  .hero__meta-item { padding: 18px 12px 18px 12px; }
  .hero__meta-item .num { font-size: clamp(22px, 6.5vw, 30px); }
  .hero__meta-item .label { font-size: 9.5px; letter-spacing: 0.14em; }
}
@media (max-width: 440px) {
  .hero__meta-item { padding: 14px 10px; }
  .hero__meta-item .num { font-size: 22px; }
  .hero__meta-item .label { font-size: 9px; }
}

/* ---------- Marquee ticker ---------- */
.ticker {
  background: var(--midnight);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0;
  overflow: hidden;
}
.ticker__track {
  display: flex;
  gap: 80px;
  animation: ticker 40s linear infinite;
  white-space: nowrap;
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.ticker__item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ---------- Generic section ---------- */
.section {
  padding: clamp(80px, 9vw, 140px) var(--gutter);
  position: relative;
}
.section--dark { background: var(--navy); }
.section--midnight { background: var(--midnight); }
.section--paper { background: var(--paper); color: var(--ink); }

.section__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 60px;
}
.section__head h2 { max-width: 12ch; }
.section__head .intro {
  max-width: 380px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
}
.section--paper .section__head .intro { color: var(--ink-2); }

@media (max-width: 800px) {
  .section__head { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Process / Approach ---------- */
.approach {
  position: relative;
}
.approach__list {
  display: grid;
  gap: 0;
}
.approach__row {
  display: grid;
  grid-template-columns: 80px 1.5fr 2fr 1fr;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  align-items: start;
  transition: background .3s, padding .4s var(--ease-out-quint);
  cursor: default;
}
.approach__row:last-child { border-bottom: 1px solid rgba(255,255,255,0.06); }
.approach__row:hover { padding-left: 16px; }
.approach__row .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  padding-top: 8px;
}
.approach__row .title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 32px);
  font-variation-settings: 'opsz' 60, 'SOFT' 40, 'wght' 380;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.approach__row .desc {
  font-size: 14.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}
.approach__row .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding-top: 12px;
  text-align: right;
}

@media (max-width: 900px) {
  .approach__row {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 26px 0;
  }
  .approach__row:hover { padding-left: 0; }
  .approach__row .desc, .approach__row .meta {
    grid-column: 2;
  }
  .approach__row .num { padding-top: 4px; font-size: 10px; }
  .approach__row .title { font-size: 22px; line-height: 1.1; }
  .approach__row .desc { font-size: 14px; line-height: 1.6; }
  .approach__row .meta { text-align: left; padding-top: 6px; font-size: 10px; }
}

/* ---------- Team (editorial, centered) ---------- */
.team__grid {
  display: grid;
  /* 12-col system: 4 cards × 3 cols on top row, 3 cards × 3 cols centered on bottom */
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.team-card { grid-column: span 3; }
/* Borders: vertical dividers between cards within each row */
.team-card:nth-child(1),
.team-card:nth-child(2),
.team-card:nth-child(3),
.team-card:nth-child(5),
.team-card:nth-child(6),
.team-card:nth-child(7) { border-right: 1px solid rgba(255,255,255,0.06); }
.team-card:nth-child(4),
.team-card:nth-child(8) { border-right: 0; }
/* Horizontal divider between top and bottom row */
.team-card:nth-child(n+5) { border-top: 1px solid rgba(255,255,255,0.06); }
.team-card {
  background: transparent;
  padding: 36px 22px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  position: relative;
  transition: background .35s var(--ease-out-quint);
  border-right: 1px solid rgba(255,255,255,0.06);
}
/* per-card borders defined below in grid rules */
.team-card:hover { background: rgba(255,255,255,0.02); }

.team-card__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--midnight);
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
}
.team-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(35%) contrast(1.05);
  transition: filter .6s, transform 1.2s var(--ease-out-quint);
}
.team-card:hover .team-card__photo img {
  filter: grayscale(0%) contrast(1.05);
  transform: scale(1.04);
}
/* Gold corner ticks on hover — same language as deal cards */
.team-card__photo::before,
.team-card__photo::after {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border: 1px solid var(--gold);
  z-index: 2;
  opacity: 0;
  transition: opacity .4s var(--ease-out-quint);
}
.team-card__photo::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.team-card__photo::after  { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.team-card:hover .team-card__photo::before,
.team-card:hover .team-card__photo::after { opacity: 1; }

/* Initial-letter fallback */
.team-card__initial {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'SOFT' 30, 'wght' 320;
  font-size: 96px;
  color: var(--gold);
  background: radial-gradient(circle at 35% 35%, rgba(194, 171, 130,0.18), transparent 65%), var(--midnight);
  letter-spacing: -0.02em;
}
.team-card__photo img[src=""] + .team-card__initial,
.team-card__photo img:not([src]) + .team-card__initial { display: flex; }

.team-card__name {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 60, 'SOFT' 40, 'wght' 380;
  font-size: 24px;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 10px;
}
.team-card__role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 16px;
}
/* Thin gold rule under role */
.team-card__role::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
  transition: width .4s var(--ease-out-quint), opacity .4s;
}
.team-card:hover .team-card__role::after { width: 42px; opacity: 1; }

.team-card__bio {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
  max-width: 26ch;
}

/* Leadership tier (top row) gets a subtle centered gold tick */
.team-card:nth-child(1)::before,
.team-card:nth-child(2)::before,
.team-card:nth-child(3)::before,
.team-card:nth-child(4)::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 2px;
  background: var(--gold);
}

@media (max-width: 1300px) {
  .team__grid { grid-template-columns: repeat(12, 1fr); }
  .team-card { grid-column: span 4; }
  /* 8 cards × 4 cols = 3 rows of 3 cards (with row 3 having 2 + 1 lonely) — better: switch to 4-col-wide at this breakpoint */
  /* All borders */
  .team-card { border-right: 1px solid rgba(255,255,255,0.06); border-top: 0; }
  .team-card:nth-child(3n) { border-right: 0; }
  .team-card:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,0.06); }
  /* 8th card alone in row 3 — center it */
  .team-card:nth-child(8) { grid-column: 5 / span 4; }
}
@media (max-width: 700px) {
  /* Horizontal swipeable carousel on mobile */
  .team__grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--gutter);
    -webkit-overflow-scrolling: touch;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    /* Hide scrollbar but keep functionality */
    scrollbar-width: none;
  }
  .team__grid::-webkit-scrollbar { display: none; }

  .team-card {
    flex: 0 0 82vw;
    max-width: 320px;
    grid-column: auto !important;
    padding: 32px 22px 28px;
    scroll-snap-align: center;
    border-right: 1px solid rgba(255,255,255,0.06);
    border-top: 0 !important;
  }
  .team-card:nth-child(8) { border-right: 0; }
  .team-card__name { font-size: 21px; }
  .team-card__bio { font-size: 12.5px; }
  .team-card__photo { margin-bottom: 18px; max-width: 100%; aspect-ratio: 4 / 5; }
  /* Subtle "swipe hint" indicator below */
  .team::after {
    content: "← Swipe to meet the team →";
    display: block;
    text-align: center;
    margin-top: 18px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.65;
  }
}

/* ---------- Process (interactive turnkey timeline) ---------- */
.process {
  position: relative;
}

/* Top station bar */
.process__bar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-bottom: 60px;
  padding: 0 calc(10% / 2);
}
.process__line {
  position: absolute;
  top: 28px;
  left: calc(10% / 2 + 28px);
  right: calc(10% / 2 + 28px);
  height: 1px;
  background: rgba(255,255,255,0.08);
  z-index: 0;
}
.process__line-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-light));
  transition: width .8s var(--ease-out-quint);
  box-shadow: 0 0 12px rgba(194, 171, 130,0.4);
}
.process__node {
  position: relative;
  z-index: 1;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 0;
  transition: color .35s var(--ease-out-quint);
  text-align: center;
}
.process__node:hover { color: rgba(255,255,255,0.85); }
.process__node.active { color: #fff; }
.process__node-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--midnight);
  border: 1px solid rgba(255,255,255,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: border-color .4s var(--ease-out-quint), color .4s, transform .4s var(--ease-out-quint), box-shadow .4s;
  position: relative;
}
.process__node:hover .process__node-circle {
  border-color: var(--gold-faint);
  color: rgba(255,255,255,0.7);
  transform: scale(1.04);
}
.process__node.active .process__node-circle {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--navy);
  box-shadow: 0 0 0 6px rgba(194, 171, 130,0.08), 0 0 30px rgba(194, 171, 130,0.25);
  transform: scale(1.06);
}
.process__node.completed .process__node-circle {
  border-color: var(--gold-faint);
  color: var(--gold);
}
.process__node-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.55);
  transition: color .3s;
}
.process__node.active .process__node-num { color: var(--gold); }
.process__node-label {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 36, 'SOFT' 40, 'wght' 400;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

/* Detail panels */
.process__panels {
  position: relative;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 48px 44px 44px;
  overflow: hidden;
  min-height: 380px;
}
.process__panel {
  position: absolute;
  inset: 48px 44px 44px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity .5s var(--ease-out-quint), transform .6s var(--ease-out-quint);
}
.process__panel.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  inset: auto;
}

.process__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.process__step-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.process__title {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'SOFT' 40, 'wght' 380;
  font-size: clamp(32px, 3.6vw, 48px);
  letter-spacing: -0.025em;
  line-height: 1;
  color: #fff;
  margin: 0;
  flex: 1;
}
.process__timeline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 7px 14px;
  border: 1px solid var(--gold-faint);
  background: rgba(194, 171, 130, 0.05);
}

.process__lead {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 60, 'SOFT' 50, 'wght' 380;
  font-size: 19px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  margin: 22px 0 36px;
  max-width: 60ch;
  letter-spacing: -0.005em;
}

.process__columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.process__col {
  background: var(--navy);
  padding: 22px 24px 26px;
  position: relative;
}
.process__col-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
}
.process__col-head--gold { color: var(--gold); }
.process__col-head--minimal { color: rgba(255,255,255,0.55); }
.process__col-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}
.process__col-dot--gold { background: var(--gold); }
.process__col-dot--minimal { background: rgba(255,255,255,0.2); }

.process__list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 10px;
}
.process__list li {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.75);
  padding-left: 18px;
  position: relative;
}
.process__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.process__action {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin: 0;
}
.process__action em {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: 'opsz' 60, 'SOFT' 100, 'wght' 380;
  color: var(--gold);
  font-size: 17px;
  letter-spacing: -0.01em;
}

/* ---------- Mobile process (vertical accordion-less stack) ---------- */
@media (max-width: 900px) {
  .process__bar {
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    padding: 0;
    margin-bottom: 32px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .process__line { left: 28px; right: 28px; top: 24px; }
  .process__node-circle { width: 48px; height: 48px; }
  .process__node-circle svg { width: 18px; height: 18px; }
  .process__node-label { font-size: 12px; }
  .process__node-num { font-size: 9px; }
  .process__panels {
    padding: 32px 22px 28px;
    min-height: auto;
  }
  .process__panel {
    position: absolute;
    inset: 32px 22px 28px;
  }
  .process__panel.active {
    position: relative;
    inset: auto;
  }
  .process__head { gap: 14px; margin-bottom: 0; padding-bottom: 18px; }
  .process__title { font-size: clamp(26px, 7vw, 36px); }
  .process__lead { font-size: 15.5px; line-height: 1.55; margin: 18px 0 24px; }
  .process__columns {
    grid-template-columns: 1fr;
    border: 0;
  }
  .process__col { padding: 18px 20px 20px; border-top: 1px solid rgba(255,255,255,0.06); }
  .process__col:first-child { border-top: 0; padding-top: 14px; }
  .process__col-head { margin-bottom: 12px; }
  .process__action em { font-size: 16px; }
}
@media (max-width: 600px) {
  .process__bar { grid-template-columns: repeat(6, minmax(64px, 1fr)); padding-bottom: 4px; }
  .process__node-label { font-size: 11px; max-width: 70px; }
}

/* ---------- Before/After Showcase ---------- */
.showcase {
  background: var(--midnight);
}
.showcase__head { margin-bottom: 60px; }

.ba-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 48px;
  align-items: stretch;
}
/* Alternating layout — info on left, image on right */
.ba-feature--reverse {
  grid-template-columns: minmax(360px, 420px) minmax(0, 1fr);
}
.ba-feature--reverse .proj-info { order: 0; }
.ba-stage {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--navy-2);
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  border: 1px solid rgba(255,255,255,0.06);
}
.ba-stage__after,
.ba-stage__before {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.ba-stage__before {
  clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0);
}
.ba-stage svg { width: 100%; height: 100%; display: block; }

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--split, 50%);
  width: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 4;
}
.ba-handle::before, .ba-handle::after {
  content: "";
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px;
  border: 1px solid var(--gold);
  background: var(--navy);
  border-radius: 50%;
}
.ba-handle::before { top: -20px; }
.ba-handle::after { bottom: -20px; }
.ba-handle__knob {
  position: absolute;
  top: 50%; left: 50%;
  width: 60px; height: 60px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 30px rgba(194, 171, 130,0.25);
  transition: transform .25s var(--ease-out-quint);
}
.ba-handle__knob::before,
.ba-handle__knob::after {
  content: "";
  width: 0; height: 0;
  border-style: solid;
  position: absolute;
}
.ba-handle__knob::before {
  border-width: 5px 7px 5px 0;
  border-color: transparent var(--gold) transparent transparent;
  left: 16px;
}
.ba-handle__knob::after {
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent var(--gold);
  right: 16px;
}
.ba-stage:hover .ba-handle__knob { transform: translate(-50%, -50%) scale(1.08); }

/* ---------- Touch tap-toggle (mobile) ---------- */
.ba-stage[data-touch-mode] { cursor: pointer; user-select: none; }
.ba-stage[data-touch-mode] .ba-handle,
.ba-stage[data-touch-mode] .ba-tag--before,
.ba-stage[data-touch-mode] .ba-tag--after { display: none; }

.ba-toggle {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  background: rgba(17, 28, 46, 0.88);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 5;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.ba-toggle__btn {
  padding: 11px 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color .25s, background .25s;
  min-width: 76px;
}
.ba-toggle__btn.active {
  color: var(--gold);
  background: var(--gold-faint);
}
.ba-toggle__btn + .ba-toggle__btn {
  border-left: 1px solid rgba(255,255,255,0.06);
}

/* Room viewer (rv) tap-toggle on mobile */
.rv__stage[data-touch-mode] { cursor: pointer; user-select: none; }
.rv__stage[data-touch-mode] .rv__handle,
.rv__stage[data-touch-mode] .rv__tag--before,
.rv__stage[data-touch-mode] .rv__tag--after { display: none; }

.ba-tag {
  position: absolute;
  top: 22px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(17, 28, 46,0.8);
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  z-index: 3;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ba-tag--before { left: 22px; color: var(--ash-2); }
.ba-tag--after { right: 22px; color: var(--gold); border-color: var(--gold-faint); }

/* ---------- Project info card ---------- */
.proj-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
}
.proj-info__loc {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.proj-info__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.4vw, 36px);
  font-variation-settings: 'opsz' 60, 'SOFT' 40, 'wght' 380;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.proj-info__desc {
  font-size: 14.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin-bottom: 28px;
}
.proj-info__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.06);
  margin-top: auto;
}
.proj-info__stat {
  background: var(--midnight);
  padding: 16px 18px;
}
.proj-info__stat .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
.proj-info__stat .v {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 36, 'SOFT' 40, 'wght' 380;
  font-size: 22px;
  color: #fff;
  letter-spacing: -0.01em;
}
.proj-info__stat .v.gold { color: var(--gold); }
.proj-info__stat .v.pos { color: var(--pos); }

/* ---------- Showcase pager ---------- */
.showcase__pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  gap: 24px;
}
.showcase__dots {
  display: flex;
  gap: 8px;
}
.showcase__dot {
  width: 28px; height: 2px;
  background: rgba(255,255,255,0.12);
  transition: background .3s;
}
.showcase__dot.active { background: var(--gold); }
.showcase__nav {
  display: flex; gap: 8px;
}
.showcase__btn {
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .25s, background .25s;
}
.showcase__btn:hover { border-color: var(--gold); background: var(--gold-faint); }
.showcase__btn svg { stroke: rgba(255,255,255,0.7); transition: stroke .25s; }
.showcase__btn:hover svg { stroke: var(--gold); }

@media (max-width: 960px) {
  .ba-feature { grid-template-columns: 1fr; gap: 0; }
  .proj-info { border-top: 0; }
}

/* ---------- Projects page mobile: compact property cards (tap → full detail modal) ---------- */
@media (max-width: 700px) {
  .ba-feature,
  .ba-feature--reverse {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 0;
    border: 1px solid rgba(255,255,255,0.06);
    background: var(--navy);
    margin-bottom: 16px;
    position: relative;
    transition: border-color .3s, transform .3s var(--ease-out-quint);
    overflow: hidden;
  }
  .ba-feature:hover,
  .ba-feature--reverse:hover { border-color: var(--gold-faint); }

  /* Force order: info on top, photo below */
  .ba-feature .proj-info,
  .ba-feature--reverse .proj-info {
    order: 1;
    padding: 24px 22px 18px;
    border-top: 0;
  }
  .ba-feature .ba-stage,
  .ba-feature--reverse .ba-stage {
    order: 2;
    /* Explicit height — aspect-ratio is unreliable when content is JS-loaded */
    height: 260px;
    min-height: 260px;
    width: 100%;
    background: var(--midnight);
    border-radius: 0;
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
  }

  /* Compact info: title + short desc visible, stats hidden */
  .proj-info__loc { font-size: 10px; }
  .proj-info__title { font-size: 24px; margin-bottom: 10px; }
  .proj-info__desc { font-size: 13.5px; line-height: 1.55; }
  .proj-info__stats { display: none; }

  /* Lock the after-image — no slider, no before peek, no toggle */
  .ba-handle { display: none; }
  :not(.rv__stage) > .ba-toggle { display: none !important; }
  .ba-stage__before { opacity: 0 !important; pointer-events: none; }
  .ba-tag--before { display: none; }
  .ba-tag--after { display: none; }

  /* Tap pill — sits on top of the photo at its bottom edge */
  .ba-feature .ba-stage::after,
  .ba-feature--reverse .ba-stage::after {
    content: "Tap to see numbers & before";
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(17, 28, 46, 0.92);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 9px 18px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    z-index: 5;
    pointer-events: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    white-space: nowrap;
  }
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--paper);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.testimonials .section__head h2 { color: var(--ink); }
.testimonials .section__head .intro { color: var(--ink-2); }

.testimonials__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1000px) {
  .testimonials__track { grid-template-columns: 1fr; }
}

.t-card {
  position: relative;
  padding: 38px 32px;
  background: #fff;
  border: 1px solid rgba(17, 28, 46,0.08);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform .4s var(--ease-out-quint), border-color .3s;
}
.t-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}
.t-card__mark {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'wght' 320;
  font-size: 80px;
  line-height: 0.6;
  color: var(--gold);
  height: 36px;
}
.t-card__quote {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 60, 'SOFT' 50, 'wght' 380;
  font-size: 20px;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.t-card__quote em {
  color: var(--gold-deep);
  font-style: italic;
  font-variation-settings: 'opsz' 60, 'SOFT' 100, 'wght' 380;
}
.t-card__by {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(17, 28, 46,0.08);
}
.t-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
}
.t-card__who .n { font-size: 14px; font-weight: 500; color: var(--ink); }
.t-card__who .r {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  opacity: 0.7;
}

.t-stats {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(17, 28, 46,0.1);
  border-top: 1px solid rgba(17, 28, 46,0.1);
  border-bottom: 1px solid rgba(17, 28, 46,0.1);
}
.t-stat {
  background: var(--paper);
  padding: 32px 24px 28px;
}
.t-stat .num {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'SOFT' 40, 'wght' 380;
  font-size: clamp(40px, 4vw, 56px);
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.t-stat .num .sm { font-size: 0.6em; color: var(--gold-deep); margin-left: 4px; }
.t-stat .lbl {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  opacity: 0.7;
}
@media (max-width: 800px) {
  .t-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- CTA / Booking band ---------- */
.cta-band {
  position: relative;
  background: var(--midnight);
  padding: clamp(80px, 9vw, 140px) var(--gutter);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(194, 171, 130,0.2), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(194, 171, 130,0.06), transparent 40%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(48px, 6vw, 88px);
  font-variation-settings: 'opsz' 144, 'SOFT' 60, 'wght' 360;
  margin-bottom: 32px;
}
.cta-band p {
  max-width: 600px;
  margin: 0 auto 44px;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  line-height: 1.7;
}
.cta-band__ctas {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--midnight);
  padding: 80px var(--gutter) 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer__brand {
  display: block;
  margin-bottom: 20px;
}
.footer__logo-img {
  height: 88px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}
@media (max-width: 700px) {
  .footer__logo-img { height: 72px; }
}
.footer__desc {
  max-width: 320px;
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  line-height: 1.65;
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  font-weight: 500;
}
.footer__col ul { list-style: none; display: grid; gap: 12px; }
.footer__col a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color .2s;
}
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.footer__bottom a:hover { color: var(--gold); }
@media (max-width: 800px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand-col { grid-column: 1/-1; }
}

/* ---------- Utility classes (replace inline styles) ---------- */
.muted-unit { color: rgba(255,255,255,0.6); }
.muted-sub { color: rgba(255,255,255,0.5); }
.unit-small { font-size: 0.4em; }

/* ---------- Scroll reveal helper ---------- */
/* Only hide content when JS is available; no-JS users see everything immediately (SEO + accessibility) */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out-quint), transform 1s var(--ease-out-quint);
}
.js .reveal.in,
.no-js .reveal {
  opacity: 1;
  transform: translateY(0);
}
.no-js .reveal-line span { transform: none; }
.reveal--d1 { transition-delay: .08s; }
.reveal--d2 { transition-delay: .16s; }
.reveal--d3 { transition-delay: .24s; }
.reveal--d4 { transition-delay: .32s; }
.reveal--d5 { transition-delay: .4s; }
.reveal--d6 { transition-delay: .48s; }
.reveal--d7 { transition-delay: .56s; }
.reveal--d8 { transition-delay: .64s; }

/* ---------- Page header (interior pages) ---------- */
.page-head {
  padding: 180px var(--gutter) 100px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-head__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
  position: relative;
  z-index: 2;
}
.page-head h1 {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'SOFT' 40, 'wght' 340;
  font-size: clamp(56px, 7.5vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: #fff;
}
.page-head h1 .it {
  font-style: italic;
  color: var(--gold);
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'wght' 320;
}
.page-head__lead {
  max-width: 420px;
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  line-height: 1.7;
}
.page-head__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse at 80% 0%, #000 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 0%, #000 0%, transparent 60%);
}
.page-head__glow {
  position: absolute;
  width: 600px; height: 600px;
  right: -80px; top: -100px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}

@media (max-width: 800px) {
  .page-head__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Projects grid (projects page) ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.projects-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 56px;
  align-items: center;
}
.projects-filter__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-right: 12px;
}
.chip {
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color .2s, color .2s, background .2s;
}
.chip:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.chip.active {
  color: var(--navy);
  background: var(--gold);
  border-color: var(--gold);
}

/* ---------- Returns/metrics ---------- */
.metrics {
  background: var(--midnight);
}
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.metric {
  background: var(--midnight);
  padding: 50px 32px;
  position: relative;
  transition: background .3s;
}
.metric:hover { background: var(--navy); }
.metric--featured {
  background: var(--navy);
  position: relative;
}
.metric--featured::before {
  content: "MOST COMMON";
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.metric__lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 22px;
}
.metric__val {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'SOFT' 40, 'wght' 360;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: #fff;
}
.metric--featured .metric__val { color: var(--gold); }
.metric__desc {
  margin-top: 16px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 240px;
}

@media (max-width: 900px) {
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Book a meeting ---------- */
.book {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.book__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  max-width: var(--max-w);
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 900px) {
  .book__inner { grid-template-columns: 1fr; }
}

.book__left h2 {
  font-size: clamp(40px, 4.6vw, 64px);
  margin-bottom: 24px;
}
.book__lead {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
}
.book__perks {
  display: grid;
  gap: 18px;
  margin-bottom: 40px;
}
.book__perk {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
}
.book__perk svg { flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.book__perk .title {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 36, 'SOFT' 40, 'wght' 400;
  font-size: 18px;
  color: #fff;
  margin-bottom: 4px;
}
.book__perk .desc { font-size: 13.5px; color: rgba(255,255,255,0.6); line-height: 1.55; }

.book__contact {
  padding: 22px;
  background: rgba(255,255,255,0.025);
  border-left: 2px solid var(--gold);
}
.book__contact .lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.book__contact .v { color: #fff; font-size: 15px; }

/* ---------- Booking card ---------- */
.book-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 36px;
  position: relative;
}
.book-card__corner {
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--gold);
}
.book-card__corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.book-card__corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }

.book-card__step {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.book-card__title {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 60, 'SOFT' 40, 'wght' 380;
  font-size: 26px;
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: -0.015em;
}

.cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 28px;
}
.cal__dow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 8px 0;
  text-align: center;
}
.cal__day {
  background: transparent;
  border: 1px solid transparent;
  padding: 12px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-align: center;
  transition: background .2s, border-color .2s, color .2s;
  cursor: pointer;
  position: relative;
}
.cal__day:hover { background: rgba(255,255,255,0.04); color: #fff; }
.cal__day.muted { color: rgba(255,255,255,0.2); cursor: not-allowed; }
.cal__day.muted:hover { background: transparent; }
.cal__day.available { color: #fff; }
.cal__day.available::after {
  content: "";
  position: absolute;
  bottom: 4px; left: 50%;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%);
}
.cal__day.selected {
  background: var(--gold);
  color: var(--navy);
  font-weight: 500;
}
.cal__day.selected::after { display: none; }

.cal__head {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cal__month {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 60, 'SOFT' 40, 'wght' 400;
  font-size: 20px;
  color: #fff;
}
.cal__nav {
  display: flex;
  gap: 6px;
}
.cal__nav button {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: border-color .2s, color .2s;
}
.cal__nav button:hover { border-color: var(--gold); color: var(--gold); }

.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}
.slot {
  padding: 13px 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  transition: border-color .2s, color .2s, background .2s;
}
.slot:hover { border-color: rgba(255,255,255,0.3); color: #fff; }
.slot.selected { border-color: var(--gold); background: var(--gold-faint); color: var(--gold); }
.slot:disabled { color: rgba(255,255,255,0.2); cursor: not-allowed; }
.slot:disabled:hover { border-color: rgba(255,255,255,0.06); }

/* ---------- Form ---------- */
.form {
  display: grid;
  gap: 14px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  position: relative;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 16px 14px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
  color: #fff;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.5); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  background: rgba(194, 171, 130,0.04);
}
.field textarea { resize: vertical; min-height: 90px; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'><polyline points='3,5 6,8 9,5' stroke='%23C9A84C' stroke-width='1.4' fill='none' /></svg>"); background-repeat: no-repeat; background-position: right 14px center; }

.summary {
  margin: 22px 0;
  padding: 18px;
  background: rgba(194, 171, 130,0.06);
  border: 1px dashed var(--gold-faint);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.04em;
  min-height: 56px;
  display: flex;
  align-items: center;
}
.summary .gold { color: var(--gold); }

.confirm {
  width: 100%;
  padding: 18px;
  background: var(--gold);
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .25s;
}
.confirm:hover { background: var(--gold-light); }
.confirm:disabled { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.4); cursor: not-allowed; }

/* ---------- View-photos CTA on project cards ---------- */
.view-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 12px 18px;
  background: transparent;
  border: 1px solid var(--gold-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
  align-self: flex-start;
}
.view-more:hover { background: var(--gold-faint); border-color: var(--gold); color: var(--gold-light); }
.view-more svg { transition: transform .35s var(--ease-out-quint); }
.view-more:hover svg { transform: translateX(4px); }

/* ---------- Gallery Modal ---------- */
.gm {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-out-quint);
}
.gm[data-open="true"] { opacity: 1; pointer-events: auto; }
.gm__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(4, 10, 20, 0.92);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}
@media (max-width: 900px) {
  .gm__backdrop {
    background: rgba(4, 10, 20, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
.gm__panel {
  position: relative;
  z-index: 1;
  width: min(95vw, 1500px);
  height: min(90vh, 920px);
  background: var(--midnight);
  border: 1px solid rgba(255,255,255,0.06);
  display: grid;
  grid-template-columns: 380px 1fr;
  overflow: hidden;
  transform: translateY(40px);
  transition: transform .5s var(--ease-out-quint);
}
.gm[data-open="true"] .gm__panel { transform: translateY(0); }
.gm__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 28, 46, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  z-index: 10;
  transition: border-color .2s, background .2s, transform .25s var(--ease-out-quint);
}
.gm__close:hover { border-color: var(--gold); background: var(--gold-faint); color: var(--gold); transform: rotate(90deg); }

.gm__info {
  padding: 56px 36px 36px;
  background: var(--navy);
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow-y: auto;
}
.gm__eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.gm__loc {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.gm__title {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'SOFT' 40, 'wght' 380;
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: #fff;
}
.gm__desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
}
.gm__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-top: 6px;
}
.gm__stat {
  background: var(--navy);
  padding: 14px 16px;
}
.gm__stat .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.gm__stat .v {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 36, 'SOFT' 40, 'wght' 380;
  font-size: 20px;
  color: #fff;
  letter-spacing: -0.01em;
}
.gm__stat .v.gold { color: var(--gold); }
.gm__stat .v.pos { color: var(--pos); }
.gm__count {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.gm__grid {
  padding: 36px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-content: start;
}

/* Room comparison card — before/after split */
.gm-room {
  position: relative;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .35s var(--ease-out-quint);
}
.gm-room:hover { transform: translateY(-3px); }
.gm-room__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
}
.gm-room__title {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 36, 'SOFT' 40, 'wght' 400;
  font-size: 19px;
  color: #fff;
  letter-spacing: -0.01em;
}
.gm-room__hint {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .25s;
}
.gm-room:hover .gm-room__hint { color: var(--gold); }
.gm-room__hint svg { transition: transform .35s var(--ease-out-quint); }
.gm-room:hover .gm-room__hint svg { transform: translateX(3px); }

.gm-room__split {
  position: relative;
  aspect-ratio: 16/10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--gold);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  transition: border-color .25s;
}
.gm-room:hover .gm-room__split { border-color: var(--gold); }
.gm-room__half {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.gm-room__half img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .4s, transform .6s var(--ease-out-quint);
}
.gm-room__half img.loaded { opacity: 1; }
.gm-room:hover .gm-room__half img { transform: scale(1.04); }
.gm-room__tag {
  position: absolute;
  top: 10px; left: 10px;
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(17, 28, 46, 0.85);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.85);
  z-index: 2;
}
.gm-room__tag--after { color: var(--gold); border-color: var(--gold-faint); }

@media (max-width: 1100px) {
  .gm__grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  /* Whole panel scrolls as one body — feels native on iOS */
  .gm__panel {
    display: block;
    grid-template-columns: none;
    grid-template-rows: none;
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    border: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .gm__info {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 56px 20px 22px;
    gap: 14px;
    overflow: visible;
    display: block;
  }
  .gm__info > * + * { margin-top: 14px; }
  .gm__title { font-size: clamp(26px, 7vw, 34px) !important; margin-top: 8px; }
  .gm__desc { font-size: 13.5px; line-height: 1.55; }
  .gm__stats { margin-top: 14px; }
  .gm__stat { padding: 10px 12px; }
  .gm__stat .v { font-size: 17px; }
  .gm__count { padding-top: 12px; font-size: 10px; }
  .gm__grid {
    padding: 18px;
    gap: 14px;
    grid-template-columns: 1fr;
    overflow: visible;
  }
  .gm-room { gap: 8px; }
  .gm-room__title { font-size: 17px; }
  .gm-room__split { aspect-ratio: 16/9; }
  .gm__close {
    width: 40px; height: 40px;
    top: 12px; right: 12px;
    background: rgba(17, 28, 46, 0.92);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ---------- Room Viewer (fullscreen drag slider) ---------- */
.rv {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(2, 6, 12, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease-out-quint);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px;
  gap: 24px;
}
.rv[data-open="true"] { opacity: 1; pointer-events: auto; }
.rv__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rv__property {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.rv__room {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'SOFT' 40, 'wght' 380;
  font-size: clamp(28px, 3vw, 42px);
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1;
}
.rv__hint {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.rv__stage {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16/10;
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
}
.rv__after, .rv__before {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.rv__after img, .rv__before img {
  width: 100%; height: 100%; object-fit: cover;
}
.rv__before {
  clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0);
}
.rv__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--split, 50%);
  width: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 4;
}
.rv__handle::before, .rv__handle::after {
  content: "";
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px;
  border: 1px solid var(--gold);
  background: var(--navy);
  border-radius: 50%;
}
.rv__handle::before { top: -18px; }
.rv__handle::after  { bottom: -18px; }
.rv__knob {
  position: absolute;
  top: 50%; left: 50%;
  width: 56px; height: 56px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 30px rgba(194, 171, 130,0.25);
}
.rv__knob::before,
.rv__knob::after {
  content: "";
  width: 0; height: 0;
  border-style: solid;
  position: absolute;
}
.rv__knob::before {
  border-width: 5px 7px 5px 0;
  border-color: transparent var(--gold) transparent transparent;
  left: 14px;
}
.rv__knob::after {
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent var(--gold);
  right: 14px;
}

.rv__tag {
  position: absolute;
  top: 20px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(17, 28, 46,0.8);
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  z-index: 3;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.rv__tag--before { left: 20px; }
.rv__tag--after  { right: 20px; color: var(--gold); border-color: var(--gold-faint); }

.rv__close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  transition: border-color .2s, background .2s, color .2s, transform .25s;
}
.rv__close:hover { border-color: var(--gold); background: var(--gold-faint); color: var(--gold); transform: rotate(90deg); }

.rv__nav {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.rv__nav button {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  transition: border-color .2s, background .2s, color .2s;
}
.rv__nav button:hover { border-color: var(--gold); background: var(--gold-faint); color: var(--gold); }

@media (max-width: 700px) {
  .rv {
    padding: 70px 16px 20px;
    gap: 12px;
    justify-content: flex-start;
  }
  .rv__close { top: 12px; right: 12px; }
  .rv__head { padding: 0 8px; flex-shrink: 0; }
  .rv__property { font-size: 10px; }
  .rv__room { font-size: 26px; }
  .rv__hint { font-size: 9.5px; letter-spacing: 0.14em; }
  .rv__stage {
    aspect-ratio: 4 / 3;
    width: 100%;
    flex-shrink: 0;
  }
  .rv__nav { flex-shrink: 0; }
  .ba-toggle { bottom: 10px; }
  .ba-toggle__btn { padding: 9px 18px; }
}

/* ---------- Lightbox ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(2, 6, 12, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease-out-quint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb[data-open="true"] { opacity: 1; pointer-events: auto; }
.lb__img {
  max-width: 92vw;
  max-height: 86vh;
  max-height: 86svh;
  object-fit: contain;
  user-select: none;
  transition: transform .4s var(--ease-out-quint), opacity .25s;
}
.lb__btn {
  position: absolute;
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  transition: border-color .2s, background .2s, color .2s;
  user-select: none;
}
.lb__btn:hover { border-color: var(--gold); background: var(--gold-faint); color: var(--gold); }
.lb__close { top: 24px; right: 24px; font-size: 22px; }
.lb__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb__count {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.06);
}

@media (max-width: 600px) {
  .lb__btn { width: 44px; height: 44px; }
  .lb__close { top: 16px; right: 16px; }
  .lb__prev { left: 8px; }
  .lb__next { right: 8px; }
}

/* When gallery or lightbox is open, lock page scroll */
body.gm-open { overflow: hidden; }

/* ---------- "Who you'll meet" snippet above booking calendar ---------- */
.who-you-meet {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  margin: 0 0 22px;
  background: rgba(194, 171, 130, 0.06);
  border: 1px solid var(--gold-faint);
  border-left: 2px solid var(--gold);
}
.who-you-meet__photo {
  position: relative;
  width: 88px; height: 88px;
  overflow: hidden;
  background: var(--midnight);
  border: 1px solid rgba(255,255,255,0.06);
}
.who-you-meet__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(15%) contrast(1.05);
}
.who-you-meet__initial {
  display: none;
  position: absolute; inset: 0;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 96, 'SOFT' 30, 'wght' 320;
  font-size: 44px;
  color: var(--gold);
  background: radial-gradient(circle at 35% 35%, rgba(194, 171, 130,0.22), transparent 70%), var(--midnight);
}
.who-you-meet__photo img[src=""] + .who-you-meet__initial,
.who-you-meet__photo img:not([src]) + .who-you-meet__initial { display: flex; }

.who-you-meet__lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.who-you-meet__name {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 36, 'SOFT' 40, 'wght' 400;
  font-size: 19px;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.who-you-meet__bio {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
}

@media (max-width: 600px) {
  .who-you-meet { grid-template-columns: 72px 1fr; padding: 14px; gap: 14px; }
  .who-you-meet__photo { width: 72px; height: 72px; }
  .who-you-meet__initial { font-size: 36px; }
  .who-you-meet__name { font-size: 17px; }
  .who-you-meet__bio { font-size: 12px; }
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95; /* below mobile menu (101/102) + cookie banner (500) */
  display: none; /* desktop default; mobile media query overrides */
  align-items: stretch;
  gap: 10px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: rgba(17, 28, 46, 0.92);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 -16px 30px -10px rgba(0,0,0,0.45);
  transform: translateY(120%);
  transition: transform .24s ease-out;
  pointer-events: none;
}
.sticky-cta[hidden] { display: none !important; }
.sticky-cta.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cta__primary {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: var(--midnight);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 18px;
  min-height: 48px;
  text-decoration: none;
  transition: background .2s;
}
.sticky-cta__primary:hover { background: var(--gold-light); }
.sticky-cta__primary svg { stroke: currentColor; }
.sticky-cta__primary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.sticky-cta__call {
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.22);
  transition: border-color .2s, color .2s, background .2s;
  text-decoration: none;
}
.sticky-cta__call:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(194, 171, 130, 0.06);
}
.sticky-cta__call:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Show on mobile only — match the same breakpoint where .nav__cta is hidden */
@media (max-width: 900px) {
  .sticky-cta { display: flex; }
}

/* Reserve room at the bottom of the page so the bar never covers content */
body.has-sticky-cta { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
body.has-sticky-cta { scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
html.has-sticky-cta { scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom)); }

/* ≤360px — drop the phone button, shorten the label */
@media (max-width: 360px) {
  .sticky-cta { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .sticky-cta__call { display: none; }
  .sticky-cta__primary-label::before { content: "Book a call"; }
  .sticky-cta__primary-label { font-size: 0; }
  .sticky-cta__primary-label::before { font-size: 11px; }
}

/* Respect reduced motion — instant show/hide */
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}

/* Never print the bar */
@media print {
  .sticky-cta { display: none !important; }
}

/* ---------- FAQ accordion ---------- */
.faq__list {
  max-width: 860px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.faq__item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 26px 4px;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 40, 'SOFT' 40, 'wght' 400;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.01em;
  color: #fff;
  transition: color .25s;
}
.faq__q:hover { color: var(--gold); }
.faq__q:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.faq__icon {
  position: relative;
  flex: 0 0 18px;
  width: 18px; height: 18px;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: transform .3s var(--ease-out-quint), opacity .3s;
}
.faq__icon::before { top: 8px; left: 0; width: 18px; height: 1.5px; }      /* horizontal */
.faq__icon::after  { left: 8px; top: 0; width: 1.5px; height: 18px; }      /* vertical */
.faq__q[aria-expanded="true"] .faq__icon::after { transform: scaleY(0); opacity: 0; }

.faq__a {
  overflow: hidden;
  padding: 0 4px;
  max-height: 0;
  transition: max-height .4s var(--ease-out-quint);
}
.faq__a p {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  margin: 0;
  padding-bottom: 28px;
  max-width: 70ch;
}
.faq__a strong { color: #fff; font-weight: 500; }

@media (max-width: 560px) {
  .faq__q { padding: 22px 2px; gap: 16px; }
  .faq__a p { font-size: 14.5px; }
}

/* ---------- Lead capture form ---------- */
.lead__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.lead__intro {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  max-width: 44ch;
  margin-top: 22px;
}
.lead__perks {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.lead__perks li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
}
.lead__perks li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 12px; height: 7px;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}

.lead-form {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Request-type radio pills */
.lead-form__choice {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lead-form__choice legend { padding: 0; }
.lead-form__pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.lead-pill { position: relative; display: block; cursor: pointer; }
.lead-pill input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  pointer-events: none;
}
.lead-pill__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 16px 10px;
  min-height: 84px;
  background: var(--midnight);
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  line-height: 1.25;
  transition: border-color .2s, color .2s, background .2s;
}
.lead-pill__box svg { stroke: currentColor; opacity: 0.75; transition: opacity .2s; }
.lead-pill:hover .lead-pill__box {
  border-color: var(--gold-faint);
  color: #fff;
}
.lead-pill input:checked + .lead-pill__box {
  border-color: var(--gold);
  background: rgba(194, 171, 130,0.07);
  color: #fff;
}
.lead-pill input:checked + .lead-pill__box svg { opacity: 1; color: var(--gold); }
.lead-pill input:focus-visible + .lead-pill__box {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.lead-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lead-form__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.lead-form__req { color: var(--gold); }
.lead-form__opt {
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
}
.lead-form input {
  width: 100%;
  background: var(--midnight);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 16px;
  transition: border-color .25s, background .25s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.lead-form input::placeholder { color: rgba(255,255,255,0.5); }
.lead-form input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(194, 171, 130,0.04);
}
.lead-form input.is-invalid { border-color: var(--neg, #df2f4a); }

/* Honeypot — visually hidden, off-screen, not display:none (bots skip those) */
.lead-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.lead-form__submit {
  margin-top: 6px;
  width: 100%;
  justify-content: center;
}
.lead-form__submit[disabled] { opacity: 0.6; cursor: progress; }

.lead-form__status {
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
  min-height: 1px;
}
.lead-form__status.is-success { color: #7ED1A0; }
.lead-form__status.is-error { color: #ff7a8a; }

.lead-form__fineprint {
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.6);
  margin: 0;
}
.lead-form__fineprint a {
  color: rgba(255,255,255,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.lead-form__fineprint a:hover { color: var(--gold); border-bottom-color: var(--gold); }

@media (max-width: 900px) {
  .lead__inner { grid-template-columns: 1fr; gap: 36px; }
  .lead__intro { max-width: 100%; }
}
@media (max-width: 560px) {
  .lead-form { padding: 26px 20px; }
  .lead-form__row { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 720px;
  margin: 0 auto;
  z-index: 500;
  background: var(--navy);
  border: 1px solid var(--gold-faint);
  border-left: 2px solid var(--gold);
  padding: 18px 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .45s var(--ease-out-quint), transform .45s var(--ease-out-quint);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.cookie-banner--visible { opacity: 1; transform: translateY(0); }

.cookie-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
.cookie-banner__copy {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
}
.cookie-banner__copy a {
  color: var(--gold);
  border-bottom: 1px solid rgba(194, 171, 130,0.3);
  transition: border-color .2s;
}
.cookie-banner__copy a:hover { border-bottom-color: var(--gold); }
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner__btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.cookie-banner__btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.65);
  border-color: rgba(255,255,255,0.06);
}
.cookie-banner__btn--ghost:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.cookie-banner__btn--primary {
  background: var(--gold);
  color: var(--midnight);
}
.cookie-banner__btn--primary:hover { background: var(--gold-light); }

@media (max-width: 600px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 14px 16px; }
  .cookie-banner__inner { grid-template-columns: 1fr; gap: 12px; }
  .cookie-banner__copy { font-size: 12.5px; }
  .cookie-banner__actions { justify-content: flex-end; }
}

/* ---------- Legal pages (Privacy / Terms) ---------- */
.legal__container { max-width: 880px; }
.legal__article {
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
}
.legal__article h2 {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 60, 'SOFT' 40, 'wght' 400;
  font-size: 26px;
  letter-spacing: -0.015em;
  color: #fff;
  margin-top: 56px;
  margin-bottom: 18px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  line-height: 1.15;
}
.legal__article h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.legal__article p { margin-bottom: 16px; }
.legal__article ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.legal__article li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 14.5px;
  line-height: 1.6;
}
.legal__article li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 10px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.legal__article a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(194, 171, 130,0.3);
  transition: border-color .2s;
}
.legal__article a:hover { border-bottom-color: var(--gold); }
.legal__article strong { color: #fff; font-weight: 500; }
.legal__contact {
  background: rgba(255,255,255,0.025);
  border-left: 2px solid var(--gold);
  padding: 18px 22px;
  font-size: 14.5px;
  line-height: 1.7;
}
@media (max-width: 700px) {
  .legal__article { font-size: 14.5px; }
  .legal__article h2 { font-size: 22px; margin-top: 40px; padding-top: 24px; }
}

/* Footer static link replacements (location, disclaimer) */
.footer__static {
  display: inline-block;
  color: rgba(255,255,255,0.6);
  font-size: 13.5px;
  letter-spacing: 0.005em;
  cursor: default;
}
.footer__disclaimer {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  letter-spacing: 0.005em;
  text-align: right;
}
@media (max-width: 700px) {
  .footer__disclaimer { text-align: left; max-width: 100%; }
}

/* ---------- Google Calendar embed (native-feeling frame) ---------- */
.gcal-frame {
  position: relative;
  background: var(--midnight);
  border: 1px solid var(--gold-faint);
  overflow: hidden;
  box-shadow:
    0 18px 48px rgba(0,0,0,0.45),
    0 0 0 1px rgba(194, 171, 130,0.06) inset;
}

/* Decorative gold corner ticks — same language as deal cards */
.gcal-frame::before,
.gcal-frame::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--gold);
  z-index: 5;
  pointer-events: none;
}
.gcal-frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.gcal-frame::after  { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }

.gcal-frame__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border-bottom: 1px solid var(--gold-faint);
  position: relative;
}
.gcal-frame__pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pos);
  box-shadow: 0 0 0 0 rgba(111, 207, 143, 0.7);
  animation: live 2s ease-in-out infinite;
  flex-shrink: 0;
}
.gcal-frame__lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  flex: 1;
  line-height: 1.4;
}
.gcal-frame__cap {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  padding: 5px 10px 4px;
  border: 1px solid var(--gold);
  color: var(--gold);
  white-space: nowrap;
}

.gcal-frame__inner {
  position: relative;
  width: 100%;
  height: 660px;
  background: #fff;
  overflow: hidden;
}
.gcal-frame__inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.gcal-frame__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: var(--midnight);
}
.gcal-frame__foot-lbl,
.gcal-frame__foot-tz {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.gcal-frame__foot-tz { color: var(--gold); opacity: 0.7; }

@media (max-width: 700px) {
  .gcal-frame__bar { padding: 14px 16px; gap: 10px; }
  .gcal-frame__lbl { font-size: 10px; letter-spacing: 0.14em; }
  .gcal-frame__cap { font-size: 9px; padding: 4px 8px 3px; }
  .gcal-frame__inner { height: 720px; }
  .gcal-frame__foot { padding: 10px 16px; }
}

/* ---------- About / story ---------- */
.story {
  background: var(--paper);
  color: var(--ink);
}
.story__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.story__lead {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 60, 'SOFT' 50, 'wght' 380;
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.story__lead em {
  font-style: italic;
  color: var(--gold-deep);
  font-variation-settings: 'opsz' 60, 'SOFT' 100, 'wght' 380;
}
.story__body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.story__body p:first-child::first-letter {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'SOFT' 40, 'wght' 380;
  font-size: 4em;
  float: left;
  line-height: 0.85;
  margin: 6px 12px 0 0;
  color: var(--gold-deep);
}
@media (max-width: 900px) {
  .story__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Utility ---------- */
.divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  width: 100%;
}

.split-text > .char {
  display: inline-block;
}

/* Mobile performance — disable expensive ambient animations on phones */
@media (max-width: 700px) {
  .hero__eclipse,
  .hero__eclipse--inner,
  .hero__eclipse--inner::after {
    animation: none;
  }
  .hero__noise { display: none; }
  .ticker__track { animation-duration: 60s; }
  /* Soften shadow effects that cause repaints during scroll */
  .deal-card { box-shadow: none; }
  .gm-room__split { box-shadow: none; }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Footer social icons */
.footer__social { list-style: none; display: flex; gap: 12px; margin-top: 24px; padding: 0; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.65);
  transition: color .2s, border-color .2s;
}
.footer__social a:hover, .footer__social a:focus-visible { color: var(--gold); border-color: var(--gold); }


/* ============================================================
   Mobile & cross-browser fixes — 2026-11-17 audit
   ============================================================ */
:root { color-scheme: dark; }
a, button, [role="button"], label { -webkit-tap-highlight-color: transparent; }

/* Bigger tap targets: menu button and deal-carousel dots (44px rule) */
.nav__burger::after { content: ""; position: absolute; inset: -4px; }
.showcase__dot { box-sizing: content-box; padding: 14px 0; background-clip: content-box; }

/* Cookie banner clears the iPhone home bar */
.cookie-banner { bottom: calc(20px + env(safe-area-inset-bottom)); }
@media (max-width: 700px) {
  .cookie-banner { bottom: calc(12px + env(safe-area-inset-bottom)); }
}

/* Menu and gallery: don't scroll the page behind them */
.nav__links, .gm__panel { overscroll-behavior: contain; }

/* Numbers grid: give phone screens room so figures don't break across lines */
@media (max-width: 480px) {
  .metrics__grid { grid-template-columns: 1fr; }
  .metric { padding: 32px 20px; }
  .metric__val { white-space: nowrap; }
}

/* Booking page: let the Google Calendar use the full phone width */
@media (max-width: 560px) {
  .book-card { padding: 20px 0; border-left: 0; border-right: 0; }
  .book-card > :not(.gcal-frame) { padding-inline: 16px; }
  .gcal-frame__inner { height: min(780px, 85svh); }
}

/* Footer: give "Legal" its own column on desktop instead of wrapping under the logo */
@media (min-width: 1101px) {
  .footer__top { grid-template-columns: 2fr 1fr 1fr 1.3fr 0.8fr; }
}
@media (min-width: 801px) and (max-width: 1100px) {
  .footer__top { grid-template-columns: repeat(4, 1fr); }
  .footer__brand-col { grid-column: 1 / -1; }
}

/* ============================================================
   Design refresh — 2026-11-17
   ============================================================ */

/* Legibility: small mono labels never below 12px */
.eyebrow, .hero__pretitle .text, .hero__meta-item .label, .metric__lbl, .t-stat .lbl,
.t-card__who .r, .team-card__role, .proj-info__stat .k, .proj-info__loc, .process__step-label,
.process__timeline, .process__node-num, .flip-card__stat-k, .lead-form__label, .footer__bottom,
.footer__col h4, .gcal-frame__cap, .gcal-frame__lbl, .gcal-frame__foot-tz, .book-card__step,
.book__contact .lbl, .who-you-meet__lbl, .projects-filter__label, .approach__row .meta,
.deal-card__row .k { font-size: 12px; }
@media (max-width: 700px) {
  .eyebrow, .hero__pretitle .text, .hero__meta-item .label, .metric__lbl, .t-stat .lbl,
  .t-card__who .r, .team-card__role, .proj-info__stat .k, .proj-info__loc, .process__step-label,
  .lead-form__label, .footer__bottom, .footer__col h4 { letter-spacing: 0.14em; }
}

/* Testimonial stats: 5 tiles in one row (no orphan tile) */
@media (min-width: 801px) {
  .t-stats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 800px) {
  .t-stats .t-stat:last-child { grid-column: auto; }
}

/* Retire the custom cursor — use the normal system cursor */
.cursor-dot, .cursor-ring { display: none !important; }
@media (hover: hover) and (pointer: fine) {
  body { cursor: auto; }
  a, button, label, .cursor-trigger, [role="button"] { cursor: pointer; }
  input, textarea, select { cursor: text; }
}

/* Cookie banner on phones: slim bar pinned to the bottom edge, not covering the page */
@media (max-width: 600px) {
  .cookie-banner {
    left: 0; right: 0; bottom: 0; max-width: none;
    border-left: 0; border-top: 1px solid var(--gold);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -12px 30px rgba(0,0,0,0.35);
  }
  .cookie-banner__inner { gap: 10px; }
  .cookie-banner__copy { font-size: 12.5px; line-height: 1.45; }
  .cookie-banner__btn { padding: 10px 16px; min-height: 44px; }
}

/* Numbers never split across lines */
.metric__val, .t-stat .num, .hero__meta-item .num { white-space: nowrap; }
@media (min-width: 901px) {
  .metric__val { font-size: clamp(36px, 3.6vw, 58px); }
}

/* "How it works" steps on phones: show that the row scrolls sideways */
@media (max-width: 900px) {
  .process__bar {
    scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(to right, #000 82%, transparent);
            mask-image: linear-gradient(to right, #000 82%, transparent);
  }
  .process__node { scroll-snap-align: start; }
  .process__node-num { font-size: 11px; }
}
@media (max-width: 560px) {
  .process__head { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Image width/height attributes reserve space (no layout jump); CSS still controls the size */
img { height: auto; }

/* ============================================================
   Usability pass — 2026-11-17 (final pre-launch)
   ============================================================ */
/* Skip link for keyboard users */
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 10000;
  background: var(--gold); color: var(--navy); padding: 12px 18px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* Clear, consistent focus ring */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}

/* Book page on phones: calendar first, details after */
@media (max-width: 900px) {
  .book__inner .book-card { order: -1; }
}

/* Lead form: phone hint + next step after success */
.lead-form__hint { display: block; margin-top: 6px; font-size: 12.5px; color: rgba(255,255,255,0.6); }
.lead-form__next { display: inline-block; margin-top: 8px; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* Deal gallery: call to action */
.gm__cta { margin-top: 24px; align-self: flex-start; }

/* Flip-card hint wording matches the device */
.hint-mouse { display: none; }
@media (hover: hover) and (pointer: fine) {
  .hint-touch { display: none; }
  .hint-mouse { display: inline; }
}
/* Book page: jump-to-calendar button (phones/tablets) */
.book__jump { display: none; margin-top: 28px; }
#pickTime { scroll-margin-top: 90px; }
@media (max-width: 900px) { .book__jump { display: inline-flex; } }

/* === Bio-page color balance: generated light-section rules === */
.section--light .approach__row { border-top: 1px solid rgba(22,32,47,0.13); }
.section--light .approach__row:last-child { border-bottom: 1px solid rgba(22,32,47,0.13); }
.section--light .approach__row .num { color: var(--gold-deep); }
.section--light .approach__row .title { color: var(--ink); }
.section--light .approach__row .desc { color: rgba(22,32,47,0.87); }
.section--light .approach__row .meta { color: rgba(22,32,47,0.82); }
.section--light .team__grid { border-top: 1px solid rgba(22,32,47,0.13); border-bottom: 1px solid rgba(22,32,47,0.13); }
.section--light .team-card:nth-child(1), .section--light .team-card:nth-child(2), .section--light .team-card:nth-child(3), .section--light .team-card:nth-child(5), .section--light .team-card:nth-child(6), .section--light .team-card:nth-child(7) { border-right: 1px solid rgba(22,32,47,0.13); }
.section--light .team-card:nth-child(n+5) { border-top: 1px solid rgba(22,32,47,0.13); }
.section--light .team-card { border-right: 1px solid rgba(22,32,47,0.13); }
.section--light .team-card:hover { background: rgba(255,255,255,0.46); }
.section--light .team-card__photo { background: var(--cream); }
.section--light .team-card__initial { color: var(--gold-deep); background: radial-gradient(circle at 35% 35%, rgba(194, 171, 130,0.18), transparent 65%), var(--cream); }
.section--light .team-card__name { color: var(--ink); }
.section--light .team-card__role { color: var(--gold-deep); }
.section--light .team-card__bio { color: rgba(22,32,47,0.87); }
@media (max-width: 1300px) {
  .section--light .team-card { border-right: 1px solid rgba(22,32,47,0.13); }
  .section--light .team-card:nth-child(n+4) { border-top: 1px solid rgba(22,32,47,0.13); }
}
@media (max-width: 700px) {
  .section--light .team__grid { border-top: 1px solid rgba(22,32,47,0.13); border-bottom: 1px solid rgba(22,32,47,0.13); }
  .section--light .team-card { border-right: 1px solid rgba(22,32,47,0.13); }
  .section--light.team::after { color: var(--gold-deep); }
}
.section--light .process__line { background: rgba(255,255,255,0.90); }
.section--light .process__node { color: rgba(22,32,47,0.77); }
.section--light .process__node:hover { color: var(--ink); }
.section--light .process__node.active { color: var(--ink); }
.section--light .process__node-circle { background: var(--cream); border: 1px solid rgba(22,32,47,0.13); color: rgba(22,32,47,0.77); }
.section--light .process__node:hover .process__node-circle { color: rgba(22,32,47,0.92); }
.section--light .process__node.active .process__node-circle { color: var(--gold-deep); background: var(--cream); }
.section--light .process__node.completed .process__node-circle { color: var(--gold-deep); }
.section--light .process__node-num { color: rgba(22,32,47,0.77); }
.section--light .process__node.active .process__node-num { color: var(--gold-deep); }
.section--light .process__panels { background: rgba(255,255,255,0.50); border: 1px solid rgba(22,32,47,0.13); }
.section--light .process__head { border-bottom: 1px solid rgba(22,32,47,0.13); }
.section--light .process__step-label { color: var(--gold-deep); }
.section--light .process__title { color: var(--ink); }
.section--light .process__timeline { color: rgba(22,32,47,0.77); }
.section--light .process__lead { color: var(--ink); }
.section--light .process__columns { background: rgba(255,255,255,0.78); border-top: 1px solid rgba(22,32,47,0.13); border-bottom: 1px solid rgba(22,32,47,0.13); }
.section--light .process__col { background: var(--cream); }
.section--light .process__col-head { color: rgba(22,32,47,0.82); }
.section--light .process__col-head--gold { color: var(--gold-deep); }
.section--light .process__col-head--minimal { color: rgba(22,32,47,0.77); }
.section--light .process__col-dot { background: rgba(22,32,47,0.18); }
.section--light .process__col-dot--minimal { background: rgba(22,32,47,0.12); }
.section--light .process__list li { color: rgba(22,32,47,0.95); }
.section--light .process__action { color: rgba(22,32,47,0.95); }
.section--light .process__action em { color: var(--gold-deep); }
@media (max-width: 900px) {
  .section--light .process__col { border-top: 1px solid rgba(22,32,47,0.13); }
}
.section--light.metrics { background: var(--cream); }
.section--light .metrics__grid { background: rgba(255,255,255,0.78); border-top: 1px solid rgba(22,32,47,0.13); border-bottom: 1px solid rgba(22,32,47,0.13); }
.section--light .metric { background: var(--cream); }
.section--light .metric:hover { background: var(--cream); }
.section--light .metric--featured { background: var(--cream); }
.section--light .metric--featured::before { color: var(--gold-deep); }
.section--light .metric__lbl { color: rgba(22,32,47,0.77); }
.section--light .metric__val { color: var(--ink); }
.section--light .metric--featured .metric__val { color: var(--gold-deep); }
.section--light .metric__desc { color: rgba(22,32,47,0.77); }
.section--light .faq__list { border-top: 1px solid rgba(22,32,47,0.13); }
.section--light .faq__item { border-bottom: 1px solid rgba(22,32,47,0.13); }
.section--light .faq__q { color: var(--ink); }
.section--light .faq__q:hover { color: var(--gold-deep); }
.section--light .faq__a p { color: rgba(22,32,47,0.94); }
.section--light .faq__a strong { color: var(--ink); }
.section--light .lead__intro { color: rgba(22,32,47,0.92); }
.section--light .lead__perks li { color: rgba(22,32,47,0.95); }
.section--light .lead-form { background: rgba(255,255,255,0.50); border: 1px solid rgba(22,32,47,0.13); }
.section--light .lead-pill__box { background: var(--cream); border: 1px solid rgba(22,32,47,0.13); color: rgba(22,32,47,0.92); }
.section--light .lead-pill:hover .lead-pill__box { color: var(--ink); }
.section--light .lead-pill input:checked + .lead-pill__box { color: var(--ink); }
.section--light .lead-pill input:checked + .lead-pill__box svg { color: var(--gold-deep); }
.section--light .lead-form__label { color: rgba(22,32,47,0.82); }
.section--light .lead-form__req { color: var(--gold-deep); }
.section--light .lead-form__opt { color: rgba(22,32,47,0.82); }
.section--light .lead-form input { background: var(--cream); border: 1px solid rgba(22,32,47,0.51); color: var(--ink); }
.section--light .lead-form input::placeholder { color: rgba(22,32,47,0.72); }
.section--light .lead-form__fineprint { color: rgba(22,32,47,0.82); }
.section--light .lead-form__fineprint a { color: rgba(22,32,47,0.82); border-bottom: 1px solid rgba(22,32,47,0.37); }
.section--light .lead-form__fineprint a:hover { color: var(--gold-deep); }
.section--light .lead-form__hint { color: rgba(22,32,47,0.82); }
.section--light .lead-form__next { color: var(--gold-deep); }


/* ============================================================
   Bio-page color balance — 2026-12-04
   Light sections (paper / cream) with ink text and deep-gold accents,
   matching bio.eclipse-capital.com. Dark stays for hero, deals, closing, footer.
   ============================================================ */
.section--light { background: var(--paper); color: var(--ink); }
.section--light.section--cream { background: var(--cream); }
.section--light h2, .section--light h3 { color: var(--ink); }
.section--light h2 .serif-italic, .section--light h3 .serif-italic { color: var(--gold-deep) !important; }
.section--light .eyebrow { color: var(--gold-deep); }
.section--light .eyebrow::before { background: var(--gold-deep); }
.section--light .section__head .intro { color: #3B4656; }
.section--light a:not(.btn) { color: var(--gold-deep); }
.section--light ::selection { background: var(--gold-deep); color: var(--cream); }
.section--light.metrics { background: var(--paper); }
.section--light .metric, .section--light .metric:hover { background: var(--paper); }
.section--light .metric--featured { background: var(--cream); }
.section--light .metric__val span { color: rgba(22,32,47,0.6) !important; }

/* ---------- WhatsApp (same green as the bio page) ---------- */
.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px; padding: 14px 20px; min-height: 48px;
  background: #25D366; color: #06301A;
  font-size: 14px; font-weight: 600; text-decoration: none;
  border-radius: 10px;
  transition: transform .2s var(--ease-out-quint), background .2s;
}
.btn-wa:hover { background: #3BDD77; transform: translateY(-1px); }
.btn-wa:focus-visible, .wa-fab:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.section--light a.btn-wa { color: #06301A; }
.wa-fab {
  position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 94;
  display: none; align-items: center; gap: 10px;
  padding: 13px 18px; min-height: 48px;
  background: #25D366; color: #06301A;
  font-size: 14px; font-weight: 600; text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 12px 28px -12px rgba(18,140,70,.75), 0 2px 6px rgba(0,0,0,.18);
  transition: transform .2s var(--ease-out-quint), background .2s;
}
.wa-fab:hover { background: #3BDD77; transform: translateY(-2px); }
@media (min-width: 901px) { .wa-fab { display: inline-flex; } }
.sticky-cta__wa { background: #25D366; color: #06301A; border-color: #25D366; }
.sticky-cta__wa:hover { background: #3BDD77; color: #06301A; border-color: #3BDD77; }
@media (max-width: 360px) { .sticky-cta__wa { display: inline-flex; } }
@media print { .wa-fab { display: none !important; } }

/* ---------- Projects: link to each case study ---------- */
.proj-info__more {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px; padding: 6px 0; min-height: 44px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-light); text-decoration: none;
  border-bottom: 1px solid rgba(194,171,130,0.35);
  transition: color .2s, border-color .2s;
}
.proj-info__more:hover { color: #fff; border-color: var(--gold); }
.proj-info__more svg { transition: transform .3s var(--ease-out-quint); }
.proj-info__more:hover svg { transform: translateX(4px); }

/* ---------- Deal case-study pages ---------- */
.cs-head { padding-bottom: clamp(48px, 6vw, 88px); }
.cs-head__inner {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.cs-head h1 { font-size: clamp(40px, 5.2vw, 76px); }
.cs-head__lead { max-width: 46ch; margin-top: 26px; }
.cs-head__meta {
  margin-top: 22px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ash-2);
}
.cs-head__photo { margin: 0; border: 1px solid rgba(255,255,255,0.10); background: var(--midnight); }
.cs-head__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.cs-crumbs {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ash-2);
}
.cs-crumbs a { color: var(--gold-light); text-decoration: none; padding: 8px 0; }
.cs-crumbs a:hover { color: #fff; }
@media (max-width: 900px) {
  .cs-head__inner { grid-template-columns: 1fr; }
}

.cs-nums { display: grid; gap: 1px; background: var(--rule-l); border: 1px solid var(--rule-l); }
.cs-nums--6 { grid-template-columns: repeat(3, 1fr); }
.cs-nums--4 { grid-template-columns: repeat(4, 1fr); }
.cs-num { background: var(--cream); padding: 28px 26px; }
.cs-num .k {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #5A6473; margin-bottom: 14px;
}
.cs-num .v {
  font-family: var(--font-display); font-variation-settings: 'opsz' 144, 'SOFT' 30, 'wght' 400;
  font-size: clamp(32px, 3.4vw, 52px); line-height: 1; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap;
}
.cs-num .v.gold { color: var(--gold-deep); }
.cs-fine { margin-top: 18px; font-size: 13px; color: #5A6473; }
@media (max-width: 800px) {
  .cs-nums--6, .cs-nums--4 { grid-template-columns: repeat(2, 1fr); }
  .cs-num { padding: 22px 18px; }
}

.cs-pair + .cs-pair { margin-top: clamp(40px, 5vw, 72px); }
.cs-pair__room { font-size: clamp(22px, 2vw, 30px); margin-bottom: 18px; }
.cs-pair__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cs-shot { margin: 0; position: relative; background: var(--paper); border: 1px solid var(--rule-l); }
.cs-shot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.cs-shot figcaption {
  position: absolute; left: 12px; top: 12px;
  padding: 7px 10px; background: rgba(17,28,46,0.86); color: #fff;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
}
.cs-shot--after figcaption { background: var(--gold); color: var(--midnight); }
@media (max-width: 640px) { .cs-pair__grid { grid-template-columns: 1fr; } }

.cs-how__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.cs-steps { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; border-top: 1px solid var(--rule-l); }
.cs-steps li {
  display: flex; align-items: baseline; gap: 14px; padding: 16px 0;
  border-bottom: 1px solid var(--rule-l);
  font-family: var(--font-display); font-size: 20px; color: var(--ink);
}
.cs-steps li span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--gold-deep); }
.cs-how__p { margin-top: 26px; font-size: 16px; line-height: 1.7; color: #3B4656; max-width: 52ch; }
.cs-how__p a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .cs-how__inner { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cs-steps { grid-template-columns: 1fr; } }

.cs-next { padding-top: clamp(56px, 6vw, 88px); padding-bottom: clamp(56px, 6vw, 88px); }
.cs-next__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cs-next__card {
  display: flex; flex-direction: column; gap: 10px; padding: 28px;
  background: var(--midnight); border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none; transition: border-color .25s, transform .3s var(--ease-out-quint);
}
.cs-next__card:last-child { text-align: right; align-items: flex-end; }
.cs-next__card:hover { border-color: var(--gold); transform: translateY(-2px); }
.cs-next__lab, .cs-next__loc { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.cs-next__lab { color: var(--gold-light); }
.cs-next__loc { color: var(--ash-2); }
.cs-next__title { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 34px); color: #fff; letter-spacing: -0.02em; }
.cs-next__all { margin-top: 26px; text-align: center; }
.cs-next__all a {
  display: inline-block; padding: 12px 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-light); text-decoration: none; border-bottom: 1px solid rgba(194,171,130,0.35);
}
.cs-next__all a:hover { color: #fff; }
@media (max-width: 640px) { .cs-next__grid { grid-template-columns: 1fr; } .cs-next__card:last-child { text-align: left; align-items: flex-start; } }

/* ---------- Booking page: details first, then the calendar ---------- */
.book-gate { background: none; border: 0; padding: 0; margin: 0 0 6px; }
.book-gate__step {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-light); margin: 4px 0 2px;
}
.book-gate__step--2 { margin: 0 0 14px; }
.js .book-cal[data-locked] { display: none; }
.book-gate[hidden] { display: none; }
.no-js .book-gate, .no-js .book-gate__step--2 { display: none; }
@media (max-width: 560px) {
  .book-gate { padding-inline: 16px; }
  .book-gate .lead-form__row { grid-template-columns: 1fr; }
}
