/* Popolo — fluid Canva match (design width 1366)
   Terracotta #CE806E · Pistachio #D0DBC8 · Ivory #FFFFFF · Eggshell #F5F0EA · Onyx #1D1D1B */

@font-face {
  font-family: "Voska";
  src: url("../assets/fonts/Voska.otf") format("opentype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Stereonic XS";
  src: url("../assets/fonts/Stereonic-XS.otf") format("opentype");
  font-weight: 100 400;
  font-style: normal;
  font-display: swap;
}
/* BODY WEIGHT BLOCKED: only SweetSansProMedium.otf ships.
   Regular/Light not in fonts/, fonts-dl/, or Drive brand fonts folder
   (1duHT0Re2mLjpee4fGDW8ciXRArdAkByX). Both 400 and 500 map to Medium —
   browsers cannot optically thin Medium outlines. */
@font-face {
  font-family: "Sweet Sans Pro";
  src: url("../assets/fonts/SweetSansProMedium.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sweet Sans Pro";
  src: url("../assets/fonts/SweetSansProMedium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --terracotta: #CE806E;
  --terracotta-deep: #B86B5A;
  --pistachio: #D0DBC8;
  --sage: #D0DBC8;
  --eggshell: #F5F0EA;
  --ivory: #FFFFFF;
  --onyx: #1D1D1B;
  --footer: #343434;
  --white: #fff;
  --map-sage: #D0DBC8;
  --muted: #3a3a38;
  --font-serif: "Voska", Georgia, serif;
  --font-display: "Stereonic XS", system-ui, sans-serif;
  --font-sans: "Sweet Sans Pro", system-ui, sans-serif;

  --u: 1px;
  --pad-x: 1.25rem;
  --content-max: 40rem;
  --section-y: 3.5rem;
  --gap-lg: 1.75rem;
  --gap-md: 1.25rem;
  --fs-body: 1rem;
  --fs-h1: 2.75rem;
  --fs-h2: 2rem;
  --fs-h3: 1.35rem;
  --fs-kicker: 0.8rem;
  --fs-btn: 0.95rem;
  --btn-pad-y: 0.95rem;
  --btn-pad-x: 1.9rem;
  --hero-logo: 3.25rem;
  --hero-logo-scrolled: 2.35rem;
  --hero-tag: 0.95rem;
  --map-size: min(100%, 20rem);
  --nav-top: 1.35rem;
}

@media (min-width: 768px) {
  :root {
    --u: clamp(0.72px, calc(100vw / 1366), 1.28px);
    --pad-x: calc(var(--u) * 72);
    --content-max: calc(var(--u) * 1200);
    --section-y: calc(var(--u) * 96);
    --gap-lg: calc(var(--u) * 48);
    --gap-md: calc(var(--u) * 28);
    --fs-body: calc(var(--u) * 17);
    --fs-h1: calc(var(--u) * 52);
    --fs-h2: calc(var(--u) * 44);
    --fs-h3: calc(var(--u) * 28);
    --fs-kicker: calc(var(--u) * 13);
    --fs-btn: calc(var(--u) * 20);
    --btn-pad-y: calc(var(--u) * 15);
    --btn-pad-x: calc(var(--u) * 44);
    --hero-logo: calc(var(--u) * 88);
    --hero-logo-scrolled: calc(var(--u) * 58);
    --hero-tag: calc(var(--u) * 20);
    --map-size: calc(var(--u) * 340);
    --nav-top: calc(var(--u) * 40);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  font-synthesis: none;
  color: var(--onyx);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; }
.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 1rem; top: 1rem; z-index: 99;
  background: #fff; padding: .5rem 1rem;
}

.container {
  width: min(100% - 2 * var(--pad-x), var(--content-max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* ——— Sticky site nav ——— */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--gap-md);
  padding: var(--nav-top) var(--pad-x) 0.75rem;
  pointer-events: none;
  transition: background-color .28s ease, box-shadow .28s ease, padding .28s ease, backdrop-filter .28s ease;
}
.site-nav > * { pointer-events: auto; }
.site-nav__logo {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--hero-logo);
  line-height: 0.95;
  color: var(--white);
  text-decoration: none;
  transition: font-size .28s ease, color .28s ease;
  text-shadow: 0 1px 18px rgba(0,0,0,.18);
}
.site-nav__register {
  flex-shrink: 0;
  margin-top: calc(var(--u) * 6);
  transition: opacity .35s ease, transform .28s ease, filter .15s;
}
.site-nav__register.is-faded {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
}
.site-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(29,29,27,.06), 0 8px 28px rgba(29,29,27,.06);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  align-items: center;
}
.site-nav.is-scrolled .site-nav__logo {
  font-size: var(--hero-logo-scrolled);
  color: var(--terracotta);
  text-shadow: none;
}
.site-nav.is-scrolled .site-nav__register {
  margin-top: 0;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  letter-spacing: 0.14em;
  font-weight: 500;
  font-size: var(--fs-btn);
  text-transform: uppercase;
  transition: filter .15s, transform .15s;
  min-height: 2.85rem;
}
.btn:hover { filter: brightness(0.96); transform: translateY(-1px); }
.btn--pill {
  border-radius: 999px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
}
.btn--terracotta { background: var(--terracotta); color: var(--white); }
.btn--sage { background: var(--pistachio); color: #111110; font-weight: 500; }
.btn--sage#downloadFeatures,
#downloadFeatures.btn--sage {
  font-size: calc(var(--u) * 22);
  letter-spacing: 0.14em;
  color: #0e0e0c;
  font-weight: 500;
}
.homes .btn--terracotta {
  font-size: calc(var(--u) * 22);
  letter-spacing: 0.14em;
}
.site-nav__register.btn,
.register .btn--sage {
  font-size: calc(var(--u) * 18);
  letter-spacing: 0.12em;
}
.btn.is-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}

/* ——— Headings / rules ——— */
.heading {
  font-family: var(--font-serif);
  font-weight: 500;
  margin: 0;
  line-height: 1.1;
}
.heading--light { color: var(--white); }
.heading--terracotta { color: var(--terracotta); }
.heading--dark { color: var(--onyx); }
.heading--center { text-align: center; }
.heading--stack span { display: block; }
.heading--sm {
  font-size: var(--fs-h3);
  letter-spacing: 0.12em;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
}

/* Curated heading: Stereonic with hairline stroke for bold design weight */
.euro-right .heading--sm,
.heading--sm {
  -webkit-text-stroke: 0.55px currentColor;
  paint-order: stroke fill;
}

.rule {
  border: 0;
  height: 1px;
  margin: calc(var(--u) * 14) 0 calc(var(--u) * 20);
  max-width: calc(var(--u) * 176);
}
.rule--light { background: rgba(255,255,255,.85); }
.rule--terracotta { background: var(--terracotta); }

.center-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: calc(var(--u) * 48);
}

