/* ============================================================
   GWCH Property Partners — Site Styles
   Typography: Courier New
   Palette:   forest / olive / soft-black / champagne / ivory
   ============================================================ */

:root {
  --forest:       #1f2a24;
  --forest-deep:  #0f1a14;
  --forest-darker:#0a120e;
  --olive:        #3d4a3a;
  --olive-soft:   #5a6a55;
  --soft-black:   #0b0e0c;
  --taupe:        #8e8275;
  --stone:        #c9c2b6;
  --champagne:    #d8c9a8;
  --bronze:       #9a7d4f;
  --ivory:        #ede4d1;
  --ivory-dim:    #b9b0a0;
  --line:         rgba(237, 228, 209, 0.14);
  --line-strong:  rgba(237, 228, 209, 0.22);

  --pad-x:        clamp(22px, 4vw, 72px);
  --pad-y:        clamp(80px, 10vw, 150px);
  --nav-h:        78px;
  --radius:       0;
}

/* ---------- BASE ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--soft-black); color: var(--ivory); }
html { scroll-behavior: smooth; }
body {
  font-family: "Courier New", "Courier", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body.locked { overflow: hidden; height: 100vh; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--bronze); color: var(--soft-black); }

/* ============================================================
   TEMPORARY WATERMARK (preview only)
   Sits above content but below nav/gate/drawer so it reads as
   a subtle background pattern. Remove the .watermark block from
   the HTML before final launch.
   ============================================================ */
.watermark {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.14;
  user-select: none;
}
.watermark svg { width: 100%; height: 100%; display: block; }
@media (max-width: 760px) {
  .watermark { opacity: 0.12; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 0.4s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary { background: var(--champagne); color: var(--soft-black); }
.btn--primary:hover { background: var(--bronze); color: var(--ivory); }
.btn--ghost { border-color: var(--ivory-dim); color: var(--ivory); background: transparent; }
.btn--ghost:hover { border-color: var(--champagne); color: var(--champagne); }
.btn .arrow { display: inline-block; transition: transform 0.4s ease; }
.btn:hover .arrow { transform: translateX(6px); }

/* ---------- BOUTIQUE IMAGE TREATMENT ---------- */
.boutique { position: relative; overflow: hidden; background: var(--forest-darker); }
.boutique img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.6) contrast(0.95) brightness(0.88) sepia(0.06);
  transition: filter 1.2s ease, transform 1.6s cubic-bezier(0.2,0.7,0.2,1);
}
.boutique::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(11,14,12,0) 30%, rgba(11,14,12,0.55) 100%),
    linear-gradient(160deg, rgba(216,201,168,0.08) 0%, rgba(31,42,36,0.16) 60%, rgba(11,14,12,0.32) 100%);
}
.boutique::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.12  0 0 0 0 0.10  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.30;
}

/* ============================================================
   PASSWORD GATE
   ============================================================ */
.gate {
  position: fixed; inset: 0; z-index: 1000;
  background:
    radial-gradient(ellipse at center, rgba(31,42,36,0.55) 0%, rgba(11,14,12,1) 70%),
    var(--soft-black);
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
  opacity: 1;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.gate.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.gate__inner { max-width: 420px; width: 100%; text-align: center; }
.gate__logo { height: 56px; width: auto; object-fit: contain; margin: 0 auto 32px; }
.gate__eyebrow {
  font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--champagne); display: inline-block; margin-bottom: 18px;
}
.gate__title {
  font-family: inherit; font-weight: 400;
  font-size: clamp(24px, 3vw, 32px); line-height: 1.2;
  color: var(--ivory); margin-bottom: 14px;
}
.gate__sub { color: var(--ivory-dim); font-size: 14px; margin-bottom: 28px; }
.gate__form { display: flex; flex-direction: column; gap: 14px; }
.gate__form input {
  width: 100%;
  padding: 16px 18px;
  background: rgba(11,14,12,0.4);
  border: 1px solid var(--line-strong);
  color: var(--ivory);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-align: center;
  transition: border 0.3s ease, background 0.3s ease;
}
.gate__form input:focus {
  outline: none; border-color: var(--champagne);
  background: rgba(11,14,12,0.6);
}
.gate__form .btn { justify-content: center; padding: 16px 22px; }
.gate__error {
  margin-top: 16px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: #d57a6a;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 20px var(--pad-x);
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: padding 0.45s ease, background 0.5s ease, backdrop-filter 0.5s ease, border-color 0.5s ease, opacity 0.45s ease;
}
.nav.solid {
  background: rgba(10, 18, 14, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-strong);
}
.nav.compact { padding: 12px var(--pad-x); }
.nav.dim     { opacity: 0.55; }

