/* ==========================================================================
   Sunny Hemmatian | Houston Real Estate
   Design system: warm ivory, ink, champagne. Serif display, wide-tracked sans.
   ========================================================================== */

:root {
  --ink: #15120E;
  --ink-2: #221E18;
  --charcoal: #2C2721;
  --ivory: #FBF8F3;
  --cream: #F3EDE3;
  --sand: #E7DFD1;
  --stone: #D8CFBE;
  --gold: #8A6A3A;
  --gold-lt: #C0A167;
  --muted: #6D6558;
  --muted-lt: #8C8477;
  --white: #FFFFFF;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Parisienne", "Cormorant Garamond", cursive;

  --wrap: 1400px;
  --gut: clamp(1.25rem, 4vw, 4rem);
  --track: 0.22em;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 78px;
}

/* --------------------------------------------------------------- reset --- */

*, *::before, *::after { box-sizing: border-box; }

html {
  /* Everything below is sized in rem, so the whole scale lifts from here. */
  font-size: 108.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--gold); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 0.85rem 1.4rem;
}
.skip:focus { left: 0; }

/* ------------------------------------------------------------ utilities --- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap-wide { max-width: 1660px; }

.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section-sm { padding-block: clamp(3rem, 6vw, 5.5rem); }

.eyebrow {
  font-size: 0.731rem;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.15rem;
  display: block;
}
.eyebrow-muted { color: var(--muted-lt); }

.h-display {
  font-size: clamp(2.1rem, 5vw, 3.9rem);
  line-height: 1.05;
}
.h-display em { font-style: italic; color: var(--gold); }

.h-section {
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  line-height: 1.1;
}
.h-section em { font-style: italic; }

.lede {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 300;
}

.body-txt { color: var(--muted); font-size: 1.018rem; line-height: 1.85; }

.rule { height: 1px; background: var(--stone); border: 0; margin: 0; }

.center { text-align: center; }

/* ------------------------------------------------------------- buttons --- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.95rem 2rem;
  font-size: 0.766rem;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
  z-index: 0;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  z-index: -1;              /* stays behind the label so text never vanishes */
}
.btn:hover::after, .btn:focus-visible::after { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--white); border-color: var(--gold); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--stone);
}
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--white); border-color: var(--gold); }

.btn-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}
.btn-light:hover, .btn-light:focus-visible { color: var(--white); border-color: var(--gold); }

.btn-solid-light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}
.btn-solid-light:hover, .btn-solid-light:focus-visible { color: var(--white); border-color: var(--gold); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.731rem;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--stone);
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.link-arrow svg { transition: transform 0.4s var(--ease); }
.link-arrow:hover { color: var(--gold); border-color: var(--gold); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow-light { color: rgba(255,255,255,0.92); border-color: rgba(255,255,255,0.35); }
.link-arrow-light:hover { color: var(--gold-lt); border-color: var(--gold-lt); }

/* -------------------------------------------------------------- header --- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
  padding-block: 0.6rem;
}

.brand { display: flex; align-items: center; gap: 0.85rem; min-width: 0; }
.brand-mark {
  font-family: var(--font-script);
  font-size: 1.85rem;
  line-height: 1;
  color: var(--white);
  white-space: nowrap;
  transition: color 0.45s var(--ease);
}
.brand-sub {
  display: block;
  white-space: nowrap;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.2rem;
  transition: color 0.45s var(--ease);
}

.nav-desk { display: none; align-items: center; gap: 1.5rem; }
.nav-desk > li { position: relative; list-style: none; }
.nav-desk a {
  font-size: 0.696rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.nav-desk a:hover, .nav-desk a[aria-current="page"] { color: var(--gold-lt); }

.nav-desk ul {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 200px;
  margin: 0;
  padding: 0.7rem 0;
  list-style: none;
  background: var(--ivory);
  border: 1px solid var(--stone);
  box-shadow: 0 22px 50px rgba(21, 18, 14, 0.16);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.nav-desk li:hover > ul, .nav-desk li:focus-within > ul {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-desk ul a {
  display: block;
  padding: 0.55rem 1.3rem;
  color: var(--muted);
  letter-spacing: 0.14em;
}
.nav-desk ul a:hover { color: var(--ink); background: var(--cream); }

.header-cta { display: none; white-space: nowrap; }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: flex-end;
  flex-shrink: 0;
}
.burger span {
  display: block; height: 1px; width: 26px; background: var(--white);
  transition: background 0.45s var(--ease), transform 0.35s var(--ease), opacity 0.25s;
}
.burger span:nth-child(2) { width: 18px; }

/* solid state, applied on scroll and on every inner page */
.site-header.solid {
  background: rgba(251, 248, 243, 0.97);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--stone);
  box-shadow: 0 10px 34px rgba(21, 18, 14, 0.07);
}
.site-header.solid .brand-mark { color: var(--ink); }
.site-header.solid .brand-sub { color: var(--muted-lt); }
.site-header.solid .nav-desk a { color: var(--muted); }
.site-header.solid .nav-desk a:hover,
.site-header.solid .nav-desk a[aria-current="page"] { color: var(--gold); }
.site-header.solid .burger span { background: var(--ink); }
.site-header.solid .header-cta.btn-light { color: var(--ink); border-color: var(--stone); }
.site-header.solid .header-cta.btn-light:hover { color: var(--white); border-color: var(--gold); }

/* ---------------------------------------------------------- mobile nav --- */

