/* נכסי חוף הכרמל — Architectural Luxury Real-Estate Design System (Task 15730)
   Sans-serif only: Wix Madefor Display + Open Sans. Zero serif anywhere.
   Theme: Mediterranean Limestone, Coastal Twilight Navy, Architectural Crimson-Bronze & Champagne Gold. */

:root {
  --stone: #F2F5F8;
  --ivory: #FFFFFF;
  --white: #FFFFFF;
  --sand: #E7EDF3;
  --twilight: #0B1626;
  --slate: #132236;
  --deep-sea: #1A2D44;
  --crimson: #8B1D24;
  --crimson-deep: #6C1319;
  --gold: #C6974F;
  --gold-light: #F3D9A4;
  --ink: #131B26;
  --ink-soft: #435263;
  --line: rgba(19, 27, 38, 0.13);
  --line-dark: rgba(255, 255, 255, 0.16);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 24px;
  --font-display: 'Wix Madefor Display', 'Open Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Open Sans', 'Wix Madefor Display', system-ui, -apple-system, sans-serif;

  /* Premium 3D Kit Theme Tokens */
  --p3-a: #C6974F;
  --p3-b: #F2DFB8;
  --p3-d: #0B1626;
  --p3-top: 86px;
  --p3-solid: #FFFFFF;
  --p3-persp: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--twilight);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  touch-action: pan-x pan-y;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: clip;
  min-height: 100%;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: var(--font-body);
  font-size: max(16px, 1rem);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

p { margin: 0; max-width: 58ch; }

.skip-link {
  position: absolute;
  top: -100px;
  right: 16px;
  background: var(--twilight);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 999;
}
.skip-link:focus { top: 12px; }

/* Topic 36 & Kit Safety Guards: sheen behind text, photos crisp, cards visible on enter */
html.p3-live .p3-sheen { z-index: -1; }
html.p3-live .prop-card .p3-sheen,
html.p3-live .gal-tile .p3-sheen,
html.p3-live .concierge-form .p3-sheen,
html.p3-live .exec-card .p3-sheen,
html.p3-live .hero-stage-card .p3-sheen { display: none; }
html.p3-live .p3-shine .p3-gleam { z-index: 0; }
.p3-shine > span, .p3-shine > svg { position: relative; z-index: 1; }
html.p3-live .p3-card { opacity: max(var(--p3-o, 1), 0.94); }
html.p3-live .hero-stage-card { opacity: 1 !important; }
html.p3-live .p3-stack > * { filter: none !important; }

/* Keep orb sheen strictly inside round medallion in Chromium & WebKit */
div.p3-orb .p3-coin { transform-style: flat; }
div.p3-orb .p3-back, div.p3-orb .p3-edge { display: none; }
div.p3-orb .p3-face {
  transform: none;
  border: 2px solid rgba(232, 201, 143, 0.72);
  overflow: hidden;
  clip-path: ellipse(50% 50%);
}
div.p3-orb .p3-face::after {
  inset: 9%;
  border-radius: 50%;
  transform: none;
  background: linear-gradient(120deg, transparent 24%, rgba(255, 255, 255, 0.42) 48%, transparent 72%);
  background-size: 220% 100%;
  background-position: calc(50% + var(--p3-glint, 0%)) 0;
}

.wrap {
  width: min(1260px, calc(100% - 40px));
  margin-inline: auto;
}

