/* ==========================================================================
   Ariyo Homes — design tokens
   ========================================================================== */
:root {
  --cream:        #F4F3EE;
  --cream-warm:   #FAFAF6;
  --cream-bright: #F7F6F1;
  --ink:          #1C1C18;
  --ink-soft:     #56564D;
  --ink-faint:    #6B6B60;

  --olive:        #4A5227;
  --olive-hover:  #5E682F;
  --olive-band:   #3F4722;
  --olive-text:   #2B301A;
  --olive-mute:   #6B7040;
  --sage:         #9AA86A;
  --sage-light:   #C9D48A;
  --sage-paper:   #EDEFDF;

  --dark:         #14160F;
  --dark-footer:  #1B1E14;

  --line:         #E4E3D9;
  --line-strong:  #DDDCD1;
  --line-input:   #C9C8BC;
  --line-btn:     #9A9A8C;

  --font-display: Barlow, "Helvetica Neue", Arial, sans-serif;
  --font-body:    Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter:       clamp(20px, 4.4vw, 56px);
  --header-h:     92px;
  --ease:         cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--olive); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--sage-light);
  outline-offset: 3px;
}

[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 200;
  background: var(--olive);
  color: var(--cream);
  padding: 12px 20px;
  font-family: var(--font-display);
  letter-spacing: .14em;
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ==========================================================================
   Typography helpers
   ========================================================================== */
.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--olive);
  text-transform: uppercase;
}
.eyebrow--rule {
  align-self: flex-start;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--olive);
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.1;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .16em;
  padding: 20px 38px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
/* letter-spacing adds a trailing gap after the final character, which drags
   the label visually left of centre; half a letter-space back corrects it */
.btn { text-indent: .08em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--solid   { background: var(--olive); color: var(--cream); }
.btn--solid:hover { background: var(--olive-hover); color: var(--cream); }

.btn--ghost   { border-color: rgba(244,243,238,.75); color: var(--cream-bright); }
.btn--ghost:hover { background: rgba(244,243,238,.14); color: #fff; }

.btn--outline { border-color: var(--line-btn); color: var(--olive-text); }
.btn--outline:hover { background: var(--olive); border-color: var(--olive); color: var(--cream); }

.btn--sm { padding: 15px 28px; font-size: 14px; letter-spacing: .14em; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease),
              backdrop-filter .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(20,22,15,.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(244,243,238,.12);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--gutter);
  min-height: var(--header-h);
}

.brand { color: var(--cream); flex: none; }
.brand__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 38px);
  letter-spacing: .18em;
  line-height: 1;
}
.brand__sub {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(11px, 1vw, 14px);
  letter-spacing: .42em;
}
.brand__sub i { flex: 1; height: 1px; background: rgba(244,243,238,.5); }
.brand__sub--plain { display: block; letter-spacing: .42em; font-size: 12px; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 26px);
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .14em;
  color: rgba(244,243,238,.86);
}
.nav__link {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.nav__link:hover { color: var(--sage-light); }
.nav__link.is-active { color: var(--sage-light); border-bottom-color: var(--sage-light); }
.nav__cta { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}

/* Language switcher */
.lang { position: relative; }
.lang__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  color: rgba(244,243,238,.86);
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .14em;
  transition: color .2s var(--ease);
}
.lang__toggle:hover { color: var(--sage-light); }
.lang__toggle svg { transition: transform .2s var(--ease); }
.lang.is-open .lang__toggle svg { transform: rotate(180deg); }

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 148px;
  background: var(--cream-warm);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(20,22,15,.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 13px 18px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.lang__menu button:hover,
.lang__menu button[aria-current="true"] { background: var(--olive); color: var(--cream); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 1.5px;
  width: 24px;
  margin: 0 auto;
  background: var(--cream);
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(600px, 92vh, 860px);
  display: flex;
  background: var(--dark);
  isolation: isolate;
}
.hero__picture { display: contents; }
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 55%;
  z-index: -2;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg,
    rgba(12,14,9,.86) 0%,
    rgba(12,14,9,.62) 34%,
    rgba(12,14,9,.10) 66%,
    rgba(12,14,9,.28) 100%);
}

