/* ═══════════════════════════════════════════════
   AADK MERIDIAN — Real Estate Development
   Base: Steel luxury-minimal system · Brand: AADK Meridian manual v1.0
   ═══════════════════════════════════════════════ */

:root {
  --emerald:      #1F4A3D;
  --emerald-deep: #0F2B23;
  --terracotta:   #B5602E;
  --gold:         #B98B2E;
  --gold-hover:   #CBA03C;
  --paper:        #F8F6F1;
  --stone:        #ECEAE2;
  --card:         #FFFFFF;
  --line:         #D8D3C5;
  --ink:          #1C2420;
  --muted:        #6B6659;
  --on-dark:      #EDE9DF;
  --on-dark-muted:#A9B5AE;
  --line-dark:    rgba(185,139,46,0.28);
  --cream:        #F4F1E8;

  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Manrope', -apple-system, system-ui, sans-serif;
  --mono:  'IBM Plex Mono', ui-monospace, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 76px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100vw; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ── SCROLL PROGRESS LINE ── */
.scroll-line {
  position: fixed; right: 0; top: 0;
  width: 2px; height: 0%;
  background: var(--gold);
  z-index: 1000;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  padding: 0 3rem;
  height: var(--nav-h);
  color: var(--on-dark);
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(248,246,241,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  border-bottom-color: var(--line);
}
.nav-logo { display: flex; align-items: center; gap: 0.7rem; }
.mark { width: 34px; height: 34px; flex-shrink: 0; }
.nav-word {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.1;
}
.nav-word small {
  display: block;
  font-family: var(--mono);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}
.nav.is-scrolled .nav-word small { color: var(--terracotta); }
.nav-links { display: flex; gap: 2.4rem; list-style: none; }
.nav-links a, .nav-link-guide {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
  transition: opacity 0.25s ease;
}
.nav-links a:hover, .nav-link-guide:hover { opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 1.6rem; }
.nav-cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1.4rem;
  background: var(--gold);
  color: var(--emerald-deep);
  border-radius: 2px;
  transition: background 0.25s ease, transform 0.5s var(--ease-out);
  display: inline-block;
}
.nav-cta:hover { background: var(--gold-hover); }

.nav-burger { display: none; flex-direction: column; gap: 5px; width: 26px; padding: 6px 0; z-index: 101; }
.nav-burger span { display: block; height: 1.5px; background: currentColor; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed; inset: 0;
  background: var(--emerald-deep);
  z-index: 99;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a { font-family: var(--serif); font-size: 2.2rem; font-weight: 400; color: var(--on-dark); }
.nav-mobile .nav-mobile-cta {
  font-family: var(--sans); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--gold); color: var(--emerald-deep);
  padding: 1rem 2.2rem; border-radius: 2px; margin-top: 1rem;
}
body.menu-open .nav { color: var(--on-dark); background: transparent; border-bottom-color: transparent; backdrop-filter: none; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--emerald-deep);
  color: var(--on-dark);
  padding: calc(var(--nav-h) + 3rem) 2rem 6rem;
}
.hero-grid {
  position: absolute; inset: -5%;
  background-image:
    linear-gradient(rgba(237,233,223,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237,233,223,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  animation: breathe 10s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.02); } }
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  gap: 1.5rem;
  max-width: 820px;
}
.hero-mark { width: 150px; height: auto; margin-bottom: 0.5rem; overflow: visible; }
.hero-mark .ridge { stroke-dasharray: 360; stroke-dashoffset: 360; }
.hero-mark .pin { opacity: 0; transform: translateY(-10px); transform-box: fill-box; }
.is-ready .hero-mark .ridge { animation: drawRidge 1.6s var(--ease-out) 0.15s forwards; }
.is-ready .hero-mark .pin { animation: dropPin 0.7s var(--ease-out) 1.3s forwards; }
@keyframes drawRidge { to { stroke-dashoffset: 0; } }
@keyframes dropPin { to { opacity: 1; transform: none; } }
/* Safety net: always visible after 4.5s even if JS never runs */
.hero-mark .ridge { animation: drawRidge 0.01s linear 4.5s forwards; }
.hero-mark .pin { animation: dropPin 0.01s linear 4.5s forwards; }

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-name {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8.5vw, 7.2rem);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.015em;
  color: var(--cream);
}
.hero-rule { width: 40px; height: 1px; background: var(--gold); }
.hero-tagline {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.65;
  color: var(--on-dark-muted);
  max-width: 54ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 0.75rem; }

