/* ==========================================================================
   Welcome Home Collective — Design System
   ========================================================================== */

:root {
  /* Palette — Cedar (default warm PNW) */
  --bg: #F4F0E8;          /* porcelain */
  --bg-2: #EAE3D4;        /* warm sand */
  --bg-3: #DDD3BE;        /* mist */
  --ink: #1C1F1C;         /* deep forest ink */
  --ink-2: #3A3F38;       /* moss */
  --muted: #6F6A5E;       /* taupe */
  --line: #C9C0AC;        /* hairline */
  --accent: #7A6A52;      /* cedar */
  --accent-2: #3D4A3D;    /* deep moss */
  --paper: #FBF8F1;       /* off-white panel */
  --shadow: 0 1px 2px rgba(28,31,28,.04), 0 12px 32px -12px rgba(28,31,28,.18);

  /* Type */
  --serif-display: "DM Serif Display", "Cormorant Garamond", Georgia, serif;
  --serif-body: "Cormorant Garamond", Georgia, serif;
  --sans: "Geist", "Söhne", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* Layout */
  --max: 1440px;
  --gutter: 48px;
  --radius: 2px;
}

[data-palette="forest"] {
  --bg: #EFEDE4;
  --bg-2: #DDE0D5;
  --bg-3: #C7CEC0;
  --ink: #14201A;
  --ink-2: #2F3E33;
  --muted: #5E6A5C;
  --line: #B6BFB1;
  --accent: #3D4A3D;
  --accent-2: #1F2A23;
  --paper: #F6F4EC;
}