.hero__inner {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: calc(var(--header-h) + 40px) var(--gutter) 96px;
}

.hero__copy { max-width: 620px; }
.hero__copy h1 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--cream-bright);
}
.hero__tagline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 2.7vw, 33px);
  letter-spacing: .12em;
  color: var(--sage);
  margin-top: 14px;
}
.hero__lead {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.65;
  color: rgba(244,243,238,.84);
  max-width: 430px;
  margin-top: 28px;
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 40px;
}

/* Pinned to the hero's lower-right rather than riding the vertical centre. */
.hero__badge {
  position: absolute;
  right: clamp(24px, 8vw, 104px);
  bottom: clamp(32px, 7vh, 76px);
  width: 208px;
  height: 208px;
  border-radius: 50%;
  background: rgba(74,82,39,.86);
  border: 1px solid rgba(201,212,138,.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: .14em;
  line-height: 1.5;
  color: #F0F2E2;
}

/* ==========================================================================
   Feature strip
   ========================================================================== */
.features { background: var(--olive-band); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 8px clamp(8px, 1.6vw, 24px);
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 38px clamp(16px, 1.8vw, 26px);
  border-right: 1px solid rgba(237,239,223,.2);
}
.feature:last-child { border-right: none; }
.feature svg { flex: none; width: 46px; height: 46px; }
.feature h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .12em;
  color: #F2F3E6;
  margin-bottom: 9px;
}
.feature p {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(237,239,223,.78);
}

/* ==========================================================================
   Split: about + delivery
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr) minmax(0,.85fr);
  background: var(--cream);
}
.split__text {
  display: flex;
  flex-direction: column;
  /* top-aligned so the eyebrow labels in both panels sit on one line */
  justify-content: flex-start;
  /* tighter at the top so the label + heading sit higher in the panel */
  padding: clamp(30px, 3.2vw, 42px) clamp(24px, 3.4vw, 46px) clamp(48px, 5vw, 66px);
}
.split__text--alt { background: var(--cream-warm); }

.split__text h2 {
  font-weight: 600;
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.28;
  margin-top: 28px;
  text-wrap: pretty;
}
.split__text--alt h2 { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.32; margin-top: 22px; }
.split__text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-top: 22px;
  /* keeps daylight above the button even when auto margin has none to spare */
  margin-bottom: 34px;
  max-width: 340px;
  text-wrap: pretty;
}
/* auto pushes the button to the foot of the panel, so the buttons in both
   halves of the split line up regardless of how much text sits above */
.split__text .btn { align-self: flex-start; margin-top: auto; }
.split__text--alt .eyebrow {
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--olive-mute);
}

.split__media { position: relative; min-height: 340px; }
.split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Stats
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--olive);
  color: var(--sage-paper);
}
.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 32px clamp(18px, 3vw, 46px);
  border-right: 1px solid rgba(237,239,223,.22);
  text-align: left;
}
.stat:last-child { border-right: none; }
.stat svg { flex: none; width: 38px; height: 38px; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: .04em;
}
.stat span { font-size: 14px; color: rgba(237,239,223,.84); }
.stat__plain { font-size: 16px; line-height: 1.45; color: var(--sage-paper) !important; }

/* ==========================================================================
   Section head (shared)
   ========================================================================== */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.section-head .display {
  font-size: clamp(32px, 4.2vw, 52px);
  margin-top: 14px;
}
.section-head__lead {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 380px;
  text-wrap: pretty;
}

/* ==========================================================================
   Models
   ========================================================================== */