.mnav {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--ivory);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;                /* never translateX off-screen */
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.mnav.open { opacity: 1; visibility: visible; }
.mnav-head {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
  padding-inline: var(--gut);
  border-bottom: 1px solid var(--stone);
}
.mnav-head .brand-mark { color: var(--ink); }
.mnav-close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.mnav-body { padding: 2rem var(--gut) 3rem; }
.mnav-body ul { list-style: none; margin: 0; padding: 0; }
.mnav-body > ul > li { border-bottom: 1px solid var(--sand); }
.mnav-body > ul > li > a {
  display: block;
  padding: 1.05rem 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.mnav-body > ul > li > a:hover { color: var(--gold); }
.mnav-body .sub { padding: 0 0 1rem 0.1rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.mnav-body .sub a {
  font-size: 0.719rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.mnav-body .sub a:hover { color: var(--gold); }
.mnav-actions { display: grid; gap: 0.8rem; margin-top: 2.2rem; }
.mnav-meta {
  margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--sand);
  font-size: 0.88rem; color: var(--muted); display: grid; gap: 0.5rem;
}
.mnav-meta a:hover { color: var(--gold); }

/* ---------------------------------------------------------------- hero --- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,8,6,0.62) 0%, rgba(10,8,6,0.24) 34%, rgba(10,8,6,0.42) 68%, rgba(10,8,6,0.78) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding-block: calc(var(--header-h) + 1.4rem) 5rem;
}
.hero-kicker {
  font-size: 0.696rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1.6rem;
}
.hero h1 {
  font-family: var(--font-display);
  color: var(--white);
  margin: 0;
  text-transform: uppercase;
  line-height: 0.94;
}
.hero h1 .l1 { display: block; font-size: clamp(2.1rem, 7.4vw, 5.1rem); letter-spacing: 0.06em; font-weight: 300; }
.hero h1 .l2 {
  display: block;
  font-size: clamp(3.3rem, 13vw, 9rem);
  font-style: italic;
  letter-spacing: 0.01em;
  font-weight: 300;
  margin-block: -0.02em 0.06em;
  text-transform: none;
}
.hero h1 .l3 { display: block; font-size: clamp(1.5rem, 4.4vw, 3rem); letter-spacing: 0.3em; font-weight: 300; }
.hero-sub {
  margin: 1.5rem auto 0;
  max-width: 40rem;
  font-size: 0.835rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.hero-actions {
  margin-top: 2rem;
  display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center;
}
.hero-scroll {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: none;
  font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.66);
  align-items: center; gap: 0.7rem; flex-direction: column;
}
.hero-scroll i { display: block; width: 1px; height: 42px; background: linear-gradient(rgba(255,255,255,0.7), transparent); }

/* short page banner used on inner pages */
.banner {
  position: relative;
  min-height: 56svh;
  display: flex; align-items: flex-end;
  background: var(--ink);
  overflow: hidden;
}
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,8,6,0.82) 0%, rgba(10,8,6,0.42) 42%, rgba(10,8,6,0.88) 100%),
    linear-gradient(90deg, rgba(10,8,6,0.55) 0%, rgba(10,8,6,0.1) 62%, rgba(10,8,6,0) 100%);
}
.banner-inner {
  position: relative; z-index: 2; color: var(--white);
  padding-block: calc(var(--header-h) + 4rem) clamp(2.5rem, 6vw, 4.5rem);
  width: 100%;
}
.banner h1 { color: var(--white); font-size: clamp(2.3rem, 6vw, 4.6rem); }
.banner h1 em { font-style: italic; color: var(--gold-lt); }
.banner .eyebrow { color: rgba(255,255,255,0.72); }
.banner p { color: rgba(255,255,255,0.85); max-width: 44rem; margin-top: 1.4rem; font-size: 1.05rem; }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem;
  font-size: 0.696rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.78); margin-bottom: 1.3rem;
  text-shadow: 0 1px 12px rgba(10,8,6,0.6);
}
.crumbs a:hover { color: var(--gold-lt); }
.crumbs span { opacity: 0.5; }

/* --------------------------------------------------------- welcome bar --- */

.welcome {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.9);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}
.welcome .row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.1rem;
}
.welcome-msg {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 2vw, 1.35rem);
  font-style: italic;
  color: var(--white);
  display: flex; align-items: center; gap: 0.9rem;
  min-width: 0;
}
.welcome-avatar {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 22%;
  border: 1px solid rgba(255,255,255,0.3); flex-shrink: 0;
}
.welcome-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.6rem; }
.welcome-links a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.719rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.82); transition: color 0.3s var(--ease);
}
.welcome-links a:hover { color: var(--gold-lt); }

/* --------------------------------------------------------------- intro --- */

.split { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.split-portrait { position: relative; }
.split-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; }
.img-tall { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-portrait .tag {
  position: absolute; left: 0; bottom: 0;
  background: var(--ink); color: var(--white);
  padding: 0.9rem 1.4rem;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.split-portrait .tag b { color: var(--gold-lt); font-weight: 500; }

.sig {
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  color: var(--ink);
  margin: 0 0 0.6rem;
}

.intro-actions { display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem; margin-top: 2.2rem; align-items: center; }

/* --------------------------------------------------- credentials strip --- */

.creds {
  background: var(--ink);
  color: var(--white);
  border-radius: 2px;
  padding: clamp(2rem, 4vw, 3.2rem);
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}
.creds-list { display: grid; grid-template-columns: 1fr; gap: 1.6rem 2rem; }
.creds-list li { list-style: none; }
.creds-list h4 {
  font-family: var(--font-sans);
  font-size: 0.731rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-lt); margin: 0 0 0.4rem;
}
.creds-list p { font-size: 0.935rem; color: rgba(255,255,255,0.66); margin: 0; line-height: 1.6; }

.creds-aside h3 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.9rem; }
.creds-aside p { color: rgba(255,255,255,0.7); font-size: 1.012rem; }

/* ------------------------------------------------------------ stat row --- */

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--stone); }
.stat { background: var(--ivory); padding: clamp(1.6rem, 3vw, 2.4rem) 1.2rem; text-align: center; }
.stat b {
  display: block; font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1; color: var(--ink);
}
.stat span {
  display: block; margin-top: 0.7rem;
  font-size: 0.684rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-lt);
}
.stats-dark { background: rgba(255,255,255,0.14); }
.stats-dark .stat { background: var(--ink); }
.stats-dark .stat b { color: var(--white); }
.stats-dark .stat span { color: rgba(255,255,255,0.6); }

/* ------------------------------------------------------------ services --- */

.head-row {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem 2.5rem; margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}
.head-row .head-txt { max-width: 40rem; }
.head-row p { margin-top: 1.1rem; color: var(--muted); font-size: 1.018rem; }

