/* =========================================================================
   DARNELL POOLS — Editorial Pool Atlas
   Design system: deep aqua + warm sand + bone + brushed brass
   ========================================================================= */

:root {
  --aqua-deep: #2F3A2B;
  --aqua-mid:  #51624A;
  --aqua-soft: #6B7E60;
  --sand:      #D7CBAF;
  --sand-deep: #B7A47C;
  --bone:      #F2ECDD;
  --bone-2:    #E7DECB;
  --ink:       #20201A;
  --ink-soft:  #44423A;
  --brass:     #B06A3C;
  --brass-soft:#CB8A57;
  --line:      rgba(26,22,20,0.14);
  --line-on-dark: rgba(245,240,230,0.18);

  --f-display: "Tenor Sans", "Cormorant Garamond", Georgia, serif;
  --f-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", "SF Mono", Menlo, monospace;
  --f-accent:  "Cormorant Garamond", Georgia, serif;

  --max:   1380px;
  --max-narrow: 880px;
  --gutter: clamp(20px, 4vw, 64px);
  --section-y: clamp(72px, 9vw, 140px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--bone);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
ul  { list-style: none; }

/* Typography ---------------------------------------------------------------*/
.display, h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.005em; line-height: 1.08; color: var(--ink); }
h1 { font-size: clamp(40px, 6.4vw, 92px); }
h2 { font-size: clamp(30px, 4.4vw, 60px); }
h3 { font-size: clamp(22px, 2.4vw, 32px); }
h4 { font-size: clamp(18px, 1.8vw, 24px); }

.mono, .eyebrow, .plate {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow--brass { color: var(--brass); }
.eyebrow--bone  { color: var(--bone); }

.body-lg { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.7; }
.body-sm { font-size: 14px; line-height: 1.6; }

em, .italic { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 400; }

/* Layout primitives --------------------------------------------------------*/
.wrap   { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--dark { background: var(--aqua-deep); color: var(--bone); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--bone); }
.section--sand { background: var(--bone-2); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.rule--brass { background: var(--brass); height: 1px; }
.rule--on-dark { background: var(--line-on-dark); }

.brass-rule { display: inline-block; width: 56px; height: 1px; background: var(--brass); vertical-align: middle; margin-right: 14px; }

/* Buttons ------------------------------------------------------------------*/
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  border-radius: 999px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.btn--brass { background: var(--brass); color: var(--bone); }
.btn--brass:hover { background: #C17D49; transform: translateY(-2px); }
.btn--ghost { color: var(--bone); border: 1px solid rgba(245,240,230,0.4); }
.btn--ghost:hover { background: rgba(245,240,230,0.06); border-color: var(--bone); }
.btn--dark { background: var(--aqua-deep); color: var(--bone); }
.btn--dark:hover { background: #232C1E; transform: translateY(-2px); }
.btn--outline-dark { color: var(--aqua-deep); border: 1px solid var(--aqua-deep); }
.btn--outline-dark:hover { background: var(--aqua-deep); color: var(--bone); }

/* Header / Nav -------------------------------------------------------------*/
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.site-header.is-scrolled, .site-header.is-inner {
  background: var(--bone);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 14px;
}
.site-header.is-inner .header-link, .site-header.is-scrolled .header-link { color: var(--ink); }
.site-header.is-inner .brand-mono, .site-header.is-scrolled .brand-mono { color: var(--ink); }

.brand {
  display: flex; align-items: center; gap: 14px;
}
.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--brass);
  font-family: var(--f-display);
  color: var(--brass);
  font-size: 14px;
  border-radius: 50%;
  letter-spacing: 0.05em;
}
.brand-name {
  font-family: var(--f-display);
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--bone);
}
.site-header.is-inner .brand-name, .site-header.is-scrolled .brand-name { color: var(--ink); }

.nav-links {
  display: flex; gap: 32px; align-items: center;
}
.header-link {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
  transition: color 0.25s ease;
}
.header-link:hover { color: var(--brass-soft); }

.header-cta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 11px 20px;
  background: var(--brass);
  color: var(--bone);
  border-radius: 999px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.header-cta:hover { background: #C17D49; transform: translateY(-1px); }

.nav-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    color: var(--bone);
  }
  .site-header.is-inner .nav-toggle, .site-header.is-scrolled .nav-toggle { color: var(--ink); }
  .nav-toggle span { display: block; width: 22px; height: 1px; background: currentColor; position: relative; }
  .nav-toggle span::before, .nav-toggle span::after {
    content: ""; position: absolute; left: 0; width: 22px; height: 1px; background: currentColor;
  }
  .nav-toggle span::before { top: -7px; }
  .nav-toggle span::after  { top: 7px; }

  .mobile-menu {
    position: fixed; inset: 0; background: var(--aqua-deep);
    z-index: 200; opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex; flex-direction: column; padding: 90px 28px 40px;
  }
  .mobile-menu.is-open { opacity: 1; pointer-events: auto; }
  .mobile-menu a {
    color: var(--bone); font-family: var(--f-display); font-size: 28px;
    padding: 16px 0; border-bottom: 1px solid var(--line-on-dark);
  }
  .mobile-menu .header-cta { margin-top: 28px; text-align: center; align-self: stretch; }
  .mobile-close {
    position: absolute; top: 22px; right: 22px;
    width: 40px; height: 40px; color: var(--bone);
    font-size: 24px; line-height: 1;
  }
}

