/* ============================================================
   DVR Property Development
   Palette measured from the approved mockup:
     green #082418 · gold #C8913F · cream #F5F2EB
   Logo: the official building mark, recoloured from the client's
   transparent PNG — never redrawn.
   ============================================================ */

:root {
  --green:     #082418;
  --green-2:   #0F3324;
  --green-3:   #174531;
  --gold:      #C8913F;   /* fills, rules, icons, and text on dark green */
  --gold-text: #835A1C;   /* gold as TEXT on cream: #C8913F only reaches ~2.6:1 there; 4.9:1 even on cream-2 */
  --gold-soft: rgba(200, 145, 63, .14);
  --cream:     #F5F2EB;
  --cream-2:   #ECE6DA;
  --white:     #FFFFFF;
  --ink:       #082418;
  --body:      #3D4A44;
  --muted:     #5A6660;   /* 4.8:1 on cream-2, the footer's ground */
  --line:      #E2DCCF;
  --whatsapp:  #25D366;

  --wrap: 1200px;
  --gutter: 40px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(8, 36, 24, .05), 0 8px 28px rgba(8, 36, 24, .07);
  --shadow-lg: 0 2px 6px rgba(8, 36, 24, .06), 0 22px 48px rgba(8, 36, 24, .14);

  --font: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--body);
  font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; z-index: 400; background: var(--gold); color: var(--green); padding: 12px 18px; font-weight: 700; }
