/* Kohala Brokers — design system
   Colour + type tokens lifted verbatim from the Curaytor build (site 3228) so the
   rebuild is pixel-close. --display-font is the ONLY substitution: the original
   'the-seasons' is an Adobe Fonts kit domain-locked to kohalabrokers.com. Swap this
   one line if we license a kit. */

:root {
  /* color — exact Curaytor values */
  --ink:            #000000;
  --ink-rgb:        0, 0, 0;
  --bone:           #efede5;
  --bone-rgb:       239, 237, 229;
  --gold:           #b0a874;
  --gold-rgb:       176, 168, 116;
  --gold-hue-1:     #b8b079;
  --gold-hue-2:     #c1b87f;
  --gold-hue-3:     #8c865c;
  --paper:          #ffffff;
  --footer-bg:      #1d1d1d;
  --menu-bg:        #ffffff;
  --menu-ink:       #000000;
  --btn-ink:        #ffffff;
  --radius:         6px;

  /* type */
  --display-font:   'Cormorant Garamond', 'the-seasons', 'Hoefler Text', Georgia, serif;
  --body-font:      'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --h1-size: 70px;  --h1-weight: 600;
  --h2-size: 52px;  --h2-weight: 600;
  --h3-size: 36px;  --h3-weight: 600;
  --h4-size: 24px;  --h4-weight: 400;
  --h5-size: 22px;  --h5-weight: 400;
  --h6-size: 20px;  --h6-weight: 400;
  --body-size: 18px;
  --nav-size: 16px;
  --btn-size: 18px;

  /* rhythm */
  --gutter: 40px;
  --measure: 1240px;
  --block-y: 120px;
  --header-h: 92px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: var(--body-size);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* height:auto is the other half of max-width:100%. Without it the height ATTRIBUTE stays
   frozen whenever anything narrows the image (a grid column tighter than `sizes`, a
   width-only rule), so the box stops matching the file: the step cards rendered 355x380
   and the review stars 148x152. Every rule that deliberately pins a height (.logo,
   .badges, .his, .team-card .shot, .hood) is more specific and still wins. */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display-font);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: var(--h2-weight);
}
h1 { font-size: var(--h1-size); font-weight: var(--h1-weight); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); font-weight: var(--h3-weight); }

h4, h5, h6 { font-family: var(--body-font); margin: 0; line-height: 1.4; }
h4 { font-size: var(--h4-size); font-weight: var(--h4-weight); }
h5 { font-size: var(--h5-size); font-weight: var(--h5-weight); }
h6 { font-size: var(--h6-size); font-weight: var(--h6-weight); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

/* The eyebrow is the site's structural tell: it names the section's job in the
   client's own vocabulary before the headline makes the promise. */
.eyebrow {
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: var(--gold);
}
.on-dark .eyebrow, .hero .eyebrow { color: var(--bone); }

.container { width: 100%; max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); }
.block { padding: var(--block-y) 0; }
.block-bone { background: var(--bone); }
.block-ink { background: var(--ink); color: var(--paper); }
.block-tight { padding: 72px 0; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--body-font); font-size: var(--btn-size); font-weight: 400;
  line-height: 1; text-decoration: none;
  padding: 19px 34px; border-radius: var(--radius);
  border: 1px solid var(--gold); background: var(--gold); color: var(--btn-ink);
  transition: background .28s var(--ease), border-color .28s var(--ease), color .28s var(--ease), transform .28s var(--ease);
}
.btn:hover { background: var(--gold-hue-3); border-color: var(--gold-hue-3); transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--paper); color: var(--paper); }
.btn-ghost:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--gold); border-color: var(--gold); color: var(--btn-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

/* A text link that reads as a next step rather than a button. */
.big-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 17px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; padding-bottom: 6px; margin-top: 30px;
  border-bottom: 1px solid rgba(var(--ink-rgb), .28);
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.big-link::after { content: '\2192'; transition: transform .3s var(--ease); }
.big-link:hover { border-color: var(--gold); gap: 18px; }
.big-link:hover::after { transform: translateX(3px); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  background: transparent;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
/* Jonathan's note, 8/28: the old header flipped to solid white on HOVER, which read
   as a glitch. Solid state is now bound to scroll depth only. */
.site-header.is-stuck { background: var(--menu-bg); box-shadow: 0 1px 0 rgba(var(--ink-rgb), .08); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding: 0 var(--gutter); height: var(--header-h);
}
.logo { display: block; flex: 0 0 auto; }
.logo img { height: 42px; width: auto; transition: opacity .3s var(--ease); }
.logo .logo-light { display: block; }
.logo .logo-dark { display: none; }
.site-header.is-stuck .logo .logo-light { display: none; }
.site-header.is-stuck .logo .logo-dark { display: block; }

.header-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.header-nav a {
  font-size: var(--nav-size); text-decoration: none; color: var(--paper);
  position: relative; padding: 4px 0;
  transition: color .3s var(--ease);
}
.header-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--gold); transition: right .32s var(--ease);
}
.header-nav a:hover::after, .header-nav a:focus-visible::after { right: 0; }
.site-header.is-stuck .header-nav a { color: var(--menu-ink); }