.nav__logo { display: flex; align-items: center; justify-self: start; }
.nav__logo img {
  height: 46px; width: auto; object-fit: contain;
  transition: height 0.5s ease;
}
.nav.compact .nav__logo img { height: 36px; }

.nav__menu {
  display: flex; gap: 36px; align-items: center;
  justify-self: center;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.nav__link {
  color: var(--ivory);
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
}
.nav__link::after {
  content: ""; position: absolute;
  left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--champagne);
  transition: width 0.4s ease;
}
.nav__link:hover { color: var(--champagne); }
.nav__link:hover::after { width: 100%; }

.nav__cta {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 11px 20px;
  border: 1px solid var(--ivory-dim);
  color: var(--ivory);
  background: transparent;
  transition: all 0.35s ease;
  justify-self: end;
  white-space: nowrap;
}
.nav__cta:hover {
  background: var(--champagne);
  border-color: var(--champagne);
  color: var(--soft-black);
}

.nav__burger {
  display: none;
  width: 52px; height: 52px;
  justify-self: end;
  position: relative;
  z-index: 110;
  margin-right: -10px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav__burger span {
  display: block;
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform 0.35s ease, opacity 0.25s ease, top 0.35s ease, background 0.4s ease;
}
.nav__burger span:nth-child(1) { top: 18px; }
.nav__burger span:nth-child(2) { top: 24px; }
.nav__burger span:nth-child(3) { top: 30px; }
.nav__burger.open span:nth-child(1) { top: 24px; transform: rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { top: 24px; transform: rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 86vh;
  min-height: 580px;
  max-height: 880px;
  width: 100%;
  overflow: hidden;
  background: var(--forest-darker);
}
.hero__media {
  position: absolute; inset: -6%;
  z-index: 1;
  will-change: transform;
  transform: scale(1.05);
}
.hero__media-inner {
  width: 100%; height: 100%;
  animation: drift 26s ease-in-out infinite alternate;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.75) contrast(1.0) brightness(0.78);
}
.hero__media::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    /* darker on the left where the text sits, lighter on the right */
    linear-gradient(95deg, rgba(11,14,12,0.78) 0%, rgba(11,14,12,0.55) 38%, rgba(11,14,12,0.20) 75%, rgba(11,14,12,0.10) 100%),
    /* gentle top + bottom darkening for nav and section transition */
    linear-gradient(180deg, rgba(11,14,12,0.40) 0%, rgba(11,14,12,0.10) 30%, rgba(11,14,12,0.78) 100%);
}
@keyframes drift {
  0%   { transform: scale(1.04) translate3d(0,0,0); }
  50%  { transform: scale(1.10) translate3d(-1.5%, -1%, 0); }
  100% { transform: scale(1.07) translate3d(1%, -0.6%, 0); }
}

.hero__content {
  position: relative; z-index: 3;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--pad-x) clamp(64px, 9vw, 110px);
}
.hero__eyebrow {
  font-size: 12px; letter-spacing: 0.3em;
  color: var(--champagne); text-transform: uppercase;
  margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 14px;
  opacity: 0; transform: translateY(20px);
  animation: rise 1.2s 0.4s ease forwards;
}
.hero__eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--champagne); }

.hero__headline {
  font-family: inherit; font-weight: 400;
  font-size: clamp(38px, 5.6vw, 86px);
  line-height: 1.04;
  letter-spacing: -0.005em;
  color: var(--ivory);
  max-width: 1100px;
}
.hero__headline span {
  display: block;
  opacity: 0; transform: translateY(30px);
  animation: rise 1.2s ease forwards;
}
.hero__headline span:nth-child(1) { animation-delay: 0.7s; }
.hero__headline span:nth-child(2) { animation-delay: 0.95s; color: var(--champagne); font-style: italic; }
.hero__headline span:nth-child(3) { animation-delay: 1.2s; }

.hero__sub {
  margin-top: 28px;
  max-width: 560px;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.7;
  color: var(--ivory-dim);
  opacity: 0; transform: translateY(20px);
  animation: rise 1.2s 1.55s ease forwards;
}
.hero__ctas {
  margin-top: 36px;
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  animation: rise 1.2s 1.85s ease forwards;
}