.skip:focus { left: 12px; top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- top bar ---------- */

.topbar { background: var(--green); color: #DDE5E0; font-size: 13.5px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; flex-wrap: wrap; }
.topbar-contact { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar a { color: #DDE5E0; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; }
.topbar a:hover { color: var(--gold); }
.topbar svg { color: var(--gold); flex: 0 0 auto; }
.topbar-tag { color: #DDE5E0; }
@media (max-width: 900px) { .topbar a.topbar-email2 { display: none; } }   /* small screens: in the footer and on Contact us instead */

/* ---------- header ---------- */

.site-head { position: sticky; top: 0; z-index: 200; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-head.condensed { box-shadow: var(--shadow); }
/* The header is wider than the content column on purpose: unwrapped, the
   brand + six links + WhatsApp button measured 1120px, which left zero
   slack inside a 1200px container. */
.nav { max-width: 1280px; margin: 0 auto; padding: 16px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: padding-block .3s var(--ease); }
.nav-links a, .nav-links .btn, .brand-sub { white-space: nowrap; }
.site-head.condensed .nav { padding-block: 10px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; transition: height .3s var(--ease); }
.site-head.condensed .brand img { height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 25px; letter-spacing: .02em; color: var(--green); }
.brand-sub { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-top: 5px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a.link {
  position: relative; font-size: 13.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); padding: 12px 11px; min-height: 44px; display: inline-flex; align-items: center;
}
.nav-links a.link::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 6px; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease);
}
.nav-links a.link:hover { color: var(--gold-text); }
.nav-links a.link:hover::after, .nav-links a.link[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a.link[aria-current="page"] { color: var(--gold-text); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px; color: var(--ink);
  width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 24px; border-radius: 4px; border: 1.5px solid transparent;
  font: 700 13.5px/1 var(--font); letter-spacing: .07em; text-transform: uppercase; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-3); color: var(--white); }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--green); }
.btn-gold:hover { background: #D9A453; color: var(--green); }
.btn-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--green); }
.btn-sm { min-height: 44px; padding: 11px 18px; }
.btn svg { flex: 0 0 auto; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- type ---------- */

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }
.on-dark .eyebrow { color: var(--gold); }
.rule { width: 46px; height: 2px; background: var(--gold); margin: 22px 0 26px; border: 0; }
.center .rule { margin-inline: auto; }
.h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); line-height: 1.08; font-weight: 800; }
.h2 { font-size: clamp(1.8rem, 3.2vw, 2.45rem); line-height: 1.15; font-weight: 800; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.25; font-weight: 700; }
.lede { font-size: 17px; line-height: 1.7; color: var(--body); max-width: 60ch; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.word > span { display: inline-block; }

.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-head { margin-bottom: 44px; }

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; background: var(--cream); min-height: 560px; display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0 0 0 30%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
/* late-afternoon warmth from the brand gold: a lens-filter glow over the
   photo, not a change to what it shows */
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(70% 80% at 88% 8%, rgba(200,145,63,.55), rgba(200,145,63,0) 70%);
}
.hero-media::after {
  /* starts 2px left of the photo so its edge never shows as a hairline */
  content: ""; position: absolute; inset: 0 0 0 -2px;
  background: linear-gradient(90deg, var(--cream) 0%, rgba(245,242,235,.92) 18%, rgba(245,242,235,.35) 42%, rgba(245,242,235,0) 62%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-block: 88px; }
.hero-copy { max-width: 660px; }   /* "Creating communities." is ~600px at full size */
.hero-copy .lede { font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* page heroes on inner pages */
.page-hero { position: relative; overflow: hidden; background: var(--green); color: #DDE5E0; }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,36,24,.95), rgba(8,36,24,.55)); }
.page-hero .wrap { position: relative; padding-block: 96px 88px; }
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: #CFD9D3; }
.crumbs { display: flex; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; color: #A9B8B0; }
.crumbs a { color: var(--gold); }

/* ---------- development cards ---------- */

/* the client asked for two rows of four */
.devs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.dev {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .35s var(--ease), border-color .35s;
}
.dev-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.dev-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.dev:hover .dev-img img { transform: scale(1.06); }
.dev-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.dev-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.dev-loc { font-size: 13.5px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.dev-loc svg { color: var(--gold); flex: 0 0 auto; }
.dev-beds { font-size: 13.5px; font-weight: 600; color: var(--ink); margin-top: 8px; }
.more {
  margin-top: auto; padding-top: 16px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-text); display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
}
.more svg { transition: transform .3s var(--ease); }
.dev:hover .more svg, .more:hover svg { transform: translateX(5px); }

/* ---------- pillars band ---------- */

.band { background: var(--green); color: #CFD9D3; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pillar { padding: 46px 30px; text-align: center; position: relative; }
.pillar + .pillar::before { content: ""; position: absolute; left: 0; top: 34px; bottom: 34px; width: 1px; background: rgba(255,255,255,.12); }
.pillar-icon { color: var(--gold); display: inline-flex; margin-bottom: 18px; }
.pillar h3 { color: var(--white); font-size: 14.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.pillar p { font-size: 14.5px; line-height: 1.6; color: #B9C6BE; max-width: 26ch; margin-inline: auto; }

/* ---------- split (image + text) ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--cream); }
.split-media { position: relative; min-height: 440px; overflow: hidden; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-copy { padding: 80px clamp(28px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; }
.split-copy .lede { margin-bottom: 30px; }
.split-copy .lede + .lede { margin-top: -14px; }

/* ---------- stats ---------- */

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.stat-num { font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 800; color: var(--green); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.on-dark .stat { background: var(--green-2); border-color: rgba(255,255,255,.08); }
.on-dark .stat-num { color: var(--gold); }
.on-dark .stat-label { color: #B9C6BE; }

/* ---------- house plans ---------- */

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.plan {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; text-align: left; padding: 0; cursor: pointer; color: inherit;
  transition: box-shadow .35s var(--ease), border-color .35s;
}
.plan-img { aspect-ratio: 16 / 11; overflow: hidden; position: relative; background: var(--cream-2); }
.plan-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.plan:hover .plan-img img { transform: scale(1.05); }
.plan-size {
  position: absolute; left: 14px; top: 14px; background: var(--green); color: var(--white);
  font-size: 13px; font-weight: 800; letter-spacing: .04em; padding: 7px 12px; border-radius: 4px;
}
.plan-count {
  position: absolute; right: 14px; bottom: 14px; background: rgba(8,36,24,.78); color: var(--white);
  font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 20px; display: inline-flex; gap: 6px; align-items: center;
}
.plan-tour {
  position: absolute; right: 14px; top: 14px; background: var(--gold); color: var(--green);
  font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 6px 11px 6px 9px; border-radius: 20px;
  display: inline-flex; gap: 6px; align-items: center; box-shadow: 0 4px 12px rgba(8,36,24,.25);
}
/* spans, not h3/p: a <button> may only hold phrasing content */
.plan-body { display: block; padding: 20px 22px 22px; }
.plan-title { display: block; font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; margin-bottom: 6px; }
.plan-detail { display: block; font-size: 14px; color: var(--muted); }
.plan-img { display: block; }

/* ---------- gallery ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 38px; }
.filter {
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink); border-radius: 30px;
  padding: 10px 18px; min-height: 44px; font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.filter:hover { border-color: var(--gold); }
.filter[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--white); }

.grid { columns: 4 240px; column-gap: 14px; }
.tile {
  break-inside: avoid; margin: 0 0 14px; display: block; width: 100%; border: 0; padding: 0; cursor: zoom-in;
  border-radius: 8px; overflow: hidden; background: var(--cream-2); position: relative;
}
.tile img { width: 100%; height: auto; transition: transform .6s var(--ease), filter .4s; }
.tile:hover img { transform: scale(1.04); }
.tile::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,36,24,.55));
  opacity: 0; transition: opacity .35s;
}
.tile:hover::after { opacity: 1; }
.tile-tag {
  position: absolute; left: 12px; bottom: 10px; z-index: 1; color: var(--white); font-size: 12.5px; font-weight: 700;
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease);
}
.tile:hover .tile-tag { opacity: 1; transform: none; }
.tile.hidden { display: none; }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 500; background: rgba(5, 18, 12, .94);
  display: none; align-items: center; justify-content: center; padding: 64px 76px;
}
.lightbox.open { display: flex; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb-stage { position: relative; display: grid; place-items: center; max-width: 100%; }
.lb-video {
  width: min(1100px, calc(100vw - 152px)); max-height: calc(100vh - 170px); aspect-ratio: 16 / 9;
  background: #000; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lb-video::-webkit-media-controls-panel { background-image: linear-gradient(transparent, rgba(5,18,12,.7)); }
.lb-play {
  position: absolute; width: 88px; height: 88px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold); color: var(--green); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .35s var(--ease), background-color .25s;
}
.lb-play:hover { transform: scale(1.08); background: #D9A453; }
.lb-play svg { margin-left: 5px; }
.lb-video[hidden], .lb-img[hidden], .lb-play[hidden] { display: none; }
.lb-cap { color: #DDE5E0; font-size: 14px; text-align: center; }
.lb-cap strong { color: var(--gold); font-weight: 700; }
.lb-btn {
  position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: var(--white);
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  transition: background-color .25s, border-color .25s;
}
.lb-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--green); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; margin-top: -26px; }
.lb-next { right: 14px; top: 50%; margin-top: -26px; }

/* ---------- about page ---------- */

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fact { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.fact dt { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.fact dd { margin: 0; font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.5; }

.portfolio { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.portfolio-nav { position: sticky; top: 110px; }
.portfolio-nav ol { display: flex; flex-direction: column; gap: 4px; border-left: 2px solid var(--line); }
.portfolio-nav a {
  display: block; padding: 10px 0 10px 18px; margin-left: -2px; border-left: 2px solid transparent;
  font-size: 14.5px; font-weight: 600; color: var(--muted); transition: color .25s, border-color .25s;
}
.portfolio-nav a:hover { color: var(--ink); }
.portfolio-nav a.active { color: var(--green); border-left-color: var(--gold); }

.pblock { scroll-margin-top: 120px; padding-bottom: 56px; }
.pblock + .pblock { border-top: 1px solid var(--line); padding-top: 56px; }
.pblock-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.pblock-letter {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 8px; background: var(--green); color: var(--gold);
  display: grid; place-items: center; font-weight: 800; font-size: 17px;
}
.pblock > .lede { margin: 6px 0 26px 56px; font-size: 15.5px; }

.region { margin-bottom: 26px; }
.region h4 { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }
.places { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.place {
  background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 13px 15px;
  display: flex; flex-direction: column; gap: 2px;
}
.place-town { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.place-name { font-size: 15px; font-weight: 700; color: var(--ink); }

.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.project {
  background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px;
  display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: baseline;
}
.project-name { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.project-units { font-size: 13px; font-weight: 800; color: var(--green); background: var(--gold-soft); padding: 3px 9px; border-radius: 20px; white-space: nowrap; }
.project-where { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); }

.callout {
  background: var(--green); color: #CFD9D3; border-radius: var(--radius); padding: 30px 32px;
  display: flex; gap: 22px; align-items: center;
}
.callout-num { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 800; color: var(--gold); line-height: 1; letter-spacing: -.03em; flex: 0 0 auto; }
.callout p { font-size: 15.5px; line-height: 1.6; }
.callout strong { color: var(--white); }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.cards { display: grid; gap: 14px; }
.ccard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px;
  display: flex; gap: 16px; align-items: flex-start;
}
.ccard-icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; background: var(--green); color: var(--gold); display: grid; place-items: center; }
.ccard h3 { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 6px; }
.ccard p, .ccard a { font-size: 15.5px; color: var(--ink); line-height: 1.55; }
.ccard a { font-weight: 600; }
.ccard a:hover { color: var(--gold-text); }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  font: 400 15px var(--font); color: var(--ink); background: var(--cream); border: 1.5px solid var(--line);
  border-radius: 6px; padding: 13px 14px; min-height: 48px; transition: border-color .25s, background-color .25s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.form-note { font-size: 14px; font-weight: 600; color: var(--green); min-height: 22px; }
/* long option names (a development plus its town) must not widen the form on a phone */
.contact-grid > *, .form-row > *, .field { min-width: 0; }
.field input, .field select, .field textarea { width: 100%; max-width: 100%; }
.field select { text-overflow: ellipsis; }
/* 16px stops iPhones zooming the page when a field is tapped */
@media (max-width: 760px) { .field input, .field select, .field textarea { font-size: 16px; } }

/* ---------- section helpers ---------- */

.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.gallery-count { text-align: center; font-size: 14px; color: var(--muted); margin: -18px 0 26px; }
.gallery-count span { font-weight: 800; color: var(--green); }

/* ---------- about ---------- */

.about-intro { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.about-intro .facts { grid-template-columns: 1fr 1fr; }
.fact-sub { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.portfolio-body { min-width: 0; }

/* ---------- CTA band ---------- */

.cta { background: var(--green); color: #CFD9D3; position: relative; overflow: hidden; }
.cta .wrap { position: relative; padding-block: 72px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: var(--white); }
.cta-mark { position: absolute; right: -40px; bottom: -60px; width: 420px; opacity: .07; pointer-events: none; }

/* ---------- footer ---------- */

.site-foot { background: var(--cream-2); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.5fr 1fr; gap: 40px; padding-block: 60px; }
.foot-brand img { height: 92px; width: auto; margin-bottom: 14px; }
.foot-tag { color: var(--gold-text); font-weight: 600; font-size: 15px; line-height: 1.5; }
.foot-reg { font-size: 12.5px; color: var(--muted); margin-top: 12px; line-height: 1.6; }
.site-foot h3 { font-size: 13.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.foot-links { display: grid; gap: 2px; }
.foot-links a { font-size: 14.5px; color: var(--body); display: inline-flex; min-height: 36px; align-items: center; }
.foot-links a:hover { color: var(--gold-text); }
.foot-contact { display: grid; gap: 10px; }
.foot-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--body); line-height: 1.5; }
.foot-contact svg { color: var(--green); flex: 0 0 auto; margin-top: 3px; }
.foot-contact a { color: var(--body); }
.foot-contact a:hover { color: var(--gold-text); }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; transition: background-color .25s; }
.social a:hover { background: var(--gold); color: var(--green); }
.foot-bar { background: var(--green); color: #A9B8B0; font-size: 13px; }
.foot-bar .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 16px; }

/* ---------- floating WhatsApp ---------- */

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 300; width: 60px; height: 60px; border-radius: 50%;
  background: var(--whatsapp); color: var(--white); display: grid; place-items: center;
  box-shadow: 0 0 0 4px var(--white), 0 10px 30px rgba(0,0,0,.25);
}
.wa-float::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--whatsapp);
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.45); opacity: 0; } }

/* ---------- artist's impressions ----------
   AI-edited photos (lawn, people, car added). The label sits on every one,
   because buyers must never mistake them for the house as delivered. */

.impression-tag {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; pointer-events: none;
  background: rgba(8,36,24,.86); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .04em;
  padding: 6px 11px; border-radius: 20px;
}
.hero-media .impression-tag { right: 16px; top: 16px; bottom: auto; }  /* the hero runs past the fold: keep the label in the first view */
.dev-img { position: relative; }
/* on cards: bottom-left, clear of the photo count and the tour badge */
.dev-img .impression-tag, .plan-img .impression-tag { left: 10px; right: auto; bottom: 10px; font-size: 11px; padding: 5px 10px; }

/* the client's development posters (10 Nov): portrait 3:4 and shown whole, since the name and town are part of the picture */
.dev-img.poster { aspect-ratio: 3 / 4; background: var(--green); }
.dev:hover .dev-img.poster img { transform: scale(1.03); }   /* a gentler zoom keeps the poster's gold frame in view */
/* on the lawn at the left of the picture: clear of the logo at the top and the name and town below */
.dev-img.poster .impression-tag { top: 57%; left: 10px; bottom: auto; right: auto; font-size: 10.5px; padding: 4px 9px; }
@media (max-width: 760px) { .dev-img.poster .impression-tag { top: 55%; left: 6px; font-size: 9px; letter-spacing: .02em; padding: 3px 6px; } }

.dream { background: var(--white); }
.dream > .wrap { padding-block: 96px; }
.dream-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.dream-shot {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--cream-2);
  box-shadow: 0 6px 16px rgba(8,36,24,.10), 0 30px 60px rgba(8,36,24,.16);
}
.dream-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .9s var(--ease); }
.dream-shot:hover img { transform: scale(1.04); }
.dream-note { font-size: 13px; color: var(--muted); margin-top: 22px; max-width: 46ch; }
.dream-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }

/* ---------- video tour band (home) ---------- */

.tour { background: var(--green); color: #CFD9D3; position: relative; overflow: hidden; }
.tour::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 90% at 100% 0%, rgba(200,145,63,.16), transparent 70%);
}
.tour .wrap { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: 96px; }
.tour h2 { color: var(--white); }
.tour .lede { color: #CFD9D3; }
.tour .actions { margin-top: 30px; }
.tour-media {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--radius); overflow: hidden; background: var(--green-2);
  box-shadow: 0 10px 24px rgba(0,0,0,.25), 0 40px 80px rgba(0,0,0,.35);
}
.tour-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.tour-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,36,24,0) 45%, rgba(8,36,24,.75)); }
.tour-play {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%;
  background: var(--gold); color: var(--green); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .45s var(--ease), background-color .25s;
}
.tour-play svg { margin-left: 5px; }
.tour-play::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(200,145,63,.7);
  animation: tour-ring 2.6s ease-out infinite;
}
@keyframes tour-ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.tour-tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 2; color: var(--white); font-size: 14px; font-weight: 700;
  display: inline-flex; gap: 10px; align-items: center; padding: 7px 14px; border-radius: 20px;
  background: rgba(8,36,24,.86);   /* a solid pill, so the label never depends on the video frame */
}
.tour-tag span { color: var(--gold); font-weight: 600; }
.tour-media:hover img { transform: scale(1.05); }
.tour-media:hover .tour-play { transform: scale(1.08); background: #D9A453; }

/* ---------- blocks: lift and turn brand green ----------
   The client asked for blocks to move and take the company colour on
   hover; keyboard focus gets the colour too. Text on the green is tinted
   from the green, never grey: #B9C6BE reads 4.9:1, the gold 5.9:1. */

.dev, .plan, .stat, .fact, .ccard, .place, .project {
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease);
}
.dev-body h3, .dev-loc, .dev-beds, .dev .more, .plan-title, .plan-detail, .plan-size, .stat-num, .stat-label,
.fact dt, .fact dd, .fact-sub, .ccard h3, .ccard p, .ccard a, .ccard-icon, .place-town, .place-name,
.project-name, .project-where, .project-units { transition: color .35s var(--ease), background-color .35s var(--ease); }