.header-ctas { display: flex; align-items: center; gap: 14px; }
.header-ctas .btn { padding: 14px 26px; font-size: 15px; }

.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0 11px;
  background: none; border: 0; cursor: pointer;
}
.menu-toggle span {
  display: block; height: 1.5px; background: var(--paper);
  transition: background .3s var(--ease), transform .3s var(--ease), opacity .2s var(--ease);
}
.menu-toggle span:nth-child(2) { width: 70%; }
.site-header.is-stuck .menu-toggle span { background: var(--menu-ink); }
.menu-toggle:hover span:nth-child(2) { width: 100%; }

/* ---------------------------------------------------------------- overlay menu */
/* "I love when you click on the menu, it unfolds" — the panel wipes down, then the
   groups stagger in behind it. */
.overlay {
  position: fixed; inset: 0; z-index: 100;
  visibility: hidden; pointer-events: none;
}
.overlay.is-open { visibility: visible; pointer-events: auto; }
.overlay-sheet {
  position: absolute; inset: 0; background: var(--ink); color: var(--paper);
  transform: scaleY(0); transform-origin: top center;
  transition: transform .58s var(--ease);
}
.overlay.is-open .overlay-sheet { transform: scaleY(1); }
.overlay-body {
  position: relative; height: 100%; overflow-y: auto;
  padding: calc(var(--header-h) + 56px) var(--gutter) 64px;
  opacity: 0; transition: opacity .3s var(--ease);
}
.overlay.is-open .overlay-body { opacity: 1; transition-delay: .3s; }
.overlay-close {
  position: absolute; top: 26px; right: var(--gutter);
  width: 46px; height: 46px; border: 0; background: none; cursor: pointer;
  color: var(--paper); font-size: 28px; line-height: 1;
  transition: transform .3s var(--ease), color .3s var(--ease);
}
.overlay-close:hover { transform: rotate(90deg); color: var(--gold); }

.overlay-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px; max-width: var(--measure); margin: 0 auto;
}
.menu-group { opacity: 0; transform: translateY(22px); }
.overlay.is-open .menu-group { animation: menuIn .55s var(--ease) forwards; }
.overlay.is-open .menu-group:nth-child(1) { animation-delay: .34s; }
.overlay.is-open .menu-group:nth-child(2) { animation-delay: .42s; }
.overlay.is-open .menu-group:nth-child(3) { animation-delay: .50s; }
.overlay.is-open .menu-group:nth-child(4) { animation-delay: .58s; }
@keyframes menuIn { to { opacity: 1; transform: none; } }