.hero__foot {
  position: absolute;
  bottom: 28px; left: var(--pad-x); right: var(--pad-x);
  z-index: 4;
  display: flex; justify-content: space-between; align-items: flex-end;
  pointer-events: none;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ivory-dim);
  text-transform: uppercase;
}
.hero__est { opacity: 0; animation: rise 1.2s 2.1s ease forwards; }
.hero__est strong { color: var(--champagne); font-weight: 400; margin-right: 8px; }
.hero__cue { display: flex; align-items: center; gap: 12px; opacity: 0; animation: rise 1.2s 2.1s ease forwards; }
.hero__cue .line {
  display: inline-block; width: 48px; height: 1px;
  background: var(--ivory-dim); position: relative; overflow: hidden;
}
.hero__cue .line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--champagne);
  transform: translateX(-100%);
  animation: slide 2.6s ease-in-out infinite;
}
@keyframes rise  { to { opacity: 1; transform: translateY(0); } }
@keyframes slide { 0% { transform: translateX(-100%); } 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* ============================================================
   SHARED SECTION SHELL
   ============================================================ */
section { position: relative; }
.pad { padding: var(--pad-y) var(--pad-x); }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--champagne); }

.h2 {
  font-family: inherit; font-weight: 400;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.1;
  color: var(--ivory);
  max-width: 880px;
  letter-spacing: -0.005em;
}
.h2 em { font-style: italic; color: var(--champagne); }

.lede {
  margin-top: 24px;
  max-width: 620px;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.75;
  color: var(--ivory-dim);
}

/* reveal hooks */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.0s cubic-bezier(0.2,0.7,0.2,1), transform 1.0s cubic-bezier(0.2,0.7,0.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal--img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s cubic-bezier(0.7,0,0.2,1); }
.reveal--img.in { clip-path: inset(0 0 0 0); }
.reveal--left { transform: translateX(-40px); }
.reveal--left.in { transform: translateX(0); }

.stagger > * { opacity: 0; transform: translateY(34px); transition: opacity 0.85s ease, transform 0.85s ease; }
.stagger.in > * { opacity: 1; transform: translateY(0); }
.stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.in > *:nth-child(2) { transition-delay: 0.17s; }
.stagger.in > *:nth-child(3) { transition-delay: 0.29s; }
.stagger.in > *:nth-child(4) { transition-delay: 0.41s; }
.stagger.in > *:nth-child(5) { transition-delay: 0.53s; }

.sect-enter { transform: translateY(50px); opacity: 0; transition: opacity 1.2s ease, transform 1.2s ease; }
.sect-enter.in { transform: translateY(0); opacity: 1; }

/* ============================================================
   INTRO
   ============================================================ */
.intro {
  background: var(--forest-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.intro__inner { max-width: 1100px; margin: 0 auto; }
.intro__inner .lede { margin-top: 28px; max-width: 820px; }

.intro__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.metric .num {
  font-family: inherit;
  font-size: clamp(28px, 3vw, 42px);
  color: var(--champagne);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.metric .lbl {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}

/* ============================================================
   DEVELOPMENT FEATURE
   ============================================================ */
.feature { background: var(--soft-black); }
.feature__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 70px;
  flex-wrap: wrap;
}
.feature__top .lede { margin-top: 0; }

.feature__big {
  position: relative;
  aspect-ratio: 16 / 8;
  overflow: hidden;
}
.feature__big img {
  transition: transform 8s ease-out, filter 1.2s ease;
  transform: scale(1.06);
}
.feature__big.in img { transform: scale(1.0); }
.feature__caption {
  position: absolute;
  left: clamp(20px, 3vw, 44px);
  bottom: clamp(20px, 3vw, 40px);
  z-index: 3;
  color: var(--ivory);
}
.feature__caption .tag {
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--champagne);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.feature__caption .title {
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.18;
  max-width: 560px;
}

/* ============================================================
   INVESTMENT THESIS
   ============================================================ */
.thesis {
  background: var(--forest-darker);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.thesis__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.pillar {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.4s ease;
}
.pillar:hover { padding-left: 12px; }
.pillar:first-child { border-top: 1px solid var(--line); }
.pillar__num {
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--champagne);
  padding-top: 4px;
}
.pillar__body h4 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--ivory);
  font-weight: 400;
}
.pillar__body p {
  color: var(--ivory-dim);
  font-size: 14px;
  line-height: 1.7;
}

/* ============================================================
   RESIDENCES
   ============================================================ */