.svc-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--stone); }
.svc {
  position: relative;
  display: block;
  background: var(--ivory);
  padding: clamp(1.9rem, 3vw, 2.6rem);
  transition: background 0.45s var(--ease);
  overflow: hidden;
}
.svc::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.svc:hover { background: var(--white); }
.svc:hover::before { transform: scaleX(1); }
.svc .num {
  font-family: var(--font-display); font-size: 0.997rem; color: var(--gold);
  letter-spacing: 0.1em; display: block; margin-bottom: 1.6rem;
}
.svc h3 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin-bottom: 0.8rem; }
.svc p { font-size: 0.99rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.7rem; }

/* ------------------------------------------------------------ listings --- */

.cards { display: grid; grid-template-columns: 1fr; gap: clamp(1.2rem, 2.5vw, 2rem); }

.listing { position: relative; display: block; overflow: hidden; background: var(--ink); }
.listing-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.listing-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.listing:hover .listing-img img { transform: scale(1.06); }
.listing-img::after {
  content: ""; position: absolute; inset: 0;
  /* MLS photos range from twilight exteriors to blown-out white kitchens, so
     the scrim has to hold up against the brightest of them. */
  background: linear-gradient(180deg,
    rgba(10,8,6,0) 22%, rgba(10,8,6,0.32) 45%, rgba(10,8,6,0.72) 70%, rgba(10,8,6,0.94) 100%);
}
.listing-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 3;
  background: rgba(251,248,243,0.94); color: var(--ink);
  padding: 0.4rem 0.85rem;
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.listing-body {
  position: absolute; inset: auto 0 0 0; z-index: 3;
  padding: clamp(1.2rem, 2.5vw, 1.8rem); color: var(--white);
}
.listing-price {
  font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1;
  display: block; margin-bottom: 0.5rem;
}
.listing-addr { font-size: 0.99rem; color: rgba(255,255,255,0.92); }
.listing-city { font-size: 0.858rem; color: rgba(255,255,255,0.62); letter-spacing: 0.06em; }
.listing-specs {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin-top: 0.9rem;
  padding-top: 0.9rem; border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 0.696rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.78);
}

/* -------------------------------------------------------- testimonials --- */

.dark { background: var(--ink); color: rgba(255,255,255,0.86); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--white); }
.dark p { color: rgba(255,255,255,0.7); }
.dark .eyebrow { color: var(--gold-lt); }
.dark .rule { background: rgba(255,255,255,0.16); }
.dark .lede { color: rgba(255,255,255,0.88); }

.quotes { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(255,255,255,0.14); }
.quote {
  /* figure carries a 40px UA inline margin; without this it offsets every
     card and every slider snap point. */
  margin: 0;
  background: var(--ink);
  padding: clamp(1.9rem, 3.4vw, 2.8rem);
  display: flex; flex-direction: column;
}
.quote .stars { color: var(--gold-lt); letter-spacing: 0.28em; font-size: 0.835rem; margin-bottom: 1.3rem; }
.quote blockquote {
  margin: 0 0 1.1rem;
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(1.02rem, 1.9vw, 1.18rem); line-height: 1.6;
  color: rgba(255,255,255,0.93);
  flex: 1;
  /* Survey comments run from one line to a thousand characters, so clamp them
     and let the reader open the long ones. */
  display: -webkit-box;
  -webkit-line-clamp: 9;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.quote.open blockquote { -webkit-line-clamp: unset; display: block; overflow: visible; }
.quote-more {
  align-self: flex-start;
  margin-bottom: 1.5rem;
  padding: 0;
  font-size: 0.696rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-lt);
  border-bottom: 1px solid rgba(192,161,103,0.45);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.quote-more:hover { color: var(--white); border-color: var(--white); }
.quote-more[hidden] { display: none; }
.quote cite { font-style: normal; display: block; }
.quote cite b {
  display: block; font-size: 0.766rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--white);
}
.quote cite span { display: block; font-size: 0.719rem; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; margin-top: 0.3rem; }

.rating-badge {
  display: inline-flex; align-items: center; gap: 0.9rem;
  border: 1px solid rgba(255,255,255,0.24);
  padding: 0.8rem 1.3rem;
}
.rating-badge b { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; color: var(--white); }
.rating-badge span { font-size: 0.696rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.6); }

/* ------------------------------------------------------------- tiles ----- */

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.6rem, 1.4vw, 1rem); }
.tile { position: relative; display: block; overflow: hidden; background: var(--ink); aspect-ratio: 4 / 3; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.tile:hover img { transform: scale(1.07); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,6,0.06) 30%, rgba(10,8,6,0.8) 100%);
  transition: background 0.5s var(--ease);
}
.tile:hover::after { background: linear-gradient(180deg, rgba(10,8,6,0.2) 20%, rgba(10,8,6,0.88) 100%); }
.tile-body {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: clamp(0.95rem, 2vw, 1.6rem); color: var(--white);
}
.tile-body .k {
  display: block; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-lt); margin-bottom: 0.45rem;
}
.tile-body h3 { font-size: clamp(1.05rem, 2.3vw, 1.5rem); line-height: 1.15; }
.tile-body p {
  font-size: 0.835rem; color: rgba(255,255,255,0.74); margin: 0.4rem 0 0;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease);
}
.tile:hover .tile-body p { max-height: 4rem; opacity: 1; }

/* -------------------------------------------------------------- insight -- */

.insight { display: block; background: var(--ivory); border: 1px solid var(--stone); transition: border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.insight:hover { border-color: var(--gold); transform: translateY(-4px); }
.insight-img { aspect-ratio: 16 / 10; overflow: hidden; }
.insight-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.insight:hover .insight-img img { transform: scale(1.05); }
.insight-body { padding: clamp(1.3rem, 2.5vw, 1.9rem); }
.insight-body .k { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.insight-body h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); margin: 0.7rem 0 1.1rem; line-height: 1.25; }

/* ----------------------------------------------------------- accordion --- */

