/* ==========================================================================
   ReAlto Partners · static site styles
   Palette: ink + ivory + brass, with an "on air" ember accent for the podcast.
   Type: Cinzel (brand mark + labels), Fraunces (display), Manrope (body).
   ========================================================================== */

:root {
  /* ReAlto brand: logo green #1ba32e and charcoal #262626, enriched with cool grays */
  --ink: #1d211f;
  --ink-2: #242926;
  --ink-3: #2e3430;
  --ivory: #f3f5f2;
  --paper: #e5e9e3;
  --sand: #cfd6cc;
  --brass: #1ba32e;        /* brand green: the contrast color */
  --brass-soft: #5cc96a;
  --brass-deep: #13801f;
  --ember: #1ba32e;
  --ember-soft: #7fdc8a;
  --slate: #858c87;
  --text: #1f2321;
  --text-soft: #4b524d;
  --line-dark: rgba(243, 245, 242, 0.12);
  --line-light: rgba(29, 33, 31, 0.12);

  --f-mark: "Cinzel", "Trajan Pro", Georgia, serif;
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Film grain over everything for texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--brass-deep); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.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;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--brass-deep); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

/* ---------- Type ---------- */

.eyebrow {
  font-family: var(--f-mark);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-deep);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.dark .eyebrow, .eyebrow.on-dark { color: var(--brass); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  font-variation-settings: "SOFT" 30, "opsz" 120;
}
h1 { font-size: clamp(2.3rem, 5.95vw, 4.93rem); } /* 85% of the original clamp(2.7rem, 7vw, 5.8rem), matching the home hero */
h2 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.15; }
h4 { font-size: 1.2rem; line-height: 1.25; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--brass-deep); font-weight: 300; }
.dark h1 em, .dark h2 em, .dark h3 em { color: var(--brass); }

.lede { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--text-soft); max-width: 60ch; }
.dark .lede { color: rgba(243, 245, 242, 0.75); }
p { margin: 0 0 1.1em; }

/* ---------- Buttons ---------- */

.btn {
  --bg: var(--ink); --fg: var(--ivory);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 700 0.92rem/1 var(--f-body);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,0,0,0.45); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-brass { --bg: var(--brass-deep); --fg: #fff; }
.btn-brass:hover { --bg: #0f6e1a; }
.btn-ember { --bg: var(--ember); --fg: var(--ink); }
.btn-ember:hover { --bg: #2fbd43; }
.btn-ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.dark .btn-ghost { --fg: var(--ivory); border-color: rgba(243,245,242,0.35); }
.dark .btn-ghost:hover { border-color: var(--ivory); }
.btn-light { --bg: var(--ivory); --fg: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow svg { width: 18px; height: 18px; flex: none; }
.link-arrow:hover { color: var(--brass-deep); }
.dark .link-arrow:hover { color: var(--brass); }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s, padding 0.4s;
  border-bottom: 1px solid transparent;
  color: var(--ivory);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height 0.4s; }
.site-header.scrolled {
  background: rgba(29, 33, 31, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line-dark);
}
.site-header.scrolled .wrap { height: 68px; }
.site-header.light:not(.scrolled) { color: var(--ink); }

.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-mark { font-family: var(--f-mark); font-weight: 700; font-size: 1.45rem; letter-spacing: 0.06em; }
.brand-mark .a { color: var(--brass); }
.brand-sub { font-family: var(--f-mark); font-size: 0.6rem; letter-spacing: 0.52em; margin-top: 4px; opacity: 0.8; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.93rem; opacity: 0.85; transition: opacity 0.2s; position: relative; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--brass);
}
.nav .btn { padding: 11px 20px; opacity: 1; }
.nav .live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); margin-right: 8px; box-shadow: 0 0 0 0 rgba(27,163,46,0.6); animation: pulse 2s infinite; vertical-align: middle; }