/* ——— Sections ——— */
.section { position: relative; overflow: hidden; }
.section--terracotta { background: var(--terracotta); color: var(--white); }
.section--eggshell { background: var(--eggshell); color: var(--onyx); }
.section--ivory { background: var(--ivory); color: var(--onyx); }
.section--sage { background: var(--pistachio); color: var(--onyx); }

/* Deco — arcs/semis sit behind photos (z-index 0); photos/containers z-index 1+ */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco--arc {
  border: 1.5px solid rgba(255,255,255,.55);
  border-radius: 50%;
}
.deco--arc-tr {
  width: min(92vw, calc(var(--u) * 760));
  height: min(92vw, calc(var(--u) * 760));
  top: -22%;
  right: -24%;
}
/* Bottom-left arc kisses skyline corners from behind; must not cover the photo */
.deco--arc-bl {
  width: min(70vw, calc(var(--u) * 560));
  height: min(70vw, calc(var(--u) * 560));
  bottom: calc(var(--u) * -40);
  left: calc(var(--u) * -280);
}
.deco--semi {
  width: calc(var(--u) * 300);
  height: calc(var(--u) * 300);
  background: var(--terracotta);
  border-radius: 50%;
  /* Solid fill only — no border/shadow (avoids double-edge fringe) */
  border: 0;
  box-shadow: none;
  /* Promote to own layer so overflow clip of parent doesn't stair-step the curve */
  transform: translateZ(0);
  backface-visibility: hidden;
}
/* Solid semis: left mid kitchen, right beside living — page edges only */
.deco--semi-left { left: -12%; top: 16%; }
.deco--semi-right { right: -13%; bottom: 4%; top: auto; }
.deco--arc-euro {
  /* Radial ring avoids 1.5px border stair-steps on the curve */
  width: min(78vw, calc(var(--u) * 680));
  height: min(78vw, calc(var(--u) * 680));
  border: 0;
  border-radius: 50%;
  left: -32%;
  top: 46%;
  opacity: 0.55;
  background: radial-gradient(
    circle,
    transparent 49.35%,
    rgba(206, 128, 110, 0.95) 49.85%,
    rgba(206, 128, 110, 0.95) 50.35%,
    transparent 50.85%
  );
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}
/* Features: only a small arc at bottom-right — no half-circle through the copy */
.deco--arc-feat-br {
  width: min(48vw, calc(var(--u) * 420));
  height: min(48vw, calc(var(--u) * 420));
  border: 0;
  border-radius: 50%;
  right: -18%;
  bottom: -22%;
  left: auto;
  top: auto;
  opacity: 0.55;
  background: radial-gradient(
    circle,
    transparent 49.35%,
    rgba(206, 128, 110, 0.95) 49.85%,
    rgba(206, 128, 110, 0.95) 50.35%,
    transparent 50.85%
  );
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* ——— HERO ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--white);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20,20,20,.22) 0%, rgba(20,20,20,.05) 40%, transparent 60%);
}
.hero__intro {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-top) + var(--hero-logo) + calc(var(--u) * 8)) var(--pad-x) 0;
  /* Wide enough that each tagline span stays one line (design = exactly 2 lines) */
  max-width: calc(var(--u) * 720);
}
.hero__tagline {
  margin: 0;
  font-family: var(--font-sans);
  font-size: calc(var(--hero-tag) * 0.96);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.4;
  font-weight: 400;
  font-synthesis: none;
  /* Medium-only OTF — soften ink so glyphs read less heavy */
  color: rgba(255, 255, 255, 0.86);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-stroke: 0;
  text-shadow: none;
}
.hero__tagline span {
  display: block;
  white-space: nowrap;
}