.acc { border-top: 1px solid var(--stone); }
.acc-item { border-bottom: 1px solid var(--stone); }
.acc-btn {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.4rem 0; text-align: left;
  transition: color 0.3s var(--ease);
}
.acc-btn:hover { color: var(--gold); }
.acc-btn .n {
  font-family: var(--font-display); font-size: 0.99rem; color: var(--gold);
  flex-shrink: 0; width: 2.4rem; padding-top: 0.15rem;
}
.acc-btn .t { flex: 1; font-family: var(--font-display); font-size: clamp(1.1rem, 2.2vw, 1.4rem); line-height: 1.3; }
.acc-btn .i {
  flex-shrink: 0; width: 22px; height: 22px; position: relative; margin-top: 0.35rem;
}
.acc-btn .i::before, .acc-btn .i::after {
  content: ""; position: absolute; background: currentColor; transition: transform 0.35s var(--ease), opacity 0.3s;
}
.acc-btn .i::before { inset: 50% 0 auto 0; height: 1px; transform: translateY(-50%); }
.acc-btn .i::after { inset: 0 50% 0 auto; width: 1px; transform: translateX(50%); }
.acc-item.open .acc-btn .i::after { opacity: 0; transform: translateX(50%) rotate(90deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p, .acc-panel ul {
  margin: 0 0 1.5rem;
  padding-left: 2.4rem;
  color: var(--muted); font-size: 1.034rem; line-height: 1.8;
  max-width: 56rem;
}
.acc-panel ul { list-style: none; }
.acc-panel ul li { margin-bottom: 0.4rem; }
.acc-panel ul a { color: var(--gold); border-bottom: 1px solid transparent; }
.acc-panel ul a:hover { border-bottom-color: var(--gold); }
.dark .acc { border-color: rgba(255,255,255,0.16); }
.dark .acc-item { border-color: rgba(255,255,255,0.16); }
.dark .acc-panel p { color: rgba(255,255,255,0.7); }

/* --------------------------------------------------------------- steps --- */

.steps { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--stone); margin-top: 2rem; }
.step { background: var(--ivory); padding: clamp(1.5rem, 2.6vw, 2.1rem); }
.step .n {
  font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); line-height: 1;
  display: block; margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.15rem; line-height: 1.3; margin-bottom: 0.7rem; }
.step p { font-size: 0.968rem; color: var(--muted); line-height: 1.75; margin: 0; }

/* ---------------------------------------------------------------- note --- */

.note {
  border-left: 2px solid var(--gold);
  padding: 1.3rem 0 1.3rem 1.6rem;
  background: var(--cream);
  padding-right: 1.6rem;
}
.note h4 {
  font-family: var(--font-sans); font-size: 0.731rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.6rem;
  color: #7A5D31;   /* deeper than --gold: the note sits on cream, not ivory */
}
.note p { font-size: 0.99rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------- forms --- */

.field { margin-bottom: 1.5rem; }
.field label {
  display: block; font-size: 0.684rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted-lt); margin-bottom: 0.6rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-sans); font-size: 0.997rem; font-weight: 300; color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--stone);
  padding: 0.7rem 0;
  transition: border-color 0.35s var(--ease);
  border-radius: 0;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--gold);
}
.field select { appearance: none; cursor: pointer; }
.field-select { position: relative; }
.field-select::after {
  content: ""; position: absolute; right: 2px; bottom: 1.15rem;
  width: 7px; height: 7px; border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted);
  transform: rotate(45deg); pointer-events: none;
}
.form-grid { display: grid; grid-template-columns: 1fr; gap: 0 1.6rem; }
.form-note { font-size: 0.858rem; color: var(--muted-lt); line-height: 1.7; margin-top: 1.2rem; }

.dark .field label { color: rgba(255,255,255,0.55); }
.dark .field input, .dark .field select, .dark .field textarea {
  color: var(--white); border-bottom-color: rgba(255,255,255,0.28);
}
.dark .field input:focus, .dark .field select:focus, .dark .field textarea:focus { border-bottom-color: var(--gold-lt); }
.dark .field-select::after { border-color: rgba(255,255,255,0.6); }
.dark .form-note { color: rgba(255,255,255,0.5); }

.form-msg {
  margin-top: 1.2rem; padding: 1rem 1.2rem;
  border: 1px solid var(--gold); background: var(--cream);
  font-size: 0.968rem; color: var(--ink);
  display: none;
}
.form-msg.show { display: block; }
.dark .form-msg { background: rgba(192,161,103,0.12); color: var(--white); }

/* -------------------------------------------------------- estimate flow --- */

.est-shell { max-width: 44rem; margin-inline: auto; }
.est-progress { height: 2px; background: var(--sand); margin-bottom: 2.6rem; position: relative; }
.est-progress i { position: absolute; inset: 0 auto 0 0; background: var(--gold); transition: width 0.5s var(--ease); }
.est-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.684rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-lt);
  margin-bottom: 0.8rem;
}
.est-step { display: none; }
.est-step.active { display: block; animation: fade 0.45s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.est-step h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); margin-bottom: 1.8rem; }
.est-choices { display: grid; gap: 0.7rem; }
.est-choice {
  display: block; width: 100%; text-align: left;
  border: 1px solid var(--stone); background: var(--white);
  padding: 1rem 1.3rem; font-size: 0.997rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.est-choice:hover { border-color: var(--gold); color: var(--gold); }
.est-choice.sel { background: var(--ink); border-color: var(--ink); color: var(--white); }
.est-nav { display: flex; gap: 0.9rem; margin-top: 2.4rem; flex-wrap: wrap; }

/* ---------------------------------------------------------------- misc --- */

.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  border: 1px solid var(--stone); background: var(--white);
  padding: 0.45rem 0.95rem;
  font-size: 0.684rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
a.pill:hover { border-color: var(--gold); color: var(--gold); }
.dark .pill { background: transparent; border-color: rgba(255,255,255,0.24); color: rgba(255,255,255,0.76); }
.dark a.pill:hover { border-color: var(--gold-lt); color: var(--gold-lt); }

.info-list { display: grid; gap: 1.6rem; }
.info-list .k { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-lt); display: block; margin-bottom: 0.35rem; }
.info-list .v { font-size: 1.05rem; color: var(--ink); }
.info-list a.v:hover { color: var(--gold); }
.dark .info-list .k { color: rgba(255,255,255,0.5); }
.dark .info-list .v { color: var(--white); }
.dark .info-list a.v:hover { color: var(--gold-lt); }