.nav-toggle {
  display: none; background: none; border: 0; color: inherit; cursor: pointer; padding: 8px; margin-right: -8px;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; transition: transform 0.3s, opacity 0.3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; position: relative; z-index: 2; }
  /* Off-canvas panel that slides in from the right */
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: -1;
    width: min(86vw, 390px); height: 100vh; height: 100dvh; overflow-y: auto;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 104px 30px calc(30px + env(safe-area-inset-bottom, 0px));
    color: var(--ivory);
    background:
      url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'><g fill='none' stroke='%231ba32e' stroke-opacity='0.16' stroke-width='1'><path d='M-20 120 C 80 60 180 160 300 110 S 520 40 640 120'/><path d='M-20 160 C 90 100 190 200 300 150 S 520 80 640 160'/><path d='M-20 200 C 100 140 200 240 300 190 S 520 120 640 200'/><path d='M-20 260 C 70 230 170 320 310 260 S 500 190 640 270'/><path d='M-20 300 C 80 270 180 360 310 300 S 500 230 640 310'/><path d='M-20 360 C 110 320 210 420 320 360 S 530 300 640 370'/><path d='M-20 400 C 120 360 220 460 320 400 S 530 340 640 410'/><path d='M-20 460 C 90 430 200 520 300 470 S 510 400 640 470'/><path d='M-20 500 C 100 470 210 560 300 510 S 510 440 640 510'/><path d='M-20 560 C 80 520 190 600 310 560 S 520 500 640 560'/></g></svg>") 0 0 / 600px 600px,
      radial-gradient(120% 60% at 100% 0%, rgba(27,163,46,0.22), transparent 60%),
      radial-gradient(90% 50% at 0% 100%, rgba(27,163,46,0.14), transparent 60%),
      var(--ink);
    border-left: 1px solid rgba(143,229,155,0.18);
    box-shadow: -30px 0 60px -20px rgba(0,0,0,0.6);
    transform: translateX(100%); visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.5s;
  }
  .nav a:not(.btn) {
    font-family: var(--f-display); font-weight: 400; font-size: 1.65rem; line-height: 1.1;
    padding: 16px 0; border-bottom: 1px solid rgba(243,245,242,0.1); opacity: 1;
    display: flex; align-items: center;
  }
  .nav a[aria-current="page"]:not(.btn) { color: var(--green-hi); font-style: italic; }
  .nav a[aria-current="page"]:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 28px; justify-content: center; font-family: var(--f-body); font-size: 1rem; font-weight: 700; padding: 16px 20px; }
  .nav::after {
    content: "303.261.5278  \00B7  Highlands Ranch, Colorado"; display: block; margin-top: 18px; text-align: center;
    font: 600 0.72rem/1.4 var(--f-mark); letter-spacing: 0.16em; color: rgba(243,245,242,0.72);
  }
  /* Links glide in one after another */
  .nav > * { opacity: 0; transform: translateX(28px); transition: opacity 0.4s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
  .nav-open .nav > * { opacity: 1; transform: none; }
  .nav-open .nav > :nth-child(1) { transition-delay: 0.10s; }
  .nav-open .nav > :nth-child(2) { transition-delay: 0.14s; }
  .nav-open .nav > :nth-child(3) { transition-delay: 0.18s; }
  .nav-open .nav > :nth-child(4) { transition-delay: 0.22s; }
  .nav-open .nav > :nth-child(5) { transition-delay: 0.26s; }
  .nav-open .nav > :nth-child(6) { transition-delay: 0.30s; }
  .nav-open .nav > :nth-child(7) { transition-delay: 0.36s; }
  .nav-open .nav { transform: none; visibility: visible; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s; }
  /* Dim and blur the page behind; tapping it closes the menu */
  .site-header::before {
    content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background: rgba(10, 12, 11, 0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    opacity: 0; transition: opacity 0.4s;
  }
  .nav-open .site-header::before { opacity: 1; pointer-events: auto; }
  /* The header's frosted blur would trap the fixed panel inside the bar, so drop it while open */
  .nav-open .site-header, .nav-open .site-header.scrolled {
    color: var(--ivory); background: transparent; border-color: transparent;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 920px) and (prefers-reduced-motion: reduce) {
  .nav, .nav > * { transform: none !important; }
  .nav { opacity: 0; transition: opacity 0.25s, visibility 0s linear 0.25s; }
  .nav-open .nav { opacity: 1; transition: opacity 0.25s; }
}

/* ---------- Sections ---------- */

section { position: relative; }
.pad { padding: clamp(80px, 11vw, 150px) 0; }
.pad-sm { padding: clamp(56px, 7vw, 96px) 0; }
.dark { background: var(--ink); color: var(--ivory); }
.dark-2 { background: var(--ink-2); color: var(--ivory); }
.paper { background: var(--paper); }

/* Topographic line texture (a nod to Colorado) */
.topo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'><g fill='none' stroke='%231ba32e' stroke-opacity='0.13' stroke-width='1'><path d='M-20 120 C 80 60 180 160 300 110 S 520 40 640 120'/><path d='M-20 160 C 90 100 190 200 300 150 S 520 80 640 160'/><path d='M-20 200 C 100 140 200 240 300 190 S 520 120 640 200'/><path d='M-20 260 C 70 230 170 320 310 260 S 500 190 640 270'/><path d='M-20 300 C 80 270 180 360 310 300 S 500 230 640 310'/><path d='M-20 360 C 110 320 210 420 320 360 S 530 300 640 370'/><path d='M-20 400 C 120 360 220 460 320 400 S 530 340 640 410'/><path d='M-20 460 C 90 430 200 520 300 470 S 510 400 640 470'/><path d='M-20 500 C 100 470 210 560 300 510 S 510 440 640 510'/><path d='M-20 560 C 80 520 190 600 310 560 S 520 500 640 560'/></g></svg>");
  background-size: 600px 600px;
}
.topo > * { position: relative; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Photo frames (graceful placeholder until images are dropped in) ---------- */

.photo {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 80% at 20% 10%, rgba(27,163,46,0.35), transparent 60%),
    linear-gradient(160deg, #2b312d, #161a18);
  isolation: isolate;
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.03); }
.photo.missing img { display: none; }
.photo.missing::after {
  content: attr(data-label);
  position: absolute; left: 20px; bottom: 18px; right: 20px;
  font: 600 0.72rem/1.4 var(--f-mark); letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(243,245,242,0.55);
}
.photo.missing::before {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><path d='M40 22 L56 50 H24 Z' fill='none' stroke='%231ba32e' stroke-opacity='0.35'/></svg>") center/80px no-repeat;
}

/* ==========================================================================
   HOME
   ========================================================================== */

.hero {
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 140px 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px, 5vw, 80px); align-items: end;
}
.hero h1 { margin-bottom: 28px; }
.hero h1 .line { display: block; }
.hero .lede { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-photo { aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.hero-photo-wrap { position: relative; }
.hero-badge {
  position: absolute; left: -28px; bottom: 34px; z-index: 2;
  background: var(--ivory); color: var(--ink);
  padding: 16px 20px; border-radius: 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px; max-width: 280px;
}
.hero-badge strong { font-family: var(--f-display); font-weight: 500; font-size: 1.05rem; display: block; line-height: 1.2; }
.hero-badge span { font-size: 0.8rem; color: var(--text-soft); }
.exp-chip {
  flex: none; width: 50px; height: 50px; border-radius: 12px; background: var(--ink); color: var(--ivory);
  display: flex; align-items: center; justify-content: center; font: 800 1rem/1 var(--f-body); letter-spacing: -0.02em;
}
.exp-chip i { font-style: normal; color: var(--brass); }

.hero-meta {
  margin-top: clamp(40px, 6vw, 70px); padding-top: 26px; border-top: 1px solid var(--line-dark);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.hero-meta div { font-size: 0.9rem; color: rgba(243,245,242,0.65); }
.hero-meta b { display: block; font-family: var(--f-mark); font-weight: 600; letter-spacing: 0.12em; font-size: 0.78rem; color: var(--brass); text-transform: uppercase; margin-bottom: 4px; }

.hero-glow {
  position: absolute; width: 900px; height: 900px; right: -300px; top: -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(27,163,46,0.22), transparent 60%);
  pointer-events: none;
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo-wrap { max-width: 460px; }
  .hero-badge { left: 16px; bottom: 16px; }
  .hero-meta { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- Podcast feature (home) ---------- */

.podcast-feature {
  background: linear-gradient(140deg, #13211a 0%, #0f1115 55%);
  color: var(--ivory);
  overflow: hidden;
}
.podcast-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center;
}
.on-air {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(27,163,46,0.5); color: var(--ember-soft);
  font: 700 0.72rem/1 var(--f-body); letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 24px;
}
.on-air::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(27,163,46,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(27,163,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(27,163,46,0); }
}
.podcast-feature h2 em, .podcast-feature h1 em { color: var(--ember-soft); }
.podcast-feature .lede { color: rgba(243, 245, 242, 0.78); }
.hosts { display: flex; gap: 16px; margin: 30px 0 34px; flex-wrap: wrap; }
.host { display: flex; align-items: center; gap: 12px; }
.host .photo { width: 54px; height: 54px; border-radius: 50%; flex: none; }
.host .photo.missing::after, .host .photo.missing::before { display: none; }
.host b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 1.05rem; line-height: 1.2; }
.host span { font-size: 0.82rem; color: rgba(243,245,242,0.6); }
.listen-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.podcast-art {
  position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  background: radial-gradient(90% 90% at 50% 100%, rgba(27,163,46,0.35), transparent 60%), #121513;
}
.podcast-art .split { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.podcast-art .split .photo { border-radius: 0; height: 100%; }
.podcast-art .split .photo img { filter: grayscale(1) contrast(1.05); mix-blend-mode: luminosity; opacity: 0.85; }
.podcast-art .overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(22px, 4vw, 40px);
  background: linear-gradient(180deg, transparent 22%, rgba(11,12,15,0.7) 45%, rgba(11,12,15,0.94) 75%);
}
.podcast-art .overlay small { font: 600 0.72rem/1 var(--f-mark); letter-spacing: 0.32em; color: var(--ember-soft); text-transform: uppercase; }
.podcast-art .overlay strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1; margin-top: 12px; }
.podcast-art .overlay strong em { color: var(--brass); }
/* Podcast waveform: a scrolling two-voice conversation (generated in the build, two shades of green) */
.wave {
  position: relative; width: min(260px, 100%); height: 40px; margin-top: 18px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.wave-svg { display: block; height: 40px; max-width: none; animation: waveScroll 26s linear infinite; }
.wave-svg path { fill: none; stroke-width: 2; stroke-linecap: round; }
.wave-svg .spk-a { stroke: var(--brass); }
.wave-svg .spk-b { stroke: var(--ember-soft); }
@keyframes waveScroll { to { transform: translateX(calc(-1 * var(--wave-period))); } }
@media (prefers-reduced-motion: reduce) { .wave-svg { animation: none; } }

@media (max-width: 920px) { .podcast-card { grid-template-columns: 1fr; } }

/* ---------- Split / story blocks ---------- */

.split-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split-block.reverse > :first-child { order: 2; }
.split-block .photo { aspect-ratio: 4 / 5; }
.stack-photos { position: relative; }
.stack-photos .photo:first-child { aspect-ratio: 4 / 5; width: 82%; }
.stack-photos .photo:last-child {
  position: absolute; right: 0; bottom: -40px; width: 52%; aspect-ratio: 1; border: 8px solid var(--ivory); box-shadow: var(--shadow);
}
.paper .stack-photos .photo:last-child { border-color: var(--paper); }
@media (max-width: 860px) {
  .split-block { grid-template-columns: 1fr; }
  .split-block.reverse > :first-child { order: 0; }
  .stack-photos { margin-bottom: 40px; }
}

.signature { font-family: var(--f-display); font-style: italic; font-size: 1.5rem; color: var(--brass-deep); margin-top: 10px; }

/* ---------- eXp model ---------- */

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.pillar { background: var(--ink); padding: clamp(28px, 4vw, 44px); transition: background 0.4s; }
.pillar:hover { background: var(--ink-3); }
.pillar .num { font: 600 0.8rem/1 var(--f-mark); letter-spacing: 0.2em; color: var(--brass); }
.pillar h3 { margin: 22px 0 12px; }
.pillar p { color: rgba(243,245,242,0.68); font-size: 0.98rem; margin: 0; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

.fineprint { font-size: 0.8rem; color: var(--slate); margin-top: 26px; max-width: 80ch; }
.dark .fineprint { color: rgba(243,245,242,0.45); }

/* ---------- Rhythm / offerings ---------- */

.rhythm { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rhythm-item {
  border: 1px solid var(--line-light); border-radius: var(--radius); padding: 28px 24px; background: rgba(255,255,255,0.35);
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
}
.rhythm-item:hover { transform: translateY(-4px); border-color: var(--brass); background: rgba(255,255,255,0.6); }
.rhythm-item .when { font: 600 0.72rem/1 var(--f-mark); letter-spacing: 0.22em; color: var(--brass-deep); text-transform: uppercase; }
.rhythm-item h4 { margin: 16px 0 8px; font-family: var(--f-display); font-weight: 500; }
.rhythm-item p { font-size: 0.93rem; color: var(--text-soft); margin: 0; }
@media (max-width: 1000px) { .rhythm { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rhythm { grid-template-columns: 1fr; } }

/* ---------- Gallery strip ---------- */

.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 16px; }
.gallery .photo { border-radius: var(--radius); }
.gallery .g1 { grid-row: span 2; }
.gallery .g4 { grid-column: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 200px); }
  .gallery .g1 { grid-row: span 1; grid-column: span 2; }
  .gallery .g4 { grid-column: span 2; }
}

/* ---------- Values ---------- */

.values { counter-reset: v; border-top: 1px solid var(--line-light); }
.value {
  display: grid; grid-template-columns: 90px 1fr 1.2fr; gap: 30px; align-items: baseline;
  padding: 30px 0; border-bottom: 1px solid var(--line-light);
}
.value .n { font: 600 0.85rem/1 var(--f-mark); letter-spacing: 0.2em; color: var(--brass-deep); }
.value h3 { margin: 0; }
.value p { margin: 0; color: var(--text-soft); }
@media (max-width: 760px) { .value { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Quote ---------- */

.big-quote { text-align: center; max-width: 980px; margin: 0 auto; }
.big-quote blockquote {
  margin: 0; font-family: var(--f-display); font-weight: 300; font-style: italic;
  font-size: clamp(1.8rem, 4.2vw, 3.3rem); line-height: 1.2;
}
.big-quote blockquote::before { content: "\201C"; display: block; font-size: 5rem; line-height: 0.6; color: var(--brass); font-style: normal; margin-bottom: 18px; }
.big-quote cite { display: block; margin-top: 26px; font: 600 0.8rem/1 var(--f-mark); letter-spacing: 0.24em; font-style: normal; text-transform: uppercase; color: var(--brass); }

/* ---------- Video ---------- */

.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-card { display: flex; flex-direction: column; gap: 16px; }
.yt {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer;
  border: 0; padding: 0; width: 100%; display: block; color: #fff;
}
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; transition: opacity 0.3s, transform 0.8s var(--ease); }
.yt:hover img { opacity: 1; transform: scale(1.03); }
.yt .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; background: rgba(29,33,31,0.7); backdrop-filter: blur(6px);
  display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.3); transition: background 0.3s, transform 0.3s;
}
.yt:hover .play { background: var(--ember); transform: translate(-50%, -50%) scale(1.06); }
.yt .play svg { width: 26px; height: 26px; margin-left: 4px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card h4 { font-family: var(--f-display); font-weight: 500; margin: 0; }
.video-card p { margin: 0; font-size: 0.92rem; color: rgba(243,245,242,0.6); }
@media (max-width: 760px) { .videos { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */

.cta-band {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(120deg, #0d6417 0%, #10761c 45%, var(--brass-deep) 100%);
  color: #fff; padding: clamp(40px, 7vw, 90px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band h2 { color: #fff; }
.cta-band h2 em { color: #fff; }
.cta-band p { margin: 0; max-width: 52ch; color: #fff; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-band::after {
  content: "R"; position: absolute; right: -30px; bottom: -120px; font: 700 26rem/1 var(--f-mark); color: rgba(255,255,255,0.07); pointer-events: none;
}
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* ---------- Page hero (inner pages) ---------- */

.page-hero { padding: clamp(150px, 18vw, 220px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lede { margin-top: 10px; }

/* ---------- Forms ---------- */

.form-shell {
  background: var(--ivory); color: var(--text);
  border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow);
}
.form-shell h3 { margin-bottom: 6px; }
.form-shell > p { color: var(--text-soft); font-size: 0.95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: 0.82rem; margin-bottom: 7px; letter-spacing: 0.02em; }
.field label .opt { font-weight: 500; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; font: 500 1rem/1.4 var(--f-body); color: var(--text);
  background: #fff; border: 1px solid #cfd6cc; border-radius: 12px; padding: 13px 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%231f2321' stroke-width='1.6' fill='none'/></svg>");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brass); box-shadow: 0 0 0 4px rgba(27,163,46,0.22); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; margin: 0; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid #cfd6cc; background: #fff;
  font-size: 0.86rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.chips input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.form-foot small { color: var(--slate); font-size: 0.8rem; max-width: 40ch; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--brass-deep); display: grid; place-items: center; margin: 0 auto 18px; }
form.sent { display: none; }
form.sent + .form-success { display: block; }
.form-error { color: #b3361b; font-weight: 600; font-size: 0.9rem; margin-top: 12px; display: none; }
.form-error.show { display: block; }
button[disabled] { opacity: 0.6; pointer-events: none; }

/* inline newsletter-style form */
.inline-form { display: flex; gap: 10px; max-width: 520px; flex-wrap: wrap; }
.inline-form input {
  flex: 1 1 220px; min-width: 0; padding: 15px 20px; border-radius: 999px; border: 1px solid rgba(243,245,242,0.25);
  background: rgba(243,245,242,0.06); color: var(--ivory); font: 500 1rem var(--f-body);
}
.inline-form input::placeholder { color: rgba(243,245,242,0.5); }
.inline-form input:focus { outline: 0; border-color: var(--ember-soft); }
.inline-success { display: none; color: var(--brass-soft); font-weight: 600; }
.inline-form.sent { display: none; }
.inline-form.sent + .inline-success { display: block; }

/* ---------- Podcast page ---------- */

.episode-list { display: grid; gap: 14px; }
.episode {
  display: grid; grid-template-columns: 70px 1fr auto; gap: 24px; align-items: center;
  padding: 22px 26px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(255,255,255,0.02);
  transition: border-color 0.3s, background 0.3s;
}
.episode:hover { border-color: rgba(27,163,46,0.45); background: rgba(255,255,255,0.04); }
.episode .ep { font: 600 0.8rem/1 var(--f-mark); letter-spacing: 0.18em; color: var(--ember-soft); }
.episode h4 { margin: 0 0 4px; font-family: var(--f-display); font-weight: 500; }
.episode p { margin: 0; font-size: 0.9rem; color: rgba(243,245,242,0.6); }
.episode .tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(243,245,242,0.5); border: 1px solid var(--line-dark); padding: 6px 10px; border-radius: 999px; }
@media (max-width: 640px) { .episode { grid-template-columns: 1fr; gap: 8px; } }

.host-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
.host-card .photo { aspect-ratio: 4 / 5; margin-bottom: 26px; }
.host-card .role { font: 600 0.75rem/1 var(--f-mark); letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-deep); }
.host-card h3 { margin: 10px 0 14px; }
.host-card p { color: var(--text-soft); }
@media (max-width: 760px) { .host-cards { grid-template-columns: 1fr; } }

.topics { display: flex; flex-wrap: wrap; gap: 10px; }
.topics span { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-light); font-weight: 600; font-size: 0.92rem; background: rgba(255,255,255,0.4); }

/* ---------- Testimonials ---------- */

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.t-card { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-light); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.t-card p { font-family: var(--f-display); font-size: 1.12rem; line-height: 1.5; margin: 0; }
.t-card cite { font-style: normal; font-weight: 700; font-size: 0.88rem; color: var(--brass-deep); }
@media (max-width: 860px) { .testimonials { grid-template-columns: 1fr; } }

/* ---------- Checklist ---------- */

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.checklist li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 3px;
  background: var(--brass-deep) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='10'><path d='M1 5l3.5 3.5L11 1' stroke='%23ffffff' stroke-width='1.8' fill='none'/></svg>") center no-repeat;
}
.checklist b { font-weight: 700; }

/* ---------- FAQ ---------- */

.faq details { border-bottom: 1px solid var(--line-light); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-family: var(--f-display); font-size: 1.3rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-body); font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--brass-deep); transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; color: var(--text-soft); max-width: 70ch; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 22px; }
.contact-list b { display: block; font: 600 0.75rem/1 var(--f-mark); letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass); margin-bottom: 6px; }
.contact-list a { text-decoration: none; font-family: var(--f-display); font-size: 1.35rem; }
.contact-list a:hover { color: var(--brass); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.site-footer { background: #151816; color: rgba(243,245,242,0.7); padding: clamp(60px, 8vw, 100px) 0 36px; font-size: 0.93rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-dark); }
.footer-top .brand { color: var(--ivory); margin-bottom: 18px; }
.footer-top h5 { font: 600 0.72rem/1 var(--f-mark); letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass); margin: 6px 0 18px; }
.footer-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-top a { text-decoration: none; }
.footer-top a:hover { color: var(--ivory); }
.footer-tag { font-family: var(--f-mark); letter-spacing: 0.14em; font-size: 0.78rem; color: rgba(243,245,242,0.5); text-transform: uppercase; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background 0.3s, border-color 0.3s, color 0.3s; }
.socials a:hover { background: var(--brass-deep); border-color: var(--brass-deep); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 0.8rem; color: rgba(243,245,242,0.66); }
.footer-bottom p { margin: 0; max-width: 80ch; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* ---------- Marquee ---------- */

.marquee { overflow: hidden; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 22px 0; background: var(--ink); color: var(--ivory); }
.marquee-track { display: flex; gap: 50px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--f-display); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.2rem); white-space: nowrap; display: inline-flex; align-items: center; gap: 50px; }
.marquee span::after { content: "\2726"; font-style: normal; color: var(--brass); font-size: 0.8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal on scroll ---------- */

/* Content is visible by default; the fade-in only applies once the page script is confirmed running */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.1s; } .js .reveal.d2 { transition-delay: 0.2s; } .js .reveal.d3 { transition-delay: 0.3s; }

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

/* 404 / thank-you */
.center-screen { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; }
.center-screen .big { font: 700 clamp(6rem, 22vw, 14rem)/0.9 var(--f-mark); color: var(--brass); opacity: 0.9; }
.center-screen h1.h2 { font-size: clamp(1.79rem, 3.91vw, 3.15rem); } /* hero headline at 85%, like every other page */

/* ==========================================================================
   SEO / content additions
   ========================================================================== */

/* Keyword-bearing kicker that lives inside each page's single H1 */
.h1-kicker {
  display: block;
  font: 600 0.8rem/1.5 var(--f-mark);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 22px;
  max-width: 60ch;
}
.light-hero .h1-kicker { color: var(--brass-deep); }
.podcast-feature .h1-kicker { color: var(--ember-soft); }

/* Breadcrumbs */
.crumbs { font-size: 0.82rem; margin-bottom: 26px; color: rgba(243,245,242,0.55); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--brass); }

/* Answer-first summary + key facts (written for people, readable by AI) */
.summary {
  font-family: var(--f-display); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.5;
  max-width: 62ch; margin: 0;
}
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; margin: 0; }
.facts div { background: var(--ivory); padding: 20px 22px; }
.paper .facts div { background: var(--paper); }
.facts dt { font: 600 0.72rem/1.3 var(--f-mark); letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 6px; }
.facts dd { margin: 0; font-weight: 600; line-height: 1.45; }
.dark .facts { background: var(--line-dark); border-color: var(--line-dark); }
.dark .facts div { background: var(--ink); }
.dark .facts dt { color: var(--brass); }

.updated { font-size: 0.8rem; color: var(--slate); margin-top: 18px; }
.dark .updated { color: rgba(243,245,242,0.45); }

/* Service areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 24px 0 0; }
.areas li { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-dark); font-weight: 600; font-size: 0.9rem; }
.paper .areas li, .areas.on-light li { border-color: var(--line-light); background: rgba(255,255,255,0.45); }

/* Nav fits six items: collapse a little earlier */
@media (max-width: 1060px) and (min-width: 921px) { .nav { gap: 20px; } .nav a { font-size: 0.88rem; } }

/* Visual heading sizes decoupled from heading level (keeps the outline semantic) */
.h2 { font-family: var(--f-display); font-weight: 400; line-height: 1.05; font-size: clamp(2.1rem, 4.6vw, 3.7rem); }
.h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.15; font-size: clamp(1.4rem, 2.2vw, 1.85rem); margin: 0 0 0.5em; }
.h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.25; font-size: 1.2rem; margin: 0 0 0.3em; }
.footer-top .h5 { font: 600 0.72rem/1 var(--f-mark); letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass); margin: 6px 0 18px; }
.site-footer address a { text-decoration: none; }
.site-footer address a:hover { color: var(--ivory); }
.field .label { display: block; font-weight: 700; font-size: 0.82rem; margin-bottom: 7px; letter-spacing: 0.02em; }
.faq summary h3 { font-weight: 400; }