.menu-group h3 {
  font-family: var(--body-font); font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 22px;
}
.menu-group ul { list-style: none; margin: 0; padding: 0; }
.menu-group li + li { margin-top: 14px; }
.menu-group a {
  font-family: var(--display-font); font-size: 28px; text-decoration: none;
  color: var(--paper); transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.menu-group a:hover { color: var(--gold); padding-left: 8px; }

.overlay-contact {
  max-width: var(--measure); margin: 72px auto 0; padding-top: 40px;
  border-top: 1px solid rgba(var(--bone-rgb), .18);
  display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between;
  font-size: 16px; color: rgba(var(--bone-rgb), .78);
}
.overlay-contact a { color: inherit; }
.overlay-contact .socials { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.overlay-contact .socials a:hover { color: var(--gold); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: 100vh; padding: calc(var(--header-h) + 60px) 0 100px;
  background: var(--ink); color: var(--paper); overflow: hidden;
}
.hero-bg {
  /* Slack must exceed the parallax throw (depth x host height, max 0.22) or the
     layer slides off and exposes the bare background. -12% was not enough. */
  position: absolute; inset: -26% 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: .6;
  will-change: transform;
}
.hero .container { position: relative; z-index: 1; }
/* balance, not a hard <br>: the headline sits on one line from 768 to 1180 and on three at
   414, so a baked break would invent a bad wrap at four breakpoints to fix one. Balance
   evens the lines only when it already wraps, and an old browser ignoring it just gets
   today's behaviour. Nowrap-binding the tail would overflow the 370px box at 414. */
.hero h1 { max-width: 15ch; text-wrap: balance; }
.hero-sub { max-width: 54ch; margin-top: 26px; font-size: 19px; color: rgba(var(--bone-rgb), .88); }

.hero-inner { max-width: 780px; }
.hero-center { text-align: center; }
.hero-center .hero-inner { max-width: 900px; margin: 0 auto; }
.hero-center .btn-row { justify-content: center; }
.hero-center h1 { max-width: none; }

/* shorter hero for interior pages */
.hero-page { min-height: 62vh; }
.hero-page h1 { font-size: 60px; }

/* ---------------------------------------------------------------- section head */
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 22px; font-size: 19px; }

/* ---------------------------------------------------------------- neighborhood rail (signature) */
/* Jonathan asked for the community carousel to move on its own. It drifts
   continuously along the coast, pauses the moment anyone touches it, and holds
   still entirely for reduced-motion. */
.rail-block { background: var(--bone); padding: var(--block-y) 0 84px; overflow: hidden; }
.rail-head { max-width: var(--measure); margin: 0 auto 56px; padding: 0 var(--gutter); }
.rail-viewport { position: relative; }
.rail-viewport::before, .rail-viewport::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.rail-viewport::before { left: 0;  background: linear-gradient(90deg, var(--bone), rgba(var(--bone-rgb), 0)); }
.rail-viewport::after  { right: 0; background: linear-gradient(270deg, var(--bone), rgba(var(--bone-rgb), 0)); }

.rail {
  display: flex; gap: 26px; padding: 0 var(--gutter);
  width: max-content;
  animation: railDrift 150s linear infinite;
}
.rail-viewport:hover .rail,
.rail-viewport:focus-within .rail { animation-play-state: paused; }
@keyframes railDrift { to { transform: translateX(-50%); } }

.hood {
  position: relative; flex: 0 0 auto;
  width: 320px; height: 420px; border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--paper);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px;
  isolation: isolate;
}
.hood img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  transition: transform .9s var(--ease);
}
.hood::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(var(--ink-rgb), 0) 32%, rgba(var(--ink-rgb), .72) 100%);
  transition: background .5s var(--ease);
}
.hood:hover img, .hood:focus-visible img { transform: scale(1.14); }
.hood:hover::after { background: linear-gradient(180deg, rgba(var(--ink-rgb), .12) 20%, rgba(var(--ink-rgb), .82) 100%); }
.hood h3 { font-size: 30px; }
.hood .hood-cue {
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  margin-top: 10px; color: var(--bone);
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.hood:hover .hood-cue, .hood:focus-visible .hood-cue { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- split / text with image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-flip .split-text { order: 2; }
/* 4:5 to match the bio pages, which is the site's shape for a person. cover, never a
   stretch: the sources are a 2:3 portrait and a 1:1 square from the same shoot, and a
   bare width:100% let the height attribute squash whichever one it got. The 25% keeps
   the crop off the top of a head. */
.split img {
  border-radius: 30px;
  width: 100%; height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover; object-position: 50% 25%;
}

.split-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.split-hero .split-hero-img { background-size: cover; background-position: center; }
.split-hero .split-hero-text {
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px var(--gutter);
}
.split-hero .split-hero-text .inner { max-width: 520px; margin: 0 auto; width: 100%; }

/* ---------------------------------------------------------------- parallax band */
.band {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--paper);
  padding: 160px 0; text-align: center;
}
.band-bg {
  position: absolute; inset: -26% 0; z-index: 0;
  background-size: cover; background-position: center; opacity: .48;
  will-change: transform;
}
.band .container { position: relative; z-index: 1; }
.band h2 { max-width: 20ch; margin: 0 auto; }

/* ---------------------------------------------------------------- review */
.review { text-align: center; max-width: 880px; margin: 0 auto; }
.review .stars { width: 148px; margin: 0 auto 34px; }
.review blockquote { margin: 0; }
.review blockquote h2 { font-size: 46px; }
.review .review-body { margin-top: 28px; font-size: 19px; }
.review cite { display: block; margin-top: 24px; font-style: normal; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hue-3); }

