/* Yuva Homes — brand-faithful, Apple-HIG-informed polish. Tokens from design spec §3.1 */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F6F7F9;
  --ink: #1E1E20;
  --ink-body: #66696E;
  --line: #E0E2E6;
  --red: #E10000;
  --red-deep: #920B0A;
  --red-tint: rgba(225, 0, 0, .08);
  --navy: #132032;
  --charcoal: #242424;
  --wa: #25D366;
  --on-navy: #C6CCD4;
  --font-display: "Montserrat", Arial, sans-serif;
  --font-body: "Public Sans", system-ui, sans-serif;
  --font-tag: "Lora", Georgia, serif;
  --header-h: 76px;
  --header-h-scrolled: 62px;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow-1: 0 1px 2px rgba(19, 32, 50, .05), 0 6px 20px rgba(19, 32, 50, .06);
  --shadow-2: 0 2px 4px rgba(19, 32, 50, .06), 0 16px 40px rgba(19, 32, 50, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  width: 100%;
  background: var(--bg);
  color: var(--ink-body);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--ink); font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--red); }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--red); color: #fff; padding: 12px 20px; z-index: 100;
  font-weight: 600; text-decoration: none; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* Bulletproof container: explicit width math, longhand margins */
.container {
  width: min(1200px, 100% - 48px);
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
}

