/* Harbor Lane Properties
   Layout and type from the Homevio Framer build; colour is our own:
   white + green-tinted grey surfaces, deep green-black ink, forest green actions, sage details,
   Open Sans 600 display with tight tracking, Inter for body and UI, square corners. */

:root {
  --white: #ffffff;
  --bg: #ffffff;
  --surface: #f5f5f5;
  --surface-2: #ededed;
  --line: #e8e8e8;
  --ink: #1a1a1a;
  --ink-2: #707070;
  --muted: #999999;
  --green: #1a1a1a;
  --green-press: #333333;
  --sage: #8a8a8a;
  --sage-light: #d6d6d6;
  --sage-soft: #efefef;
  
  --error: #c23b2a;
  --focus: #1a1a1a;

  --font-display: "Open Sans", ui-sans-serif, system-ui, sans-serif;
  --font-logo: "Bricolage Grotesque", "Open Sans", ui-sans-serif, sans-serif;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Type scale from the reference: 14 / 16 / 18 / 20 / 24 / 28 / 36 / 40 / 52 / 64 */
  --t-xs: 0.875rem;
  --t-sm: 1rem;
  --t-md: 1.125rem;
  --t-lg: 1.25rem;
  --t-xl: 1.5rem;
  --t-2xl: clamp(1.5rem, 1vw + 1.2rem, 1.75rem);
  --t-3xl: clamp(1.9rem, 1.6vw + 1.3rem, 2.5rem);
  --t-4xl: clamp(2.3rem, 2.6vw + 1.3rem, 3.25rem);
  --t-5xl: clamp(2.6rem, 4vw + 1.2rem, 4rem);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --z-sticky: 10;
  --z-skip: 20;

  --gutter: clamp(16px, 5vw, 110px);
  --max: 1440px;
  --header-h: 72px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--t-sm)/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 {
  margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--ink);
  text-wrap: balance;
}
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--sage-light); color: var(--ink); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: var(--z-skip);
  background: var(--ink); color: var(--white); padding: 10px 14px; text-decoration: none;
  transition: top 160ms var(--ease-out);
}
.skip:focus { top: 12px; }

/* Display headings: Open Sans 600, tight tracking as size grows */
.h-display { font-size: var(--t-5xl); line-height: 1.08; letter-spacing: -0.055em; }
.h-section { font-size: var(--t-4xl); line-height: 1.1; letter-spacing: -0.05em; }
.h-sub { font-size: var(--t-xl); line-height: 1.25; letter-spacing: -0.03em; }
.lede { font-size: var(--t-md); line-height: 1.6; color: var(--ink-2); max-width: 52ch; }