.models { padding: clamp(64px, 7vw, 96px) var(--gutter) 20px; }
.models__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: clamp(36px, 4vw, 52px);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--cream-warm);
  border: 1px solid var(--line);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover {
  border-color: var(--olive);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(28,28,24,.10);
}
.card__media { position: relative; height: 250px; overflow: hidden; }
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.card:hover .card__media > img { transform: scale(1.045); }

/* --- Card gallery: swipe / scroll between photos --------------------------- */
.slides {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}
.slides::-webkit-scrollbar { display: none; }
.slides > img {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  transition: none;
}
.slides:focus-visible { outline: 2px solid var(--sage-light); outline-offset: -4px; }

.slides-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(20,22,15,.55);
  color: var(--cream);
  cursor: pointer;
  opacity: 0;
  transition: opacity .25s var(--ease), background-color .25s var(--ease);
}
.slides-nav--prev { left: 12px; }
.slides-nav--next { right: 12px; }
.slides-nav:hover { background: rgba(20,22,15,.8); }
.slides-nav[disabled] { opacity: 0 !important; pointer-events: none; }
.card:hover .slides-nav,
.slides-nav:focus-visible { opacity: 1; }

.slides-dots {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 7px;
  pointer-events: none;
}
.slides-dots button {
  pointer-events: auto;
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(244,243,238,.5);
  cursor: pointer;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.slides-dots button[aria-current="true"] {
  background: var(--cream);
  transform: scale(1.35);
}

/* Touch devices get swipe; the arrows would only cover the photo. */
@media (hover: none) {
  .slides-nav { display: none; }
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  padding: 26px clamp(20px, 2.2vw, 30px) 30px;
}
.card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.card__head h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 27px);
  letter-spacing: .08em;
}
.card__area {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: .06em;
  color: var(--olive);
  white-space: nowrap;
}
.card__body p { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }
.card__meta {
  display: flex;
  gap: 22px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--ink-faint);
}

/* ==========================================================================
   Process
   ========================================================================== */
.process { padding: clamp(64px, 7vw, 96px) var(--gutter); }
.process__inner {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(0, 2fr);
  gap: clamp(36px, 4.4vw, 60px);
  padding-top: clamp(36px, 4vw, 56px);
  border-top: 1px solid var(--line-strong);
}
.process__head .display { font-size: clamp(30px, 3.6vw, 44px); margin-top: 14px; }

.process__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 34px;
}
.step { display: flex; flex-direction: column; gap: 12px; }
.step__num {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .2em;
  color: var(--line-btn);
}
.step h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  letter-spacing: .08em;
  padding-top: 18px;
  border-top: 1px solid var(--olive);
}
.step p { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }

/* ==========================================================================
   Layouts CTA
   ========================================================================== */
.cta {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  background: var(--dark);
  isolation: isolate;
}
/* The photo is portrait-ish, so it is anchored to the right half rather than
   stretched across the band — full-bleed cover would crop it to a wall. */
.cta__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(66%, 1100px);
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  z-index: -2;
}
.cta__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(95deg,
    rgba(12,14,9,1) 30%,
    rgba(12,14,9,.55) 52%,
    rgba(12,14,9,.12) 78%,
    rgba(12,14,9,.28) 100%);
}
.cta__inner {
  padding: clamp(64px, 7vw, 88px) var(--gutter);
  max-width: 680px;
}
.cta__inner .display { font-size: clamp(30px, 4vw, 50px); color: var(--cream-bright); line-height: 1.06; }
.cta__inner p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(244,243,238,.84);
  margin-top: 24px;
  max-width: 470px;
  text-wrap: pretty;
}
.cta__inner .btn { margin-top: 34px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { padding: clamp(64px, 7vw, 96px) var(--gutter); background: var(--cream-warm); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact__intro .display { font-size: clamp(30px, 3.7vw, 46px); margin-top: 14px; }
.contact__intro p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-top: 22px;
  max-width: 400px;
  text-wrap: pretty;
}
.contact__list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 36px;
  font-size: 15.5px;
  color: var(--olive-text);
}
.contact__list a { transition: color .2s var(--ease); }
.contact__list a:hover { color: var(--olive-hover); text-decoration: underline; text-underline-offset: 4px; }
.contact__list span { color: var(--ink-soft); }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 20px;
}
.field { display: flex; flex-direction: column; }
.field--wide { grid-column: 1 / -1; }
/* Labels stay in the layout (no shift) and fade in once the field is in use. */
.field label {
  font-family: var(--font-display);
  font-size: 11.5px;
  line-height: 16px;
  height: 16px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 2px;
  opacity: 0;
  transition: opacity .2s var(--ease);
}
.field:focus-within label,
.field.has-value label { opacity: 1; }