[data-palette="mist"] {
  --bg: #F8F6F1;
  --bg-2: #E8E5DD;
  --bg-3: #D4D0C5;
  --ink: #2B2B2B;
  --ink-2: #4A4A48;
  --muted: #807A6E;
  --line: #CFC8B8;
  --accent: #8A7B62;
  --accent-2: #5C5443;
  --paper: #FFFCF5;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

/* ============= TYPOGRAPHY ============= */
.display {
  font-family: var(--serif-display);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 0.96;
}
.h-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
.h-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.serif-body {
  font-family: var(--serif-body);
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: 0;
}

/* ============= LAYOUT ============= */
.shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.row { display: flex; }
.col { display: flex; flex-direction: column; }
.divider { height: 1px; background: var(--line); width: 100%; }
.divider-vert { width: 1px; background: var(--line); align-self: stretch; }

/* ============= NAV ============= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 240, 232, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.nav-links {
  display: flex;
  gap: 36px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.nav-links a {
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
  transition: color .18s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -2px;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
}
.nav-cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
}
.nav-logo {
  height: 44px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--serif-display);
  font-size: 22px;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1;
}
.nav-logo-text small {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.32em;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 400;
}

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  transition: all .2s ease;
  cursor: pointer;
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-line {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-line:hover { border-color: var(--ink); }
.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 1px solid var(--ink);
  transition: gap .2s ease;
}
.btn-arrow:hover { gap: 16px; }

/* ============= HERO ============= */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  align-items: stretch;
}
.hero.hero-single {
  grid-template-columns: 1fr;
  min-height: auto;
}
.hero.hero-single .hero-text::after { display: none; }
.hero-text {
  padding: 88px var(--gutter) 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.hero-text::after {
  content: "";
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
}
.hero h1.display {
  font-size: clamp(56px, 7vw, 104px);
  margin: 32px 0 28px;
}
.hero h1 em {
  font-style: italic;
  font-family: var(--serif-display);
  color: var(--accent);
}
.hero-img {
  position: relative;
  background: var(--bg-3);
  overflow: hidden;
}
.hero-img .placeholder { width: 100%; height: 100%; }
.hero-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.hero-foot .num {
  font-family: var(--serif-display);
  font-size: 36px;
  line-height: 1;
}
.hero-foot label {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============= IMAGE PLACEHOLDERS ============= */
.img-ph {
  width: 100%;
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(
      135deg,
      var(--bg-3) 0,
      var(--bg-3) 1px,
      transparent 1px,
      transparent 22px
    ),
    linear-gradient(180deg, var(--bg-2), var(--bg-3));
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.img-ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(28,31,28,0.04) 100%);
}
.img-ph .ph-label {
  position: relative;
  margin: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 10px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.img-ph.tall { aspect-ratio: 3 / 4; }
.img-ph.wide { aspect-ratio: 16 / 9; }
.img-ph.square { aspect-ratio: 1 / 1; }
.img-ph.full { aspect-ratio: auto; height: 100%; }

/* ============= LISTING CARDS ============= */
.listing-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.listing-card:hover { transform: translateY(-4px); }
.listing-card:hover .listing-img::after { opacity: 1; }
.listing-card:hover .listing-arrow { transform: translate(4px,-4px); }
.listing-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-3);
}
.listing-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.18));
  opacity: 0;
  transition: opacity .3s ease;
}
.listing-status {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  z-index: 2;
}
.listing-status.new { background: var(--ink); color: var(--bg); }
.listing-status.pending { background: var(--accent); color: var(--bg); }
.listing-arrow {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 38px; height: 38px;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: transform .3s ease;
}
.listing-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 18px;
  gap: 16px;
}
.listing-address {
  font-family: var(--serif-display);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.listing-price {
  font-family: var(--serif-display);
  font-size: 22px;
  white-space: nowrap;
}
.listing-area {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.listing-stats {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}
.listing-stats span { display: inline-flex; align-items: center; gap: 6px; }

/* ============= SECTION HEADERS ============= */
.sect {
  padding: 120px 0;
  position: relative;
}
.sect-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}
.sect-head h2.display {
  font-size: clamp(40px, 4.5vw, 64px);
}
.sect-head h2 em { color: var(--accent); font-style: italic; }
.sect-head .sect-intro {
  max-width: 480px;
  font-family: var(--serif-body);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ============= FOOTER ============= */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 96px 0 36px;
  margin-top: 120px;
}
.footer .nav-logo-text { color: var(--bg); }
.footer .nav-logo-text small { color: rgba(244,240,232,0.55); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(244,240,232,0.16);
}
.footer h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,240,232,0.55);
  margin-bottom: 18px;
  font-weight: 400;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer ul a { color: rgba(244,240,232,0.85); transition: color .2s; }
.footer ul a:hover { color: var(--bg); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(244,240,232,0.55);
}
.footer-tag {
  font-family: var(--serif-display);
  font-size: 28px;
  line-height: 1.2;
  color: var(--bg);
  max-width: 360px;
  margin-top: 8px;
}

/* ============= UTILITIES ============= */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: var(--paper);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ============= ANIMATIONS ============= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) both; }
.fade-up.d1 { animation-delay: .1s; }
.fade-up.d2 { animation-delay: .2s; }
.fade-up.d3 { animation-delay: .3s; }
.fade-up.d4 { animation-delay: .4s; }

/* ============= MARQUEE ============= */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  background: var(--paper);
}
.marquee-track {
  display: flex;
  gap: 64px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  font-family: var(--serif-display);
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 64px;
}
.marquee-track span::after {
  content: "✦";
  color: var(--accent);
  font-size: 14px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============= LISTING DETAIL ============= */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 78vh;
}
.gallery > :first-child { grid-row: span 2; }
.gallery .img-ph { aspect-ratio: auto; height: 100%; }

/* ============= FORMS ============= */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 12px 0;
  font-size: 16px;
  font-family: var(--sans);
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field textarea { resize: vertical; min-height: 100px; }

/* ============= TWEAKS PANEL OVERRIDES ============= */
[data-tweak-panel] { z-index: 9999; }