/* Hero ---------------------------------------------------------------------*/
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--bone);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 18s ease-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.0) translate(0, 0); }
  to   { transform: scale(1.08) translate(-1%, -1%); }
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(47,58,43,0.35) 0%, rgba(47,58,43,0.05) 35%, rgba(47,58,43,0.85) 100%),
    linear-gradient(90deg, rgba(47,58,43,0.45) 0%, rgba(47,58,43,0.0) 50%);
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 var(--gutter) clamp(60px, 9vw, 120px);
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 24px;
}
.hero-eyebrow span { display: block; }
.hero h1 {
  color: var(--bone);
  font-size: clamp(44px, 7vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 1100px;
}
.hero h1 em {
  color: var(--brass-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-style: italic;
}
.hero-meta {
  margin-top: clamp(28px, 4vw, 48px);
  display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center;
}
.hero-meta-text {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(245,240,230,0.7);
}
@media (max-width: 520px) {
  .hero-meta .btn { width: 100%; justify-content: center; padding: 14px 16px; font-size: 11px; letter-spacing: 0.15em; }
  .hero-meta-text { font-size: 10px; }
}
.hero-scroll {
  position: absolute; bottom: 32px; right: var(--gutter);
  z-index: 2;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--bone);
  writing-mode: vertical-rl;
  display: flex; align-items: center; gap: 14px;
}
.hero-scroll::after {
  content: ""; display: block;
  width: 1px; height: 44px; background: var(--bone);
  animation: scrolldown 2s ease-in-out infinite;
}
@keyframes scrolldown {
  0%   { transform: scaleY(0.2); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0.2); transform-origin: bottom; }
}
@media (max-width: 700px) {
  .hero-scroll { display: none; }
}

/* Trust strip --------------------------------------------------------------*/
.trust-strip {
  background: var(--aqua-deep);
  color: var(--bone);
  padding: 18px var(--gutter);
  display: flex; gap: 32px; align-items: center; justify-content: center;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line-on-dark);
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(245,240,230,0.85);
}
.trust-item .dot { width: 4px; height: 4px; background: var(--brass); border-radius: 50%; }

/* Section header (eyebrow + title + caption) -------------------------------*/
.s-head {
  margin-bottom: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 80px);
  align-items: end;
}
.s-head .eyebrow { margin-bottom: 12px; }
.s-head h2 em { color: var(--brass); }
.s-head__sub { color: var(--ink-soft); max-width: 56ch; }
@media (max-width: 800px) {
  .s-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
}

/* Atelier intro block ------------------------------------------------------*/
.atelier {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.atelier__photo {
  aspect-ratio: 4/5;
  background: var(--aqua-deep);
  overflow: hidden;
}
.atelier__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.95); }
.atelier__copy h2 { margin-bottom: 22px; }
.atelier__copy h2 em { color: var(--brass); }
.atelier__copy p { color: var(--ink-soft); margin-bottom: 18px; }
.atelier__sig {
  margin-top: 28px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  color: var(--ink);
  font-size: 22px;
}
.atelier__sig small {
  display: block; margin-top: 6px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft);
  font-style: normal;
}
@media (max-width: 800px) {
  .atelier { grid-template-columns: 1fr; }
}