.cta-band { position: relative; overflow: hidden; background: var(--ink); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,8,6,0.55), rgba(10,8,6,0.8)); }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); font-size: clamp(2rem, 5vw, 3.5rem); }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 38rem; margin-inline: auto; margin-top: 1.2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 2.4rem; }

.fa-lang { direction: rtl; text-align: right; font-family: "Tahoma", "Segoe UI", sans-serif; line-height: 2; }

.map-embed { width: 100%; aspect-ratio: 16 / 10; border: 1px solid var(--stone); filter: grayscale(1) contrast(1.05); }

/* ------------------------------------------------------------- footer --- */

.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); }
.footer-top { padding-block: clamp(3.5rem, 7vw, 6rem); }
.footer-grid { display: grid; gap: clamp(2.4rem, 5vw, 4rem); }
.footer-brand .brand-mark { color: var(--white); font-size: 2.6rem; }
.footer-brand .brand-sub { color: rgba(255,255,255,0.55); font-size: 0.68rem; }
.footer-brand p { font-size: 0.99rem; color: rgba(255,255,255,0.62); margin-top: 1.3rem; max-width: 24rem; }
.footer-broker { margin-top: 2rem; }
.footer-broker .k { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.45); display: block; margin-bottom: 0.5rem; }
.footer-broker b { color: var(--white); font-weight: 400; font-size: 0.997rem; }
.footer-broker small { display: block; font-size: 0.835rem; color: rgba(255,255,255,0.45); margin-top: 0.4rem; }

.footer-col h4 {
  font-family: var(--font-sans); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.45);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.footer-col a { font-size: 0.968rem; color: rgba(255,255,255,0.72); transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--gold-lt); }

.footer-social { display: flex; gap: 0.6rem; margin-top: 1.4rem; flex-wrap: wrap; }
.footer-social a {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.22); color: rgba(255,255,255,0.75);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.footer-social a:hover { border-color: var(--gold-lt); color: var(--gold-lt); }

.footer-legal { border-top: 1px solid rgba(255,255,255,0.1); padding-block: 1.8rem; }
.footer-legal-row { display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; align-items: center; justify-content: space-between; }
.footer-legal p, .footer-legal a { font-size: 0.812rem; color: rgba(255,255,255,0.46); line-height: 1.7; margin: 0; }
.footer-legal a:hover { color: var(--gold-lt); }
.footer-legal .lic { font-size: 0.696rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.62); }
.footer-fine { padding-block: 1.4rem; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-fine p { font-size: 0.766rem; color: rgba(255,255,255,0.38); line-height: 1.8; margin: 0; }
.footer-badges { display: flex; align-items: center; gap: 1.2rem; margin-top: 1rem; flex-wrap: wrap; }
.footer-badges span { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.696rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45); }

/* ------------------------------------------------- mobile sticky bar ----- */

.mobile-bar {
  position: fixed; inset: auto 0 0 0; z-index: 80;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a, .mobile-bar button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem;
  padding: 0.7rem 0.3rem;
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  border-right: 1px solid rgba(255,255,255,0.1);
}
.mobile-bar > *:last-child { border-right: 0; }
.mobile-bar a:active, .mobile-bar a:hover { color: var(--gold-lt); }
body { padding-bottom: 62px; }

/* ------------------------------------------------------------- reveal --- */

[data-rv] { opacity: 0; transform: translateY(22px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
[data-rv].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-rv] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ==================================================== responsive ========= */

@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .creds-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-scroll { display: flex; }
}

@media (min-width: 900px) {
  .tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .creds { grid-template-columns: 1fr 1.35fr; align-items: center; }
  .creds-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-2 { grid-template-columns: 0.85fr 1.15fr; }
  .split-3 { grid-template-columns: 1.15fr 0.85fr; }
  .steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; }
  .quotes-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1080px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
  .svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* The horizontal nav needs more room at the larger type scale, so the burger
   stays until there is genuinely space for ten items plus the CTA. */
@media (min-width: 1320px) {
  .site-header .brand-sub { display: none; }
  .nav-desk { display: flex; gap: 0.95rem; }
  .nav-desk a { font-size: 0.685rem; letter-spacing: 0.1em; }
  .header-cta { display: inline-flex; padding-inline: 1.2rem; }
  .burger { display: none; }
}

@media (min-width: 1460px) {
  .nav-desk { gap: 1.25rem; }
  .nav-desk a { font-size: 0.7rem; letter-spacing: 0.13em; }
  .header-cta { padding-inline: 1.6rem; }
}

@media (min-width: 1680px) {
  .site-header .brand-sub { display: block; }
  .nav-desk { gap: 1.55rem; }
  .nav-desk a { font-size: 0.74rem; letter-spacing: 0.15em; }
}

/* Hero subtitle: the full credential line is desktop only, so the mobile hero
   stays to two lines instead of four. */
.hero-sub-line { display: none; }
@media (min-width: 700px) {
  .hero-sub-line { display: block; }
}

/* ------------------------------------------------- video band (reviews) --- */

.video-band { position: relative; overflow: hidden; background: var(--ink); }
.video-band-media { position: absolute; inset: 0; }
.video-band-media video {
  width: 100%; height: 100%; object-fit: cover;
}
.video-band-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,10,8,0.88) 0%, rgba(12,10,8,0.62) 45%, rgba(12,10,8,0.9) 100%);
}
.video-band-inner { position: relative; z-index: 2; }

/* Quote cards sit on moving footage, so they carry their own ground. */
.video-band .quotes { background: rgba(255,255,255,0.16); }
.video-band .quote { background: rgba(17, 14, 11, 0.82); backdrop-filter: blur(10px); }

.quote-actions {
  margin-top: 2.6rem;
  display: flex; flex-wrap: wrap; gap: 1.1rem; align-items: center;
}

/* ------------------------------------------------------ listing courtesy --- */