/* ============= RESPONSIVE GUARD ============= */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-text::after { display: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .sect-head { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-inner { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

/* ============= MOBILE OVERRIDES ============= */
@media (max-width: 980px) {
  /* Guide article cards: stack image above text so they don't overflow at tablet sizes */
  .guide-card { flex-direction: column !important; gap: 20px !important; }
  .guide-card > div:first-child { flex: 0 0 auto !important; max-width: 180px !important; }
}

@media (max-width: 760px) {
  /* Bigger logo for mobile */
  .nav-inner > a[href="#home"] img { max-height: 80px !important; }

  /* Force the About-page "Note from Jenni" quote to NOT be sticky on mobile —
     it overlapped the bio body when the grid collapses to one column. */
  .bio-quote {
    position: static !important;
    top: auto !important;
    margin-bottom: 24px !important;
  }
  .bio-quote p {
    font-size: 28px !important;
    line-height: 1.1 !important;
  }

  /* Guides: hard-stack image above text and shrink everything */
  .guide-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .guide-card {
    display: flex !important;
    flex-direction: column !important;
    padding: 20px !important;
    gap: 18px !important;
  }
  .guide-card > div:first-child {
    flex: 0 0 auto !important;
    max-width: 180px !important;
    align-self: center;
  }
  .guide-card > div:last-child {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .guide-card h3 { font-size: 22px !important; }
  .guide-card .h-eyebrow { font-size: 10px !important; }
  .guide-card .h-meta { font-size: 9px !important; }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }

  /* Type scale */
  .display { font-size: clamp(40px, 11vw, 64px) !important; line-height: 1.05 !important; }
  h1.display { font-size: clamp(40px, 12vw, 72px) !important; }
  h2 { font-size: clamp(28px, 7vw, 40px) !important; line-height: 1.1 !important; }
  h3 { font-size: clamp(20px, 5vw, 28px) !important; }
  .serif-body { font-size: 17px !important; line-height: 1.6 !important; }
  body { font-size: 15px; }

  /* Anything inline-styled with a fixed grid: collapse to 1 column */
  main [style*="grid-template-columns"],
  main [style*="gridTemplateColumns"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  /* Anything inline-styled with huge padding: shrink */
  main [style*="padding: 120px"],
  main [style*="padding: 96px"],
  main [style*="padding: 88px"],
  main [style*="padding: 80px"],
  main [style*="padding: 64px"] {
    padding: 48px 20px !important;
  }
  main [style*="padding: 48px"] { padding: 32px 20px !important; }

  /* Force max-widths to be flexible */
  main [style*="max-width"] {
    max-width: 100% !important;
  }

  /* Hero: stack and shrink */
  .hero { grid-template-columns: 1fr !important; }
  .hero-text { padding: 56px 20px 48px !important; min-height: auto !important; }
  .hero-foot { grid-template-columns: 1fr !important; gap: 16px !important; padding-top: 24px !important; }
  .hero-vis { min-height: 60vw; }

  /* Section padding helpers */
  section { padding-left: 0 !important; padding-right: 0 !important; }
  section[style*="padding"] { padding-top: 56px !important; padding-bottom: 56px !important; }

  /* Grids collapse */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; gap: 24px !important; }

  /* Section heads */
  .sect-head { grid-template-columns: 1fr !important; gap: 16px !important; }
  .sect-head .sect-intro { font-size: 16px !important; }

  /* Listing cards */
  .listing-meta-top { flex-direction: column !important; align-items: flex-start !important; gap: 4px !important; }
  .listing-address { font-size: 19px !important; }
  .listing-price { font-size: 16px !important; }

  /* Gallery */
  .gallery {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    height: auto !important;
    gap: 8px !important;
  }
  .gallery > * { aspect-ratio: 4/3; }

  /* Marquee */
  .marquee-track { gap: 32px !important; }
  .marquee-track span { font-size: 20px !important; gap: 32px !important; }

  /* Forms */
  form [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    padding-bottom: 40px !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center !important;
  }

  /* Nav: replace with simple stack + hamburger */
  .nav-inner {
    grid-template-columns: 1fr auto !important;
    gap: 12px !important;
    padding: 12px 20px !important;
  }
  /* Logo column slides left, other links collapse into a menu */
  .nav-inner > a[href="#home"] { justify-content: flex-start !important; }
  .nav-inner > a[href="#home"] img { width: auto !important; max-height: 36px !important; }
  /* Hide the desktop link rails entirely */
  .nav-inner > .nav-links:first-child,
  .nav-cta > .nav-links { display: none !important; }
  /* Hide contact CTA — too wide; shows in the menu */
  .nav-cta .btn-ghost { display: none !important; }
  /* Show the mobile menu button (rendered always in JSX) */
  .nav-cta { gap: 0 !important; }
  .nav-mobile-toggle { display: inline-flex !important; }

  /* Buttons: full width, smaller */
  .btn { padding: 16px 22px !important; font-size: 11px !important; }
  .btn-line { padding: 16px 22px !important; }

  /* Tweak panel: don't take 80% of the screen */
  [data-tweak-panel] { right: 12px !important; bottom: 12px !important; max-width: calc(100vw - 24px) !important; }
}

/* ============= MOBILE NAV MENU ============= */
.nav-mobile-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line);
  cursor: pointer;
}
.nav-mobile-toggle span {
  display: block; width: 18px; height: 1px; background: var(--ink);
  position: relative;
}
.nav-mobile-toggle span::before,
.nav-mobile-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1px;
  background: var(--ink);
}
.nav-mobile-toggle span::before { top: -6px; }
.nav-mobile-toggle span::after { top: 6px; }