/* ---------- Buttons: square, white or ink, arrow nudges on hover ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 22px;
  font: 500 var(--t-md)/1 var(--font); letter-spacing: -0.02em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-radius: 0; cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn .arrow { width: 20px; height: 20px; flex: none; transition: transform 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .btn:hover .arrow { transform: translateX(4px); } }
.btn-white { background: var(--white); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn-white:hover { background: var(--surface); } }
.btn-ink { background: var(--green); color: var(--white); }
@media (hover: hover) and (pointer: fine) { .btn-ink:hover { background: var(--green-press); } }
.btn-line { background: var(--white); color: var(--ink); border-color: var(--line); }
@media (hover: hover) and (pointer: fine) { .btn-line:hover { border-color: var(--ink); } }
.btn-ghost { background: transparent; color: var(--white); border-color: rgb(255 255 255 / 0.45); }
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { border-color: var(--white); background: rgb(255 255 255 / 0.08); } }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: var(--t-sm); }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { opacity: 0.6; pointer-events: none; }

/* ---------- Header: floats over the hero, turns to frosted white on scroll ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-sticky); height: var(--header-h);
  color: var(--white);
  transition: background-color 300ms ease, color 300ms ease, box-shadow 300ms ease, backdrop-filter 300ms ease;
}
.site-header.solid {
  color: var(--ink);
  background: rgb(255 255 255 / 0.82);
  backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%);
  box-shadow: 0 1px 0 var(--line);
}
@media (prefers-reduced-transparency: reduce) { .site-header.solid { background: var(--white); backdrop-filter: none; } }
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-mark .roof { stroke: var(--sage-light); transition: stroke 300ms ease; }
.site-header.solid .brand-mark .roof, .page-plain .brand-mark .roof { stroke: var(--sage); }
.brand-name { display: inline-flex; flex-direction: column; gap: 3px; font: 700 1.3rem/0.9 var(--font-logo); letter-spacing: -0.045em; white-space: nowrap; font-variation-settings: "opsz" 48; }
.brand-name small { font: 600 0.58rem/1 var(--font); letter-spacing: 0.32em; text-transform: uppercase; opacity: 0.7; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { text-decoration: none; font-size: var(--t-sm); font-weight: 500; letter-spacing: -0.02em; opacity: 0.85; transition: opacity 160ms ease; }
@media (hover: hover) and (pointer: fine) { .nav a:not(.btn):hover { opacity: 1; } }
.site-header .btn { background: var(--white); color: var(--ink); }
.site-header.solid .btn { background: var(--green); color: var(--white); }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }

/* ---------- Hero: full-bleed photo, copy bottom-left, form card right ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: #1f1f1f; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 0.45) 0%, rgb(0 0 0 / 0) 22%),
    linear-gradient(0deg, rgb(10 10 10 / 0.78) 0%, rgb(10 10 10 / 0.25) 55%, rgb(10 10 10 / 0.1) 100%);
}
.hero-inner {
  position: relative; padding-right: clamp(0px, 14vw, 220px); z-index: 1; width: 100%;
  display: block;
  padding-block: calc(var(--header-h) + 48px) clamp(40px, 6vw, 72px);
}
.hero h1 { color: var(--white); max-width: 14ch; }
.hero .lede { color: rgb(255 255 255 / 0.82); margin-top: 20px; max-width: 40ch; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.promises { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; }
.promises li { padding: 0 24px; border-left: 1px solid rgb(255 255 255 / 0.3); font-size: var(--t-sm); color: rgb(255 255 255 / 0.9); }
.promises li:first-child { padding-left: 0; border-left: 0; }
.promises strong { display: block; font: 600 var(--t-xl)/1.2 var(--font-display); letter-spacing: -0.04em; color: var(--white); }
@media (max-width: 1000px) {
  .hero { min-height: auto; display: block; }
  .hero-inner { padding-top: calc(var(--header-h) + 40vh); }
}
@media (max-width: 560px) { .promises li { padding: 0 14px; } .promises strong { font-size: var(--t-md); } }

/* ---------- Trust seal (gold, factual: registration + no fees) ---------- */
.seal { position: relative; flex: none; border-radius: 50%; }
.seal svg { display: block; width: 100%; height: 100%; font-family: var(--font); overflow: visible; }
.seal::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgb(212 175 90 / 0.28), transparent 70%);
}
.seal svg { filter: drop-shadow(0 18px 30px rgb(0 0 0 / 0.38)) drop-shadow(0 2px 3px rgb(0 0 0 / 0.3)); }
.seal::after {
  /* specular sweep that makes the metal read as real */
  content: ""; position: absolute; inset: 3px; border-radius: 50%; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgb(255 255 255 / 0.35) 48%, transparent 60%);
  background-size: 250% 100%; background-position: 100% 0; mix-blend-mode: soft-light;
  animation: sheen 6s var(--ease-out) 1.2s infinite;
}
@keyframes sheen { 0%, 60% { background-position: 100% 0; } 100% { background-position: -150% 0; } }
.seal-ring { transform-origin: 100px 100px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.seal-hero { position: absolute; right: var(--gutter); bottom: clamp(40px, 6vw, 72px); width: clamp(120px, 11vw, 168px); aspect-ratio: 1; z-index: 2; }
@media (max-width: 1000px) { .seal-hero { position: absolute; top: calc(var(--header-h) + 24px); bottom: auto; width: 112px; } }
.footer-brandcol { display: flex; gap: 24px; align-items: flex-start; }
.seal-footer { width: 104px; aspect-ratio: 1; }
@media (max-width: 480px) { .footer-brandcol { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { .seal-ring, .seal::after { animation: none; } }

/* ---------- Offer section ---------- */
.offer-band { background: var(--white); }
.offer-grid { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: clamp(40px, 6vw, 112px); align-items: start; }
@media (max-width: 960px) { .offer-grid { grid-template-columns: 1fr; } }
.offer-intro { position: sticky; top: calc(var(--header-h) + 40px); }
@media (max-width: 960px) { .offer-intro { position: static; } }
.offer-intro .lede { margin-top: 18px; }
.assure { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.assure li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.assure li::before { content: ""; width: 18px; height: 2px; background: var(--sage); flex: none; }

/* ---------- Offer form card ---------- */
.offer { background: var(--surface); color: var(--ink); padding: clamp(24px, 3vw, 40px); }
.offer .field input, .offer .field select, .offer .field textarea { background: var(--white); }
.offer h2 { font-size: var(--t-2xl); line-height: 1.15; letter-spacing: -0.04em; }
.offer-lede { margin-top: 6px; color: var(--ink-2); font-size: var(--t-xs); }
.fields { margin-top: 20px; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
@media (max-width: 480px) { .fields { grid-template-columns: 1fr; } }
.field label { font-size: var(--t-xs); font-weight: 500; }
.field .opt { color: var(--ink-2); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; border-radius: 0;
  font: 400 var(--t-sm)/1.4 var(--font); color: var(--ink);
  background: var(--surface); border: 1px solid transparent;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.field textarea { min-height: 76px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-2); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--error); background: var(--white); }
.field-error { font-size: 0.82rem; color: var(--error); }
.field-error:empty { display: none; }
/* Custom select: matches the inputs, no native browser menu */
.select { position: relative; }
.select-btn {
  width: 100%; min-height: 48px; padding: 11px 13px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font: 400 var(--t-sm)/1.4 var(--font); color: var(--ink); text-align: left; cursor: pointer;
  background: var(--white); border: 1px solid transparent; border-radius: 0;
  transition: border-color 160ms ease;
}
.select-btn:focus-visible, .select-btn[aria-expanded="true"] { outline: none; border-color: var(--ink); }
.select-btn[aria-invalid="true"] { border-color: var(--error); }
.select-btn.empty .select-value { color: var(--ink-2); }
.select-btn .chev { width: 18px; height: 18px; flex: none; transition: transform 200ms var(--ease-out); }
.select-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.select-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5; margin: 0; padding: 6px; list-style: none;
  background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 40px -16px rgb(0 0 0 / 0.25);
  transform-origin: top center; outline: none;
  opacity: 1; transform: none; transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.select-list[hidden] { display: block; visibility: hidden; opacity: 0; transform: translateY(-4px) scale(0.98); pointer-events: none; }
.select-list li { padding: 11px 12px; cursor: pointer; font-size: var(--t-sm); display: flex; justify-content: space-between; align-items: center; }
.select-list li.active { background: var(--surface); }
.select-list li[aria-selected="true"] { font-weight: 600; }
.select-list li[aria-selected="true"]::after { content: ""; width: 10px; height: 5px; border: solid var(--ink); border-width: 0 0 2px 2px; transform: translateY(-2px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .select-list, .select-btn .chev { transition: none; } }

.consent { margin-top: 16px; display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.consent label { font-size: 0.78rem; line-height: 1.5; color: var(--ink-2); }
.consent a { color: var(--ink); }
.offer .btn { margin-top: 18px; }
.form-note { margin-top: 10px; font-size: 0.8rem; color: var(--ink-2); text-align: center; }

/* ---------- Sections ---------- */
section { padding-block: clamp(72px, 9vw, 128px); }

/* Statement: words darken as you scroll through it (Homevio signature) */
.statement { background: var(--surface); }
.statement p {
  font: 600 var(--t-3xl)/1.25 var(--font-display); letter-spacing: -0.045em;
  text-align: center; max-width: 30ch; margin-inline: auto; color: var(--ink);
}
.js .statement .w { color: var(--muted); transition: color 300ms ease; }
.js .statement .w.on { color: var(--ink); }

/* How it works: heading + photo, steps as a numbered row */
.how-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.how-head .h-section { max-width: 14ch; }
.how-photo { margin-top: 48px; aspect-ratio: 21 / 9; overflow: hidden; background: var(--surface-2); }
.how-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .how-photo { aspect-ratio: 4 / 3; } }
.steps { margin: 48px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); counter-reset: s; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; border-top: 1px solid var(--ink); padding-top: 20px; }
.steps li::before { content: "0" counter(s); font: 600 var(--t-sm)/1 var(--font-display); color: var(--green); letter-spacing: 0; }
.steps h3 { margin-top: 14px; font-size: var(--t-xl); letter-spacing: -0.035em; line-height: 1.25; }
.steps p { margin-top: 8px; color: var(--ink-2); max-width: 36ch; }

/* Compare: two route cards, ours raised in ink */
.compare-band { background: var(--surface); overflow: hidden; }
.compare-title { max-width: 22ch; }
.compare-lede { margin-top: 16px; }
.routes { margin-top: 56px; display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; }
@media (max-width: 860px) { .routes { grid-template-columns: 1fr; gap: 16px; } .route-us { order: -1; } }
.route { padding: clamp(28px, 3.4vw, 48px); }
.route header { padding-bottom: 24px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.route-kicker { font-size: var(--t-xs); font-weight: 500; color: var(--ink-2); }
.route h3 { margin-top: 6px; font-size: var(--t-2xl); line-height: 1.15; letter-spacing: -0.045em; }
.route ul { list-style: none; margin: 0; padding: 0; }
.route li { display: grid; grid-template-columns: 24px 1fr; gap: 16px; align-items: start; padding: 18px 0; }
.route li + li { border-top: 1px solid var(--line); }
.route .ic { width: 24px; height: 24px; margin-top: 2px; }
.route .k { display: block; font-size: var(--t-xs); color: var(--ink-2); }
.route .v { display: block; margin-top: 2px; font-size: var(--t-md); line-height: 1.35; letter-spacing: -0.015em; }

.route-agent { background: var(--white); border: 1px solid var(--line); color: var(--ink-2); }
@media (min-width: 861px) { .route-agent { border-right: 0; } }
.route-agent h3 { color: var(--ink-2); }
.route-agent .ic { color: #b9b9b9; }
.route-agent .v { color: var(--ink-2); }

.route-us {
  --ic-ink: #111111;
  position: relative; color: var(--white);
  background:
    radial-gradient(120% 80% at 100% 0%, rgb(255 255 255 / 0.09), transparent 55%),
    linear-gradient(160deg, #262626 0%, #121212 100%);
  box-shadow: 0 40px 80px -36px rgb(0 0 0 / 0.55), 0 1px 0 rgb(255 255 255 / 0.08) inset;
  padding-block: clamp(36px, 4.4vw, 64px);
}
.route-us header { border-color: rgb(255 255 255 / 0.14); }
.route-us .route-kicker { color: rgb(255 255 255 / 0.6); }
.route-us h3 { color: var(--white); font-size: var(--t-3xl); }
.route-us li + li { border-color: rgb(255 255 255 / 0.1); }
.route-us .ic { color: var(--white); }
.route-us .k { color: rgb(255 255 255 / 0.55); }
.route-us .v { color: var(--white); font-weight: 600; font-size: var(--t-lg); }
.route-us .btn { margin-top: 28px; }

/* Situations: grey panel + photo, Homevio "Discover" split */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-panel { background: var(--surface); padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.split-panel .lede { margin-top: 18px; }
.split-photo { min-height: 520px; overflow: hidden; background: var(--surface-2); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split-photo { min-height: 0; aspect-ratio: 4 / 3; } }
.chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 9px 14px; background: var(--white); font-size: var(--t-xs); font-weight: 500; }

/* Where we buy + ticker */
.area-states { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 680px) { .area-states { grid-template-columns: 1fr; } }
.area-state { background: var(--surface); padding: clamp(28px, 3vw, 44px); }
.area-state h3 { font-size: var(--t-3xl); letter-spacing: -0.05em; line-height: 1.1; }
.area-state p { margin-top: 10px; color: var(--ink-2); max-width: 40ch; }
.ticker {
  margin-top: 64px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; width: max-content; gap: 56px; animation: ticker 48s linear infinite; }
.ticker-track span { font: 600 var(--t-4xl)/1.1 var(--font-display); letter-spacing: -0.055em; color: var(--surface-2); white-space: nowrap; }
@keyframes ticker { to { transform: translateX(calc(-50% - 28px)); } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-grid .lede { margin-top: 18px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font: 600 var(--t-lg)/1.3 var(--font-display); letter-spacing: -0.035em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .icon { flex: none; width: 36px; height: 36px; padding: 8px; background: var(--surface); transition: transform 260ms var(--ease-out), background-color 200ms ease; }
.faq details[open] .icon { transform: rotate(45deg); background: var(--green); color: var(--white); }
.faq .answer { padding: 0 0 24px; color: var(--ink-2); max-width: 60ch; }
@supports (interpolate-size: allow-keywords) {
  /* Accordion height: intentional, user-triggered and infrequent */
  .faq details { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height 300ms var(--ease-drawer), content-visibility 300ms allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* Closing: full-bleed photo band */
.closing { position: relative; color: var(--white); overflow: hidden; padding-block: clamp(96px, 14vw, 180px); background: #3a3a3a; }
.closing-media { position: absolute; inset: 0; }
.closing-media img { width: 100%; height: 100%; object-fit: cover; }
.closing::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 10 10 / 0.75), rgb(10 10 10 / 0.2)); }
.closing .wrap { position: relative; z-index: 1; }
.closing h2 { color: var(--white); max-width: 15ch; }
.closing .lede { color: rgb(255 255 255 / 0.82); margin-top: 18px; }
.closing .btn { margin-top: 32px; }

/* Footer */
.site-footer { background: #1a1a1a; color: rgb(255 255 255 / 0.7); padding-block: 72px 40px; font-size: var(--t-xs); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { font: 700 var(--t-3xl)/1 var(--font-logo); letter-spacing: -0.05em; color: var(--white); }
.footer-top p { margin-top: 12px; max-width: 36ch; }
.site-footer h3 { font: 500 var(--t-xs)/1 var(--font); color: rgb(255 255 255 / 0.5); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--white); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { color: var(--sage-light); } }
.footer-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; color: rgb(255 255 255 / 0.5); }
.footer-legal p { max-width: 80ch; }

/* ---------- Legal pages ---------- */
.legal { padding-block: calc(var(--header-h) + 56px) clamp(64px, 8vw, 104px); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: var(--t-4xl); line-height: 1.1; letter-spacing: -0.05em; }
.legal .updated { margin-top: 12px; color: var(--ink-2); }
.legal h2 { margin-top: 44px; font-size: var(--t-xl); letter-spacing: -0.035em; }
.legal p, .legal li { color: var(--ink-2); }
.legal p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 1.2em; display: grid; gap: 8px; }
.legal strong { color: var(--ink); }
.legal .callout { margin-top: 28px; padding: 22px 24px; background: var(--surface); color: var(--ink); }
.legal .callout p, .legal .callout strong { color: var(--ink); }
.page-plain .site-header { color: var(--ink); }
.page-plain .site-header .btn { background: var(--green); color: var(--white); }

/* ---------- Motion (Homevio: blur-in fade-ups, images rising from smaller scale) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); filter: blur(8px); }
.js .reveal.in {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out), filter 800ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.word { display: inline-block; white-space: pre; }
.js [data-split] .word { opacity: 0; transform: translateY(0.4em); filter: blur(10px); }
.js [data-split].in .word {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity 1000ms var(--ease-out), transform 1000ms var(--ease-out), filter 900ms var(--ease-out);
  transition-delay: calc(120ms + var(--i) * 60ms);
}
.js .reveal-img { opacity: 0; transform: translateY(40px) scale(0.94); }
.js .reveal-img.in { opacity: 1; transform: none; transition: opacity 1000ms var(--ease-out), transform 1200ms var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal-img img { transform: scale(1.1); transition: transform 1600ms var(--ease-out); }
.reveal-img.in img { transform: scale(1); }

/* Hero photo settles from a slight zoom on load */
.hero-media img { animation: settle 2.4s var(--ease-out) both; }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Scroll-driven parallax on full-bleed photos (no scroll listeners) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .closing-media img, .split-photo.in img { scale: 1.14; animation: drift linear both; animation-timeline: view(); }
    @keyframes drift { from { translate: 0 -5%; } to { translate: 0 5%; } }
  }
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-img, .js [data-split] .word { transform: none; filter: none; }
  .js .reveal.in, .js .reveal-img.in, .js [data-split].in .word { transition: opacity 200ms ease; transition-delay: 0ms; }
  .reveal-img img, .hero-media img { transform: none; transition: none; animation: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; gap: 8px 40px; }
  .ticker-track span:nth-child(n+12) { display: none; }
  .js .statement .w { transition: none; }
  .btn, .btn .arrow, .faq .icon, .site-header { transition: none; }
}