/* hero staged reveal (JS adds .is-visible) */
.hero-eyebrow, .hero-name, .hero-tagline, .hero-cta {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.9s ease, transform 0.9s var(--ease-out);
}
.hero-rule { opacity: 0; transition: opacity 0.8s ease, width 0.9s var(--ease-out); }
.hero-eyebrow.is-visible, .hero-name.is-visible, .hero-tagline.is-visible, .hero-cta.is-visible { opacity: 1; transform: none; }
.hero-rule.is-visible { opacity: 1; width: 90px; }
/* CSS safety net if JS fails */
.hero-content > * { animation: heroFallback 0.01s linear 4.5s forwards; }
@keyframes heroFallback { to { opacity: 1; transform: none; } }

.hero-coord {
  position: absolute; left: 3rem; bottom: 2.5rem;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.18em;
  color: rgba(237,233,223,0.4);
}
.hero-scroll-hint {
  position: absolute; bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--on-dark-muted);
  opacity: 0;
  animation: fadeInHint 1s ease 1.8s forwards;
}
@keyframes fadeInHint { to { opacity: 1; } }
.scroll-arrow { width: 1px; height: 34px; background: rgba(237,233,223,0.25); position: relative; overflow: hidden; }
.scroll-arrow::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--gold);
  animation: scrollDrop 1.8s ease 1.8s infinite;
}
@keyframes scrollDrop { 0% { top: -100%; } 100% { top: 100%; } }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 1rem 2rem;
  font-family: var(--sans);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.5s var(--ease-out);
}
.btn-gold { background: var(--gold); color: var(--emerald-deep); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-ghost { border-color: rgba(237,233,223,0.35); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--gold); color: var(--cream); }
.btn-outline { border-color: var(--on-dark); color: var(--on-dark); background: transparent; }
.btn-outline:hover { background: var(--on-dark); color: var(--emerald-deep); }
.btn-block { width: 100%; }

/* ── SECTION BASICS ── */
section { padding: 130px 0; }
.paper { background: var(--paper); }
.stone { background: var(--stone); }
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 2rem; }

/* ── CURTAIN REVEAL (Steel signature, emerald) ── */
.section-reveal { position: relative; overflow: hidden; }
.section-reveal::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--emerald);
  transform: scaleY(1);
  transform-origin: top;
  transition: transform 1s var(--ease-out);
  z-index: 3;
  pointer-events: none;
}
.section-reveal.is-revealed::before { transform: scaleY(0); }
.contact.section-reveal::before { background: var(--gold); }

/* ── BLUR TITLES ── */
.blur-title { opacity: 0; filter: blur(12px); transition: opacity 1.1s ease, filter 1.1s ease; }
.blur-title.is-sharp { opacity: 1; filter: blur(0); }

/* ── SECTION LABEL ── */
.section-label {
  font-family: var(--mono);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.75rem;
  display: flex; align-items: center; gap: 1rem;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--line); max-width: 90px; }
.section-label.on-dark { color: var(--gold); }
.section-label.on-dark::after { background: var(--line-dark); }

/* ── ABOUT ── */
.about-text {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 3.5rem;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.9s ease 0.25s, transform 0.9s var(--ease-out) 0.25s;
}
.about-text.is-visible { opacity: 1; transform: none; }
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.about-stat {
  padding: 2rem 1.6rem;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--card);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
}
.about-stat.is-visible { opacity: 1; transform: none; }
.stat-value {
  font-family: var(--serif);
  font-size: 2.6rem; font-weight: 600;
  color: var(--emerald);
  line-height: 1; margin-bottom: 0.6rem;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 0.85rem; color: var(--muted); line-height: 1.4; }
.fine { margin-top: 1rem; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; color: var(--muted); }