/* Builds gallery -----------------------------------------------------------*/
.builds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 40px);
}
@media (max-width: 1000px) { .builds-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .builds-grid { grid-template-columns: 1fr; gap: 28px; } }

.build-card {
  display: block;
  position: relative;
  transition: transform 0.4s ease;
}
.build-card:hover { transform: translateY(-4px); }
.build-card__media {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(135deg, #2F3A2B 0%, #51624A 100%);
  position: relative;
}
.build-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s ease;
}
.build-card:hover .build-card__media img { transform: scale(1.04); }

.build-card__media--placeholder {
  display: grid; place-items: center;
  background: linear-gradient(160deg, #2F3A2B 0%, #51624A 65%, #6B7E60 100%);
  color: var(--brass-soft);
  position: relative;
}
.build-card__media--placeholder::before {
  content: ""; position: absolute; inset: 24px;
  border: 1px solid rgba(245,240,230,0.18);
}
.build-card__media--placeholder .ph-inner {
  text-align: center; color: var(--bone);
}
.build-card__media--placeholder .ph-inner .plate {
  color: var(--brass-soft); margin-bottom: 14px;
}
.build-card__media--placeholder .ph-inner h4 { color: var(--bone); margin-bottom: 8px; }
.build-card__media--placeholder .ph-inner small {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(245,240,230,0.6);
}

.build-card__meta {
  padding-top: 16px;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 14px;
}
.build-card__title {
  font-family: var(--f-display); font-size: 22px; line-height: 1.2;
}
.build-card__sub {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 4px;
}
.build-card__plate {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass);
}

/* Styles grid (pool styles we build) --------------------------------------*/
.styles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.style-tile {
  padding: clamp(28px, 3vw, 44px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bone);
  transition: background 0.3s ease;
}
.style-tile:hover { background: var(--bone-2); }
.style-tile__num {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 16px;
}
.style-tile h3 { margin-bottom: 12px; font-size: 26px; }
.style-tile p  { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 900px) { .styles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .styles-grid { grid-template-columns: 1fr; } }

/* Process roadmap ----------------------------------------------------------*/
.process {
  background: var(--aqua-deep);
  color: var(--bone);
}
.process h2 { color: var(--bone); }
.process h2 em { color: var(--brass-soft); }
.process .s-head__sub { color: rgba(245,240,230,0.7); }

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: clamp(40px, 4vw, 60px);
}
.process-step {
  display: grid;
  grid-template-columns: 90px 1fr 2fr 1fr;
  gap: clamp(20px, 3vw, 48px);
  padding: 28px 0;
  border-top: 1px solid var(--line-on-dark);
  align-items: start;
}
.process-step:last-child { border-bottom: 1px solid var(--line-on-dark); }
.process-step__num {
  font-family: var(--f-display); font-size: 36px;
  color: var(--brass-soft);
}
.process-step__title { font-size: 24px; }
.process-step__desc  { color: rgba(245,240,230,0.78); font-size: 15px; line-height: 1.65; }
.process-step__del   {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass-soft);
}
.process-step__duration {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(245,240,230,0.5);
  display: block; margin-top: 6px;
}
@media (max-width: 900px) {
  .process-step {
    grid-template-columns: 60px 1fr;
    gap: 20px;
  }
  .process-step__num { font-size: 28px; }
  .process-step__desc, .process-step__del { grid-column: 2; }
}