.residences { background: var(--soft-black); }
.residences__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 30px);
}
.card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
}
.card--lead { aspect-ratio: 16 / 11; grid-column: span 12; }
.card--half { grid-column: span 6; }
.card img { transition: transform 1.6s cubic-bezier(0.2,0.7,0.2,1), filter 1.2s ease; }
.card:hover img { transform: scale(1.06); }

.card__meta {
  position: absolute;
  left: clamp(18px, 2vw, 30px); right: clamp(18px, 2vw, 30px); bottom: clamp(18px, 2vw, 28px);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  color: var(--ivory);
}
.card__meta .label {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--champagne);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.card__meta .name {
  font-family: inherit; font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.2;
  color: var(--ivory);
}
.card__meta .status {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  padding: 7px 12px;
  border: 1px solid var(--ivory-dim);
  white-space: nowrap;
  background: rgba(11,14,12,0.45);
  backdrop-filter: blur(6px);
}

/* ============================================================
   TEAM
   ============================================================ */
.team {
  background: var(--forest-deep);
  border-top: 1px solid var(--line);
}
.team__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

/* ============================================================
   QUOTE BAND
   ============================================================ */
.band {
  background: var(--olive);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(80px, 11vw, 130px) var(--pad-x);
  text-align: center;
}
.band__quote {
  font-family: inherit;
  font-size: clamp(20px, 2.6vw, 34px);
  line-height: 1.4;
  max-width: 1000px;
  margin: 0 auto;
  color: var(--ivory);
  font-style: italic;
}
.band__cite {
  margin-top: 28px;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--champagne);
  text-transform: uppercase;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--forest-deep);
  padding: clamp(100px, 13vw, 170px) var(--pad-x) 80px;
  position: relative;
  overflow: hidden;
}
.contact__bg { position: absolute; inset: 0; z-index: 0; opacity: 0.15; }
.contact__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.5) brightness(0.5) sepia(0.1);
}
.contact__inner { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; }
.contact__title {
  font-family: inherit; font-weight: 400;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.08;
  color: var(--ivory);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.contact__title em { color: var(--champagne); font-style: italic; }
.contact__sub {
  margin: 28px auto 48px;
  max-width: 560px;
  color: var(--ivory-dim);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  text-align: center;
}

/* Form */
.form {
  max-width: 740px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 22px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form__field { display: flex; flex-direction: column; gap: 10px; }
.form__label {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--champagne);
}
.form__field input,
.form__field textarea,
.form__field select {
  background: rgba(11, 14, 12, 0.5);
  border: 1px solid var(--line-strong);
  color: var(--ivory);
  font-size: 15px;
  padding: 14px 16px;
  transition: border 0.3s ease, background 0.3s ease;
  font-family: inherit;
}
.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
  outline: none; border-color: var(--champagne);
  background: rgba(11,14,12,0.7);
}
.form__field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form__field input.invalid,
.form__field textarea.invalid { border-color: #d57a6a; }

.form__actions {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  margin-top: 6px;
}
.form__hint {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ivory-dim);
}
.form__status {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.1em;
  min-height: 24px;
  text-align: left;
}
.form__status.success { color: var(--champagne); }
.form__status.error   { color: #d57a6a; }

.contact__details {
  margin-top: 90px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  text-align: left;
}
.detail__label {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--champagne);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.detail__value {
  color: var(--ivory);
  font-size: 14px;
  line-height: 1.75;
}
.detail__value a:hover { color: var(--champagne); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--soft-black);
  padding: 44px var(--pad-x);
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  color: var(--ivory-dim);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 20px;
}
.footer__logo { height: 32px; width: auto; object-fit: contain; }
.footer__legal { display: flex; align-items: center; gap: 12px; }
.footer__legal a { color: var(--ivory-dim); transition: color 0.3s ease; }
.footer__legal a:hover { color: var(--champagne); }