.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.review-card {
  background: var(--paper); border-radius: var(--radius); padding: 42px;
  border: 1px solid rgba(var(--ink-rgb), .07);
}
.review-card .stars { width: 118px; margin: 0 0 22px; }
.review-card h3 { font-size: 26px; margin-bottom: 16px; }
.review-card cite { display: block; margin-top: 22px; font-style: normal; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hue-3); }

/* ---------------------------------------------------------------- team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.team-card { text-decoration: none; color: inherit; display: block; }
.team-card .shot { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.team-card .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.team-card:hover .shot img { transform: scale(1.05); }
.team-card h3 { font-size: 30px; margin-top: 24px; }
.team-card .role { font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hue-3); margin-top: 8px; }

/* ---------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.step img { border-radius: var(--radius); margin-bottom: 26px; }
.step h3 { font-size: 28px; margin-bottom: 14px; }

/* ---------------------------------------------------------------- IDX slot */
/* iHomefinder drops its widget into these. Until the feed is authorized they render
   as an honest placeholder rather than an empty hole. */
.idx-slot { min-height: 420px; }

/* Cage the IDX widget's own stacking context. Kestrel gives its map controls and
   filter bar z-indexes in the thousands; uncaged they beat the fixed site header
   (z-index: 90) and paint over it on scroll. Seen live on thelakelife.com 6/21 and
   again here on the first Mauna Lani deploy. Kestrel renders its lightbox inside
   the container, so isolating it costs nothing. */
.idx-slot .ihf-container { position: relative; z-index: 0; isolation: isolate; }
/* The placeholder is real markup, not a :empty::before. A single HTML comment or
   stray whitespace inside the slot defeats :empty, and the failure mode is a silent
   420px white void rather than anything you would notice. */
.idx-pending {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; min-height: 420px; padding: 40px 28px; text-align: center;
  border: 1px dashed rgba(var(--ink-rgb), .22); border-radius: var(--radius);
  background: rgba(var(--ink-rgb), .015);
}
.idx-pending .idx-badge {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-hue-3); font-weight: 600;
}
.idx-pending p { max-width: 46ch; color: rgba(var(--ink-rgb), .62); font-size: 16px; margin: 0; }

/* ---------------------------------------------------------------- forms */
.form-card { background: var(--bone); border-radius: var(--radius); padding: 56px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 9px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 15px 18px; font: inherit; font-size: 16px;
  border: 1px solid rgba(var(--ink-rgb), .16); border-radius: var(--radius);
  background: var(--paper); color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .22);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; line-height: 1.6; color: rgba(var(--ink-rgb), .6); margin-top: 18px; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--footer-bg); color: rgba(var(--bone-rgb), .8); padding: 88px 0 0; }