/* Kickers: deck-style uppercase labels with animated red roofline bar */
.kicker {
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700; line-height: 1;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--ink); margin: 0 0 16px; padding-bottom: 12px; position: relative;
}
.kicker::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
  transition: width .6s var(--ease) .15s;
}
.revealed .kicker::after, .kicker.revealed::after, .hero .kicker::after { width: 40px; }
.kicker-light { color: #FFFFFF; }

.section { padding-top: clamp(80px, 9vw, 132px); padding-bottom: clamp(80px, 9vw, 132px); scroll-margin-top: calc(var(--header-h) + 8px); }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); position: relative; overflow: hidden; }
.section-navy h2, .section-navy h3 { color: #FFFFFF; }
.section-navy p { color: var(--on-navy); }
.section-navy::after {
  content: ""; position: absolute; right: -8%; bottom: -30%; width: 46%; height: 90%;
  background: rgba(255, 255, 255, .035);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.section-head { max-width: 720px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head h2 { margin-bottom: 0; }
.section-cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.section-cta-center { justify-content: center; }
.sub-title { margin: 56px 0 28px; font-size: 1.35rem; }
.muted { color: var(--ink-body); font-size: .95rem; }
.focus-line { margin-top: 32px; font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: var(--ink); }

/* Buttons: pill, tactile feedback */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 30px;
  font-family: var(--font-display); font-size: .95rem; font-weight: 700; letter-spacing: .01em;
  text-decoration: none; border: 1px solid transparent; border-radius: 999px;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease),
              box-shadow .25s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--red); color: #FFFFFF; box-shadow: 0 6px 18px rgba(225, 0, 0, .22); }
.btn-primary:hover { background: var(--red-deep); box-shadow: 0 10px 26px rgba(146, 11, 10, .30); }
.btn-secondary { background: #FFFFFF; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--red); color: var(--red); box-shadow: var(--shadow-1); }
.btn-sm { min-height: 44px; padding: 10px 22px; font-size: .85rem; }
.btn-lg { min-height: 60px; padding: 18px 42px; font-size: 1.05rem; }

/* Cards: unified component, layered depth */
.card {
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-1);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-4px); border-color: #D2D4D8; }
.card h3 { margin-bottom: 10px; }
.card-cta { margin: 20px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }

/* Icon tile: the unifying component across steps, promises, pricing, promise-band */
.icon-tile {
  width: 52px; height: 52px; border-radius: 14px; background: var(--red-tint);
  display: grid; place-items: center; margin-bottom: 18px; color: var(--red);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.icon-tile svg { width: 26px; height: 26px; }
.card:hover .icon-tile { background: var(--red); color: #FFFFFF; transform: scale(1.05); }

/* Header: Apple-style material, condenses on scroll */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(224, 226, 230, .7);
  transition: height .3s var(--ease), box-shadow .3s var(--ease);
  height: var(--header-h);
}
.site-header.scrolled { height: var(--header-h-scrolled); box-shadow: 0 6px 24px rgba(19, 32, 50, .07); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand { display: inline-flex; flex-shrink: 0; }
.brand-svg { height: 36px; width: auto; transition: height .3s var(--ease); }
.scrolled .brand-svg { height: 30px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 28px; list-style: none; }
.site-nav ul a {
  font-family: var(--font-body); font-size: .92rem; font-weight: 600; color: var(--ink-body);
  text-decoration: none; padding: 8px 2px; position: relative;
  transition: color .25s var(--ease);
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav ul a:hover { color: var(--ink); }
.site-nav ul a:hover::after, .site-nav ul a.active::after { transform: scaleX(1); }
.site-nav ul a.active { color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { font-family: var(--font-display); font-size: .92rem; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; transition: color .25s var(--ease); }
.header-phone:hover { color: var(--red); }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
  transition: border-color .25s var(--ease);
}
.nav-toggle:hover { border-color: var(--red); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(72px, 8vw, 120px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -20%; right: -10%; width: 55%; height: 90%;
  background: radial-gradient(closest-side, rgba(225, 0, 0, .05), rgba(225, 0, 0, 0));
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 5vw, 72px); align-items: center; position: relative; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; margin-bottom: 20px; max-width: 34em; }
.accent-underline {
  background-image: linear-gradient(0deg, rgba(225, 0, 0, .16), rgba(225, 0, 0, .16));
  background-repeat: no-repeat; background-size: 100% .32em; background-position: 0 88%;
}
.project-strip {
  font-family: var(--font-display); font-size: .8rem; font-weight: 700; line-height: 1.7;
  text-transform: uppercase; letter-spacing: .12em; color: var(--ink-body); margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.stat-chips { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; }
.stat-chips li {
  position: relative; background: #FFFFFF; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px 10px 30px; font-family: var(--font-body); font-size: .85rem; font-weight: 600;
  color: var(--ink); box-shadow: var(--shadow-1);
}
.stat-chips li::before {
  content: ""; position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; background: var(--red);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
/* Staged hero entrance */
.hero-copy > * { animation: rise .7s var(--ease) both; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .12s; }
.hero-copy > *:nth-child(3) { animation-delay: .2s; }
.hero-copy > *:nth-child(4) { animation-delay: .28s; }
.hero-copy > *:nth-child(5) { animation-delay: .36s; }
.hero-copy > *:nth-child(6) { animation-delay: .44s; }
.hero-art { animation: rise .9s var(--ease) .25s both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Signature: roof-frame photo cut + gentle float */
.roof-frame { position: relative; margin: 0; animation: floaty 9s ease-in-out 1.2s infinite alternate; }
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.roof-frame img {
  width: 100%; border-radius: var(--radius);
  clip-path: polygon(0 0, 100% 0, 100% 84%, 84% 100%, 0 100%);
  box-shadow: var(--shadow-2);
}
.roof-frame::before {
  content: ""; position: absolute; z-index: -1; left: -18px; top: -18px;
  width: 38%; height: 30%; background: var(--navy);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.roof-frame::after {
  content: ""; position: absolute; z-index: -1; right: -18px; bottom: -18px;
  width: 44%; height: 34%; background: var(--red);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.photo-note { margin-top: 16px; font-size: .8rem; color: var(--ink-body); }

/* Steps: unified card row with connectors */
.steps { list-style: none; display: grid; gap: 22px; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
.steps li {
  position: relative; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-1);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.steps li:hover { box-shadow: var(--shadow-2); transform: translateY(-4px); border-color: #D2D4D8; }
.steps li + li::before {
  content: ""; position: absolute; left: -16px; top: 44px; width: 10px; height: 10px;
  border-top: 2px solid var(--red); border-right: 2px solid var(--red);
  transform: rotate(45deg); opacity: .55;
}
.steps .icon-tile { margin-bottom: 16px; }
.step-label {
  display: block; font-family: var(--font-display); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-body); margin-bottom: 6px;
}
.steps h3 { font-size: 1.06rem; margin-bottom: 8px; }
.steps p { font-size: .95rem; margin: 0; }

/* Owner promise cards */
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.promise-grid p { margin: 0; font-size: .95rem; }

/* Owner journey timeline */
.timeline { list-style: none; margin-top: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 34px; }
.timeline li { position: relative; padding-left: 58px; }
.tl-num {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow-1);
  font-family: var(--font-display); font-size: .95rem; font-weight: 700; color: var(--red);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.timeline li:hover .tl-num { background: var(--red); color: #FFFFFF; transform: scale(1.08); }
.timeline li::after {
  content: ""; position: absolute; left: 19px; top: 46px; bottom: -22px; width: 2px;
  background: linear-gradient(var(--line), rgba(224, 226, 230, 0));
}
.timeline li:nth-child(3n)::after, .timeline li:last-child::after { display: none; }
.timeline h3 { font-size: 1rem; margin: 8px 0 0; }

/* Residents */
.residents-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 5vw, 72px); align-items: start; }
.included-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; margin: 28px 0; }
.included-grid li {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--ink);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.included-grid li:hover { border-color: rgba(225, 0, 0, .35); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.included-grid svg { width: 22px; height: 22px; color: var(--red); flex-shrink: 0; }
.price-chip {
  display: inline-block; background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 20px;
  font-family: var(--font-body); font-size: .92rem; font-weight: 600; color: var(--ink); margin-bottom: 10px;
}
.roof-frame-small { margin-bottom: 34px; }

/* Locations */
.location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.location-card { padding: 0; overflow: hidden; }
.location-card .loc-media { position: relative; overflow: hidden; }
.location-card img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; transition: transform .6s var(--ease); }
.location-card:hover img { transform: scale(1.045); }
.loc-chip {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 999px; padding: 6px 14px;
  font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink);
}
.location-card h3 { margin: 22px 24px 14px; }
.spec-list { margin: 0 24px 24px; }
.spec-list div { border-top: 1px solid var(--line); padding: 10px 0; display: flex; gap: 12px; align-items: baseline; }
.spec-list dt {
  flex: 0 0 100px; font-family: var(--font-display); font-size: .68rem; font-weight: 700;
  line-height: 1.5; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-body);
}
.spec-list dd { margin: 0; font-family: var(--font-body); font-size: .92rem; font-weight: 600; color: var(--ink); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.type-list { list-style: none; margin: 0 0 16px; }
.type-list li { border-top: 1px solid var(--line); padding: 10px 0; font-size: .95rem; }
.type-list strong { color: var(--ink); font-family: var(--font-display); }

/* About / navy band */
.promise-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; }
.promise-grid-3 > div {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius); padding: 30px;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.promise-grid-3 > div:hover { background: rgba(255, 255, 255, .07); transform: translateY(-4px); }
.promise-grid-3 .icon-tile { background: var(--red); color: #FFFFFF; }
.promise-grid-3 > div:hover .icon-tile { background: #FFFFFF; color: var(--red); }
.promise-grid-3 p { font-size: .98rem; margin: 0; }
.identity-card {
  margin-top: 52px; background: #FFFFFF; border-radius: var(--radius); box-shadow: var(--shadow-2);
  padding: 34px; display: flex; gap: 30px; align-items: center; flex-wrap: wrap; position: relative;
}
.identity-mark { flex: 0 0 100px; }
.identity-mark svg { width: 100px; height: 50px; }
.identity-mark g rect { fill: #242424; }
.identity-mark polygon:last-of-type { fill: #242424; }
.identity-body { flex: 1 1 320px; }
.identity-body h3 { font-size: 1.45rem; margin-bottom: 4px; }
.role { font-size: .92rem; margin-bottom: 8px; }
.tagline { font-family: var(--font-tag); font-style: italic; font-weight: 500; font-size: 1.1rem; line-height: 1.4; color: var(--ink); margin-bottom: 12px; }
.identity-contact { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: .92rem; }
.identity-contact a { color: var(--ink-body); text-decoration: none; display: inline-block; padding: 4px 0; transition: color .25s var(--ease); }
.identity-contact a:hover { color: var(--red); }
/* White card inside navy band: restore dark ink (scoped above .section-navy overrides) */
.section-navy .identity-card h3 { color: var(--ink); }
.section-navy .identity-card p { color: var(--ink-body); }
.section-navy .identity-card .tagline { color: var(--ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 4vw, 52px); align-items: start; }
.contact-rows { list-style: none; display: grid; gap: 14px; }
.contact-rows a {
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #FFFFFF;
  padding: 16px 20px; text-decoration: none; min-height: 64px; box-shadow: var(--shadow-1);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-rows a:hover { border-color: rgba(225, 0, 0, .4); transform: translateX(4px); box-shadow: var(--shadow-2); }
.contact-rows .icon-tile { width: 40px; height: 40px; border-radius: 11px; margin: 0; flex-shrink: 0; }
.contact-rows .icon-tile svg { width: 20px; height: 20px; }
.contact-rows a:hover .icon-tile { background: var(--red); color: #FFFFFF; }
.row-label { font-family: var(--font-display); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-body); flex: 0 0 88px; }
.row-value { font-family: var(--font-body); font-size: .98rem; font-weight: 600; color: var(--ink); }
.checklist-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.checklist-card h3 { margin-bottom: 16px; }
.checklist-card ul { list-style: none; display: grid; gap: 14px; }
.checklist-card li { position: relative; padding-left: 32px; font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--ink); }
.checklist-card li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--red-tint); color: var(--red); font-weight: 800; font-size: .8rem;
  font-family: var(--font-display);
}

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 40px; padding-bottom: 44px; }
.brand-svg-light { height: 40px; width: auto; }
.footer-brand .tagline { color: #FFFFFF; margin-top: 14px; font-size: 1.2rem; }
.footer-nav ul { list-style: none; display: grid; gap: 10px; }
.footer-nav a, .footer-contact a {
  color: var(--on-navy); text-decoration: none; font-size: .95rem;
  display: inline-block; padding: 4px 0; transition: color .25s var(--ease), transform .25s var(--ease);
}
.footer-nav a:hover, .footer-contact a:hover { color: #FFFFFF; transform: translateX(3px); }
.footer-contact p { margin: 0 0 10px; font-size: .95rem; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px; padding-bottom: 22px; }
.footer-base p { margin: 0; font-size: .88rem; }

/* Floating WhatsApp with pulse */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(19, 32, 50, .3);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .5); animation: pulse 2.8s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 70% { transform: scale(1.5); opacity: 0; } 100% { opacity: 0; } }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.07); }
.wa-float.hidden { opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; }

/* Reveal motion with stagger */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.revealed { opacity: 1; transform: none; }
.promise-grid .reveal:nth-child(2), .steps .reveal:nth-child(2), .pricing-grid .reveal:nth-child(2), .location-grid .reveal:nth-child(2) { transition-delay: .08s; }
.promise-grid .reveal:nth-child(3), .steps .reveal:nth-child(3), .pricing-grid .reveal:nth-child(3), .location-grid .reveal:nth-child(3) { transition-delay: .16s; }
.promise-grid .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: .24s; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2);
    display: none; padding: 20px clamp(20px, 4vw, 32px) 26px;
    flex-direction: column; align-items: stretch; gap: 18px; margin-left: 0;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav ul a { display: block; padding: 13px 4px; font-size: 1.02rem; border-bottom: 1px solid var(--line); }
  .site-nav ul a::after { display: none; }
  .site-nav ul a.active { color: var(--red); }
  .header-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .header-phone { padding: 4px; }
}
@media (max-width: 1024px) {
  .hero-grid, .residents-grid, .contact-grid { grid-template-columns: 1fr; }
  .steps-4 { grid-template-columns: repeat(2, 1fr); }
  .steps li + li::before { display: none; }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-grid-3 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .location-card { display: grid; grid-template-columns: 42% 1fr; grid-template-rows: auto 1fr; }
  .location-card .loc-media { grid-column: 1; grid-row: 1 / span 2; }
  .location-card img { height: 100%; aspect-ratio: auto; }
  .location-card h3 { grid-column: 2; grid-row: 1; margin: 22px 24px 8px; }
  .location-card .spec-list { grid-column: 2; grid-row: 2; margin: 0 24px 24px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline li::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .steps-4, .steps-3, .promise-grid, .timeline, .included-grid { grid-template-columns: 1fr; }
  .section-cta .btn { width: 100%; }
  .row-label { flex-basis: 76px; }
  .identity-card { padding: 24px; }
  .location-card { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .location-card .loc-media { grid-column: 1; grid-row: 1; }
  .location-card img { aspect-ratio: 4 / 3; height: auto; }
  .location-card h3 { grid-column: 1; grid-row: 2; }
  .location-card .spec-list { grid-column: 1; grid-row: 3; }
  .footer-base { padding-bottom: 92px; }
  .hero::before { display: none; }
  .roof-frame-small::before { left: -10px; top: -10px; }
  .roof-frame-small::after { right: -10px; bottom: -10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-copy > *, .hero-art, .roof-frame { opacity: 1; transform: none; animation: none; transition: none; }
  .kicker::after { width: 40px; transition: none; }
  .wa-float::after { animation: none; opacity: 0; }
  .card, .steps li, .btn, .wa-float, .contact-rows a, .included-grid li, .tl-num, .icon-tile { transition: none; }
}