/* ==================== OPAQUE ARCHITECTURAL HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(11, 22, 38, 0.09);
  box-shadow: 0 4px 24px rgba(11, 22, 38, 0.06);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 76px;
  padding-block: 10px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-right: 1px solid var(--line);
  padding-right: 10px;
}

.brand-meta strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--twilight);
}

.brand-meta small {
  font-size: 0.74rem;
  color: var(--ink-soft);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.89rem;
  font-weight: 600;
  color: var(--ink);
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: rgba(139, 29, 36, 0.08);
  color: var(--crimson);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--twilight);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}
.phone-pill svg { width: 16px; height: 16px; fill: none; stroke: var(--crimson); stroke-width: 2; }

.btn-wa, .btn-primary, .btn-outline, .btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s, background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-wa {
  background: #0F7A3F;
  color: var(--white);
  box-shadow: 0 6px 16px rgba(7, 13, 22, 0.18);
}
.btn-wa:hover { background: #0C6534; }
.btn-wa svg, .btn-primary svg, .btn-outline svg, .btn-light svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--crimson);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(7, 13, 22, 0.16);
}
.btn-primary:hover { background: var(--crimson-deep); }

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  background: #D9AD66;
  color: var(--twilight);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(7, 13, 22, 0.24);
  white-space: nowrap;
}
.btn-gold:hover { background: #E4BC7A; }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--gold-light); }

.btn-dark-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  background: var(--white);
  border: 1.5px solid rgba(11, 22, 38, 0.22);
  color: var(--twilight);
  cursor: pointer;
}
.btn-dark-outline:hover { border-color: var(--crimson); color: var(--crimson); }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--twilight);
  cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; }

.mobile-drawer {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 16px 20px 24px;
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.mobile-drawer nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--twilight);
  background: var(--ivory);
}
.mobile-drawer nav a[aria-current="page"] {
  background: rgba(139, 29, 36, 0.1);
  color: var(--crimson);
}
.mobile-drawer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==================== LUMINOUS ARCHITECTURAL SPLIT HERO (RIGHT-CENTER) ==================== */
.hero-horizon {
  position: relative;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  color: var(--ink);
  overflow: hidden;
  padding: 46px 0 44px;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.eyebrow-dark {
  background: rgba(198, 151, 79, 0.16);
  border: 1px solid rgba(232, 201, 143, 0.44);
  color: var(--gold-light);
}

.eyebrow-light {
  background: rgba(139, 29, 36, 0.08);
  border: 1px solid rgba(139, 29, 36, 0.2);
  color: var(--crimson);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.eyebrow-light .eyebrow-dot { background: var(--crimson); }

.hero-copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 4.1vw, 3.65rem);
  font-weight: 800;
  color: var(--twilight);
  margin-bottom: 18px;
  line-height: 1.12;
  max-width: 18ch;
}

.hero-copy h1 .accent-gold {
  color: var(--crimson);
  display: block;
}

.hero-lead {
  font-size: clamp(1.04rem, 1.3vw, 1.16rem);
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 26px;
  line-height: 1.72;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

/* Hero Horizon Project Switcher (replaces old video cleanly) */
.hero-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.hswitch-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 11px 16px;
  border-radius: 14px;
  background: var(--stone);
  border: 1px solid rgba(11, 22, 38, 0.16);
  color: var(--twilight);
  cursor: pointer;
  min-width: 152px;
  text-align: center;
  transition: border-color 0.25s, background-color 0.25s, color 0.25s;
}
.hswitch-btn strong {
  font-family: var(--font-display);
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--twilight);
}
.hswitch-btn small {
  font-size: 0.79rem;
  color: var(--ink-soft);
}
.hswitch-btn[aria-pressed="true"] {
  background: var(--twilight);
  border-color: var(--twilight);
  color: var(--white);
}
.hswitch-btn[aria-pressed="true"] strong { color: var(--white); }
.hswitch-btn[aria-pressed="true"] small { color: var(--gold-light); font-weight: 600; }

/* Hero Spotlight Architectural Frame (RIGHT side in RTL = first grid column!) */
.hero-spotlight {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-stage-card {
  background: var(--stone);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 12px 26px rgba(11, 22, 38, 0.08);
}

.hero-photo-frame {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0d1a2c;
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stage-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.hero-stage-meta h2 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--twilight);
}

.hero-stage-meta p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