/* ——— NEIGHBOURHOOD ——— */
.neighbourhood {
  padding: var(--section-y) 0 calc(var(--section-y) * 0.95);
}
.gw-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--u) * 40) calc(var(--u) * 48);
  align-items: start;
  margin-bottom: calc(var(--u) * 48);
}
.gw-copy .heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  letter-spacing: 0.14em;
}
.gw-copy p {
  margin: 0;
  font-family: var(--font-sans); /* Sweet Sans Pro Medium mapped as 400 — not Stereonic */
  font-size: calc(var(--fs-body) * 0.97);
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.8;
  letter-spacing: 0.055em;
  color: rgba(255, 255, 255, 0.86);
  max-width: calc(var(--u) * 520);
  /* Design: body indented under the N/D of GRANDVIEW (~28u right of title) */
  padding-left: calc(var(--u) * 28);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-stroke: 0;
  text-shadow: none;
}
.gw-map-wrap {
  justify-self: end;
  width: min(100%, var(--map-size));
  max-width: 100%;
}
.map-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: filter .15s, transform .15s;
}
.map-link:hover { filter: brightness(0.98); transform: translateY(-1px); }
.map-img {
  width: 100%;
  height: auto;
  display: block;
}
.map-caption {
  display: inline-block;
  margin-top: calc(var(--u) * 14);
  font-size: calc(var(--u) * 12);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pistachio);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.map-caption:hover { color: var(--white); }