:is(.dev, .plan, .stat, .fact, .ccard, .place, .project):is(:hover, :focus-visible, :has(:focus-visible)) {
  background: var(--green); border-color: var(--green);
}
.dev:is(:hover, :has(:focus-visible)) h3,
.plan:is(:hover, :focus-visible) .plan-title,
.fact:hover dd,
.ccard:is(:hover, :has(:focus-visible)) :is(p, a),
.place:hover .place-name,
.project:hover .project-name { color: var(--white); }
.dev:is(:hover, :has(:focus-visible)) .dev-loc,
.plan:is(:hover, :focus-visible) .plan-detail,
.stat:hover .stat-label,
.fact:hover .fact-sub,
.project:hover .project-where { color: #B9C6BE; }
.dev:is(:hover, :has(:focus-visible)) .dev-beds { color: var(--cream); }
.dev:is(:hover, :has(:focus-visible)) .more,
.stat:hover .stat-num,
.fact:hover dt,
.ccard:is(:hover, :has(:focus-visible)) h3,
.ccard:is(:hover, :has(:focus-visible)) a:hover,
.place:hover .place-town { color: var(--gold); }
.plan:is(:hover, :focus-visible) .plan-size,
.ccard:is(:hover, :has(:focus-visible)) .ccard-icon,
.project:hover .project-units { background: var(--gold); color: var(--green); }
.pillar-icon { transition: transform .5s var(--ease); }

/* on the dark stats band the block lights up gold instead */
.on-dark .stat:hover { background: var(--gold); border-color: var(--gold); }
.on-dark .stat:hover .stat-num { color: var(--green); }
.on-dark .stat:hover .stat-label { color: var(--green-2); }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(.dev, .plan, .stat, .fact, .ccard):hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 14px rgba(8,36,24,.12), 0 28px 56px rgba(8,36,24,.24);
  }
  :is(.place, .project):hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 10px rgba(8,36,24,.12), 0 18px 36px rgba(8,36,24,.2);
  }
  .pillar:hover .pillar-icon { transform: translateY(-6px) scale(1.08); }
}