.field input,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-input);
  padding: 15px 2px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); opacity: .85; }
.field input:focus,
.field textarea:focus { border-bottom-color: var(--olive); }
.field.is-invalid input,
.field.is-invalid textarea { border-bottom-color: #A63D2F; }

.field__error {
  font-size: 12.5px;
  color: #A63D2F;
  margin-top: 6px;
  min-height: 0;
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__submit { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
.form__submit[disabled] { opacity: .6; cursor: default; transform: none; }
.form__status {
  grid-column: 1 / -1;
  font-size: 14.5px;
  color: var(--olive);
  min-height: 1.2em;
}
.form__status.is-error { color: #A63D2F; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--dark-footer);
  color: rgba(244,243,238,.72);
  padding: clamp(44px, 5vw, 56px) var(--gutter) 36px;
}
.site-footer a { transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--sage-light); }

.site-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(244,243,238,.16);
}
.brand--footer .brand__name { font-size: 30px; }

.site-footer__cols {
  display: flex;
  gap: clamp(32px, 5vw, 64px);
  flex-wrap: wrap;
  font-size: 14.5px;
}
.site-footer__cols > div { display: flex; flex-direction: column; gap: 11px; }
.site-footer__label {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--sage);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 13px;
  color: rgba(244,243,238,.5);
}

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .hero__badge { width: 176px; height: 176px; font-size: 15px; bottom: clamp(28px, 6vh, 60px); }
  .hero__badge svg { width: 28px; height: 28px; }
}