.gw-steps {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: calc(var(--u) * 36) calc(var(--u) * 40);
  align-items: start;
  margin-bottom: calc(var(--u) * 44);
}
.gw-steps-copy .heading,
.gw-steps-title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.14em;
  font-size: var(--fs-h2); /* match GRANDVIEW WOODLAND */
  text-transform: uppercase;
}
.gw-steps-copy p {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-synthesis: none;
  font-size: calc(var(--fs-body) * 0.97);
  line-height: 1.8;
  letter-spacing: 0.055em;
  color: rgba(255, 255, 255, 0.86);
  max-width: calc(var(--u) * 500);
  /* Match Grandview body indent under STEPS title */
  padding-left: calc(var(--u) * 28);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-stroke: 0;
  text-shadow: none;
}
.gw-photo { margin: 0; overflow: hidden; }
.gw-photo img { width: 100%; height: 100%; object-fit: cover; }
.gw-photo--tall {
  aspect-ratio: 3/4;
  max-height: calc(var(--u) * 460);
}
.gw-photo--wide { aspect-ratio: 4 / 3; }
.gw-photo--square { aspect-ratio: 1; }
/* Café is landscape and sits higher than the skyline (design stagger) */
.gw-photo--cafe {
  aspect-ratio: 3 / 2;
  margin-top: 0;
  align-self: start;
}
.gw-collage {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
  gap: calc(var(--u) * 32);
  align-items: start;
  width: 100%;
  padding-right: max(var(--pad-x), calc((100% - var(--content-max)) / 2 + var(--pad-x)));
  box-sizing: border-box;
  position: relative;
  z-index: 1; /* above neighbourhood arcs */
}
.gw-photo--bleed {
  /* intentional left-edge flush to viewport; slightly lower than café */
  margin: calc(var(--u) * 36) 0 0;
}
.gw-collage .gw-photo {
  position: relative;
  z-index: 1;
}

/* ——— EUROPEAN ——— */
.european {
  padding: var(--section-y) 0 calc(var(--section-y) * 0.85);
}
.european > .container > .heading {
  font-size: var(--fs-h1);
  letter-spacing: 0.04em;
  margin-bottom: calc(var(--u) * 36);
  text-align: left; /* design: left-aligned, not centered */
}
/* Kitchen shifted right relative to title (design ~369u left edge vs title ~108u) */
.euro-kitchen {
  position: relative;
  z-index: 1;
  margin: 0 0 calc(var(--u) * 56);
  margin-left: calc(var(--u) * 200);
  width: calc(100% - var(--u) * 200);
  max-width: calc(var(--u) * 920);
  margin-right: 0;
}
.euro-kitchen img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.euro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: calc(var(--u) * 40) calc(var(--u) * 56);
  align-items: start;
  margin-bottom: calc(var(--u) * 36);
}
.euro-left, .euro-right { min-width: 0; }
.euro-kicker {
  margin: 0 0 calc(var(--u) * 18);
  font-family: var(--font-sans);
  font-size: calc(var(--u) * 12.5);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.5;
  color: #4a4a46;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-stroke: 0;
  text-shadow: none;
}
.euro-kicker span { display: block; }
.euro-bedroom {
  position: relative;
  z-index: 1;
  margin: 0;
}
.euro-bedroom img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.euro-curated {
  max-width: calc(var(--u) * 420);
  /* Design: heading sits ~top-third of bedroom, not flush with bedroom top */
  padding-top: calc(var(--u) * 168);
}
.euro-body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: calc(var(--fs-body) * 0.97);
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.8;
  letter-spacing: 0.06em;
  /* Medium face only on disk — lighten optically via tracking + softer ink */
  color: #4a4a46;
  max-width: calc(var(--u) * 420);
  /* Design: clear indent under CAREFULLY CURATED */
  padding-left: calc(var(--u) * 36);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-stroke: 0;
  text-shadow: none;
}
.euro-curated .rule {
  max-width: calc(var(--u) * 210);
}
/* Living image under curated: smaller than kitchen, shifted right per design.
   Photo must be a clean raster (no baked mockup arc). CSS .deco--semi-right draws the half-circle. */