@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* ---------- The Resilient Real Estate Agent co-brand ---------- */
a.podcast-art { display: block; color: var(--ivory); text-decoration: none; }
a.podcast-art:hover .wave-svg { animation-duration: 16s; }
.podcast-art .overlay strong { line-height: 1.02; }
.show-hosts { display: block; margin-top: 10px; font: 600 0.78rem/1 var(--f-mark); letter-spacing: 0.22em; text-transform: uppercase; color: rgba(243,245,242,0.7); }
.show-logo {
  position: absolute; top: clamp(18px, 3vw, 30px); left: clamp(18px, 3vw, 30px); z-index: 2;
  width: clamp(64px, 9vw, 96px); height: auto; border-radius: 50%;
  box-shadow: 0 0 0 3px var(--brass), 0 12px 30px -10px rgba(0,0,0,0.6);
}

.latest { margin-bottom: 26px; }
.yt-list { aspect-ratio: 21 / 9; background: radial-gradient(80% 120% at 85% 20%, rgba(27,163,46,0.35), transparent 60%), radial-gradient(70% 90% at 10% 100%, rgba(27,163,46,0.25), transparent 60%), #121513; border: 1px solid var(--line-dark); }
.yt-cover { position: absolute; left: clamp(22px, 4vw, 48px); bottom: clamp(22px, 4vw, 44px); text-align: left; max-width: 70%; }
.yt-cover small { display: block; font: 600 0.75rem/1 var(--f-mark); letter-spacing: 0.3em; text-transform: uppercase; color: var(--ember-soft); margin-bottom: 12px; }
.yt-cover strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.8rem, 4.4vw, 3.4rem); line-height: 1; }
.yt-cover strong em { color: var(--brass); }
.yt-cover span { display: block; margin-top: 12px; font: 600 0.75rem/1 var(--f-mark); letter-spacing: 0.22em; text-transform: uppercase; color: rgba(243,245,242,0.65); }
.yt-list .play { left: auto; right: clamp(22px, 5vw, 60px); transform: translateY(-50%); }
.yt-list:hover .play { transform: translateY(-50%) scale(1.06); }
@media (max-width: 640px) { .yt-list { aspect-ratio: 4 / 3; } .yt-cover { max-width: 85%; } .yt-list .play { top: 30%; } }