/* ── SERVICES ── */
.services-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 4.5rem;
  align-items: start;
}
.services-heading {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.4vw, 4.8rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.services-intro { font-size: 1.05rem; line-height: 1.65; color: var(--muted); max-width: 48ch; margin-bottom: 3rem; }
.services-list { list-style: none; border-top: 1px solid var(--ink); }
.service-item { border-bottom: 1px solid var(--line); }
.service-toggle {
  width: 100%;
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.6rem 0;
  text-align: left;
}
.service-num { font-family: var(--mono); font-size: 0.75rem; font-weight: 500; color: var(--terracotta); width: 1.6rem; flex-shrink: 0; }
.service-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  font-weight: 500;
  transition: color 0.3s ease, transform 0.5s var(--ease-out);
}
.service-toggle:hover .service-title { color: var(--emerald); transform: translateX(6px); }
.service-dots {
  flex: 1; height: 1px; min-width: 20px;
  background: repeating-linear-gradient(90deg, var(--line) 0 4px, transparent 4px 8px);
}
.service-tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.service-item.is-featured .service-tag { color: var(--emerald); }
.service-badge {
  font-family: var(--mono); font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--emerald);
  background: rgba(31,74,61,0.1);
  padding: 0.25rem 0.55rem; border-radius: 2px;
}
.service-plus {
  font-family: var(--mono); font-size: 1.15rem; color: var(--muted);
  width: 20px; text-align: center; flex-shrink: 0;
  transition: transform 0.45s var(--ease-out), color 0.3s ease;
}
.service-item.is-open .service-plus { transform: rotate(45deg); color: var(--terracotta); }
.service-panel { max-height: 0; overflow: hidden; transition: max-height 0.6s var(--ease-out); }
.service-item.is-open .service-panel { max-height: 260px; }
.service-panel-inner { padding: 0 0 1.8rem 2.7rem; display: flex; flex-direction: column; gap: 0.7rem; max-width: 60ch; }
.service-desc { font-size: 1rem; line-height: 1.65; color: var(--ink); }
.service-includes { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* ground → key visual */
.services-visual {
  position: sticky; top: calc(var(--nav-h) + 2rem);
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--emerald-deep);
}
.sv-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.sv-key { clip-path: inset(0 0 100% 0); transition: clip-path 0.1s linear; }
.services-visual figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between;
  padding: 1rem 1.2rem;
  background: linear-gradient(0deg, rgba(15,43,35,0.85), transparent);
}
.sv-label { font-family: var(--mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark); opacity: 0.45; transition: opacity 0.3s ease, color 0.3s ease; }
.sv-label.is-on { opacity: 1; color: var(--gold); }

/* structures */
.structures { margin-top: 5.5rem; }
.structures-kicker {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--terracotta);
  margin-bottom: 1.5rem;
}
.structures-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.struct-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.9rem;
  display: flex; flex-direction: column; gap: 0.8rem;
  transition: border-color 0.3s ease, transform 0.5s var(--ease-out);
}
.struct-card:hover { border-color: var(--emerald); transform: translateY(-4px); }
.struct-card h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.struct-card p { font-size: 0.92rem; line-height: 1.6; color: var(--muted); }
.badge {
  align-self: flex-start;
  font-family: var(--mono); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.6rem; border-radius: 2px;
}
.badge-open { background: rgba(31,74,61,0.12); color: var(--emerald); }
.badge-soon { background: rgba(107,102,89,0.14); color: var(--muted); }

/* ── MARQUEE ── */
.marquee {
  background: var(--emerald);
  color: var(--on-dark);
  overflow: hidden;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.marquee-track {
  display: flex; align-items: center; gap: 2.2rem;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee-track span {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 400; font-style: italic;
  white-space: nowrap;
}
.marquee-track i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── REGIONS ── */
.regions { background: var(--emerald-deep); color: var(--on-dark); padding-bottom: 90px; }
.regions-head { margin-bottom: 3rem; }
.regions-heading {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 500; line-height: 1.02;
  color: var(--cream);
}
.gallery-wrap { position: relative; height: 78vh; min-height: 460px; overflow: hidden; }
.gallery-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.3s ease; }
.gallery-slide.is-active { opacity: 1; }
.gallery-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.08);
  transition: transform 7s linear;
}
.gallery-slide.is-active .gallery-img { transform: scale(1); }
.gallery-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,43,35,0.92) 0%, rgba(15,43,35,0.25) 45%, rgba(15,43,35,0.1) 100%);
  pointer-events: none;
}
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  max-width: 1160px; margin: 0 auto;
  padding: 0 2rem 4.5rem;
}
.gallery-index { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 0.8rem; }
.gallery-region {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 500; line-height: 1.05;
  color: var(--cream);
  transition: opacity 0.5s ease, transform 0.6s var(--ease-out);
}
.gallery-places { margin-top: 0.8rem; font-size: 0.95rem; color: var(--on-dark-muted); transition: opacity 0.5s ease; }
.gallery-caption.is-swapping .gallery-region, .gallery-caption.is-swapping .gallery-places { opacity: 0; transform: translateY(10px); }
.gallery-dots { position: absolute; right: 2rem; bottom: 4.8rem; z-index: 2; display: flex; gap: 0.6rem; }
.gallery-dot { width: 26px; height: 2px; background: rgba(237,233,223,0.3); transition: background 0.3s ease, width 0.4s var(--ease-out); padding: 0; }
.gallery-dot.is-active { background: var(--gold); width: 46px; }