.euro-living {
  position: relative;
  z-index: 1;
  /* Kitchen right edge ≈ 200u+920u; living 840u → ml 280u keeps rights aligned.
     Do NOT use justify-self:end — Chrome treats it as container-end for blocks. */
  margin: calc(var(--u) * 24) 0 0 calc(var(--u) * 280);
  width: calc(100% - var(--u) * 280);
  max-width: calc(var(--u) * 840);
  justify-self: start;
}
.euro-living img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.euro-right .heading--sm {
  margin: 0 0 calc(var(--u) * 4);
}

/* ——— FEATURES ——— */
.features {
  padding: calc(var(--section-y) * 0.65) 0 var(--section-y);
}
.features .heading {
  font-size: var(--fs-h1);
  margin-bottom: calc(var(--u) * 36);
}
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto;
  column-gap: var(--gap-lg);
  row-gap: calc(var(--u) * 36);
  align-items: start;
}
.feat {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.feat h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: calc(var(--u) * 17);
  color: var(--terracotta);
}
.feat p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: calc(var(--u) * 15);
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.75;
  letter-spacing: 0.045em;
  color: #4a4a46;
  max-width: calc(var(--u) * 420);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-stroke: 0;
  text-shadow: none;
}

/* ——— HOMES ——— */
.homes { padding: var(--section-y) 0; }
.homes .heading {
  font-size: var(--fs-h1);
  margin-bottom: calc(var(--u) * 36);
  text-align: left;
}
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--u) * 56) calc(var(--u) * 72);
  align-items: start;
  justify-items: start;
}
.plan-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: calc(var(--u) * 460); /* design thumb ~459u */
}
.plan-stack {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.plan-thumb {
  display: block;
  background: var(--white);
  overflow: hidden;
  margin-bottom: calc(var(--u) * 14);
  text-decoration: none;
  width: 100%;
  max-width: calc(var(--u) * 460);
  aspect-ratio: 1 / 1;
  padding: 0; /* letterboxing is baked into the thumb PNG */
  box-sizing: border-box;
}
.plan-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--white);
}
.plan-name {
  margin: 0 0 0.15rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: calc(var(--u) * 24);
  color: var(--terracotta);
  text-align: left;
}
.plan-beds {
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: calc(var(--u) * 12.5);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  font-weight: 400;
  text-align: left;
  -webkit-text-stroke: 0.4px var(--terracotta-deep);
  paint-order: stroke fill;
}
.plan-specs {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: calc(var(--u) * 13);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.55;
  text-align: left;
}
.plan-dl {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: calc(var(--u) * 12);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.plan-dl:hover { opacity: 1; }

/* ——— REGISTER ——— */
.register { padding: var(--section-y) 0; }
.register-inner {
  max-width: calc(var(--u) * 720);
  margin-inline: auto;
}
.register .heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(var(--u) * 36);
  letter-spacing: 0.22em;
  margin-bottom: calc(var(--u) * 36);
  line-height: 1;
  color: var(--onyx);
  -webkit-text-stroke: 0.85px currentColor;
  paint-order: stroke fill;
  transform: scaleY(0.88);
  transform-origin: center center;
}
.reg-form { margin: 0; }
.reg-hp {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.reg-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--u) * 36) calc(var(--u) * 48); /* design: wider First/Last gutter */
  margin-bottom: calc(var(--u) * 40);
}
.field label {
  display: block;
  font-size: calc(var(--u) * 11);
  letter-spacing: 0.14em;
  margin-bottom: 0.45rem;
  font-weight: 500;
  color: var(--onyx);
}
.field input {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: calc(var(--u) * 16) calc(var(--u) * 26);
  background: var(--white);
  color: var(--onyx);
  outline: none;
  min-height: 2.95rem;
  font-family: var(--font-sans);
  font-size: calc(var(--u) * 15);
  font-weight: 400;
}
.field input::placeholder {
  font-size: calc(var(--u) * 15);
  font-weight: 400;
  color: rgba(29,29,27,.45);
}
.field input:focus { box-shadow: 0 0 0 2px rgba(29,29,27,.25); }
.reg-meta {
  display: grid;
  /* Same 1fr 1fr as .reg-fields so consent left edge matches Last Name / Phone */
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-md) calc(var(--u) * 48);
  align-items: start;
  margin-bottom: calc(var(--u) * 36);
}
.realtor { border: 0; margin: 0; padding: 0; }
.realtor legend {
  font-size: calc(var(--u) * 11);
  letter-spacing: 0.12em;
  margin-bottom: 0.65rem;
  font-weight: 500;
  color: var(--onyx);
}
.radio {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: calc(var(--u) * 15);
  font-weight: 400;
  min-height: 2rem;
  color: var(--onyx);
  -webkit-text-stroke: 0;
  text-shadow: none;
}
.radio span {
  font-family: var(--font-sans);
  font-weight: 400;
}
.radio input {
  appearance: none;
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: transparent;
  position: relative;
  flex-shrink: 0;
}
.radio input:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--white);
}
.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: calc(var(--u) * 12);
  line-height: 1.55;
  cursor: pointer;
  color: var(--onyx);
}
.consent input {
  appearance: none;
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.1rem;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: transparent;
  position: relative;
}
.consent input:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--white);
}
.form-status {
  text-align: center;
  margin: 1rem 0 0;
  font-size: 0.9rem;
  min-height: 1.25em;
}