/* Features grid ------------------------------------------------------------*/
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.feature-card {
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--bone-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.feature-card:hover { border-color: var(--brass); background: var(--bone); }
.feature-card h4 { margin-bottom: 8px; font-size: 19px; }
.feature-card p  { color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.feature-card .mono { color: var(--brass); margin-bottom: 12px; display: block; }
@media (max-width: 1100px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .features-grid { grid-template-columns: 1fr; } }

/* Outdoor living spread ----------------------------------------------------*/
.living-spread {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 80px);
}
.living-row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.living-row:nth-child(even) { direction: rtl; }
.living-row:nth-child(even) > * { direction: ltr; }
.living-row__media {
  aspect-ratio: 5/4;
  background: var(--aqua-deep);
  overflow: hidden;
}
.living-row__media img { width: 100%; height: 100%; object-fit: cover; }
.living-row__media--placeholder {
  display: grid; place-items: center;
  background: linear-gradient(135deg, #2F3A2B, #6B7E60);
  position: relative;
}
.living-row__media--placeholder::before {
  content: ""; position: absolute; inset: 18px; border: 1px solid var(--line-on-dark);
}
.living-row__media--placeholder span {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass-soft);
}
.living-row__copy .mono { color: var(--brass); margin-bottom: 12px; display: block; }
.living-row__copy h3 { margin-bottom: 16px; font-size: clamp(26px, 3vw, 40px); }
.living-row__copy p  { color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
@media (max-width: 800px) {
  .living-row, .living-row:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
}

/* Family meet ---------------------------------------------------------------*/
.family {
  background: var(--bone-2);
}
.family-grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.family-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--aqua-deep);
  position: relative;
}
.family-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.family-photo::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(47,58,43,0.18); pointer-events: none;
  margin: 14px;
}
.family-copy h2 { margin-bottom: 22px; }
.family-copy h2 em { color: var(--brass); }
.family-copy p  { color: var(--ink-soft); margin-bottom: 18px; }
.family-pillars {
  margin-top: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.family-pillars li .mono { color: var(--brass); display: block; margin-bottom: 4px; }
.family-pillars li strong { font-family: var(--f-display); font-weight: 400; font-size: 18px; display: block; margin-bottom: 4px; }
.family-pillars li span { color: var(--ink-soft); font-size: 14px; }
@media (max-width: 800px) {
  .family-grid { grid-template-columns: 1fr; }
  .family-pillars { grid-template-columns: 1fr; }
}

/* Reviews ------------------------------------------------------------------*/
.reviews-band {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 5vw, 80px);
}
.reviews-aggregate {
  padding: clamp(28px, 4vw, 48px);
  background: var(--aqua-deep);
  color: var(--bone);
  border-radius: 2px;
}
.reviews-aggregate .mono { color: var(--brass-soft); margin-bottom: 18px; display: block; }
.reviews-aggregate__big {
  font-family: var(--f-display); font-size: 76px; line-height: 1; color: var(--bone);
  margin-bottom: 14px;
}
.reviews-aggregate__big sup { font-size: 22px; color: var(--brass-soft); margin-left: 4px; vertical-align: super; }
.reviews-aggregate__stars { color: var(--brass-soft); font-size: 22px; letter-spacing: 0.15em; margin-bottom: 22px; }
.reviews-aggregate__platforms { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(245,240,230,0.7); }

.reviews-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.review {
  padding: 28px;
  background: var(--bone-2);
  border: 1px solid var(--line);
}
.review__stars { color: var(--brass); margin-bottom: 12px; font-size: 14px; letter-spacing: 0.1em; }
.review__quote { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 17px; line-height: 1.55; color: var(--ink); margin-bottom: 18px; }
.review__author { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 900px) {
  .reviews-band { grid-template-columns: 1fr; }
  .reviews-list { grid-template-columns: 1fr; }
}

/* Financing ---------------------------------------------------------------*/
.financing {
  background: var(--bone);
}
.financing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}
.fin-card {
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line);
  background: var(--bone-2);
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 240px;
}
.fin-card h4 { margin-bottom: 14px; font-size: 24px; }
.fin-card p  { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.fin-card .mono { color: var(--brass); display: block; margin-bottom: 14px; }
.fin-card a {
  margin-top: 22px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--aqua-deep);
  border-bottom: 1px solid var(--brass);
  display: inline-flex; width: max-content; padding-bottom: 4px;
}
@media (max-width: 900px) { .financing-grid { grid-template-columns: 1fr; } }
.financing-note {
  margin-top: 40px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft); text-align: center;
}