@media (max-width: 1100px) {
  .features__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature:nth-child(3n) { border-right: none; }
  .feature:nth-child(-n+3) { border-bottom: 1px solid rgba(237,239,223,.2); }

  .split { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .split__media { min-height: 320px; }

  .models__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process__inner { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  :root { --header-h: 76px; }

  .burger { display: flex; }
  .header-cta { display: none; }
  .site-header.is-open { background: rgba(20,22,15,.97); backdrop-filter: blur(8px); }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(20,22,15,.98);
    backdrop-filter: blur(10px);
    padding: 8px var(--gutter) 28px;
    border-top: 1px solid rgba(244,243,238,.12);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link {
    padding: 17px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(244,243,238,.1);
  }
  .nav__link.is-active { border-bottom-color: rgba(244,243,238,.1); }
  .nav__cta { display: flex; margin-top: 24px; }

  .hero__badge { display: none; }
  .hero__inner { padding-bottom: 72px; }

  /* The diagonal scrim only darkens the left edge; narrow screens need the
     copy readable across the whole width. */
  .hero__scrim {
    background: linear-gradient(180deg,
      rgba(12,14,9,.80) 0%,
      rgba(12,14,9,.60) 42%,
      rgba(12,14,9,.74) 100%);
  }
}

@media (max-width: 860px) {
  .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { border-right: 1px solid rgba(237,239,223,.2); border-bottom: 1px solid rgba(237,239,223,.2); }
  .feature:nth-child(2n) { border-right: none; }
  .feature:last-child { border-right: none; border-bottom: none; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(237,239,223,.22); }
  .stat { justify-content: flex-start; }

  .contact__grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }

  .cta { min-height: 480px; }
  .cta__bg { width: 100%; object-position: 58% 46%; }
  .cta__scrim {
    background: linear-gradient(180deg, rgba(12,14,9,.94) 12%, rgba(12,14,9,.72) 55%, rgba(12,14,9,.55) 100%);
  }
  .split__media { min-height: 280px; height: 56vw; max-height: 380px; }
  .split__text p { max-width: none; }
}

@media (max-width: 680px) {
  /* The hero photo is 2.7:1, so filling a tall phone screen with `cover` would
     crop it to a sliver of wall. Stack instead: copy on the dark ground, then
     the photo at its own aspect ratio so the whole house is visible. */
  .hero {
    min-height: 0;
    flex-direction: column;
    background: var(--dark);
  }
  .hero__scrim { display: none; }
  .hero__inner {
    display: block;
    padding: calc(var(--header-h) + 34px) var(--gutter) 36px;
  }
  .hero__copy { max-width: none; }

  /* Back into the flow, bled out to the screen edges past the gutter. */
  .hero__bg {
    position: static;
    display: block;
    width: calc(100% + var(--gutter) * 2);
    max-width: none; /* overrides the global img { max-width: 100% } */
    margin: 32px calc(var(--gutter) * -1) 0;
    height: auto;
    aspect-ratio: 1080 / 636;
    object-fit: cover;
    object-position: center;
    z-index: auto;
  }
  .hero__actions { margin-top: 32px; }

  .features__grid { grid-template-columns: 1fr; padding: 4px 0; }
  .feature { border-right: none; border-bottom: 1px solid rgba(237,239,223,.2); padding: 28px var(--gutter); }
  .feature:last-child { border-bottom: none; }

  .models__grid { grid-template-columns: 1fr; gap: 22px; }
  .card__media { height: 220px; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section-head__lead { max-width: none; }

  .process__steps { grid-template-columns: 1fr; gap: 26px; }

  .hero__actions .btn { flex: 1 1 100%; }
  .btn { padding: 17px 30px; font-size: 14px; }

  .form { grid-template-columns: 1fr; }
  .form__submit { width: 100%; justify-self: stretch; }

  .site-footer__cols { gap: 28px; width: 100%; }
  .site-footer__cols > div { flex: 1 1 140px; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(237,239,223,.22); }
  .stat:last-child { border-bottom: none; }
}

/* ==========================================================================
   Motion / print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .burger, .lang, .hero__scrim, .cta__scrim { display: none !important; }
  body { background: #fff; color: #000; }
}

/* --- Card spec list (size / area / price) --------------------------------- */
.card__specs {
  display: flex;
  flex-direction: column;
  gap: 9px;
  /* auto keeps the block pinned to the bottom of the card, the job the
     rooms row used to do */
  margin: auto 0 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.4;
}
.card__specs > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.card__specs dt { color: var(--ink-faint); }
.card__specs dd {
  margin: 0;
  text-align: right;
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
}
.card__specs .is-price dd {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--olive);
}

/* The line break is explicit, so max-content sizes the box to its widest
   line — the rule then stops exactly where that line's text ends instead of
   running on to the full column width. */
.split__text--alt .eyebrow--rule {
  width: max-content;
  max-width: 100%;
}

/* Hand-drawn marker ring around the promotional price. Drawn in CSS rather
   than markup so switching language (which rewrites the text) keeps it. */
.card__specs .is-price dd {
  position: relative;
  z-index: 0;
}
.card__specs .is-price dd::before {
  content: "";
  position: absolute;
  inset: -7px -13px;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 60' preserveAspectRatio='none'%3E%3Cpath d='M138 14C120 5 60 3 30 12 8 19 6 38 30 47c30 10 95 8 118-5 14-8 10-24-16-32' fill='none' stroke='%237A8A46' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transform: rotate(-1.2deg);
  pointer-events: none;
}