/* ——— FOOTER ——— */
.footer {
  background: var(--footer);
  color: var(--white);
  padding: calc(var(--section-y) * 0.75) 0 2rem;
  border-top: 6px solid var(--terracotta);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--gap-lg);
  align-items: end;
  margin-bottom: calc(var(--u) * 24);
}
.footer-block { margin-bottom: calc(var(--u) * 24); }
.footer-block h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: calc(var(--u) * 18);
}
.footer-block p {
  margin: 0;
  font-size: calc(var(--u) * 12.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.6;
  font-weight: 300;
}
.footer-block a { text-decoration: none; }
.footer-block a:hover { text-decoration: underline; }
.footer-disclaimer {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: calc(var(--u) * 11.5);
  letter-spacing: 0.14em;
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
  font-family: inherit;
}
.footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--u) * 32) calc(var(--u) * 48);
  justify-content: flex-end;
  align-items: flex-end;
}
.partner-logo {
  display: block;
  height: auto;
  width: auto;
  max-width: min(100%, calc(var(--u) * 220));
  max-height: calc(var(--u) * 72);
  object-fit: contain;
  object-position: left bottom;
}
.partner-logo--fw {
  max-width: min(100%, calc(var(--u) * 260));
}

/* Lightbox — fade + gentle scale */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20,20,20,.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 1rem 1.25rem;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity .28s ease;
}
.lightbox[hidden] { display: none !important; }
.lightbox.is-open { opacity: 1; }
.lightbox__img {
  width: auto;
  height: auto;
  max-width: min(1100px, 96vw);
  max-height: min(92vh, 1400px);
  object-fit: contain;
  background: #fff;
  padding: 0.75rem;
  box-sizing: border-box;
  transform: scale(0.96);
  opacity: 0.85;
  transition: transform .32s cubic-bezier(.22,.61,.36,1), opacity .28s ease;
}
.lightbox.is-open .lightbox__img {
  transform: scale(1);
  opacity: 1;
}
.lightbox__cap {
  color: #fff;
  margin: 0.75rem 0 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity .28s ease .05s;
}
.lightbox.is-open .lightbox__cap { opacity: 1; }
.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