.listing { display: flex; flex-direction: column; background: var(--ink-2); }
.listing-img { flex: 1 1 auto; }
.listing-courtesy {
  display: block;
  padding: 0.7rem 1rem;
  background: var(--ink-2);
  color: rgba(255,255,255,0.42);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* -------------------------------------------------------- KW footer mark --- */

.kw-lockup {
  width: clamp(200px, 21vw, 264px);
  height: auto;
  margin-bottom: 0.9rem;
}

/* ==========================================================================
   Motion layer
   ========================================================================== */

/* -------------------------------------------------- scroll progress bar --- */

.scroll-bar {
  position: fixed; inset: 0 auto auto 0; z-index: 130;
  height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  pointer-events: none;
  will-change: transform;
}

/* --------------------------------------------------------- hero motion --- */

/* Slow push on the footage so the hero never feels like a static plate. */
.hero-media video, .hero-media img { animation: kenburns 32s ease-in-out infinite alternate; }
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.09); }
}

.hero h1 span, .hero-kicker, .hero-sub, .hero-actions {
  opacity: 0;
  animation: riseIn 1.15s var(--ease) forwards;
}
.hero-kicker    { animation-delay: 0.15s; }
.hero h1 .l1    { animation-delay: 0.35s; }
.hero h1 .l2    { animation-delay: 0.5s; }
.hero h1 .l3    { animation-delay: 0.65s; }
.hero-sub       { animation-delay: 0.9s; }
.hero-actions   { animation-delay: 1.05s; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: none; }
}

.hero-scroll { animation: fadeUp 1s var(--ease) 1.5s backwards; }
@keyframes fadeUp { from { opacity: 0; } to { opacity: 1; } }
.hero-scroll i { animation: drop 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes drop {
  0%, 100% { transform: scaleY(0.35); opacity: 0.4; }
  50%      { transform: scaleY(1); opacity: 1; }
}

/* ------------------------------------------------------------- marquee --- */

.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--stone);
  background: var(--cream);
  padding-block: clamp(1.1rem, 2.2vw, 1.8rem);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; flex-shrink: 0; }
.marquee-group span {
  display: inline-flex; align-items: center; gap: clamp(1.6rem, 3vw, 3rem);
  padding-inline: clamp(0.8rem, 1.6vw, 1.5rem);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  font-weight: 300;
  color: var(--ink);
  white-space: nowrap;
}
.marquee-group span::after {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}
.marquee-group span:nth-child(even) { font-style: italic; color: var(--muted); }
/* Two identical groups, translated by exactly one group width, so it never seams. */
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-dark { background: var(--ink); border-color: rgba(255,255,255,0.12); }
.marquee-dark .marquee-group span { color: rgba(255,255,255,0.9); }
.marquee-dark .marquee-group span:nth-child(even) { color: rgba(255,255,255,0.45); }

/* --------------------------------------------------- statement bands ----- */

.statement {
  position: relative;
  min-height: 72svh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.statement-media { position: absolute; inset: -8% 0; }
.statement-media video, .statement-media img {
  width: 100%; height: 100%; object-fit: cover;
  will-change: transform;
}
.statement-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,6,0.72), rgba(10,8,6,0.46) 45%, rgba(10,8,6,0.8));
}
.statement-inner { position: relative; z-index: 2; color: var(--white); width: 100%; }
.statement h2 {
  color: var(--white);
  font-size: clamp(2.1rem, 6vw, 4.6rem);
  line-height: 1.06;
  max-width: 22ch;
}
.statement h2 em { font-style: italic; color: var(--gold-lt); }
.statement p {
  color: rgba(255,255,255,0.82); max-width: 40rem; margin-top: 1.5rem; font-size: 1.05rem;
}
.statement .eyebrow { color: var(--gold-lt); }
.statement-actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* -------------------------------------------------------- count-up nums --- */

.stat b { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------- richer reveal set --- */

/* Word-by-word heading reveal. */
.h-section .w, .h-display .w, .statement h2 .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-rv].in .h-section .w, [data-rv].in .h-display .w,
.head-row.in .w, .statement-inner.in .w { opacity: 1; transform: none; }

/* Grid children arrive in sequence rather than all at once. */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
[data-stagger].in > * { opacity: 1; transform: none; }
[data-stagger].in > *:nth-child(1) { transition-delay: 0.04s; }
[data-stagger].in > *:nth-child(2) { transition-delay: 0.12s; }
[data-stagger].in > *:nth-child(3) { transition-delay: 0.2s; }
[data-stagger].in > *:nth-child(4) { transition-delay: 0.28s; }
[data-stagger].in > *:nth-child(5) { transition-delay: 0.36s; }
[data-stagger].in > *:nth-child(6) { transition-delay: 0.44s; }
[data-stagger].in > *:nth-child(7) { transition-delay: 0.5s; }
[data-stagger].in > *:nth-child(8) { transition-delay: 0.56s; }
[data-stagger].in > *:nth-child(n+9) { transition-delay: 0.62s; }

/* Images wipe up instead of simply fading. */
[data-clip] { overflow: hidden; }
[data-clip] > img {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.12);
  transition: clip-path 1.15s var(--ease), transform 1.5s var(--ease);
}
[data-clip].in > img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* Parallax targets are moved by script; this just keeps them smooth. */
[data-parallax] { will-change: transform; }

/* Section headings pick up a hairline that draws itself in. */
.head-row .head-txt { position: relative; }

@media (prefers-reduced-motion: reduce) {
  .hero-media video, .hero-media img { animation: none; }
  .hero h1 span, .hero-kicker, .hero-sub, .hero-actions,
  .hero-scroll, .hero-scroll i { animation: none; opacity: 1; }
  .marquee-track { animation: none; }
  .h-section .w, .h-display .w, .statement h2 .w,
  [data-stagger] > * { opacity: 1; transform: none; transition: none; }
  [data-clip] > img { clip-path: none; transform: none; transition: none; }
  .scroll-bar { display: none; }
}

/* CTA band now carries video rather than a still. */
.cta-band-media { position: absolute; inset: -8% 0; }
.cta-band-media video { width: 100%; height: 100%; object-fit: cover; }
.cta-band > img { display: none; }