.region-list {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--line-dark);
  margin-top: 0;
}
.region-pick {
  width: 100%; text-align: left;
  padding: 1.6rem 1.4rem;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--serif); font-size: 1.15rem; font-weight: 500;
  color: var(--on-dark-muted);
  transition: color 0.3s ease, background 0.3s ease;
  display: flex; gap: 0.9rem; align-items: baseline;
}
.region-pick span { font-family: var(--mono); font-size: 0.7rem; color: var(--gold); }
.region-pick:hover, .region-pick.is-active { color: var(--cream); background: rgba(31,74,61,0.5); }

/* ── WHY ── */
.why-heading {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 500; line-height: 1.02;
  margin-bottom: 3.5rem;
}
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}
.why-card {
  padding: 2rem 1.6rem 2rem 0;
  border-right: 1px solid var(--line);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
}
.why-card + .why-card { padding-left: 1.6rem; }
.why-card:last-child { border-right: none; }
.why-card.is-visible { opacity: 1; transform: none; }
.why-idx { font-family: var(--mono); font-size: 0.75rem; color: var(--terracotta); margin-bottom: 1.2rem; }
.why-card h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-bottom: 0.8rem; }
.why-card p { font-size: 0.92rem; line-height: 1.6; color: var(--muted); }

/* ── CONTACT ── */
.contact { background: var(--emerald-deep); color: var(--on-dark); }
.contact-heading {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 500; line-height: 1.02;
  color: var(--cream);
  margin-bottom: 3.5rem;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.contact-card {
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  padding: 2.4rem;
  display: flex; flex-direction: column; gap: 1rem;
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}
.contact-call { background: var(--emerald); }
.cc-kicker { font-family: var(--mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.contact-card h3 { font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--cream); }
.contact-card > p { font-size: 0.96rem; line-height: 1.65; color: var(--on-dark-muted); }
.cc-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin: 0.5rem 0 1rem; }
.cc-list li { display: flex; gap: 0.7rem; font-size: 0.92rem; }
.cc-list li::before { content: '—'; color: var(--gold); }
.contact-call .btn { margin-top: auto; }

.guide-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.5rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-family: var(--mono); font-size: 0.64rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); }
.field input, .field select {
  font-family: var(--sans); font-size: 0.95rem;
  padding: 0.85rem 0.9rem;
  background: rgba(237,233,223,0.04);
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  color: var(--cream);
  transition: border-color 0.25s ease;
}
.field select option { color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field.has-error input { border-color: var(--terracotta); }
.form-msg { font-size: 0.88rem; color: var(--gold); min-height: 1.2em; }

/* ── FOOTER ── */
.footer { background: #0B211B; color: var(--on-dark-muted); padding: 4.5rem 0 2.5rem; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--cream); margin-bottom: 0.8rem; }
.footer-tagline { font-size: 0.9rem; }
.footer-col-title { font-family: var(--mono); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; font-size: 0.9rem; }
.footer-links a:hover { color: var(--cream); }
.footer-disclaimer { font-size: 0.78rem; line-height: 1.6; max-width: 80ch; margin-bottom: 1.5rem; opacity: 0.8; }
.footer-legal {
  border-top: 1px solid var(--line-dark);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.08em;
}
.footer-legal a { color: var(--gold); }


/* ── FEATURED PROJECT: CASA NEVU ── */
.project-head { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 1rem 1.5rem; margin-bottom: 2.5rem; }
.project-heading {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 500; line-height: 0.95; letter-spacing: -0.015em;
}
.project-badge { margin-bottom: 0.9rem; }
.project-hero { margin: 0 0 3rem; border: 1px solid var(--line); overflow: hidden; background: var(--emerald-deep); }
.project-hero-btn { display: block; width: 100%; padding: 0; cursor: zoom-in; }
.project-hero img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  transform: scale(1.04); transition: transform 1.6s var(--ease-out);
}
.project.is-revealed .project-hero img { transform: scale(1); }
.project-hero-btn:hover img { transform: scale(1.015); }
.project-body { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 3.5rem; align-items: start; }
.project-copy { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.5; }
.project-facts { border-top: 1px solid var(--ink); }
.project-facts > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
.project-facts dt { font-family: var(--mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terracotta); padding-top: 0.2rem; }
.project-facts dd { font-size: 1rem; font-weight: 600; text-align: right; }
.project-facts dd span { display: block; font-family: var(--mono); font-size: 0.72rem; font-weight: 400; color: var(--muted); }
.project-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.project-grid button { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; background: var(--stone); }
.project-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.project-grid button:hover img { transform: scale(1.05); }
.project-grid span {
  position: absolute; left: 0.8rem; bottom: 0.8rem;
  font-family: var(--mono); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream); background: rgba(15,43,35,0.78); padding: 0.35rem 0.6rem; border-radius: 2px;
}
.project-foot { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.project-foot .fine { margin: 0; }
.btn-dark { background: var(--emerald-deep); color: var(--cream); }
.btn-dark:hover { background: var(--emerald); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11,33,27,0.96);
  display: flex; align-items: center; justify-content: center;
  padding: 4rem 5rem;
}
.lightbox[hidden] { display: none; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; color: var(--cream); font-size: 2.2rem; line-height: 1;
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-dark); border-radius: 2px; transition: border-color 0.2s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { border-color: var(--gold); }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-cap { position: absolute; bottom: 1.4rem; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-muted); }