/* Disclaimer modal — same fade/scale language as floorplan lightbox */
.disclaimer-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(20,20,20,.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity .28s ease;
}
.disclaimer-modal[hidden] { display: none !important; }
.disclaimer-modal.is-open { opacity: 1; }
.disclaimer-modal__panel {
  position: relative;
  width: min(40rem, 100%);
  max-height: min(85vh, 44rem);
  overflow: auto;
  background: var(--eggshell);
  color: var(--onyx);
  border-radius: 0.35rem;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
  transform: scale(0.96);
  opacity: 0.9;
  transition: transform .32s cubic-bezier(.22,.61,.36,1), opacity .28s ease;
}
.disclaimer-modal.is-open .disclaimer-modal__panel {
  transform: scale(1);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .lightbox,
  .lightbox__img,
  .lightbox__cap,
  .disclaimer-modal,
  .disclaimer-modal__panel {
    transition: none !important;
  }
  .lightbox__img,
  .disclaimer-modal__panel {
    transform: none !important;
  }
}
.disclaimer-modal__title {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--terracotta);
}
.disclaimer-modal__body {
  font-size: 0.88rem;
  line-height: 1.65;
}
.disclaimer-modal__body p { margin: 0 0 1rem; }
.disclaimer-modal__body p:last-child { margin-bottom: 0; }
.disclaimer-modal__body a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.disclaimer-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.75rem;
  background: transparent;
  border: 0;
  color: var(--onyx);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ——— Tablet / mobile ——— */
@media (max-width: 900px) {
  .gw-top,
  .gw-steps,
  .gw-collage,
  .euro-grid,
  .feat-grid,
  .plan-grid,
  .footer-grid,
  .reg-meta {
    grid-template-columns: 1fr;
  }
  .gw-collage {
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
  }
  .gw-photo--bleed { margin-top: 0; }
  .gw-map-wrap {
    justify-self: start;
    width: min(100%, 22rem);
  }
  .gw-photo--tall { max-height: none; }
  .gw-copy p,
  .gw-steps-copy p,
  .euro-body { padding-left: 0; }
  .euro-kitchen,
  .euro-living {
    margin-left: 0;
    width: 100%;
    max-width: none;
  }
  .plan-card { max-width: none; }
  .footer-right { justify-content: flex-start; }
  .deco--semi-left,
  .deco--semi-right { display: none; }
  .gw-copy p,
  .gw-steps-copy p,
  .euro-body,
  .feat p {
    max-width: none;
  }
}

@media (max-width: 640px) {
  :root {
    --pad-x: 1.15rem;
    --section-y: 2.75rem;
    --fs-h1: 2.15rem;
    --fs-h2: 1.65rem;
    --fs-h3: 1.2rem;
    --hero-logo: 2.85rem;
    --hero-logo-scrolled: 1.85rem;
  }
  .hero { min-height: 85svh; }
  .site-nav {
    align-items: flex-start;
  }
  .site-nav__register {
    /* Sit within logo vertical bounds (logo ~2.85rem / lh .95); was hanging below */
    margin-top: 0.28rem;
  }
  .hero__intro {
    padding-top: calc(var(--nav-top) + var(--hero-logo) + 1.25rem);
    max-width: 100%;
  }
  .reg-fields { grid-template-columns: 1fr; }
  .btn {
    width: 100%;
    max-width: 20rem;
  }
  .site-nav__register.btn {
    width: auto;
    max-width: none;
    /* Smaller pill vs logo — do NOT shrink DOWNLOAD / form REGISTER */
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    padding: 0.42rem 0.95rem;
    min-height: 0;
    line-height: 1.15;
  }
  .plan-grid { gap: 1.75rem; }
  .center-cta { margin-top: 2rem; }
  .feat { min-height: 0; }
  .feat-grid { row-gap: 1.5rem; }
  .feat h3 { font-size: 1.05rem; }
  .feat p { font-size: 0.95rem; }
  #downloadFeatures.btn--sage,
  .homes .btn--terracotta { font-size: 0.9rem; }
  .register .heading { font-size: 1.65rem; }
  .field input { padding: 0.95rem 1.15rem; }
  .consent { font-size: 0.75rem; }
  .deco--arc-tr,
  .deco--arc-bl,
  .deco--arc-euro,
  .deco--arc-feat-br { opacity: 0.35; }
  .disclaimer-modal__panel { padding: 1.75rem 1.15rem 1.25rem; }
}

@media (max-width: 767px) {
  .hero__intro { max-width: 100%; }
  .hero__tagline span { white-space: normal; }
}