/* Consultation form -------------------------------------------------------*/
.consult {
  background: var(--aqua-deep);
  color: var(--bone);
}
.consult h2 { color: var(--bone); }
.consult h2 em { color: var(--brass-soft); }
.consult-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(40px, 5vw, 80px);
}
.consult-info p { color: rgba(245,240,230,0.78); margin-bottom: 16px; }
.consult-info .lineup {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line-on-dark);
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
.consult-info .lineup .mono { color: var(--brass-soft); display: block; margin-bottom: 4px; }
.consult-info .lineup strong { font-family: var(--f-display); font-size: 18px; font-weight: 400; display: block; }
.consult-info .lineup span { color: rgba(245,240,230,0.78); font-size: 14px; }

.consult-form {
  background: rgba(245,240,230,0.04);
  border: 1px solid var(--line-on-dark);
  padding: clamp(28px, 4vw, 48px);
}
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-on-dark);
  color: var(--bone);
  padding: 12px 0;
  font-family: var(--f-body); font-size: 16px;
  transition: border-color 0.25s ease;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(245,240,230,0.4); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--brass);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B06A3C' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 24px;
}
.field select option { background: var(--aqua-deep); color: var(--bone); }
.fields-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.consult-form .btn { margin-top: 16px; width: 100%; justify-content: center; }
.consult-form .small-print {
  margin-top: 18px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(245,240,230,0.5);
  text-align: center;
}
@media (max-width: 800px) {
  .consult-grid { grid-template-columns: 1fr; }
  .fields-row { grid-template-columns: 1fr; }
  .consult-info .lineup { grid-template-columns: 1fr; }
}

/* Footer ------------------------------------------------------------------*/
.site-footer {
  background: #20271C;
  color: rgba(245,240,230,0.7);
  padding: clamp(56px, 7vw, 96px) var(--gutter) 32px;
}
.footer-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
}
.footer-brand {
  font-family: var(--f-display); font-size: 28px; color: var(--bone); margin-bottom: 16px;
}
.footer-logo {
  width: 170px; height: auto; margin-bottom: 18px; display: block;
  opacity: 0.95;
}
.footer-tag {
  color: rgba(245,240,230,0.55); font-size: 14px; line-height: 1.6; max-width: 36ch;
}
.footer-col h5 {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass-soft); margin-bottom: 18px; font-weight: 400;
}
.footer-col li, .footer-col a { font-size: 14px; line-height: 1.9; color: rgba(245,240,230,0.7); }
.footer-col a:hover { color: var(--bone); }
.footer-bottom {
  max-width: var(--max); margin: 56px auto 0; padding-top: 28px;
  border-top: 1px solid var(--line-on-dark);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(245,240,230,0.45);
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom a:hover { color: var(--bone); }
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Mobile sticky call bar -------------------------------------------------*/
.sticky-call {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: var(--aqua-deep);
  color: var(--bone);
  border-top: 1px solid var(--brass);
  padding: 0;
}
.sticky-call a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bone);
}
.sticky-call a + a { border-left: 1px solid var(--line-on-dark); }
.sticky-call a.cta { background: var(--brass); color: var(--bone); }
@media (max-width: 720px) {
  .sticky-call { display: flex; }
  body { padding-bottom: 52px; }
}

/* Reveal animations (fail-open) -------------------------------------------
   Content is fully visible by default. The .reveal--hidden class is added
   by JS only AFTER an element is confirmed offscreen — so if JS fails, all
   content stays visible. */