.hero-metrics {
  position: relative;
  z-index: 2;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.metric-tile {
  background: var(--stone);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  text-align: center;
}
.metric-tile strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--crimson);
  line-height: 1.15;
}
.metric-tile span {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ==================== BAND SYSTEM (WORLD-TRANSFORMING SECTIONS) ==================== */
.band {
  position: relative;
  padding: 96px 0;
  overflow-x: clip;
}
.band-stone { background: var(--stone); color: var(--ink); }
.band-ivory { background: var(--ivory); color: var(--ink); }
.band-white { background: var(--white); color: var(--ink); }
.band-sand { background: var(--sand); color: var(--ink); }
.band-twilight {
  background: #0B1626;
  color: var(--white);
}
.band-coastal {
  background: #132033;
  color: var(--white);
}

.band-head {
  max-width: 68ch;
  margin-bottom: 48px;
}
.band-head.is-center {
  margin-inline: auto;
  text-align: center;
}
.band-head h2 {
  font-size: clamp(1.95rem, 3.2vw, 3rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.band-head p {
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 58ch;
}
.band-twilight .band-head p,
.band-coastal .band-head p {
  color: rgba(235, 242, 249, 0.86);
}

/* Decorative Architectural Drift Watermark */
.arch-drift {
  position: absolute;
  top: 28px;
  left: 3%;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 9vw, 8.5rem);
  font-weight: 800;
  color: rgba(11, 22, 38, 0.035);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 0;
}
.band-twilight .arch-drift,
.band-coastal .arch-drift {
  color: rgba(232, 201, 143, 0.055);
}

.band > .wrap { position: relative; z-index: 1; }

/* ==================== PILLARS & ABOUT INTRO ==================== */
.pillars-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: start;
}

.story-quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 8px 20px rgba(11, 22, 38, 0.06);
}
.story-quote p {
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--ink);
  max-width: 62ch;
  margin-bottom: 16px;
}
.story-quote p:last-of-type { margin-bottom: 20px; }
.story-quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--crimson);
}

.pillars-grid {
  display: grid;
  gap: 20px;
}

.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: 0 8px 20px rgba(11, 22, 38, 0.05);
}
.pillar-card h3 {
  font-size: 1.24rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--twilight);
}
.pillar-card p {
  font-size: 0.96rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ==================== FLAGSHIP ACTIVE PROJECTS (BIG REAL-ESTATE CARDS) ==================== */
.flagship-list {
  display: grid;
  gap: 36px;
}

.flagship-card {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.92fr);
  gap: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 10px 24px rgba(11, 22, 38, 0.07);
  align-items: center;
}

.flagship-card.is-alt {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
}
.flagship-card.is-alt .flagship-media { order: 2; }

.flagship-media {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.flagship-main-img {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #101d2e;
}
.flagship-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.flagship-card:hover .flagship-main-img img { transform: scale(1.03); }

.flagship-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.thumb-btn {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #101d2e;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.thumb-btn:hover { border-color: var(--gold); transform: translateY(-2px); }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }

.flagship-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
}
.pill-live { background: rgba(18, 140, 74, 0.12); color: #0B6A37; border: 1px solid rgba(18, 140, 74, 0.25); }
.pill-done { background: rgba(11, 22, 38, 0.08); color: var(--twilight); border: 1px solid rgba(11, 22, 38, 0.14); }
.pill-city { background: rgba(198, 151, 79, 0.16); color: #7C5517; border: 1px solid rgba(198, 151, 79, 0.34); }
.pill-shop { background: rgba(139, 29, 36, 0.1); color: var(--crimson); border: 1px solid rgba(139, 29, 36, 0.24); }

.flagship-info h3 {
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  font-weight: 800;
  color: var(--twilight);
}

.flagship-desc {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 56ch;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.spec-cell {
  background: var(--stone);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.spec-cell small {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: 2px;
}
.spec-cell strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--twilight);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

/* ==================== LIVE WEBGL 3D ARCHITECTURAL MASTERPLAN STAGE ==================== */
.stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 36px;
  align-items: center;
}

.webgl-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #101F33;
  border: 1px solid rgba(232, 201, 143, 0.32);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.36);
  aspect-ratio: 16 / 10;
}

.webgl-frame canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
}
.webgl-frame canvas:active { cursor: grabbing; }