/* legal-page layout */
.legal {
  padding: calc(var(--nav-h) + 60px) var(--pad-x) 100px;
  background: var(--forest-deep);
  min-height: 100vh;
}
.legal__inner { max-width: 760px; margin: 0 auto; }
.legal h1 {
  font-family: inherit; font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  margin-bottom: 28px;
  color: var(--ivory);
}
.legal h2 {
  font-family: inherit; font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  margin: 36px 0 14px;
  color: var(--champagne);
  letter-spacing: 0.04em;
}
.legal p, .legal li {
  color: var(--ivory-dim);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal a { color: var(--champagne); }
.legal a:hover { text-decoration: underline; }
.legal__back {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 32px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ivory-dim);
}
.legal__back:hover { color: var(--champagne); }
.legal__updated {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.legal__credit {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.legal__credit-label { color: var(--ivory-dim); }
.legal__credit a {
  color: var(--champagne);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.legal__credit a:hover { border-bottom-color: var(--champagne); }

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .thesis__grid, .team__grid { grid-template-columns: 1fr; gap: 44px; }
  .intro__metrics { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .contact__details { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 760px) {
  body { font-size: 15px; }

  .nav { grid-template-columns: 1fr auto; gap: 0; padding: 14px var(--pad-x); }
  .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__logo img { height: 36px; }
  .nav.compact .nav__logo img { height: 32px; }

  /* mobile menu — right-side drawer (slides in from the right edge) */
  .nav__menu {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    width: min(82vw, 360px);
    background: rgba(10, 18, 14, 0.985);
    border-left: 1px solid var(--line);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 4px;
    z-index: 95;
    padding: calc(var(--nav-h) + 28px) 28px 40px;
    /* hidden to the right of viewport */
    transform: translate3d(100%, 0, 0);
    transition: transform 0.42s cubic-bezier(0.65, 0, 0.2, 1);
    will-change: transform;
    pointer-events: none;
    -webkit-tap-highlight-color: transparent;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -24px 0 60px rgba(0,0,0,0.5);
  }
  .nav__menu.mobile-open {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }
  .nav__menu .nav__link {
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: 0.14em;
    padding: 18px 0;
    color: var(--ivory);
    width: 100%;
    border-bottom: 1px solid var(--line);
    /* fade all in once panel arrives — keep simple on iOS */
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .nav__menu.mobile-open .nav__link {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.18s;
  }
  .nav__menu .nav__link::after { display: none; }
  .nav__menu .nav__link:active  { color: var(--champagne); }

  /* dimming backdrop when menu open (sits below the drawer) */
  .nav__backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(11, 14, 12, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }
  .nav__backdrop.active {
    opacity: 1;
    pointer-events: auto;
  }

  .nav__burger { z-index: 120; }
  .nav__burger.open span { background: var(--ivory); }

  /* mobile hero: tight under the nav, ends earlier so next section peeks in */
  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .hero__media { position: absolute; inset: 0; }
  .hero__content {
    justify-content: flex-start;
    padding: calc(var(--nav-h) + 20px) var(--pad-x) 70px;
    min-height: 62vh;
    min-height: 62dvh;
  }
  .hero__eyebrow { margin-bottom: 18px; }
  .hero__headline { font-size: clamp(34px, 9vw, 50px); }
  .hero__sub { font-size: 15px; margin-top: 22px; }
  .hero__ctas { margin-top: 28px; }
  .hero__foot {
    font-size: 10px;
    bottom: 20px;
    left: var(--pad-x); right: var(--pad-x);
  }

  .feature__top { gap: 22px; margin-bottom: 40px; }
  .feature__big { aspect-ratio: 4 / 5; }
  .feature__caption .title { font-size: 19px; }

  .residences__head { margin-bottom: 36px; }
  .residences__head .btn { display: none; }
  .card--lead { aspect-ratio: 4 / 5; }
  .card--half { grid-column: span 12; }
  .card__meta { left: 18px; right: 18px; bottom: 18px; }
  .card__meta .name { font-size: 18px; }

  .form__row { grid-template-columns: 1fr; gap: 18px; }
  .form__actions { flex-direction: column; align-items: flex-start; }
  .contact__details { grid-template-columns: 1fr; gap: 26px; margin-top: 60px; padding-top: 36px; }

  .intro__metrics { margin-top: 52px; padding-top: 32px; gap: 22px; }
  .metric .num { font-size: 28px; }

  .footer {
    padding: 32px var(--pad-x);
    flex-direction: column;
    text-align: center;
    font-size: 10px;
    gap: 16px;
  }
  .footer img { height: 28px; }

  .pillar { grid-template-columns: 50px 1fr; padding: 22px 0; }
  .pillar__body h4 { font-size: 16px; }
  .pillar__body p { font-size: 13px; }
}

/* very small */
@media (max-width: 380px) {
  :root { --pad-x: 18px; }
  .hero__headline { font-size: 30px; }
  .hero__eyebrow { font-size: 10px; }
  .h2 { font-size: 24px; }
}

/* respect 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; }
  .hero__media-inner { animation: none; }
}