.reveal--hidden { opacity: 0; transform: translateY(28px); }
.reveal--shown {
  opacity: 1; transform: translateY(0);
  transition: opacity 1.05s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Staggered children — grids reveal in a cascade rather than all at once.
   Children start nudged down; .reveal--shown on the parent releases them
   in sequence. Fail-open: if JS never adds the class, children are visible. */
.builds-grid > *,
.styles-grid > *,
.features-grid > *,
.living-spread > *,
.financing-grid > *,
.reviews-list > *,
.area-grid > * {
  will-change: transform, opacity;
}
.reveal--hidden.builds-grid > *,
.reveal--hidden.styles-grid > *,
.reveal--hidden.features-grid > *,
.reveal--hidden.financing-grid > *,
.reveal--hidden.area-grid > * {
  opacity: 0; transform: translateY(26px);
}
.reveal--shown.builds-grid > *,
.reveal--shown.styles-grid > *,
.reveal--shown.features-grid > *,
.reveal--shown.financing-grid > *,
.reveal--shown.area-grid > * {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal--shown.builds-grid > *:nth-child(1),
.reveal--shown.styles-grid > *:nth-child(1),
.reveal--shown.features-grid > *:nth-child(1),
.reveal--shown.financing-grid > *:nth-child(1) { transition-delay: 0.04s; }
.reveal--shown.builds-grid > *:nth-child(2),
.reveal--shown.styles-grid > *:nth-child(2),
.reveal--shown.features-grid > *:nth-child(2),
.reveal--shown.financing-grid > *:nth-child(2) { transition-delay: 0.12s; }
.reveal--shown.builds-grid > *:nth-child(3),
.reveal--shown.styles-grid > *:nth-child(3),
.reveal--shown.features-grid > *:nth-child(3),
.reveal--shown.financing-grid > *:nth-child(3) { transition-delay: 0.20s; }
.reveal--shown.builds-grid > *:nth-child(4),
.reveal--shown.styles-grid > *:nth-child(4),
.reveal--shown.features-grid > *:nth-child(4) { transition-delay: 0.28s; }
.reveal--shown.builds-grid > *:nth-child(5),
.reveal--shown.styles-grid > *:nth-child(5),
.reveal--shown.features-grid > *:nth-child(5) { transition-delay: 0.36s; }
.reveal--shown.builds-grid > *:nth-child(6),
.reveal--shown.styles-grid > *:nth-child(6),
.reveal--shown.features-grid > *:nth-child(6) { transition-delay: 0.44s; }
.reveal--shown.builds-grid > *:nth-child(n+7),
.reveal--shown.features-grid > *:nth-child(n+7) { transition-delay: 0.5s; }

/* Build-card image: slow zoom on hover (editorial, restrained) */
.build-card__media img {
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}
.build-card:hover .build-card__media img {
  transform: scale(1.06);
}

/* Stat band — animated count-up numerals */
.stat-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  text-align: center;
}
.stat__num {
  font-family: var(--f-display);
  font-size: clamp(38px, 5.5vw, 72px);
  line-height: 1; color: var(--aqua-deep);
  letter-spacing: -0.01em;
}
.stat__num em {
  font-family: var(--f-accent); font-style: italic; color: var(--brass);
}
.stat__label {
  margin-top: 12px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft);
}
@media (max-width: 720px) {
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
}

/* Parallax layer for hero image */
.hero-media.has-parallax img { will-change: transform; }

/* Respect reduced-motion: kill all transforms/animations */
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; }
  .reveal--hidden { opacity: 1 !important; transform: none !important; }
  .reveal--shown, .reveal--shown > * { transition: none !important; transform: none !important; }
  .build-card:hover .build-card__media img { transform: none; }
}

/* Utilities --------------------------------------------------------------*/
.center { text-align: center; }
.spacer-l { height: clamp(56px, 7vw, 96px); }
.spacer-m { height: clamp(32px, 4vw, 56px); }

/* Credentials strip (CBP + PHTA badges) -----------------------------------*/
.creds {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 32px);
  flex-wrap: wrap;
  padding: clamp(28px, 4vw, 44px) 0 0;
  margin-top: clamp(32px, 4vw, 48px);
}
.creds__label, .creds__note {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-soft);
}
.creds__label { color: var(--brass); }
.creds__note { flex: 1; min-width: 220px; line-height: 1.7; }
.creds img {
  height: 60px; width: auto; border-radius: 6px;
  background: #fff; padding: 6px 10px;
  box-shadow: 0 2px 14px rgba(32,32,26,0.08);
}
@media (max-width: 600px) { .creds img { height: 48px; } }

/* Brass underline draw on section headings (premium, restrained) ----------*/
.s-head h2 em, .atelier__copy h2 em, .family-copy h2 em { position: relative; }

/* Image tint to unify mixed-source real photos ----------------------------*/
.build-card__media img, .living-row__media img, .atelier__photo img,
.family-photo img, .hero-media img { filter: saturate(1.02) contrast(1.02); }