/* guide success */
.guide-done { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 0.5rem; }
.guide-done[hidden] { display: none; }
.guide-done p { font-size: 0.92rem; color: var(--on-dark-muted); }
.guide-done .gd-title { font-family: var(--serif); font-size: 1.6rem; color: var(--cream); }
.guide-form[hidden] { display: none; }

/* ── RESPONSIVE (900px breakpoint — covers phones in landscape) ── */
@media (max-width: 1080px) {
  .nav-links { gap: 1.6rem; }
  .nav-link-guide { display: none; }
}
@media (max-width: 900px) {
  :root { --nav-h: 66px; }
  .nav { padding: 0 1.25rem; }
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: flex; }

  section { padding: 90px 0; }
  .container, .container-narrow { padding: 0 1.25rem; }

  .hero { padding: calc(var(--nav-h) + 2rem) 1.25rem 7rem; }
  .hero-mark { width: 110px; }
  .hero-cta { flex-direction: column; width: 100%; max-width: 340px; }
  .hero-cta .btn { width: 100%; }
  .hero-coord { display: none; }
  .hero-content > * { opacity: 1 !important; transform: none !important; }

  .about-stats { grid-template-columns: 1fr; }
  .services-layout { grid-template-columns: 1fr; gap: 3rem; }
  .services-visual { position: relative; top: 0; aspect-ratio: 4 / 3; order: -1; }
  .service-toggle { gap: 0.8rem; padding: 1.3rem 0; }
  .service-tag, .service-dots { display: none; }
  .service-title { flex: 1; }
  .service-panel-inner { padding-left: 2.4rem; }
  .structures-grid { grid-template-columns: 1fr; }

  .gallery-wrap { height: 70vh; min-height: 420px; }
  .gallery-caption { padding: 0 1.25rem 3.5rem; }
  .gallery-dots { right: 1.25rem; bottom: 1.4rem; }
  .region-list { grid-template-columns: 1fr; }

  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-card, .why-card + .why-card { padding: 1.8rem 1.2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .why-card:nth-child(2n) { border-right: none; }

  .project-body { grid-template-columns: 1fr; gap: 2rem; }
  .project-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .project-grid li:last-child { grid-column: 1 / -1; }
  .project-hero img { aspect-ratio: 4 / 3; }
  .project-foot { flex-direction: column; align-items: stretch; }
  .lightbox { padding: 4.5rem 0.75rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
  .lb-cap { bottom: 2.1rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 1.8rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-legal { flex-direction: column; text-align: left; }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-card { border-right: none !important; }
  .service-badge { display: none; }
  .hero-name { font-size: 3rem; }
}

/* footer social */
.footer-social { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1.1rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--on-dark-muted); transition: color 0.25s ease; }
.footer-social:hover { color: var(--gold); }
.ig-icon { width: 20px; height: 20px; flex-shrink: 0; }
.footer-social + .footer-social { margin-left: 1.4rem; }