.nav-mobile-menu {
  position: fixed; inset: 0; z-index: 9998;
  background: var(--paper);
  display: none;
  flex-direction: column;
  padding: 80px 32px 32px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-family: var(--serif-display);
  font-size: 32px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.nav-mobile-menu .close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px;
  font-size: 24px; line-height: 1;
  background: none; border: 1px solid var(--line);
  cursor: pointer;
}


/* ============= MOBILE: CLASS-BASED OVERRIDES (reliable) ============= */
/* These target named classes added in JSX so we don't depend on
   substring-attribute selectors that miss React inline-style formats. */
@media (max-width: 760px) {
  /* Stack any 2/3/4-col grid on mobile */
  .mb-jenni-grid,
  .mb-bio-grid,
  .mb-portrait-grid,
  .mb-2col,
  .mb-cta-row,
  .mb-letsbegin,
  .mb-contact-grid,
  .mb-form-row,
  .mb-process-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* Process: 4-up becomes a single column with thinner row dividers */
  .mb-process-grid > div {
    border-right: none !important;
    padding: 28px 4px 36px !important;
  }

  /* Jenni-intro grid: shrink the portrait so it doesn't dominate */
  .mb-jenni-grid {
    padding: 56px 0 !important;
  }
  .mb-jenni-grid > div:first-child {
    max-width: 220px !important;
    margin: 0 auto;
  }

  /* About-page portrait grid: keep both portraits but smaller gap */
  .mb-portrait-grid {
    gap: 16px !important;
  }

  /* Bio body: when sticky-quote stacks, drop the sticky behavior */
  .mb-bio-grid > .bio-quote {
    position: static !important;
    top: auto !important;
  }

  /* Dark Browse-listings CTA: tighten padding, hide the round arrow chip */
  .mb-cta-row {
    gap: 28px !important;
  }

  /* Let's-begin card: reduce internal padding */
  .mb-letsbegin {
    padding: 40px 24px !important;
  }
  /* Contact pills row: smaller gap so phone+email stack cleanly */
  .mb-contact-pills {
    gap: 12px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  /* Contact form sidebar (portrait + details) shouldn't be hidden — keep order */
  .mb-contact-grid > aside {
    order: 2;
  }
}