.stage-hint {
  position: absolute;
  bottom: 14px;
  right: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(11, 22, 38, 0.84);
  border: 1px solid rgba(232, 201, 143, 0.35);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  pointer-events: none;
}

.stage-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.zone-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zone-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  cursor: pointer;
  text-align: right;
  transition: background-color 0.25s, border-color 0.25s;
}
.zone-btn strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}
.zone-btn small {
  font-size: 0.88rem;
  color: rgba(230, 238, 248, 0.82);
}
.zone-btn[aria-pressed="true"] {
  background: rgba(198, 151, 79, 0.2);
  border-color: var(--gold-light);
}

.stage-caption {
  font-size: 0.95rem;
  color: var(--gold-light);
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(11, 22, 38, 0.65);
  border: 1px solid rgba(232, 201, 143, 0.24);
}

/* ==================== SIGNATURE INTERIORS MOSAIC ==================== */
.interiors-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.interior-card {
  grid-column: span 6;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 16px 44px rgba(11, 22, 38, 0.06);
}
.interior-card.is-wide { grid-column: span 7; }
.interior-card.is-tall { grid-column: span 5; }

.interior-frame {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #101b2a;
}
.interior-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interior-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.interior-foot h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--twilight);
}
.interior-foot p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

.zoom-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--stone);
  border: 1px solid var(--line);
  color: var(--twilight);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}
.zoom-chip:hover { border-color: var(--crimson); color: var(--crimson); }

/* ==================== FILTERABLE ALL-PROJECTS CATALOG ==================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.flt-btn {
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(11, 22, 38, 0.18);
  background: var(--white);
  color: var(--twilight);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.flt-btn[aria-pressed="true"] {
  background: var(--twilight);
  border-color: var(--twilight);
  color: var(--white);
}
.flt-btn:hover:not([aria-pressed="true"]) {
  border-color: var(--crimson);
  color: var(--crimson);
}

.filter-status {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.prop-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(11, 22, 38, 0.06);
}
.prop-card[hidden] { display: none; }

.prop-img-box {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #101b2a;
}
.prop-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.prop-card:hover .prop-img-box img { transform: scale(1.04); }

.prop-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.prop-body h3 {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--twilight);
}

.prop-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
}
.prop-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(11, 22, 38, 0.07);
}
.prop-row span { color: var(--ink-soft); flex-shrink: 0; }
.prop-row strong { color: var(--ink); text-align: left; font-weight: 600; }

.prop-footer {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  gap: 10px;
}

/* ==================== TRACK RECORD HIGHLIGHT BAND ==================== */
.record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.record-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(11, 22, 38, 0.05);
}
.record-num {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--crimson);
  line-height: 1.05;
}
.record-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--twilight);
}
.record-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ==================== URBAN RENEWAL & METHODOLOGY (p3-stack on mobile) ==================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 18px 46px rgba(11, 22, 38, 0.08);
  --p3-solid: #FFFFFF;
}

.band-coastal .step-card {
  background: #132C3E;
  color: var(--white);
  border-color: rgba(232, 201, 143, 0.24);
  --p3-solid: #132C3E;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), #A87A35);
  color: var(--twilight);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
}

.step-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--twilight);
}
.step-card p {
  font-size: 0.94rem;
  line-height: 1.7;
  color: #1F2B3A;
}
.band-coastal .step-card p { color: rgba(235, 242, 250, 0.86); }

/* ==================== CURATED PHOTO GALLERY ==================== */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gal-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(11, 22, 38, 0.05);
}
.gal-tile[hidden] { display: none; }

.gal-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: #0d1a2a;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.gal-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gal-tile:hover .gal-btn img { transform: scale(1.05); }

.gal-cap {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  flex: 1;
  gap: 3px;
}
.gal-cap strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--twilight);
  line-height: 1.3;
}
.gal-cap small {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.3em;
}