/* ---------------------------------------------- service cards, visual --- */

.svc { display: flex; flex-direction: column; padding: 0; }
.svc::before { display: none; }

.svc-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink);
}
.svc-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}
.svc:hover .svc-media img { transform: scale(1.06); }
.svc-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,6,0.34) 0%, rgba(10,8,6,0.06) 45%, rgba(10,8,6,0.3) 100%);
  transition: background 0.5s var(--ease);
}
.svc:hover .svc-media::after { background: linear-gradient(180deg, rgba(10,8,6,0.12), rgba(10,8,6,0.2)); }

.svc-num {
  position: absolute; top: 0.9rem; left: 1rem; z-index: 2;
  font-family: var(--font-display);
  font-size: 0.997rem; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.9);
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.5);
}

.svc-body {
  display: flex; flex-direction: column; flex: 1;
  padding: clamp(1.5rem, 2.6vw, 2rem);
}
.svc-title { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.svc-title h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.svc-icon {
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.5s var(--ease);
}
.svc:hover .svc-icon { transform: translateY(-2px) rotate(-6deg); }
.svc-body p { flex: 1; font-size: 0.99rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.5rem; }
.svc-body .link-arrow { align-self: flex-start; }

/* ------------------------------------------------------- video reviews --- */

.vreview-head {
  margin: clamp(3rem, 6vw, 4.5rem) 0 clamp(1.6rem, 3vw, 2.2rem);
  padding-top: clamp(2.4rem, 5vw, 3.4rem);
  border-top: 1px solid rgba(255,255,255,0.16);
}
.vreview-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  color: var(--white);
}
.vreview-head h3 em { font-style: italic; color: var(--gold-lt); }
.vreview-head p {
  margin-top: 0.9rem; max-width: 42rem;
  font-size: 1.034rem; color: rgba(255,255,255,0.66);
}

.vreviews { display: grid; grid-template-columns: 1fr; gap: clamp(0.9rem, 2vw, 1.4rem); }

.vreview {
  margin: 0;
  display: flex; flex-direction: column;
  background: rgba(17, 14, 11, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.vreview:hover { border-color: var(--gold-lt); transform: translateY(-4px); }

.vreview-media {
  position: relative; display: block; width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--ink);
  padding: 0; border: 0; cursor: pointer;
}
.vreview-media video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.vreview:hover .vreview-media video { transform: scale(1.03); }
/* Once it is playing the frame belongs to the video, not the hover effect. */
.vreview.playing .vreview-media { cursor: default; }
.vreview.playing .vreview-media video { transform: none; object-fit: contain; background: #000; }
.vreview.playing .vreview-play,
.vreview.playing .vreview-len,
.vreview.playing .vreview-media::after { opacity: 0; pointer-events: none; }

.vreview-len {
  position: absolute; right: 0.7rem; bottom: 0.7rem; z-index: 3;
  background: rgba(10, 8, 6, 0.72);
  color: rgba(255, 255, 255, 0.92);
  padding: 0.2rem 0.5rem;
  font-size: 0.68rem; letter-spacing: 0.08em;
  transition: opacity 0.3s var(--ease);
}
.vreview-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,6,0) 55%, rgba(10,8,6,0.55) 100%);
  transition: opacity 0.3s var(--ease);
}

.vreview-play {
  position: absolute; inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(251, 248, 243, 0.92);
  color: var(--ink);
  padding-left: 4px;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}
.vreview:hover .vreview-play {
  background: var(--gold-lt);
  transform: translate(-50%, -50%) scale(1.08);
}

.vreview-body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.vreview-label {
  display: block;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-lt); margin-bottom: 0.6rem;
}
.vreview-quote {
  display: block; flex: 1;
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: 1.05rem; line-height: 1.5;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
}
.vreview-meta {
  display: block;
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.44);
}
.vreview:hover .vreview-meta { color: var(--gold-lt); }