/* ---------- interaction: glow (the click ripple was removed on 10 Nov: it swelled buttons into a large oval) ---------- */

.glow { position: relative; isolation: isolate; }
.glow::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; border-radius: inherit;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(200,145,63,.16), transparent 70%);
  transition: opacity .4s;
}
.glow:hover::before { opacity: 1; }

/* ---------- page-transition curtain ---------- */

.curtain { position: fixed; inset: 0; z-index: 600; display: flex; pointer-events: none; }
.curtain span { flex: 1; transform: scaleY(0); transform-origin: 50% 100%; background: var(--green); }
.curtain span:nth-child(2n) { background: var(--green-2); }
.curtain span:nth-child(3) { background: var(--gold); }
.curtain-mark { position: absolute; left: 50%; top: 50%; width: 120px; margin: -40px 0 0 -60px; opacity: 0; z-index: 1; }

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 250; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }

#main { min-height: 60vh; }

/* ---------- responsive ---------- */

/* below this the six links + button no longer fit on one line */
@media (max-width: 1220px) {
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0;
    border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a.link { padding: 12px 4px; font-size: 14px; }
  .nav-links a.link::after { display: none; }
  .nav-links .btn { margin-top: 10px; }
}

/* eight cards: four across, then two across (never three, which leaves a gap) */
@media (max-width: 900px) {
  .devs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar:nth-child(3)::before { display: none; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .portfolio { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; gap: 36px; }
  .portfolio-nav { position: static; }
  .portfolio-nav ol { flex-direction: row; flex-wrap: wrap; border-left: 0; gap: 8px; }
  .portfolio-nav a { border: 1.5px solid var(--line); border-radius: 30px; padding: 8px 14px; margin: 0; }
  .portfolio-nav a.active { border-color: var(--green); background: var(--green); color: var(--white); }
  .contact-grid { grid-template-columns: 1fr; }
  .tour .wrap { grid-template-columns: 1fr; padding-block: 72px; }
  .dream-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .section { padding: 64px 0; }
  .section-tight { padding: 52px 0; }
  .topbar-tag { display: none; }
  .topbar-contact { gap: 16px; }
  .brand img { height: 38px; }
  .brand-name { font-size: 21px; }
  .brand-sub { font-size: 10px; letter-spacing: .05em; }

  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-media { position: relative; inset: auto; height: 260px; order: 2; }
  .hero-media::after { background: linear-gradient(180deg, var(--cream) 0%, rgba(245,242,235,0) 40%); }
  .hero .wrap { padding-block: 48px 30px; }

  .devs { gap: 12px; }
  .dev-body { padding: 14px 14px 6px; }
  .dev-body h3 { font-size: 15.5px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar::before { left: 30px; right: 30px; top: 0; bottom: auto; width: auto; height: 1px; }
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 260px; }
  .split-copy { padding: 52px 16px; }
  .plans, .stats, .facts, .about-intro .facts { grid-template-columns: 1fr; }
  .grid { columns: 2 150px; column-gap: 10px; }
  .tile { margin-bottom: 10px; }
  .form-row { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 44px; }
  .callout { flex-direction: column; align-items: flex-start; }
  .lightbox { padding: 64px 8px 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; margin: 0; }
  .lb-video { width: calc(100vw - 16px); }
  .lb-play { width: 72px; height: 72px; }
  .tour .wrap { padding-block: 56px 60px; }
  .tour-play { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
  .tour-tag { left: 10px; bottom: 10px; font-size: 13px; padding: 6px 12px; }
  .plan-tour { right: 10px; top: 10px; }
  .dream > .wrap { padding-block: 64px; }
  .dream-more { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
  .impression-tag { right: 8px; bottom: 8px; font-size: 11.5px; padding: 5px 10px; }
  /* the floating WhatsApp button lives bottom-right on phones */
  .hero-media .impression-tag { top: 12px; bottom: auto; right: 10px; }
  .lb-prev { left: calc(50% - 62px); }
  .lb-next { right: calc(50% - 62px); }
  .actions .btn { flex: 1 1 100%; }
  .page-hero .wrap { padding-block: 64px 56px; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

/* phones keep two across, so the eight read as compact blocks */
@media (max-width: 420px) {
  .devs { gap: 10px; }
  .dev-body { padding: 12px 12px 4px; }
  .dev-body h3 { font-size: 14.5px; margin-bottom: 4px; }
  .dev-loc { font-size: 12.5px; gap: 4px; }
  .dev-beds { font-size: 12.5px; margin-top: 6px; }
  .dev .more { padding-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-anim] { opacity: 1 !important; transform: none !important; }
  .word > span { transform: none !important; }
  .curtain { display: none; }
  .wa-float::before { display: none; }
}

/* =====================================================================
   v4: client brief, Nov 2026. Glossy finish on the same green and gold,
   gold call-to-action buttons, AIDA home page, development and house plan
   pages, finder, facts pillars, logo build-up intro.
   ===================================================================== */

:root {
  --gold-1: #F6E3A6;
  --gold-2: #E3C879;
  --gold-3: #C8913F;
  --gold-4: #B4822F;
  --green-gloss: linear-gradient(160deg, #1F5A40 0%, #0E3524 55%, #082418 100%);
  --sheen: linear-gradient(180deg, rgba(255,255,255,.65) 0%, rgba(255,255,255,0) 42%);
}

/* hidden means hidden, whatever display a component sets */
[hidden] { display: none !important; }

::selection { background: var(--gold-2); color: var(--green); }
html { scrollbar-color: var(--green-3) var(--cream-2); }

/* ---------- glossy buttons: gold is the call to action ---------- */

.btn { border-radius: 999px; padding: 15px 26px; box-shadow: 0 1px 2px rgba(8,36,24,.12); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 47%, transparent 64%);
  transform: translateX(-130%); transition: transform .9s var(--ease);
}
.btn:hover::after { transform: translateX(130%); }
.btn > * { position: relative; z-index: 2; }
.btn-gold {
  color: var(--green); border-color: rgba(140,95,25,.35);
  background: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 34%, var(--gold-3) 78%, var(--gold-4) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -2px 4px rgba(120,80,20,.25), 0 6px 16px rgba(200,145,63,.32);
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.btn-gold:hover {
  color: var(--green);
  background: linear-gradient(180deg, #FFF0BF 0%, var(--gold-1) 30%, var(--gold-2) 70%, var(--gold-3) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -2px 4px rgba(120,80,20,.2), 0 10px 26px rgba(200,145,63,.42);
}
.btn-green {
  background: linear-gradient(180deg, #2A6A4C 0%, #174531 45%, #0B2C1E 100%); color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 16px rgba(8,36,24,.25);
}
.btn-green:hover { background: linear-gradient(180deg, #327B59 0%, #1B5039 45%, #0E3524 100%); }
.btn-outline { background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.55)); }
.btn-outline:hover { background: var(--green-gloss); border-color: var(--green); }
.btn-light, .btn-outline-light {
  border: 1.5px solid rgba(255,255,255,.55); color: var(--white);
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
}
.btn-light:hover, .btn-outline-light:hover { background: var(--white); color: var(--green); border-color: var(--white); }

/* ---------- glossy surfaces ---------- */

.dev, .pcard, .stat, .fact, .ccard, .place, .project, .value, .feature, .pas-step, .bab-step, .also, .form, .finder, .faq {
  background-image: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 38%), linear-gradient(180deg, #FFFFFF, #FBF9F4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 1px 2px rgba(8,36,24,.05), 0 10px 28px rgba(8,36,24,.06);
}
:is(.dev, .plan, .pcard, .stat, .fact, .ccard, .place, .project, .value, .feature, .pas-step, .bab-step):is(:hover, :focus-visible, :has(:focus-visible)) {
  background-image: var(--green-gloss); background-color: var(--green); border-color: rgba(227,200,121,.35);
}
.band-soft { background: linear-gradient(180deg, var(--cream-2) 0%, #F1ECE1 100%); }
.band-dark {
  background: radial-gradient(90% 70% at 85% 0%, rgba(227,200,121,.12) 0%, transparent 55%),
              linear-gradient(180deg, #0B2C1E 0%, #082418 100%);
  color: #CFD9D3;
}
.band-dark h2, .band-dark h3 { color: var(--white); }
.band-dark .lede { color: #CFD9D3; }
.section-lede { margin: 14px 0 34px; }
.section-lede + .section-lede { margin-top: -20px; }
.narrow { max-width: 900px; }
.center-actions { justify-content: center; }
.more-link { margin-top: 30px; }

/* ---------- hero: full bleed, glossy green over the photo ---------- */

.hero { min-height: min(92vh, 860px); background: var(--green); align-items: center; }
.hero-media { inset: 0; }
.hero-media::after {
  inset: 0;
  background: linear-gradient(90deg, rgba(8,36,24,.94) 0%, rgba(8,36,24,.78) 36%, rgba(8,36,24,.22) 72%, rgba(8,36,24,.06) 100%),
              linear-gradient(0deg, rgba(8,36,24,.65) 0%, rgba(8,36,24,0) 38%);
}
.hero .wrap { padding-block: 120px 110px; }
.hero-copy { max-width: 800px; }   /* "creating communities." is ~740px at full size: two lines, not three */
.hero-title { color: var(--white); font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -.03em; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .lede { color: #E4EBE6; font-size: 18px; max-width: 54ch; }
.hero .rule { background: linear-gradient(90deg, var(--gold-1), var(--gold-3)); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; color: #E4EBE6; font-size: 14px; font-weight: 600; }
.hero-proof svg { color: var(--gold-2); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 3; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.55); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-2); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* inner page heroes: glossier */
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(70% 90% at 90% -10%, rgba(227,200,121,.18), transparent 60%);
}
.page-hero .wrap { z-index: 2; }
.page-hero .rule { background: linear-gradient(90deg, var(--gold-1), var(--gold-3)); }
.page-hero-media.art { display: grid; place-items: center end; padding-right: 6vw; }
.page-hero-media.art .dev-art { width: min(38vw, 460px); opacity: .55; }
.page-hero-media .impression-tag { z-index: 3; }
.hero-loc { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); font-weight: 700; font-size: 16px; margin-top: 14px; }
.dev-hero .lede, .plan-hero .lede { margin-top: 12px; }
/* development headers (10 Nov): the title on the left, a picture of a DVR home beside it at full strength */
.dev-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(28px, 4vw, 56px); align-items: center; }
.dev-hero-photo {
  position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: var(--green-2);
  box-shadow: 0 0 0 1px rgba(227,200,121,.3), 0 18px 40px rgba(0,0,0,.28), 0 50px 90px rgba(0,0,0,.22);
}
.dev-hero-photo img { display: block; width: 100%; height: auto; }
.dev-hero-photo::after { content: ""; position: absolute; inset: 0; background: var(--sheen); opacity: .18; pointer-events: none; }
@media (max-width: 900px) { .dev-hero-grid { grid-template-columns: 1fr; } }
/* phones: the floating WhatsApp button sits bottom-right of the first view, so the label goes top-right */
@media (max-width: 760px) { .dev-hero-photo .impression-tag { top: 10px; bottom: auto; right: 10px; } }
.split-media img { object-position: 50% 66%; }   /* About, the client's impression: the house and the football, less sky */
.thanks { min-height: 62vh; display: flex; align-items: center; }

/* ---------- introduction ---------- */

.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.intro-media { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: 0 10px 24px rgba(8,36,24,.12), 0 40px 80px rgba(8,36,24,.18); }
.intro-media img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.intro-media::after { content: ""; position: absolute; inset: 0; background: var(--sheen); opacity: .25; pointer-events: none; }
/* the client's aerial impression (10 Nov) is wide: a wider frame keeps most of the house in view */
.intro-media { aspect-ratio: 3 / 2; }
.intro-media img { object-position: 30% 50%; }   /* the garage, the front door, the sliding doors and the football */
.intro-copy .lede + .lede { margin-top: 16px; }
.intro-copy .btn { margin-top: 30px; }

/* ---------- facts: five pillars, rising like a skyline ---------- */

.facts-band {
  position: relative; overflow: hidden; padding: 104px 0 96px; color: #CFD9D3;
  background: radial-gradient(110% 80% at 80% -10%, #1E5940 0%, rgba(30,89,64,0) 55%), linear-gradient(180deg, #0B2C1E 0%, #061B12 100%);
}
.facts-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; margin-bottom: 48px; }
.facts-band h2 { color: var(--white); }
.facts-band .lede { color: #CFD9D3; max-width: 46ch; }
.facts-band .lede a { color: var(--gold-2); text-decoration: underline; }
.pillars5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-items: end; height: 380px; }
.pillars5.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }   /* four facts since the stands came out (11 Nov) */
.p5 {
  position: relative; overflow: hidden; height: calc(var(--h) * 100%); padding: 24px 20px 22px;
  display: flex; flex-direction: column; justify-content: space-between; border-radius: 16px 16px 6px 6px;
  border: 1px solid rgba(227,200,121,.28);
  background: linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.03) 38%), linear-gradient(160deg, #1D5A40 0%, #0E3524 60%, #0A2A1C 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 24px 44px rgba(0,0,0,.28);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.p5::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold-1), var(--gold-3)); }
.p5::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.14) 46%, transparent 57%);
  transform: translateX(-110%); transition: transform 1.3s var(--ease);
}
.p5:hover::after { transform: translateX(110%); }
.p5-num {
  display: block; font-size: clamp(2.2rem, 3.6vw, 3.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 45%, var(--gold-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums;
}
.p5-unit { display: block; margin-top: 8px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.p5-label { font-size: 14.5px; line-height: 1.5; color: #DCE4DF; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .p5:hover { transform: translateY(-8px); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 34px 60px rgba(0,0,0,.36); }
}

/* ---------- development cards: stretched link, art when no photos yet ---------- */

.stretched::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.dev h3 a, .pcard-title a { color: inherit; }
.dev h3 a:focus-visible, .pcard-title a:focus-visible { outline: none; }
.dev:has(.stretched:focus-visible), .pcard:has(.stretched:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.dev-img.soon {
  display: grid; place-items: center;
  background: radial-gradient(90% 90% at 75% 5%, rgba(227,200,121,.20), transparent 60%), linear-gradient(160deg, #1A4D36 0%, #0B2C1E 75%);
}
.dev-art { width: 62%; height: auto; fill: none; stroke: var(--gold-2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.soon-tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 2; font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  color: var(--cream); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); padding: 5px 10px; border-radius: 20px;
}

/* ---------- house plan cards ---------- */

.plans-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pcard {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 14px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .35s, border-color .35s;
}
.pcard-img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--cream-2); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.06); }
.pcard-img .impression-tag { left: 10px; right: auto; bottom: 10px; font-size: 11px; padding: 5px 10px; }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 8px; }
.pcard-title { font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; color: var(--ink); }
.specs { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 12px; }
.specs li { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.specs svg { color: var(--gold-text); flex: 0 0 auto; }
.pcard-blurb { font-size: 14.5px; line-height: 1.6; color: var(--body); }
.pcard .more { margin-top: auto; }
.specs-lg { margin: 18px 0 4px; gap: 10px; }
.specs-lg li { color: var(--white); font-size: 14.5px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 8px 13px; border-radius: 999px; }
.specs-lg svg { color: var(--gold-2); }

/* lit state for the new blocks */
.pcard:is(:hover, :has(:focus-visible)) .pcard-title,
.value:hover h3, .feature:hover h3, .pas-step:hover p, .bab-step:hover h2 { color: var(--white); }
.pcard:is(:hover, :has(:focus-visible)) .specs li { color: var(--cream); }
.pcard:is(:hover, :has(:focus-visible)) .specs svg,
.pcard:is(:hover, :has(:focus-visible)) .more,
.pas-step:hover .pas-k, .bab-step:hover .bab-k { color: var(--gold-2); }
.pcard:is(:hover, :has(:focus-visible)) .pcard-blurb, .value:hover p, .feature:hover p, .bab-step:hover p { color: #C6D2CB; }
.pcard:is(:hover, :has(:focus-visible)) .plan-size { background: var(--gold); color: var(--green); }
.pcard-title, .specs li, .specs svg, .pcard-blurb, .value h3, .value p, .feature h3, .feature p,
.pas-step p, .pas-k, .bab-step h2, .bab-step p, .bab-k { transition: color .35s var(--ease); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(.pcard, .value, .feature, .pas-step, .bab-step):hover {
    transform: translateY(-6px); box-shadow: 0 6px 14px rgba(8,36,24,.12), 0 28px 56px rgba(8,36,24,.24);
  }
}
.value, .feature, .pas-step, .bab-step { transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .35s; }

/* ---------- the DVR difference + standard features ---------- */

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.value { border: 1px solid var(--line); border-radius: 16px; padding: 30px 26px; }
.value-icon {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 18px; color: var(--green);
  background: linear-gradient(180deg, var(--gold-1), var(--gold-3)); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 8px 18px rgba(200,145,63,.3);
}
.value-icon svg { width: 34px; height: 34px; }
.value h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.value p { font-size: 14.5px; line-height: 1.6; color: var(--body); }
.included { margin-top: 64px; }
.included-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 26px; }
.included-head .lede { max-width: 48ch; }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.feature { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px; }
.feature-icon {
  flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--green);
  background: linear-gradient(180deg, var(--gold-1), var(--gold-3)); box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.feature h3 { font-size: 15.5px; font-weight: 800; line-height: 1.3; margin-bottom: 4px; }
.feature p { font-size: 14px; line-height: 1.55; color: var(--body); }
.extras-head { margin: 46px 0 16px; }
.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; }
.extras li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line); }
.extras svg { color: var(--gold-text); flex: 0 0 auto; margin-top: 3px; }
.extras-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }

/* ---------- gallery: mosaic, tour feature, tour cards ---------- */

.grid.mosaic { columns: initial; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mosaic .tile { margin: 0; aspect-ratio: 4 / 3; border-radius: 12px; }
.mosaic .tile img { height: 100%; object-fit: cover; }
.tour-feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 56px; }
.tour-copy .h3 { color: var(--white); margin-bottom: 10px; }
.tour-copy .lede { color: #CFD9D3; margin-bottom: 26px; }
.tours { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tcard { position: relative; display: flex; flex-direction: column; padding: 0; text-align: left; cursor: pointer; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); color: inherit; font: inherit; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tcard-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--green); }
.tcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tcard-play {
  position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; display: grid; place-items: center; color: var(--green);
  background: linear-gradient(180deg, var(--gold-1), var(--gold-3)); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 8px 20px rgba(0,0,0,.3); transition: transform .4s var(--ease);
}
.tcard-play svg { margin-left: 3px; }
.tcard-body { display: block; padding: 14px 16px 16px; }
.tcard-title { display: block; font-weight: 800; font-size: 15.5px; color: var(--ink); }
.tcard-meta { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.tcard:hover .tcard-img img { transform: scale(1.06); }
.tcard:hover .tcard-play { transform: scale(1.1); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .tcard:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(8,36,24,.2); } }

/* ---------- house plan finder ---------- */

.finder { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 26px; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; margin-bottom: 30px; }
.finder fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.finder legend { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink);
  border: 1.5px solid var(--line); background: linear-gradient(180deg, #FFFFFF, #F6F2EA); transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.chip:hover span { border-color: var(--gold); }
.chip input:checked + span {
  color: var(--green); border-color: rgba(140,95,25,.35);
  background: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 40%, var(--gold-3) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 4px 12px rgba(200,145,63,.3);
}
.chip input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.finder-foot { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.finder-count { font-size: 14.5px; color: var(--body); }
.finder-count strong { color: var(--green); font-size: 18px; }
.finder-reset { font: 700 14px var(--font); color: var(--gold-text); background: none; border: 0; cursor: pointer; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.pcard.is-hidden { display: none; }
.finder-empty { text-align: center; padding: 40px 0; color: var(--body); }
.finder-empty a { color: var(--green); font-weight: 700; text-decoration: underline; }
.also { margin-top: 34px; border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.also ul { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.also li { font-size: 15px; color: var(--ink); }
.also li strong { color: var(--green); }
.also p { font-size: 14px; color: var(--muted); margin-left: auto; }
.also a { color: var(--green); font-weight: 700; text-decoration: underline; }

/* ---------- FAQs ---------- */

.faqs { display: grid; gap: 12px; margin-top: 8px; }
.faq { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; padding: 20px 22px; min-height: 44px; font-weight: 800; font-size: 16px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: 0 0 auto; color: var(--gold-text); transition: transform .35s var(--ease); }
.faq[open] summary svg { transform: rotate(180deg); }
.faq summary:hover { color: var(--green-3); }
.faq-a { padding: 0 22px 20px; }
.faq-a p { font-size: 15.5px; line-height: 1.7; color: var(--body); max-width: 70ch; }
.faq-a a { color: var(--green); font-weight: 700; text-decoration: underline; }

/* ---------- PAS / BAB story steps ---------- */

.pas, .bab { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pas-step, .bab-step { border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px; }
.pas-k, .bab-k { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }
.pas-step p { font-size: 17px; line-height: 1.6; color: var(--ink); font-weight: 600; }
.bab-step h2 { margin-bottom: 10px; }
.bab-step p { font-size: 15.5px; line-height: 1.7; color: var(--body); }

/* ---------- development and plan pages ---------- */

.story-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.story p { font-size: 17.5px; line-height: 1.75; color: var(--body); max-width: 64ch; }
.story p + p { margin-top: 18px; }
.story-side { border-left: 3px solid var(--gold); padding-left: 24px; }
.story-side h2 { margin-bottom: 10px; }
.story-side p { font-size: 15.5px; color: var(--body); line-height: 1.65; }
.story-side p a { color: var(--green); font-weight: 700; text-decoration: underline; }
.map-link {
  display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 16px 18px; border-radius: 14px; color: var(--white);
  background: var(--green-gloss); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 10px 24px rgba(8,36,24,.2);
}
.map-link:hover { color: var(--white); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 16px 34px rgba(8,36,24,.3); }
.map-link span { flex: 1; font-weight: 800; }
.map-link small { display: block; font-weight: 500; font-size: 13px; color: #E8D9A8; }
.map-link svg { color: var(--gold-2); flex: 0 0 auto; }
.floor-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 14.5px; }
.floor-note svg { color: var(--gold-text); flex: 0 0 auto; margin-top: 2px; }
.floor-note a { color: var(--green); font-weight: 700; text-decoration: underline; }
.photo-group + .photo-group { margin-top: 40px; }
.photo-group .h3 { margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.count { font-size: 13px; font-weight: 800; color: var(--green); background: var(--gold-soft); padding: 3px 10px; border-radius: 20px; }
.embed { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 16px; margin-top: 26px; box-shadow: 0 30px 70px rgba(8,36,24,.3); }
.video-note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.plan-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-block: 34px; border-top: 1px solid var(--line); }
.plan-nav a { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 800; min-height: 44px; }
.plan-nav a small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.plan-nav .next { justify-self: end; text-align: right; }
.plan-nav-all { font-size: 14px; text-decoration: underline; }
.plan-nav a:hover { color: var(--gold-text); }
.soon-panel {
  display: flex; align-items: center; gap: 34px; padding: 34px; border-radius: 18px; color: #CFD9D3;
  background: radial-gradient(90% 90% at 85% 0%, rgba(227,200,121,.18), transparent 60%), var(--green-gloss);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 20px 50px rgba(8,36,24,.25);
}
.soon-panel .dev-art { width: 200px; flex: 0 0 auto; }
.soon-panel h2, .soon-panel .h3 { color: var(--white); margin-bottom: 8px; }
.soon-panel p { color: #CFD9D3; margin-bottom: 18px; max-width: 58ch; }
.soon-panel a:not(.btn) { color: var(--gold-2); text-decoration: underline; }
.soon-panel .actions { margin-top: 0; }

/* ---------- gallery tabs ---------- */

.gtabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; margin-bottom: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: inset 0 1px 0 #fff, 0 6px 18px rgba(8,36,24,.06); }
.gtab { font: 800 14px var(--font); border: 0; border-radius: 999px; padding: 12px 20px; min-height: 44px; cursor: pointer; color: var(--ink); background: transparent; transition: background .25s, color .25s; }
.gtab[aria-selected="true"] { color: var(--white); background: var(--green-gloss); box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
.filters { justify-content: flex-start; margin-bottom: 14px; }
.filters.kinds { margin-bottom: 20px; }
.filter[data-soon] { color: var(--muted); }
.filter small { font-weight: 600; }
.filter[aria-pressed="true"] { background: var(--green-gloss); }
.gallery-count { text-align: left; margin: 0 0 18px; }
.gsoon { margin-bottom: 24px; }

/* ---------- contact ---------- */

.form-intro { font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.opt { font-weight: 500; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form-actions { flex-wrap: wrap; }
.field input::placeholder, .field textarea::placeholder { color: #5E6863; }
.foot-cta { margin-top: 18px; padding-inline: 18px; }   /* "Send an enquiry" on one line in the narrow footer column */

/* ---------- email note (10 Nov) ----------
   Shown when an email address is clicked. A mailto: link does nothing on a computer with no email app,
   so the note shows the address (copied) and offers Gmail and Outlook on the web. */
.mail-note {
  position: fixed; left: 50%; bottom: 24px; z-index: 650; width: min(460px, calc(100vw - 32px));
  padding: 16px 52px 16px 20px; border-radius: 14px; border: 1px solid rgba(227,200,121,.35);
  background: linear-gradient(180deg, var(--green-3) 0%, var(--green) 100%); color: #DDE5E0;
  box-shadow: 0 18px 40px rgba(0,0,0,.28); font-size: 14.5px; line-height: 1.5;
  opacity: 0; visibility: hidden; transform: translate(-50%, 14px);
  transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
}
.mail-note.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s, transform .3s var(--ease); }
.mail-note p { margin: 0; }
.mail-note p + p { margin-top: 4px; }
.mail-note strong { color: var(--white); font-size: 15.5px; overflow-wrap: anywhere; }
.mail-note-head span { margin-left: 10px; color: var(--gold-2); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mail-note a { color: var(--gold-2); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.mail-note a:hover { color: var(--white); }
.mail-note-close {
  position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: transparent; color: #DDE5E0; font-size: 22px; line-height: 1; cursor: pointer;
}
.mail-note-close:hover { background: rgba(255,255,255,.1); color: var(--white); }
@media (max-width: 760px) { .mail-note { bottom: 88px; } }   /* clear of the floating WhatsApp button */
@media (prefers-reduced-motion: reduce) { .mail-note, .mail-note.is-open { transition: none; } }

/* ---------- Netlify's badge (10 Nov) ----------
   On Netlify's free plan, every page it serves gets a "Powered by Netlify" badge along the bottom right
   (an iframe, #nl-badge-frame, about 61px tall) on top of the WhatsApp button. Where the badge is, the
   button and the email note sit above it; without it (the client's own hosting, say) nothing moves. */
body:has(#nl-badge-frame) .wa-float { bottom: 86px; }
body:has(#nl-badge-frame) .mail-note { bottom: 88px; }
@media (max-width: 760px) {
  body:has(#nl-badge-frame) .wa-float { bottom: 76px; }
  body:has(#nl-badge-frame) .mail-note { bottom: 148px; }
}

/* the artist's-impression label sits above card links */
.impression-tag { z-index: 4; }

/* ---------- logo build-up intro (first visit per session) ---------- */

.intro-loader {
  position: fixed; inset: 0; z-index: 700; display: grid; place-items: center; color: var(--cream); cursor: pointer;
  background: radial-gradient(70% 60% at 50% 38%, #1A4D36 0%, #0B2C1E 55%, #061B12 100%);
}
.intro-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.intro-stage { position: relative; width: 230px; height: 184px; }
.intro-house { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--gold-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.intro-mark { position: absolute; left: 50%; top: 56%; width: 112px; height: auto; transform: translate(-50%, -50%); }
.intro-word { display: flex; gap: 6px; font-size: 46px; font-weight: 800; letter-spacing: .06em; line-height: 1; color: var(--white); }
.intro-word span { display: inline-block; }
.intro-sub { font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: #B9C6BE; }
.intro-tag { margin-top: 10px; font-size: 17px; font-weight: 700; letter-spacing: .02em; color: var(--gold-2); }
.intro-skip { position: absolute; right: 22px; bottom: 20px; font: 700 13px var(--font); letter-spacing: .08em; text-transform: uppercase; color: #CFD9D3; background: none; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 10px 16px; min-height: 44px; cursor: pointer; }

/* CTA band copy on the dark green */
.cta .lede, .cta-lede { color: #CFD9D3; margin-top: 12px; max-width: 52ch; }
.cta .h2 { color: var(--white); }

/* ---------- v4 responsive ---------- */

@media (max-width: 1100px) {
  .tours { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .plans-grid, .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-grid, .story-grid, .tour-feature { grid-template-columns: 1fr; }
  .pillars5 { grid-template-columns: repeat(3, minmax(0, 1fr)); height: auto; align-items: stretch; }
  .pillars5.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p5 { height: auto; min-height: 210px; }
  .pas, .bab { grid-template-columns: 1fr; }
  .tours { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder-foot { margin-left: 0; width: 100%; justify-content: space-between; }
  .also p { margin-left: 0; }
  .story-side { border-left: 0; border-top: 3px solid var(--gold); padding: 22px 0 0; }
}
@media (max-width: 760px) {
  .hero { min-height: 0; flex-direction: row; align-items: stretch; }
  .hero-media { position: absolute; inset: 0; height: auto; order: 0; }
  .hero-media::after { background: linear-gradient(180deg, rgba(8,36,24,.62) 0%, rgba(8,36,24,.86) 55%, rgba(8,36,24,.95) 100%); }
  .hero .wrap { padding-block: 76px 84px; }
  .hero-title { font-size: clamp(2.3rem, 10vw, 3rem); }
  .hero-proof { gap: 8px 16px; }
  .scroll-cue { display: none; }
  .plans-grid, .values, .features, .extras, .tours { grid-template-columns: 1fr; }
  .grid.mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pillars5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .p5 { min-height: 180px; padding: 18px 16px; }
  .p5:last-child { grid-column: 1 / -1; }
  .pillars5.n4 .p5:last-child { grid-column: auto; }   /* four facts fill two rows of two */
  .facts-band { padding: 72px 0 64px; }
  .finder { padding: 18px; gap: 16px; }
  .soon-panel { flex-direction: column; align-items: flex-start; padding: 26px 22px; gap: 18px; }
  .soon-panel .dev-art { width: 150px; }
  .plan-nav { grid-template-columns: 1fr 1fr; }
  .plan-nav-all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .page-hero-media.art { opacity: .5; }
  .gtabs { display: flex; width: 100%; }
  .gtab { flex: 1; padding: 12px 10px; }
  .intro-word { font-size: 38px; }
  .included { margin-top: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-loader { display: none; }
  .scroll-cue span { animation: none; }
  .btn::after, .p5::after { display: none; }
}

/* no lone last words in running text */
p, li, figcaption, .lede { text-wrap: pretty; }

/* ---------- the client, 12 Nov: a thin gold border around the photographs ---------- */
/* drawn on top of each photo's frame, so it stays put while the photo zooms or drifts inside it */
:is(.tile, .pcard-img, .dev-img, .tcard-img, .tour-media, .intro-media, .split-media, .dev-hero-photo)::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border: 2px solid var(--gold); border-radius: inherit;
}
/* photos at the top of a card follow the card's rounded corners (its radius less its 1px border) */
.dev-img::before { border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
.pcard-img::before, .tcard-img::before { border-radius: 13px 13px 0 0; }
.lb-img, .lb-video { border: 2px solid var(--gold); }

/* ---------- About: three facts beside the introduction (the "Status" one went, 12 Nov) ---------- */
.about-intro .facts .fact:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- About, B. Sectional title: the client's photographs of 232 on Kent (12 Nov) ---------- */
.kent { margin-top: 30px; container-type: inline-size; }
.kent-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin-bottom: 14px; }
.kent-head h4 { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.kent-head p { font-size: 14.5px; color: var(--muted); }
/* a landscape photo fills one 4:3 cell and a portrait one two rows; src/tools/kent.py orders them so the grid has no gaps */
.grid.kent-grid {
  columns: initial; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  grid-auto-rows: 170px; grid-auto-rows: calc((100cqi - 24px) / 3 * .75);
}
.kent-grid .tile { margin: 0; height: 100%; }
.kent-grid .tile img { width: 100%; height: 100%; object-fit: cover; }
.kent-grid .tile.portrait { grid-row: span 2; }
.kent-grid .tile.more { display: none; }
.kent-grid.open .tile.more { display: block; }
.kent-more { margin-top: 18px; }
@media (max-width: 760px) {
  .grid.kent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; grid-auto-rows: 120px; grid-auto-rows: calc((100cqi - 10px) / 2 * .75); }
}
/* 12 Nov: two groups, "from the air" (the client's drone photos) and "inside" */
.kent-group + .kent-group { margin-top: 40px; }
.kent-head { display: block; }            /* the line under each heading, whether it is short or long */
.kent-head p { margin-top: 6px; }