/* ==================== OPEN EXECUTIVE COMPANY CARD (NO FLIP OCCLUSION!) ==================== */
.exec-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  background: #13243B;
  border: 1px solid rgba(232, 201, 143, 0.3);
  border-radius: var(--radius-lg);
  padding: 36px;
  align-items: center;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.exec-brand-panel {
  background: var(--white);
  color: var(--twilight);
  border-radius: 20px;
  padding: 34px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.exec-brand-panel img {
  max-height: 112px;
  width: auto;
  object-fit: contain;
}
.exec-tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--twilight);
}
.exec-slogan {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--crimson);
}

.exec-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.exec-details h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.3rem);
  font-weight: 800;
  color: var(--white);
}
.exec-details p {
  color: rgba(235, 242, 250, 0.9);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 56ch;
}

.contact-cards-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.person-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(232, 201, 143, 0.28);
  color: var(--white);
  transition: background-color 0.2s, border-color 0.2s;
}
.person-link:hover {
  background: rgba(198, 151, 79, 0.18);
  border-color: var(--gold-light);
}
.person-link svg { width: 22px; height: 22px; stroke: var(--gold-light); fill: none; stroke-width: 2; flex-shrink: 0; }
.person-link strong { display: block; font-family: var(--font-display); font-size: 1.08rem; font-weight: 800; }
.person-link small { display: block; font-size: 0.84rem; color: rgba(235, 242, 250, 0.8); }

/* ==================== ARTICLES PREVIEW & SEO GUIDE ==================== */
.article-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  align-items: center;
  box-shadow: 0 18px 48px rgba(11, 22, 38, 0.06);
}
.article-feature-img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.article-feature-img img { width: 100%; height: 100%; object-fit: cover; }
.article-feature-body { display: flex; flex-direction: column; gap: 16px; }
.article-feature-body h3 { font-size: 1.6rem; font-weight: 800; color: var(--twilight); }
.article-feature-body p { color: var(--ink-soft); line-height: 1.75; max-width: 56ch; }

/* ==================== FAQ ACCORDION ==================== */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 24px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--twilight);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--crimson);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* ==================== CONTACT CONCIERGE & WHATSAPP FORM ==================== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 40px;
  align-items: start;
}

.contact-info-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info-box h2 { font-size: clamp(1.9rem, 3vw, 2.75rem); font-weight: 800; color: var(--twilight); }
.contact-info-box p { font-size: 1.04rem; color: var(--ink-soft); line-height: 1.75; max-width: 54ch; }

.direct-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.direct-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
}
.direct-row svg { width: 22px; height: 22px; stroke: var(--crimson); fill: none; stroke-width: 2; flex-shrink: 0; }
.direct-row strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--twilight); }
.direct-row small { display: block; font-size: 0.84rem; color: var(--ink-soft); }

.concierge-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 22px 54px rgba(11, 22, 38, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.concierge-form h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--twilight);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--twilight);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(11, 22, 38, 0.2);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s, background-color 0.2s;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #4A596A;
  opacity: 1;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--crimson);
  background: var(--white);
}

.form-note {
  font-size: 0.84rem;
  color: var(--ink-soft);
}