@media (min-width: 640px) { .vreviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .vreviews { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* -------------------------------------------------- stats, with icons ---- */

.stat-icon {
  display: block;
  margin: 0 auto 0.9rem;
  color: var(--gold);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.stats.in .stat-icon { opacity: 1; transform: none; }
.stats-dark .stat-icon { color: var(--gold-lt); }

.stat span.stat-stars {
  display: block;
  margin-top: 0.7rem;
  font-size: 1.103rem;
  line-height: 1;
  letter-spacing: 0.22em;
  color: var(--gold);
  /* the tracking adds a trailing gap, so pull it back to stay centred */
  text-indent: 0.32em;
}
.stats-dark .stat span.stat-stars { color: var(--gold-lt); }

.stat span:not(.stat-stars) { display: block; }

/* --------------------------------------------- rating badge, with stars -- */

.rating-badge span.rating-stars {
  display: block;
  font-size: 0.88rem;
  letter-spacing: 0.24em;
  color: var(--gold-lt);
  margin-bottom: 0.4rem;
  text-indent: 0.28em;
}
.rating-num { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
/* Keep each label on its own single line rather than wrapping mid-phrase. */
.rating-badge > span:not(.rating-stars) { white-space: nowrap; }
.rating-badge span em {
  font-style: normal;
  color: var(--gold-lt);
  letter-spacing: 0.16em;
}
a.rating-badge { transition: border-color 0.35s var(--ease); }
a.rating-badge:hover { border-color: var(--gold-lt); }
a.rating-badge:hover b { color: var(--gold-lt); }

/* ============================================================== slider === */

.slider { position: relative; }

.slider-track {
  display: flex;
  gap: clamp(0.9rem, 2vw, 1.4rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Horizontal padding would shift every snap point, so the breathing room for
     the hover lift is vertical only. */
  padding: 0.5rem 0 1rem;
  scroll-padding-inline: 0;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * {
  flex: 0 0 var(--slide, 86%);
  /* Without this, flex items refuse to shrink below their content width and
     the basis is ignored. */
  min-width: 0;
  scroll-snap-align: start;
}

.slider-nav {
  display: flex; align-items: center; gap: 1.1rem;
  margin-top: clamp(1.4rem, 3vw, 2rem);
}
.slider-btn {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--stone);
  color: var(--ink);
  background: transparent;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease), opacity 0.3s;
  flex-shrink: 0;
}
.slider-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.slider-btn:disabled { opacity: 0.3; cursor: default; }

.dark .slider-btn, .video-band .slider-btn {
  border-color: rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.9);
}
.dark .slider-btn:hover:not(:disabled), .video-band .slider-btn:hover:not(:disabled) {
  border-color: var(--gold-lt); color: var(--gold-lt);
}

.slider-progress {
  flex: 1;
  height: 1px;
  background: var(--stone);
  overflow: hidden;
}
.slider-progress i {
  display: block; height: 100%;
  background: var(--gold);
  transform: scaleX(0.06); transform-origin: 0 50%;
  transition: transform 0.35s var(--ease);
}
.dark .slider-progress, .video-band .slider-progress { background: rgba(255,255,255,0.2); }
.dark .slider-progress i, .video-band .slider-progress i { background: var(--gold-lt); }

.slider-nav[hidden] { display: none; }

.slider-count {
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted-lt); white-space: nowrap;
}
.dark .slider-count, .video-band .slider-count { color: rgba(255,255,255,0.55); }

/* Cards inside a slider need their own height, not a grid row's. */
.slider-track .quote { background: rgba(17, 14, 11, 0.86); backdrop-filter: blur(10px); }
.slider-track .quote blockquote { -webkit-line-clamp: 8; }

/* With one card on screen there is nothing to line up with, so let each card
   take its own height instead of matching the longest review. */
.slider-track { align-items: flex-start; }

@media (min-width: 640px) {
  .slider-track { align-items: stretch; }
  .slider-track > * { flex-basis: var(--slide-sm, 46%); }
}
@media (min-width: 1080px) { .slider-track > * { flex-basis: var(--slide-lg, 31.4%); } }

@media (prefers-reduced-motion: reduce) { .slider-track { scroll-behavior: auto; } }

/* ------------------------------------------------ hero review rotator --- */

.hero-reviews {
  display: block;
  position: relative;
  width: min(46rem, 100%);
  margin: clamp(1.5rem, 3vw, 2.2rem) auto 0;
  padding-top: clamp(1.1rem, 2vw, 1.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  animation: riseIn 1.15s var(--ease) 1.25s backwards;
}

/* Cards are stacked, so the strip keeps one height and the hero never jumps. */
.hero-reviews-stage {
  /* All slides share one grid cell, so the strip is exactly as tall as the
     longest review and nothing has to be guessed with min-height. */
  display: grid;
}
.hero-review {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  pointer-events: none;
}
.hero-review.is-on { opacity: 1; transform: none; }

.hero-review-stars {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  color: var(--gold-lt);
  margin-bottom: 0.7rem;
}
.hero-review blockquote {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.02rem, 1.9vw, 1.32rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-review figcaption {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}
.hero-review figcaption span { color: rgba(255, 255, 255, 0.5); }

.hero-reviews-bar {
  display: block;
  height: 1px;
  margin-top: clamp(0.9rem, 2vw, 1.2rem);
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.hero-reviews-bar i {
  display: block;
  height: 100%;
  background: var(--gold-lt);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.hero-reviews-bar i.run { animation: heroBar var(--dwell, 6s) linear forwards; }
@keyframes heroBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-reviews:hover .hero-reviews-bar i,
.hero-reviews:focus-visible .hero-reviews-bar i { animation-play-state: paused; }

/* The rotator earns its space on a tall screen; on a short one the hero copy
   matters more. */
@media (max-height: 700px) and (max-width: 780px) {
  .hero-reviews { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-reviews { animation: none; }
  .hero-review { transition: none; }
  .hero-reviews-bar i.run { animation: none; transform: scaleX(1); }
}

/* A short laptop or a small phone gets a compressed hero so the buttons and
   the review strip both stay above the fold. */
@media (max-height: 960px) {
  .hero-inner { padding-block: calc(var(--header-h) + 0.7rem) 3rem; }
  .hero-kicker { margin-bottom: 1rem; }
  .hero h1 .l1 { font-size: clamp(1.8rem, 5.6vw, 3.5rem); }
  .hero h1 .l2 { font-size: clamp(2.7rem, 9.6vw, 6.2rem); }
  .hero h1 .l3 { font-size: clamp(1.2rem, 3.4vw, 2.1rem); }
  .hero-sub { margin-top: 1rem; }
  .hero-actions { margin-top: 1.4rem; }
  .hero-reviews { margin-top: 1.1rem; padding-top: 0.9rem; }
  .hero-review blockquote { -webkit-line-clamp: 2; }
  .hero-scroll { display: none; }
}

@media (max-height: 760px) {
  .hero-inner { padding-block: calc(var(--header-h) + 0.4rem) 2.2rem; }
  .hero h1 .l1 { font-size: clamp(1.5rem, 4.6vw, 2.6rem); }
  .hero h1 .l2 { font-size: clamp(2.3rem, 8vw, 4.6rem); }
  .hero h1 .l3 { font-size: clamp(1rem, 2.8vw, 1.6rem); }
  .hero-sub { margin-top: 0.8rem; }
  .hero-actions { margin-top: 1.1rem; }
}

/* ------------------------------------------------- broker mark in hero --- */

.hero-broker {
  width: clamp(196px, 23vw, 320px);
  height: auto;
  margin: 0 auto clamp(1.1rem, 2.4vw, 1.7rem);
  /* The video runs bright in places, so the mark carries its own separation. */
  filter: drop-shadow(0 2px 14px rgba(8, 6, 4, 0.75));
  opacity: 0;
  animation: riseIn 1.1s var(--ease) 0.05s forwards;
}
@media (max-height: 960px) { .hero-broker { width: clamp(184px, 19vw, 272px); margin-bottom: 0.9rem; } }
@media (max-height: 760px) { .hero-broker { width: 170px; margin-bottom: 0.7rem; } }
@media (prefers-reduced-motion: reduce) { .hero-broker { opacity: 1; animation: none; } }

@media (min-width: 1080px) {
  .quotes-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