.site-footer a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
.site-footer a:hover { color: var(--gold); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 62px; }
.footer-brand img.mark { height: 70px; width: auto; margin-bottom: 28px; }
.footer-brand .badges { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.footer-brand .badges img { height: 46px; width: auto; }
.footer-col h3 {
  font-family: var(--body-font); font-size: 12px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--paper); margin: 0 0 20px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; font-size: 16px; }
.footer-col li + li { margin-top: 12px; }
.footer-socials { display: flex; gap: 20px; list-style: none; margin: 26px 0 0; padding: 0; font-size: 15px; }

.footer-contact { font-size: 16px; line-height: 1.9; font-style: normal; }
.footer-contact a { display: block; }

.footer-legal {
  border-top: 1px solid rgba(var(--bone-rgb), .14);
  padding: 34px 0 48px; font-size: 13px; line-height: 1.75;
  color: rgba(var(--bone-rgb), .55);
}
.footer-legal .row { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; margin-bottom: 26px; }
.footer-legal .his { display: flex; gap: 20px; align-items: flex-start; }
.footer-legal .his img { height: 46px; width: auto; flex: 0 0 auto; }

/* ---------------------------------------------------------------- scroll reveal */
/* Opt IN to hiding. Without the .js class (script blocked, old browser, a crash in
   site.js) every section renders visible, because content that only appears if a
   script succeeds is content that can silently disappear. */
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal-d1.is-in { transition-delay: .08s; }
.js .reveal-d2.is-in { transition-delay: .16s; }
.js .reveal-d3.is-in { transition-delay: .24s; }

/* ---------------------------------------------------------------- a11y */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 200;
  background: var(--paper); color: var(--ink); padding: 12px 20px; border-radius: var(--radius);
}
.skip-link:focus { left: 20px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  :root { --h1-size: 56px; --h2-size: 42px; --h3-size: 30px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
  :root { --h1-size: 42px; --h2-size: 34px; --h3-size: 26px; --block-y: 76px; --gutter: 22px; --body-size: 17px; }
  .header-nav { display: none; }
  .hero-page h1 { font-size: 40px; }
  .split, .split-hero, .steps, .team-grid, .reviews-grid { grid-template-columns: 1fr; gap: 44px; }
  .split-flip .split-text { order: 0; }
  .split-hero .split-hero-img { min-height: 340px; }
  .split-hero .split-hero-text { padding: 64px var(--gutter); }
  .overlay-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .menu-group a { font-size: 22px; }
  .review blockquote h2 { font-size: 30px; }
  .band { padding: 104px 0; }
  .form-card { padding: 32px; }
  .hood { width: 260px; height: 350px; }
  .rail { animation-duration: 110s; }
}
@media (max-width: 600px) {
  .overlay-grid { grid-template-columns: 1fr; }
  .header-ctas .btn { display: none; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .rail { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-bg, .band-bg { transform: none !important; }
}

/* ---------------------------------------------------------------- form result */
.form-sent {
  background: var(--bone); border-radius: var(--radius); padding: 56px; text-align: center;
}
.form-sent h3 { font-size: 32px; margin-bottom: 12px; }
.form-error {
  margin-top: 16px; padding: 14px 18px; border-radius: var(--radius);
  background: rgba(140, 134, 92, .12); border: 1px solid var(--gold-hue-3);
  font-size: 15px; color: var(--gold-hue-3);
}

/* A honeypot must be invisible to every real user, sighted or not. .sr-only is the
   wrong tool: it deliberately keeps the field in the accessibility tree. */
.trap { position: absolute !important; left: -9999px !important; top: -9999px !important;
        width: 1px !important; height: 1px !important; overflow: hidden !important;
        opacity: 0 !important; pointer-events: none !important; }