/* ==================== INNER PAGE HERO & DETAIL LAYOUTS ==================== */
.inner-hero {
  position: relative;
  background: var(--twilight);
  color: var(--white);
  padding: 68px 0 60px;
  overflow: hidden;
}
.inner-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.34;
}
.inner-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.inner-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 22, 38, 0.72), rgba(11, 22, 38, 0.92));
}
.inner-hero > .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 36px;
  align-items: center;
}
.inner-hero h1 {
  font-size: clamp(2.1rem, 3.8vw, 3.35rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.inner-hero p {
  font-size: 1.08rem;
  color: rgba(235, 242, 250, 0.88);
  line-height: 1.75;
  margin-bottom: 24px;
}
.inner-hero-media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(232, 201, 143, 0.32);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  aspect-ratio: 16 / 10;
}
.inner-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.breadcrumbs a:hover { text-decoration: underline; }

.article-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.toc-card {
  position: sticky;
  top: 96px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.toc-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 14px; color: var(--twilight); }
.toc-card ol { margin: 0; padding-right: 18px; display: flex; flex-direction: column; gap: 10px; }
.toc-card a { display: block; font-size: 0.93rem; color: var(--ink-soft); font-weight: 600; }
.toc-card a:hover { color: var(--crimson); }

.article-prose {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.article-sec {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.article-sec h2 { font-size: 1.48rem; font-weight: 800; color: var(--twilight); margin-bottom: 12px; }
.article-sec p { font-size: 1.02rem; color: var(--ink); line-height: 1.82; margin-bottom: 12px; }
.article-sec p:last-child { margin-bottom: 0; }

/* ==================== FULLSCREEN LIGHTBOX ==================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(7, 13, 23, 0.94);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.is-open { display: flex; }

.lb-bar {
  width: min(1160px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--white);
  margin-bottom: 14px;
}
.lb-caption { font-family: var(--font-display); font-size: 1rem; font-weight: 700; }
.lb-count { font-size: 0.9rem; color: var(--gold-light); }

.lb-stage {
  position: relative;
  width: min(1160px, 100%);
  max-height: 76vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-stage img {
  max-width: 100%;
  max-height: 76vh;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
}

.lb-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.lb-btn {
  min-height: 44px;
  min-width: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
}
.lb-btn:hover { background: var(--gold); color: var(--twilight); border-color: var(--gold); }

/* ==================== DEEP COASTAL FOOTER ==================== */
.site-footer {
  background: var(--twilight);
  color: rgba(235, 242, 250, 0.88);
  padding: 72px 0 36px;
  border-top: 1px solid rgba(232, 201, 143, 0.26);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 36px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-logo-wrap {
  display: inline-flex;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 14px;
  width: fit-content;
}
.footer-logo-wrap img { height: 42px; width: auto; }

.footer-col h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col li a {
  display: block;
  font-size: 0.94rem;
  color: rgba(235, 242, 250, 0.86);
}
.footer-col li a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  font-size: 0.84rem;
  color: rgba(210, 222, 236, 0.72);
}

/* ==================== TOUCH SAFETY & RESPONSIVE ==================== */
@media (hover: none) {
  .site-header,
  .hero-stage-card,
  .hswitch-btn,
  .metric-tile {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

@media (max-width: 1240px) {
  .brand-meta { display: none; }
}

@media (max-width: 1080px) {
  .main-nav, .phone-pill { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-inner,
  .stage-grid,
  .pillars-layout,
  .flagship-card,
  .flagship-card.is-alt,
  .exec-card,
  .article-feature,
  .contact-layout,
  .inner-hero > .wrap,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .flagship-card.is-alt .flagship-media { order: 0; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .record-grid, .steps-grid, .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc-card { position: static; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 40px); }
  .band { padding: 64px 0; }
  .hero-horizon { min-height: auto; padding: 36px 0 42px; }
  .brand-meta { display: none; }
  .brand-logo { height: 38px; }
  .header-actions .btn-wa { padding: 9px 14px; font-size: 0.86rem; min-height: 42px; }
  .hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .metric-tile { padding: 14px; }
  .metric-tile strong { font-size: 1.4rem; }
  .hswitch-btn { flex: 1 1 calc(50% - 6px); min-width: 140px; padding: 10px 12px; }
  .flagship-card { padding: 18px; gap: 20px; }
  .spec-grid, .form-grid-2, .contact-cards-row, .faq-list { grid-template-columns: 1fr; }
  .interiors-grid { grid-template-columns: 1fr; }
  .interior-card, .interior-card.is-wide, .interior-card.is-tall { grid-column: auto; }
  .catalog-grid, .record-grid, .gal-grid, .footer-grid { grid-template-columns: 1fr; }
  .exec-card { padding: 22px; gap: 22px; }
  .concierge-form { padding: 22px; }
  .hero-stage-meta { flex-direction: column; align-items: flex-start; }
  .interior-foot { flex-direction: column; align-items: flex-start; }
}