/* ---------- One consistent ReAlto photo grade across every portrait ---------- */
.photo:not(.missing) img { filter: saturate(0.9) contrast(1.05); }
.photo:not(.missing)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background:
    linear-gradient(180deg, transparent 55%, rgba(29,33,31,0.32)),
    linear-gradient(135deg, rgba(27,163,46,0.07), transparent 55%);
  box-shadow: inset 0 0 0 1px rgba(27,163,46,0.25);
}

/* ==========================================================================
   Team hero: full-bleed crossfading team photos + a moving strip of the pack
   ========================================================================== */
.hero-team {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(100svh, 1000px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 150px;
  background:
    radial-gradient(70% 60% at 80% 20%, rgba(27,163,46,0.28), transparent 60%),
    radial-gradient(60% 50% at 10% 90%, rgba(27,163,46,0.12), transparent 60%),
    var(--ink);
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
/* Each slide is a <picture>: phones get a tall crop, tablets a square crop, desktop the full photo */
.hero-slides picture {
  position: absolute; inset: 0; opacity: 0;
  animation: heroSlide 28s linear infinite;
}
.hero-slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 35%;
  filter: saturate(0.85) contrast(1.06);
}
.hero-slides picture:nth-child(1) { animation-delay: -1.4s; }
.hero-slides picture:nth-child(2) { animation-delay: 5.6s; }
.hero-slides picture:nth-child(3) { animation-delay: 12.6s; }
.hero-slides picture:nth-child(4) { animation-delay: 19.6s; }
@keyframes heroSlide {
  0%   { opacity: 0; transform: scale(1.02); }
  5%   { opacity: 1; }
  25%  { opacity: 1; }
  32%  { opacity: 0; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(1.1); }
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(29,33,31,0.94) 0%, rgba(29,33,31,0.78) 42%, rgba(29,33,31,0.3) 100%),
    linear-gradient(180deg, rgba(29,33,31,0.55) 0%, transparent 25%, transparent 60%, var(--ink) 100%),
    linear-gradient(135deg, rgba(27,163,46,0.18), transparent 50%);
}
.hero-inner { padding-bottom: 40px; }
.hero-inner h1 { max-width: 15ch; font-size: clamp(2.38rem, 6.29vw, 5.27rem); margin-bottom: 26px; } /* 85% of the original clamp(2.8rem, 7.4vw, 6.2rem) */
.hero-inner .lede { max-width: 56ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero-founder {
  display: inline-flex; align-items: center; gap: 12px; margin-left: 8px; text-decoration: none;
  padding: 6px 16px 6px 6px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(29,33,31,0.5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 0.78rem; color: rgba(243,245,242,0.7); line-height: 1.25;
}
.hero-founder:hover { border-color: var(--brass); }
.hero-founder .photo { width: 42px; height: 42px; border-radius: 50%; flex: none; }
.hero-founder .photo.missing::after, .hero-founder .photo.missing::before { display: none; }
.hero-founder b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 1rem; color: var(--ivory); }
.hero-team .hero-meta { margin-top: clamp(36px, 5vw, 56px); }

.pack-strip { position: relative; padding: 22px 0 28px; overflow: hidden; border-top: 1px solid var(--line-dark); background: rgba(29,33,31,0.6); }
.pack-strip::before, .pack-strip::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.pack-strip::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.pack-strip::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.pack-track { display: flex; gap: 14px; width: max-content; animation: packScroll 70s linear infinite; }
.pack-strip:hover .pack-track { animation-play-state: paused; }
.pack-frame { width: clamp(150px, 16vw, 230px); aspect-ratio: 4 / 3; border-radius: 12px; flex: none; }
.pack-frame.missing::after, .pack-frame.missing::before { display: none; }
@keyframes packScroll { to { transform: translateX(-50%); } }

@media (max-width: 760px) {
  .hero-team { min-height: 0; padding-top: 120px; }
  .hero-shade { background: linear-gradient(180deg, rgba(29,33,31,0.7) 0%, rgba(29,33,31,0.88) 55%, var(--ink) 100%); }
  .hero-founder { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slides picture { animation: none; }
  .hero-slides picture:first-child { opacity: 1; }
  .pack-track { animation: none; }
}

/* Official ReAlto logo in header and footer */
.brand img { display: block; height: 40px; width: auto; }
.site-header.scrolled .brand img { height: 34px; }
.footer-top .brand img { height: 46px; }
@media (max-width: 560px) { .brand img { height: 32px; } }

/* Three-slide team hero timing */
.hero-slides picture { animation-duration: 21s; }
.hero-slides picture:nth-child(1) { animation-delay: -1.05s; }
.hero-slides picture:nth-child(2) { animation-delay: 5.95s; }
.hero-slides picture:nth-child(3) { animation-delay: 12.95s; }
@keyframes heroSlide {
  0%   { opacity: 0; transform: scale(1.02); }
  5%   { opacity: 1; }
  33%  { opacity: 1; }
  40%  { opacity: 0; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(1.1); }
}

/* Allison monogram card (stands in for a portrait until a current Realtor headshot is added) */
.photo.monogram {
  aspect-ratio: 4 / 5; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center;
  background:
    radial-gradient(80% 60% at 70% 20%, rgba(27,163,46,0.30), transparent 60%),
    radial-gradient(60% 50% at 20% 90%, rgba(27,163,46,0.12), transparent 60%),
    linear-gradient(160deg, var(--ink-3), var(--ink));
  color: var(--ivory); border: 1px solid rgba(27,163,46,0.35);
}
.photo.monogram::after { content: none; }
.mono-initials {
  font: 700 clamp(4.5rem, 12vw, 8rem)/1 var(--f-mark); letter-spacing: 0.04em;
  padding: 0.18em 0.32em; border: 2px solid var(--brass); color: var(--ivory);
}
.mono-name { font: 600 0.8rem/1 var(--f-mark); letter-spacing: 0.32em; text-transform: uppercase; color: var(--brass-soft); }
.host .photo.monogram, .photo.monogram.host-mono { aspect-ratio: 1; padding: 0; gap: 0; border-radius: 50%; }
.host .photo.monogram .mono-initials { font-size: 1rem; padding: 0; border: 0; }
.host .photo.monogram .mono-name { display: none; }

/* ==========================================================================
   Contrast pass: bold accent words and readable greens on every background
   (WCAG AA: light green on charcoal is about 9:1, deep green on ivory about 6.5:1)
   ========================================================================== */
:root {
  --green-hi: #8fe59b;    /* accent text on dark backgrounds */
  --green-ink: #0d6a19;   /* accent text on light backgrounds */
  --ember-soft: #8fe59b;
}
/* Italic accent words: bold, deep green on light sections */
h1 em, h2 em, h3 em, .h2 em, .h3 em { font-weight: 650; color: var(--green-ink); }
.signature { font-weight: 600; color: var(--green-ink); }
/* ...and light green on every dark section */
:is(.dark, .dark-2, .podcast-feature, .hero-team, .site-footer) :is(h1, h2, h3, .h2, .h3) em,
.podcast-art .overlay strong em, .yt-cover strong em { color: var(--green-hi); }

/* Small labels and eyebrows */
.eyebrow { color: var(--green-ink); font-weight: 700; }
:is(.dark, .dark-2, .podcast-feature, .hero-team) .eyebrow, .eyebrow.on-dark { color: var(--green-hi); }
.h1-kicker, .podcast-feature .h1-kicker { color: var(--green-hi); font-weight: 700; }
.hero-meta b, .pillar .num, .footer-top .h5, .contact-list b, .dark .facts dt, .episode .ep,
.big-quote cite, .podcast-art .overlay small, .yt-cover small { font-weight: 700; }
.hero-meta b, .pillar .num, .footer-top .h5, .contact-list b, .dark .facts dt,
.podcast-art .overlay small, .yt-cover small, .on-air { color: var(--green-hi); }
.big-quote cite, .rhythm-item .when, .host-card .role, .value .n, .facts dt, .t-card cite { color: var(--green-ink); font-weight: 700; }
.dark .big-quote cite { color: var(--green-hi); }
.crumbs a:hover, .contact-list a:hover, .dark .link-arrow:hover { color: var(--green-hi); }
.marquee span::after { color: var(--green-hi); }
.on-air { border-color: rgba(143, 229, 155, 0.5); }

/* ==========================================================================
   Carousel lightbox
   ========================================================================== */
.pack-btn { flex: none; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; }
.pack-btn:focus-visible { outline: 2px solid var(--green-hi); outline-offset: 3px; }
.pack-btn .pack-frame { transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.pack-btn:hover .pack-frame { transform: translateY(-4px); box-shadow: 0 16px 30px -14px rgba(0,0,0,0.7); }
.pack-strip.paused .pack-track { animation-play-state: paused; }
.pack-strip .pack-hint { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); top: -34px; font: 600 0.7rem/1 var(--f-mark); letter-spacing: 0.22em; text-transform: uppercase; color: var(--green-hi); }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; grid-template-rows: 1fr auto; align-items: center; justify-items: center;
  padding: calc(64px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(14, 17, 15, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transition: opacity 0.25s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: 14px; max-width: min(1200px, 100%); min-height: 0; }
.lb-figure img {
  max-width: 100%; max-height: calc(100svh - 190px); width: auto; height: auto; object-fit: contain;
  border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8); background: var(--ink-2);
  transition: opacity 0.2s;
}
.lb-figure img.loading { opacity: 0.25; }
.lb-caption { color: var(--ivory); text-align: center; font: 500 1.05rem/1.4 var(--f-display); max-width: 60ch; }
.lb-count { display: block; margin-top: 4px; font: 700 0.7rem/1 var(--f-mark); letter-spacing: 0.24em; color: var(--green-hi); }
.lb-btn {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(243,245,242,0.25); background: rgba(29,33,31,0.7); color: var(--ivory); cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.lb-btn:hover { background: var(--brass-deep); border-color: var(--brass-deep); color: #fff; }
.lb-btn:focus-visible { outline: 2px solid var(--green-hi); outline-offset: 3px; }
.lb-btn svg { width: 22px; height: 22px; }
.lb-prev { left: max(16px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lb-next { right: max(16px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
.lb-close { right: max(16px, env(safe-area-inset-right, 0px)); top: calc(14px + env(safe-area-inset-top, 0px)); }
@media (max-width: 760px) {
  .lb-prev, .lb-next { top: auto; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: none; }
  .lb-prev { left: 50%; margin-left: -64px; } .lb-next { right: 50%; margin-right: -64px; }
  .lightbox { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
  .lb-figure img { max-height: calc(100svh - 240px); }
}
body.lb-open { overflow: hidden; }

/* eXp Realty logo beside the eXp section headings */
.exp-head { display: flex; align-items: center; justify-content: space-between; gap: clamp(28px, 6vw, 90px); margin-bottom: clamp(40px, 6vw, 72px); }
.exp-head .section-head { margin-bottom: 0; }
.exp-logo { width: clamp(150px, 18vw, 260px); height: auto; flex: none; opacity: 0.95; }
@media (max-width: 860px) {
  .exp-head { flex-direction: column-reverse; align-items: flex-start; gap: 22px; }
  .exp-logo { width: 130px; }
}

/* Lede and fine print on every dark background (was only .dark) */
:is(.dark, .dark-2, .hero-team, .podcast-feature, .site-footer) .lede { color: rgba(243, 245, 242, 0.86); }
:is(.dark, .dark-2) .fineprint { color: rgba(243, 245, 242, 0.6); }
:is(.dark, .dark-2) .checklist li, :is(.dark, .dark-2) .summary { color: rgba(243, 245, 242, 0.92); }
/* Darker neutral for small print on light backgrounds (about 5.9:1 on ivory) */
:root { --slate: #5b635e; }
:is(.dark, .dark-2) .updated { color: rgba(243, 245, 242, 0.62); }

/* Podcast art: both hosts eye to eye. Allison uses a dedicated composite (podcast-allison.jpg) sized and placed to match Dan */
.podcast-art .split { overflow: hidden; }
.podcast-art .split .photo { position: relative; min-width: 0; overflow: hidden; }
.podcast-art .split .photo img { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 50% 50%; }
.podcast-art .split .photo:nth-child(1) img,
.podcast-art .split .photo:nth-child(1):hover img { object-position: 55% 50%; transform: translateY(7%) scale(1.15); }
.podcast-art .split .photo:nth-child(2) img,
.podcast-art .split .photo:nth-child(2):hover img { object-position: 50% 50%; transform: none; }

/* Home "At a glance": team photo beside the heading */
.glance-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-bottom: clamp(40px, 6vw, 72px); }
.glance-head .section-head { margin-bottom: 0; }
.glance-photo { margin: 0; }
.glance-photo .photo { aspect-ratio: 3 / 2; border-radius: var(--radius-lg); }
@media (max-width: 860px) { .glance-head { grid-template-columns: 1fr; } }

/* Team rhythm flywheel (Home, "Life on the team") */
.flywheel { margin: 0; justify-self: center; width: 100%; max-width: 460px; }
.flywheel.on-dark { max-width: 520px; }
.flywheel svg { display: block; width: 100%; height: auto; overflow: visible; }
.flywheel .fw-track { fill: none; stroke: rgba(13, 106, 25, 0.12); stroke-width: 14; }
.flywheel .fw-arcs path { fill: none; stroke: var(--green-ink); stroke-width: 2.5; stroke-linecap: round; }
.flywheel marker path { fill: var(--green-ink); }
.flywheel .fw-nodes circle { fill: var(--brass); stroke: var(--ivory); stroke-width: 4; }
.flywheel .fw-orbit { transform-box: view-box; transform-origin: 260px 200px; animation: fw-spin 14s linear infinite; }
.flywheel .fw-orbit circle { fill: var(--brass); opacity: 0.55; }
.flywheel .fw-word { font: 700 22px var(--f-display); fill: var(--ink); }
.flywheel .fw-sub { font: 500 14px var(--f-body); fill: var(--slate); }
.flywheel .fw-center { font: italic 700 30px var(--f-display); fill: var(--green-ink); }
.flywheel .fw-center-sub { font: 600 11px var(--f-mark); letter-spacing: 0.14em; text-transform: uppercase; fill: var(--slate); }
@keyframes fw-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .flywheel .fw-orbit { animation: none; } }

/* Video posters: custom ReAlto graphics instead of YouTube thumbnails */
.yt-list .yt-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: 1; }
.yt-list:hover .yt-bg { transform: scale(1.02); }
.yt-list .play { top: clamp(22px, 4vw, 44px); left: clamp(22px, 4vw, 48px); right: auto; transform: none; }
.yt-list:hover .play { transform: scale(1.06); }
.yt img { opacity: 0.94; }
@media (max-width: 640px) { .yt-list { aspect-ratio: 1 / 1; } .yt-list .play { top: 22px; } .yt-list .yt-bg { object-position: 86% center; } }
.video-card .yt .play { left: auto; top: auto; right: 18px; bottom: 18px; transform: none; width: 60px; height: 60px; }
.video-card .yt:hover .play { transform: scale(1.06); }
.video-card .yt .play svg { width: 22px; height: 22px; }
.form-success .tick svg { stroke: #fff; }

/* Contrast pass: keep hero facts legible over the photo */
.hero-meta div { color: rgba(243,245,242,0.9); text-shadow: 0 1px 12px rgba(0,0,0,0.65), 0 0 2px rgba(0,0,0,0.5); }

/* Podcast page: show logo in the dark left side of the latest-episodes banner */
.yt-list .yt-logo {
  position: absolute; z-index: 1; left: 30%; top: 40%; transform: translate(-50%, -50%);
  width: clamp(96px, 13vw, 168px); height: auto; border-radius: 50%; opacity: 1;
  box-shadow: 0 0 0 3px var(--brass), 0 18px 40px -12px rgba(0,0,0,0.7);
}
.yt-list:hover .yt-logo { transform: translate(-50%, -50%); }
@media (max-width: 640px) { .yt-list .yt-logo { left: 110px; right: auto; top: 18px; transform: none; width: 62px; box-shadow: 0 0 0 2px var(--brass), 0 10px 24px -10px rgba(0,0,0,0.7); } .yt-list:hover .yt-logo { transform: none; } }

/* Calendly and Eventbrite buttons */
.event-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(28px, 4vw, 44px); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.socials { flex-wrap: wrap; }
.socials a svg { width: 18px; height: 18px; }
.form-alt { margin: -4px 0 22px; font-weight: 600; }
.form-alt a { color: var(--green-ink); display: inline-flex; align-items: center; gap: 6px; }
.form-alt a svg { width: 16px; height: 16px; }
:is(.dark, .dark-2) .form-alt a { color: var(--green-hi); }
.form-shell .form-alt a, :is(.dark, .dark-2) .form-shell .form-alt a { color: var(--green-ink); }

/* Round 2: rhythm note and the 4 R's */
.rhythm-note { text-align: center; margin: clamp(22px, 3vw, 32px) auto 0; max-width: 60ch; font: italic 400 1.2rem/1.5 var(--f-display); color: var(--green-ink); }
/* 4 R's cycle: the Home flywheel reversed out for dark sections */
.flywheel.on-dark .fw-track { stroke: rgba(143, 229, 155, 0.14); }
.flywheel.on-dark .fw-arcs path { stroke: var(--green-hi); }
.flywheel.on-dark marker path { fill: var(--green-hi); }
.flywheel.on-dark .fw-nodes circle { fill: var(--brass); stroke: var(--ink); }
.flywheel.on-dark .fw-orbit circle { fill: var(--green-hi); opacity: 0.7; }
.flywheel.on-dark .fw-word { fill: var(--ivory); font-size: 20px; }
.flywheel.on-dark .fw-sub { fill: rgba(243, 245, 242, 0.78); }
.flywheel.on-dark .fw-center { fill: var(--green-hi); }
.flywheel.on-dark .fw-center-sub { fill: rgba(243, 245, 242, 0.78); }
.rs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.rs-card { background: var(--ink); padding: clamp(24px, 3vw, 36px); }
.rs-card .rs-n { font: 700 0.8rem/1 var(--f-mark); letter-spacing: 0.2em; color: var(--green-hi); }
.rs-card h3 { margin: 16px 0 10px; color: var(--ivory); }
.rs-card p { margin: 0; color: rgba(243,245,242,0.82); font-size: 0.98rem; }
@media (max-width: 980px) { .rs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rs-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .flywheel.on-dark .fw-word { font-size: 24px; } .flywheel.on-dark .fw-sub { font-size: 17px; } .flywheel.on-dark .fw-center-sub { font-size: 13px; } }

/* Team Bios dropdown */
.nav-group { position: relative; }
.nav-drop { background: none; border: 0; padding: 0; color: inherit; font: inherit; font-weight: 600; font-size: 0.93rem; opacity: 0.85; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: opacity 0.2s; }
.nav-drop svg { width: 11px; height: 8px; transition: transform 0.25s; }
.nav-group:hover .nav-drop, .nav-group.is-current .nav-drop, .nav-group.open .nav-drop { opacity: 1; }
.nav-group.is-current .nav-drop { box-shadow: 0 7px 0 -6px var(--brass); }
.nav-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; min-width: 230px; padding: 8px;
  transform: translate(-50%, 6px); opacity: 0; visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0s linear 0.2s;
  background: rgba(29, 33, 31, 0.97); border: 1px solid rgba(143,229,155,0.2); border-radius: 14px;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,0.6);
}
.nav-menu::before { content: ""; position: absolute; inset: -16px 0 auto 0; height: 16px; } /* hover bridge */
.nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu, .nav-group.open .nav-menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity 0.2s, transform 0.2s, visibility 0s;
}
.nav-group:hover .nav-drop svg, .nav-group.open .nav-drop svg { transform: rotate(180deg); }
.nav-menu a { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 10px; color: var(--ivory); opacity: 1; }
.nav-menu a b { font-weight: 700; font-size: 0.95rem; }
.nav-menu a span { font: 600 0.66rem/1.2 var(--f-mark); letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-hi); }
.nav-menu a:hover, .nav-menu a:focus-visible { background: rgba(143,229,155,0.1); }
.nav-menu a[aria-current="page"] { background: rgba(143,229,155,0.14); }
.nav .nav-menu a[aria-current="page"]::after { display: none; }
@media (max-width: 920px) {
  /* In the slide-in panel the bios are listed under a small heading */
  .nav-group { border-bottom: 1px solid rgba(243,245,242,0.1); padding: 14px 0 10px; }
  .nav-drop { font: 600 0.72rem/1 var(--f-mark); letter-spacing: 0.22em; text-transform: uppercase; color: var(--green-hi); opacity: 1; cursor: default; pointer-events: none; }
  .nav-drop svg { display: none; }
  .nav-group.is-current .nav-drop { box-shadow: none; }
  .nav-menu, .nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu, .nav-group.open .nav-menu {
    position: static; transform: none; opacity: 1; visibility: visible; min-width: 0; padding: 6px 0 0;
    background: none; border: 0; box-shadow: none; transition: none;
  }
  .nav-menu::before { display: none; }
  .nav-menu a { flex-direction: row; align-items: baseline; justify-content: space-between; padding: 8px 0; border-radius: 0; }
  .nav-menu a b { font: 400 1.4rem/1.15 var(--f-display); }
  .nav-menu a[aria-current="page"] { background: none; }
  .nav-menu a[aria-current="page"] b { color: var(--green-hi); font-style: italic; }
}

/* Why ReAlto: "Who thrives" in two columns */
.checklist.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 64px); row-gap: 18px; margin-top: 8px; }
@media (max-width: 760px) { .checklist.two-col { grid-template-columns: 1fr; } }
@media (min-width: 921px) {
  .nav-group.dismissed .nav-menu { opacity: 0; visibility: hidden; transform: translate(-50%, 6px); }
  .nav-group.dismissed .nav-drop svg { transform: none; }
}

/* Round 3: mission/vision, did-you-know, FAQ page, Dianne connect box, footer connect */
.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); }
.mv-card { background: var(--ivory); border: 1px solid var(--line-light); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); }
.mv-card .mv-label { display: block; font: 700 0.78rem/1 var(--f-mark); letter-spacing: 0.22em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 16px; }
.mv-card p { margin: 0; font: 400 clamp(1.25rem, 2.2vw, 1.6rem)/1.4 var(--f-display); color: var(--ink); }
.dyk-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--radius-lg); overflow: hidden; }
.dyk-list li { background: var(--ivory); padding: clamp(20px, 3vw, 30px); display: flex; flex-direction: column; gap: 6px; }
.dyk-list b { font: 500 1.25rem/1.2 var(--f-display); color: var(--ink); }
.dyk-list span { color: var(--slate); font-size: 0.96rem; }
@media (max-width: 860px) { .mv-grid { grid-template-columns: 1fr; } .dyk-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .dyk-list { grid-template-columns: 1fr; } }
.faq-more { margin: 18px 0 0; }
.faq-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.faq-jump a { padding: 9px 16px; border: 1px solid rgba(243,245,242,0.3); border-radius: 999px; color: var(--ivory); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.faq-jump a:hover { border-color: var(--green-hi); color: var(--green-hi); }
.faq-page { max-width: 880px; }
.faq-group { scroll-margin-top: 100px; }
.faq-group + .faq-group { margin-top: clamp(40px, 6vw, 64px); }
.ds-logo { display: block; width: min(320px, 80%); height: auto; margin-top: 26px; }
.connect-box { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; border: 1px solid rgba(143,229,155,0.22); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); background: radial-gradient(90% 120% at 100% 0%, rgba(27,163,46,0.18), transparent 60%); }
.connect-box .lede { margin: 0; }
.connect-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.connect-actions .socials { margin-top: 0; }
@media (max-width: 760px) { .connect-box { grid-template-columns: 1fr; } }
.footer-connect { margin: 16px 0 0; font-weight: 700; }
.footer-connect a { color: var(--green-hi); display: inline-flex; align-items: center; gap: 6px; }
.footer-connect a svg { width: 16px; height: 16px; }
@media (max-width: 1180px) and (min-width: 921px) { .nav { gap: 18px; } .nav a, .nav-drop { font-size: 0.86rem; } .nav .btn { padding: 10px 16px; } }

/* Small serif headings (card titles): use Fraunces' text optical size, not the display cut.
   The display cut ("opsz" 120) has hairline strokes and tight spacing that blur at ~20px. */
h4, .h4, .rhythm-item h3, .rhythm-item h4 {
  font-variation-settings: "SOFT" 30, "opsz" 18;
  letter-spacing: 0.005em;
  font-weight: 500;
}
.rhythm-item .h4, .rhythm-item h4 { font-size: 1.32rem; line-height: 1.2; margin: 14px 0 8px; }
.rhythm-item p { font-size: 0.97rem; line-height: 1.55; }
