/* Brittany Fanelli, REALTOR® — site styles
   Look: full-bleed photos with words on frosted-glass panels (same panel as her Instagram carousels),
   soft near-white reading sections, Poppins only, gold as accents. No solid color blocks. */

:root {
  --gold: #B19464;          /* monogram gold: rules, accents, text on dark only */
  --gold-lt: #EACEA3;       /* light gold: labels, emphasis and dividers on dark */
  --gold-deep: #7A6038;     /* gold-toned text on light backgrounds (5.5:1 on paper) */
  --ink: #1A1714;
  --ink-2: #3A332D;         /* body text on paper */
  --muted: #5C5249;         /* secondary text on paper (7:1) */
  --paper: #FFFFFF;         /* reading sections: clean white (Brittany preferred it over cream, Oct 14) */
  --paper-2: #FFFFFF;
  --line: rgba(26, 23, 20, .12);
  --line-gold: rgba(177, 148, 100, .45);
  --glass: rgba(24, 19, 14, .54);        /* her carousel panel (.48), a touch deeper for long reading on any photo */
  --glass-strong: rgba(24, 19, 14, .62); /* for longer text on busy photos */
  --glass-border: rgba(234, 206, 163, .45);
  --scrim-top: linear-gradient(180deg, rgba(15, 12, 9, .55) 0%, rgba(15, 12, 9, 0) 26%);
  --scrim-bottom: linear-gradient(0deg, rgba(15, 12, 9, .45) 0%, rgba(15, 12, 9, 0) 45%);
  --shadow-text: 0 2px 14px rgba(0, 0, 0, .45);
  --shadow-card: 0 24px 60px -30px rgba(40, 28, 12, .45);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 5vw, 56px);
  --section: clamp(72px, 10vw, 140px);
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; }
em { font-style: normal; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.18; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
::selection { background: var(--gold-lt); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.on-dark :focus-visible, .glass :focus-visible, .site-header :focus-visible, .closing :focus-visible { outline-color: var(--gold-lt); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; text-decoration: none; font-size: .85rem;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.wrap--wide { max-width: 1440px; }

/* ---------------------------------------------------------------- type */
.kicker {
  display: block;
  margin: 0 0 18px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .34em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.on-dark .kicker, .glass .kicker { color: var(--gold-lt); }

.display, .h1 {
  font-size: clamp(1.85rem, 1.15rem + 2.7vw, 3.4rem);
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1.14;
  text-transform: uppercase;
}
.h2, .section-title {
  font-size: clamp(1.45rem, 1.05rem + 1.55vw, 2.35rem);
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1.2;
  text-transform: uppercase;
}
.h3, .label {
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--ink);
}
/* page heading that holds the gold kicker and the display line in one h1, so search engines read the
   specific phrase; looks the same as a kicker followed by h1.display */
h1.h1-stack { font-size: inherit; font-weight: inherit; line-height: inherit; }
h1.h1-stack > .display { display: block; }
.display em, .h1 em, .h2 em, .section-title em { color: var(--gold-deep); }
.on-dark .display em, .on-dark .h1 em, .on-dark .h2 em, .on-dark .section-title em,
.glass .display em, .glass .h1 em, .glass .h2 em, .glass .section-title em, .glass .big em { color: var(--gold-lt); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark .h3, .on-dark .label,
.glass h1, .glass h2, .glass h3, .glass .h3, .glass .label { color: #fff; }

.lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); font-weight: 300; line-height: 1.6; color: var(--ink-2); }
.on-dark .lede, .glass .lede { color: #fff; }
.small, .note { font-size: .86rem; line-height: 1.6; color: var(--muted); }
.on-dark .note, .glass .note, .on-dark .small, .glass .small { color: rgba(255, 255, 255, .78); }
.source { display: block; margin-top: 6px; font-size: .78rem; letter-spacing: .02em; line-height: 1.5; color: var(--muted); }
.glass .source, .on-dark .source { color: rgba(255, 255, 255, .72); }

.rule { width: 96px; height: 2px; border: 0; margin: 26px 0; background: var(--gold); }
.on-dark .rule, .glass .rule { background: var(--gold-lt); }
.center { text-align: center; }
.center .rule, .rule--center { margin-inline: auto; }

.signoff {
  font-size: .78rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink);
}
.signoff span { color: var(--gold-deep); padding-inline: .5em; }
.glass .signoff, .on-dark .signoff { color: #fff; }
.glass .signoff span, .on-dark .signoff span { color: var(--gold-lt); }

/* long-form reading */
.prose { max-width: 70ch; }
.prose > * + h2 { margin-top: 2.2em; }
.prose > * + h3 { margin-top: 1.8em; }
.prose h2 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.7rem); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .7em; }
.prose h3 { font-size: 1rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .6em; }
.prose a, .text-link { color: var(--gold-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover, .text-link:hover { color: var(--ink); }
.prose ul li, .prose ol li { margin-bottom: .45em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 1.5em; }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: .78em; width: .7em; height: 1px; background: var(--gold); }

/* ---------------------------------------------------------------- buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 15px 30px;
  border: 1px solid var(--gold-lt); border-radius: 0;
  background: var(--gold-lt); color: var(--ink);
  font: 600 .76rem/1.2 var(--font); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: #fff; border-color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(234, 206, 163, .8); }
.btn--ghost:hover { background: var(--gold-lt); color: var(--ink); border-color: var(--gold-lt); }
.btn--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--ink:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.center .btn-row, .btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .76rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; text-decoration: none;
  color: var(--gold-deep);
}
.link-arrow::after { content: "→"; letter-spacing: 0; font-size: 1.1em; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }
.on-dark .link-arrow, .glass .link-arrow { color: var(--gold-lt); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: #fff;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.site-header::before { /* soft shade so white words read on any photo */
  content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 12, 9, .55), rgba(15, 12, 9, 0));
  transition: opacity .35s var(--ease);
}
.site-header.is-scrolled, .menu-open .site-header {
  background: rgba(24, 19, 14, .72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(234, 206, 163, .22);
}
.site-header.is-scrolled::before { opacity: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand__mono { width: 46px; height: auto; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .4)); }
.brand__text { display: flex; flex-direction: column; gap: 7px; padding-left: 14px; border-left: 1px solid rgba(234, 206, 163, .55); }
.brand__name { font-size: .9rem; font-weight: 500; letter-spacing: .34em; line-height: 1; text-transform: uppercase; white-space: nowrap; text-shadow: var(--shadow-text); }
.brand__line {
  font-size: .62rem; font-weight: 600; letter-spacing: .3em; line-height: 1; text-transform: uppercase; white-space: nowrap;
  text-shadow: var(--shadow-text);
}
.brand__line span { color: var(--gold-lt); padding-inline: .35em; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px); margin: 0; padding: 0; list-style: none; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 0;
  background: none; border: 0; color: #fff; cursor: pointer;
  font: 500 .72rem/1 var(--font); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  text-shadow: var(--shadow-text);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold-lt);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item--sub:focus-within > .nav__link::after { transform: scaleX(1); }
.nav__caret { width: 9px; height: 9px; transition: transform .25s; }
.nav__item--sub { position: relative; }
.subnav {
  position: absolute; top: calc(100% + 14px); left: 50%; min-width: 240px; margin: 0; padding: 14px 0; list-style: none;
  background: rgba(24, 19, 14, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .25s, transform .25s, visibility .25s;
}
.subnav::before { content: ""; position: absolute; inset: -16px 0 auto 0; height: 16px; }
.nav__item--sub:hover .subnav, .nav__item--sub:focus-within .subnav, .nav__item--sub.is-open .subnav { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item--sub.is-open .nav__caret { transform: rotate(180deg); }
.subnav a { display: block; padding: 10px 24px; color: #fff; text-decoration: none; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.subnav a:hover, .subnav a[aria-current="page"] { color: var(--gold-lt); }
.subnav__note { display: block; padding: 10px 24px 4px; border-top: 1px solid rgba(234, 206, 163, .25); margin-top: 8px; font-size: .7rem; letter-spacing: .08em; color: rgba(255, 255, 255, .7); line-height: 1.6; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: none; margin-right: 8px; color: #fff; text-decoration: none; font-size: .8rem; font-weight: 500; letter-spacing: .14em; white-space: nowrap; text-shadow: var(--shadow-text); }
.header-phone:hover { color: var(--gold-lt); }
@media (min-width: 1560px) { .header-phone { display: inline; } }
.header-cta { display: none; min-height: 44px; padding: 11px 20px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid rgba(234, 206, 163, .55); color: #fff; cursor: pointer; text-decoration: none;
}
.icon-btn svg { width: 18px; height: 18px; }
.menu-toggle__bars { position: relative; width: 18px; height: 12px; }
.menu-toggle__bars span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 5.25px; }
.menu-toggle__bars span:nth-child(3) { top: 10.5px; }
.menu-open .menu-toggle__bars span:nth-child(1) { top: 5.25px; transform: rotate(45deg); }
.menu-open .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle__bars span:nth-child(3) { top: 5.25px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; overflow-y: auto;
  padding: 28px var(--gutter) 48px;
  background: rgba(20, 16, 12, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  color: #fff;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu__main > li > a, .mobile-menu__group-title {
  display: block; padding: 14px 0; border-bottom: 1px solid rgba(234, 206, 163, .2);
  color: #fff; text-decoration: none; font-size: 1.05rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.mobile-menu__main a[aria-current="page"] { color: var(--gold-lt); }
.mobile-menu__sub a { display: block; padding: 10px 0 10px 18px; color: rgba(255, 255, 255, .88); text-decoration: none; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; }
.mobile-menu__contact { margin-top: 30px; display: grid; gap: 12px; font-size: .95rem; }
.mobile-menu__contact a { color: #fff; text-decoration: none; }
.mobile-menu .btn { margin-top: 26px; width: 100%; }
.menu-open { overflow: hidden; }

@media (min-width: 1200px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .header-call { display: none; }
  .mobile-menu { display: none; }
}
@media (max-width: 420px) {
  :root { --header-h: 76px; }
  .brand { gap: 10px; }
  .brand__mono { width: 36px; }
  .brand__text { padding-left: 10px; gap: 6px; }
  .brand__name { font-size: .74rem; letter-spacing: .26em; }
}

/* ---------------------------------------------------------------- photo sections */
.photo-section { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.photo-section > .bg { position: absolute; inset: 0; z-index: -2; }
.photo-section > .bg img { width: 100%; height: 100%; object-fit: cover; }
.photo-section::after { /* gentle shade, like the carousels */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 12, 9, .38) 0%, rgba(15, 12, 9, .05) 30%, rgba(15, 12, 9, .05) 55%, rgba(15, 12, 9, .4) 100%);
}
.photo-section--pad { padding-block: var(--section); }

/* the frosted panel from her Instagram carousels */
.glass {
  position: relative;
  padding: clamp(30px, 4.4vw, 58px) clamp(24px, 4.6vw, 64px);
  background: var(--glass);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid var(--glass-border);
  color: #fff;
}
.glass--strong { background: var(--glass-strong); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.glass--framed::before { /* fine inner hairline, like the open-house slide */
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(234, 206, 163, .18); pointer-events: none;
}
.glass.center { text-align: center; }
.glass p { color: rgba(255, 255, 255, .92); }
.glass a:not(.btn):not(.link-arrow) { color: #fff; text-decoration-color: var(--gold-lt); text-underline-offset: 3px; }
.glass .big { font-size: clamp(2.6rem, 2rem + 3vw, 4.6rem); font-weight: 300; line-height: 1.02; color: var(--gold-lt); }
.glass .unit { display: block; margin-top: 8px; font-size: .74rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; }

/* ---------------------------------------------------------------- hero (home) */
.hero {
  min-height: max(640px, 100svh);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(28px, 5vw, 64px);
}
.hero .glass { width: min(100%, 720px); }
.hero h1 { color: #fff; }
.hero__alt { margin-top: 18px; }
.hero .signoff { margin-top: 28px; font-size: .7rem; }

.value-box { display: flex; flex-wrap: wrap; gap: 0; margin-top: 30px; }
.value-box input {
  flex: 1 1 220px; min-width: 0; min-height: 54px; padding: 14px 18px;
  border: 1px solid rgba(234, 206, 163, .6); border-right: 0; border-radius: 0;
  background: rgba(255, 255, 255, .94); color: var(--ink); font: 400 1rem var(--font);
}
.value-box input::placeholder { color: #6E645A; }
.value-box .btn { flex: 0 0 auto; min-height: 54px; }
@media (max-width: 560px) {
  .value-box input { border-right: 1px solid rgba(234, 206, 163, .6); flex-basis: 100%; }
  .value-box .btn { width: 100%; margin-top: 10px; }
}

/* ---------------------------------------------------------------- interior page hero */
.page-hero {
  min-height: clamp(520px, 74svh, 760px);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(28px, 5vw, 60px);
}
.page-hero--short { min-height: clamp(400px, 52svh, 540px); }
.page-hero .glass { width: min(100%, 720px); }
.page-hero .lede { margin-top: 18px; }

/* ---------------------------------------------------------------- reading sections */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--paper2 { background: var(--paper-2); }
.section + .section:not(.photo-section) { border-top: 1px solid rgba(177, 148, 100, .22); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; }
.section-head .lede { margin-top: 18px; }

.split { display: grid; gap: clamp(36px, 6vw, 88px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-media { grid-template-columns: 1.15fr .85fr; }
  .split--wide-text { grid-template-columns: .85fr 1.15fr; }
  .split--flip > :first-child { order: 2; }
  .split--top { align-items: start; }
}
.media-frame { position: relative; }
.media-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.media-frame--wide img { aspect-ratio: 3 / 2; }
.media-frame::after { /* offset hairline frame */
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--line-gold); z-index: -1;
}
.media-stack { position: relative; padding: 0 12% 14% 0; }
.media-stack__inset { position: absolute; right: 0; bottom: 0; width: 46%; border: 8px solid var(--paper); box-shadow: var(--shadow-card); }
.media-stack__inset img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }

.grid { display: grid; gap: clamp(20px, 3vw, 36px); }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------------------------------------------------------------- photo cards (words over photos) */
.photo-card {
  position: relative; display: block; overflow: hidden; isolation: isolate; color: #fff; text-decoration: none;
  min-height: 460px;
}
.photo-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.2s var(--ease); }
.photo-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--scrim-bottom); }
.photo-card:hover > img, .photo-card:focus-visible > img { transform: scale(1.04); }
.photo-card .glass { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 26px 26px 24px; }
.photo-card .h3 { font-size: 1.05rem; letter-spacing: .18em; }
.photo-card p { margin-top: 10px; font-size: .95rem; line-height: 1.6; }
.photo-card .link-arrow { margin-top: 16px; }
.photo-card--tall { min-height: clamp(480px, 62vw, 620px); }
.photo-card--wide { min-height: clamp(420px, 44vw, 560px); }
.photo-card--wide .glass { right: auto; max-width: min(520px, calc(100% - 32px)); padding: 32px 34px; }

/* ---------------------------------------------------------------- lists, steps, stats */
.promises { display: grid; gap: 28px 40px; margin-top: 8px; }
@media (min-width: 760px) { .promises { grid-template-columns: repeat(2, 1fr); } }
.promise { padding-top: 20px; border-top: 1px solid rgba(234, 206, 163, .35); }
.promise__num { display: block; font-size: 2.2rem; font-weight: 300; line-height: 1; color: var(--gold-lt); margin-bottom: 14px; }
.promise h3 { margin-bottom: 8px; }
.promise p { font-size: .97rem; line-height: 1.65; }
:not(.glass) > .promises .promise { border-top-color: var(--line-gold); }
:not(.glass) > .promises .promise__num { color: var(--gold-deep); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.steps > li {
  counter-increment: step; position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 6px 20px;
  padding: 26px 0; border-top: 1px solid var(--line-gold);
}
.steps > li:last-child { border-bottom: 1px solid var(--line-gold); }
.steps > li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; font-size: 2rem; font-weight: 300; line-height: 1.1; color: var(--gold-deep); }
.steps h3 { margin: 4px 0 2px; }
.steps p { grid-column: 2; margin: 0; }
.glass .steps > li { border-color: rgba(234, 206, 163, .3); }
.glass .steps > li::before { color: var(--gold-lt); }

.checklist { list-style: none; margin: 0 0 1.2em; padding: 0; }
.checklist li { position: relative; padding: 9px 0 9px 34px; border-bottom: 1px solid var(--line); }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 15px; width: 14px; height: 8px;
  border-left: 1.5px solid var(--gold-deep); border-bottom: 1.5px solid var(--gold-deep); transform: rotate(-45deg);
}
.glass .checklist li { border-color: rgba(234, 206, 163, .22); }
.glass .checklist li::before { border-color: var(--gold-lt); }

.stats { display: grid; gap: 26px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .stats--3 { grid-template-columns: repeat(3, 1fr); } .stats--2 { grid-template-columns: repeat(2, 1fr); } .stats--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stats--4 { grid-template-columns: repeat(4, 1fr); } }
.stat { padding-top: 18px; border-top: 1px solid var(--line-gold); }
.stat__value { display: block; font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); font-weight: 300; line-height: 1.05; color: var(--ink); }
.stat__label { display: block; margin-top: 10px; font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.glass .stat { border-color: rgba(234, 206, 163, .35); }
.glass .stat__value { color: var(--gold-lt); }
.glass .stat__label { color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips li, .chips a {
  display: inline-block; padding: 9px 16px; border: 1px solid var(--line-gold);
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--ink);
}
.chips a:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.glass .chips li, .glass .chips a { color: #fff; border-color: rgba(234, 206, 163, .5); }

.callout { padding: 26px 28px; border: 1px solid var(--line-gold); border-left: 3px solid var(--gold); background: rgba(255, 255, 255, .55); }
.callout .h3 { margin-bottom: 8px; }

.quote { margin: 0; }
.quote p { font-size: clamp(1.3rem, 1rem + 1.3vw, 2rem); font-weight: 300; line-height: 1.45; color: #fff; }
.quote footer { margin-top: 22px; font-size: .74rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-lt); }

/* FAQ */
.faq { border-top: 1px solid var(--line-gold); }
.faq-item { border-bottom: 1px solid var(--line-gold); }
.faq-item summary {
  position: relative; list-style: none; cursor: pointer; padding: 22px 48px 22px 0;
  font-size: 1.02rem; font-weight: 600; line-height: 1.5; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 300; color: var(--gold-deep); transition: transform .25s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .faq-a { padding: 0 0 24px; max-width: 70ch; }

/* tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--line-gold); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.table th, .table td { padding: 14px 16px 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.table tbody th { font-weight: 600; color: var(--ink); }

/* in-page contents */
.toc { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 18px 0; list-style: none; border-block: 1px solid var(--line-gold); }
.toc a { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.toc a:hover { color: var(--gold-deep); }

/* ---------------------------------------------------------------- guides */
.guide-list { display: grid; gap: 34px 26px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .guide-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .guide-list--5 { grid-template-columns: repeat(5, 1fr); } }
.guide-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.guide-card__cover { position: relative; aspect-ratio: 8.5 / 11; background: #fff; box-shadow: var(--shadow-card); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.guide-card__cover img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.guide-card:hover .guide-card__cover { transform: translateY(-6px); box-shadow: 0 34px 70px -32px rgba(40, 28, 12, .55); }
.guide-card .h3 { margin-top: 20px; font-size: .82rem; letter-spacing: .16em; }
.guide-card p { margin-top: 6px; font-size: .9rem; line-height: 1.55; color: var(--muted); }

.guide-detail { display: grid; gap: 32px; padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line-gold); }
.guide-detail:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .guide-detail { grid-template-columns: 240px 1fr 1fr; gap: 48px; align-items: start; } }
.guide-detail__cover { max-width: 240px; box-shadow: var(--shadow-card); background: #fff; }
.guide-detail__cover img { width: 100%; aspect-ratio: 8.5 / 11; object-fit: cover; object-position: top; }

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 620px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field label, .field legend, .field .field-label {
  font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
}
.field .opt { font-weight: 400; letter-spacing: .08em; text-transform: none; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  border: 1px solid rgba(26, 23, 20, .28); border-radius: 0; background: #fff;
  color: var(--ink); font: 400 1rem/1.4 var(--font);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(177, 148, 100, .28); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold-deep) 50%), linear-gradient(135deg, var(--gold-deep) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choices { display: grid; gap: 10px; }
@media (min-width: 620px) { .choices--2 { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid rgba(26, 23, 20, .22); background: #fff; cursor: pointer; font-size: .95rem; }
.choice input { width: 18px; height: 18px; min-height: 0; padding: 0; accent-color: var(--gold-deep); flex: 0 0 auto; }
.choice:has(input:checked) { border-color: var(--gold-deep); box-shadow: inset 0 0 0 1px var(--gold-deep); }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .8rem; line-height: 1.55; color: var(--muted); }
.consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold-deep); }
.form-fine { font-size: .78rem; line-height: 1.55; color: var(--muted); }
.form-fine a { color: inherit; }
.form-status { min-height: 1.2em; font-size: .9rem; color: #8A2E1F; }
.hp { position: absolute !important; left: -9999px !important; }

/* forms sitting on glass */
.glass .field label, .glass .field legend, .glass .field .field-label { color: #fff; }
.glass .field .opt { color: rgba(255, 255, 255, .75); }
.glass .field input, .glass .field select, .glass .field textarea { border-color: rgba(234, 206, 163, .55); background: rgba(255, 255, 255, .94); }
.glass .consent, .glass .form-fine { color: rgba(255, 255, 255, .82); }
.glass .consent input { accent-color: var(--gold-lt); }
.glass .form-status { color: #FFD9C7; }
.glass .choice { background: rgba(255, 255, 255, .1); border-color: rgba(234, 206, 163, .45); color: #fff; }
.glass .choice:has(input:checked) { border-color: var(--gold-lt); box-shadow: inset 0 0 0 1px var(--gold-lt); }

.form-card { padding: clamp(26px, 4vw, 44px); background: #fff; border: 1px solid var(--line-gold); box-shadow: var(--shadow-card); }
.form-card .h3 { margin-bottom: 6px; }

/* multi-step form (home value) */
.js .step-form .form-step { display: none; }
.js .step-form .form-step.is-active { display: grid; gap: 16px; }
.step-form .form-step + .form-step { margin-top: 26px; }
.js .step-form .form-step + .form-step { margin-top: 0; }
.step-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.step-bar { height: 2px; background: var(--line); margin-bottom: 20px; }
.step-bar span { display: block; height: 100%; width: 33%; background: var(--gold); transition: width .35s var(--ease); }
.no-js-only { display: block; }
.js .no-js-only { display: none; }
.js-only { display: none; }
.js .js-only { display: flex; }

/* ---------------------------------------------------------------- closing band + footer (one photo backdrop) */
.closing { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.closing > .bg { position: absolute; inset: 0; z-index: -2; }
.closing > .bg img { width: 100%; height: 100%; object-fit: cover; }
.closing::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15, 12, 9, .25) 0%, rgba(15, 12, 9, .35) 38%, rgba(15, 12, 9, .82) 62%, rgba(15, 12, 9, .9) 100%);
}
.cta-band { padding: var(--section) 0 clamp(64px, 8vw, 110px); }
.cta-band .glass { max-width: 760px; margin-inline: auto; text-align: center; }
.cta-band .contact-line { margin-top: 22px; font-size: .86rem; letter-spacing: .14em; }
.cta-band .contact-line a { color: #fff; text-decoration: none; }
.cta-band .contact-line span { color: var(--gold-lt); padding-inline: .6em; }

.site-footer { padding: 0 0 36px; font-size: .9rem; color: rgba(255, 255, 255, .86); }
.site-footer a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.site-footer a:hover { color: var(--gold-lt); }
.footer-top { display: grid; gap: 40px; padding-top: 56px; border-top: 1px solid rgba(234, 206, 163, .3); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 48px; } }
.footer-logo { width: 230px; }
.footer-brand p { margin-top: 20px; max-width: 34ch; font-size: .88rem; line-height: 1.7; color: rgba(255, 255, 255, .78); }
.footer-col h2 { margin-bottom: 16px; font-size: .7rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-lt); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col address { font-style: normal; line-height: 1.8; }
.footer-legal {
  display: grid; gap: 22px; margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(234, 206, 163, .22);
  font-size: .78rem; line-height: 1.7; color: rgba(255, 255, 255, .72);
}
@media (min-width: 900px) { .footer-legal { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; } }
.footer-legal__broker { display: flex; align-items: center; gap: 18px; }
.footer-legal__broker img { width: 72px; }
.eho { display: inline-flex; align-items: center; gap: 10px; }
.eho svg { width: 30px; height: 30px; flex: 0 0 auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------------------------------------------------------------- reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* glass fallback for browsers without backdrop-filter */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass { background: rgba(24, 19, 14, .7); }
  .site-header.is-scrolled, .mobile-menu, .subnav { background: rgba(20, 16, 12, .94); }
}

@media print {
  .site-header, .mobile-menu, .closing, .photo-section > .bg { display: none !important; }
  .photo-section, .glass { color: #000 !important; background: none !important; border: 0 !important; }
  body { background: #fff; }
}

/* small additions */
.media-frame { isolation: isolate; }
.photo-card .big { display: block; margin-top: 14px; font-size: clamp(2.1rem, 1.5rem + 2vw, 3.1rem); }
.photo-card .unit { margin-top: 6px; }
.chips--center { justify-content: center; margin-top: 36px; }

/* header tucks away while scrolling down, returns on scroll up */
.site-header { transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .4s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }
.menu-open .site-header.is-hidden { transform: none; }
.site-footer .small { color: rgba(255, 255, 255, .72); }
.form-status:empty { margin-top: -16px; }

/* phones: let the photo lead, words follow */
@media (max-width: 699px) {
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 38svh); }
  .page-hero { min-height: 0; padding-top: calc(var(--header-h) + 30svh); }
  .page-hero--short { padding-top: calc(var(--header-h) + 16svh); }
  .hero .signoff { display: none; }
  .kicker { letter-spacing: .26em; }
  .glass { padding: 28px 22px; }
  .photo-card .glass { left: 10px; right: 10px; bottom: 10px; padding: 22px 20px; }
  .photo-card--wide .glass { max-width: none; right: 10px; }
  .btn { padding-inline: 22px; letter-spacing: .18em; }
  .btn-row .btn { flex: 1 1 100%; }
}
.glass { text-shadow: 0 1px 2px rgba(0, 0, 0, .22); }
.glass .btn, .glass input, .glass select, .glass textarea { text-shadow: none; }

/* panel on the right when the subject of the photo stands on the left */
@media (min-width: 700px) {
  .hero--right .glass, .page-hero--right .glass { margin-left: auto; }
}

/* ---------------------------------------------------------------- additions after review */
@media (max-width: 420px) { .brand__line { font-size: .68rem; letter-spacing: .16em; } }
.field .choice, fieldset.field .choice { font-size: .95rem; font-weight: 400; letter-spacing: normal; text-transform: none; color: var(--ink); }
.glass .field .choice { color: #fff; }
fieldset.field > legend { margin-bottom: 7px; padding: 0; }
.form-step { border: 0; margin-inline: 0; padding: 0; min-width: 0; }
.form-step > legend { padding: 0; margin-bottom: 14px; font-size: .95rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.glass .form-step > legend { color: #fff; }
.glass .step-meta { color: var(--gold-lt); }
.glass .step-bar { background: rgba(234, 206, 163, .25); }
.guide-detail .form-card .form-row--2 { grid-template-columns: 1fr; }
.photo-card--static:hover > img, .photo-card--static:focus-visible > img { transform: none; }
.prose .callout + *, .prose .table-wrap + * { margin-top: 1.4em; }
.prose .btn-row { margin-top: 1.6em; }
.table-wrap:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 4px; }
.table--rowhead tbody th { width: 24%; }
/* tables that stack into cards on phones: add data-label="Column name" to each td */
@media (max-width: 699px) {
  .table--stack { min-width: 0; }
  .table--stack thead { position: absolute; left: -9999px; }
  .table--stack tr { display: block; padding: 18px 0; border-bottom: 1px solid var(--line-gold); }
  .table--stack th, .table--stack td { display: block; padding: 4px 0; border: 0; width: auto; }
  .table--stack tbody th { font-size: 1rem; margin-bottom: 6px; }
  .table--stack td[data-label]::before { content: attr(data-label); display: block; font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-top: 8px; }
  .table-wrap:has(.table--stack) { overflow: visible; }
}

/* phones: the photo gets the top of the screen, the panel starts below it and continues on a warm dark wash */
@media (max-width: 699px) {
  .hero, .page-hero { background: linear-gradient(180deg, #2f261e 0%, #1d1814 100%); }
  .hero { padding-top: calc(var(--header-h) + 50svh); }
  .hero > .bg { bottom: auto; height: calc(var(--header-h) + 64svh); }
  .page-hero:not(.page-hero--short) { padding-top: calc(var(--header-h) + 40svh); }
  .page-hero:not(.page-hero--short) > .bg { bottom: auto; height: calc(var(--header-h) + 54svh); }
  .hero > .bg::after, .page-hero:not(.page-hero--short) > .bg::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
    background: linear-gradient(180deg, rgba(47, 38, 30, 0) 0%, #2f261e 100%);
  }
}

/* Instagram links */
.header-ig { display: none; border-color: transparent; }
.header-ig:hover { border-color: rgba(234, 206, 163, .55); color: var(--gold-lt); }
@media (min-width: 1240px) { .header-ig { display: inline-flex; } }
.mobile-menu__ig, .footer-ig { display: inline-flex; align-items: center; gap: 10px; }
.mobile-menu__ig svg, .footer-ig svg { width: 20px; height: 20px; flex: 0 0 auto; }
.footer-ig { margin-top: 2px; }

/* "Follow along" strip: hand-picked photos that open her Instagram */
.ig-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 800px) { .ig-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.ig-grid a { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; isolation: isolate; color: #fff; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.ig-grid a::after { content: ""; position: absolute; inset: 0; background: rgba(24, 19, 14, 0); transition: background .4s var(--ease); }
.ig-grid a:hover img, .ig-grid a:focus-visible img { transform: scale(1.05); }
.ig-grid a:hover::after, .ig-grid a:focus-visible::after { background: rgba(24, 19, 14, .28); }
.ig-grid .ig-mark { position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 22px; height: 22px; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .5)); }
.ig-handle { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.ig-handle svg { width: 26px; height: 26px; color: var(--gold-deep); }
.ig-handle span { text-transform: none; letter-spacing: .02em; font-weight: 600; }
@media (max-width: 699px) { .table--stack.table--rowhead tbody th { width: auto; } }

/* ================================================================ visual review fixes */

/* headings never leave one lonely word; paragraphs avoid short last lines */
.display, .h1, .h2, .section-title, .prose h2, .quote p, .glass .big, .photo-card .h3, .guide-card .h3 { text-wrap: balance; }
.lede, .section-head p, .callout p { text-wrap: pretty; }
.photo-card .h3 { letter-spacing: .14em; }
.btn { text-wrap: balance; }
.btn--block { letter-spacing: .16em; padding-inline: 18px; }
.form-card .btn { padding-inline: 20px; letter-spacing: .18em; }

/* forms: no stray gap under the button while the status line is empty */
.form-status:empty { min-height: 0; margin-top: -16px; }
@media (min-width: 900px) { .glass .choices--2 .choice { padding: 14px 12px; gap: 10px; } }

/* links with arrows wrap with their arrow */
.link-arrow { display: inline-block; }
.link-arrow::after { display: inline-block; margin-left: .7em; }

/* header: keep the button on one line where the full nav first appears */
.header-cta { white-space: nowrap; flex-shrink: 0; }
@media (min-width: 1200px) and (max-width: 1279px) {
  .nav__list { gap: 13px; }
  .nav__link { letter-spacing: .14em; }
  .header-cta { padding-inline: 16px; letter-spacing: .16em; }
}

/* footer stays readable on phones over the closing photo */
@media (max-width: 899px) {
  .site-footer { background: linear-gradient(180deg, rgba(15, 12, 9, 0) 0, rgba(15, 12, 9, .62) 140px, rgba(15, 12, 9, .74) 100%); }
}

/* grids and stats breathe */
.stats--4 { column-gap: clamp(26px, 3vw, 44px); }
.stats--4 .stat__value { font-size: clamp(2rem, 1.5rem + 1.3vw, 2.7rem); }
.grid:not(:has(.photo-card)) { row-gap: clamp(44px, 5vw, 64px); column-gap: clamp(32px, 4vw, 56px); }
@media (min-width: 1100px) { .guide-list--5 .guide-card .h3 { min-height: 3em; } }

/* side photos stay in view beside long step lists; covers stay beside long guide text */
@media (min-width: 900px) {
  .media-frame--sticky, .media-stack--sticky, .sticky-media { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; }
  .guide-detail__cover { position: sticky; top: calc(var(--header-h) + 28px); }
  .split--flip > .media-frame::after { inset: 18px 18px -18px -18px; }
}

/* home value hero holds the form, so it sits a little tighter */
.page-hero--form { padding-top: calc(var(--header-h) + 24px); }
.page-hero--form .display { font-size: clamp(1.85rem, 1.05rem + 2.2vw, 2.85rem); }
.page-hero--form .rule { margin-block: 18px; }
.page-hero--form .form-step > legend { margin-bottom: 10px; }

/* interior hero panels: a little more room for long headings on wide screens */
.page-hero .glass { width: min(100%, 760px); }

/* phones and tablets: photo sections that show Brittany put her photo first, words below */
@media (max-width: 1023px) {
  .photo-section--person { padding-top: calc(var(--section) + 62vw); background: linear-gradient(180deg, #2f261e 0%, #1d1814 100%); }
  .photo-section--person > .bg { bottom: auto; height: calc(var(--section) + 62vw + 120px); }
  .photo-section--person > .bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, rgba(47, 38, 30, 0) 0%, #2f261e 100%); }
}
/* tablets: center those panels under the photo, and skip the extra drop that --low adds on wider screens */
@media (min-width: 700px) and (max-width: 1023px) {
  .photo-section--person > .wrap > .glass { margin-inline: auto !important; }
  .photo-section--person.photo-section--low > .wrap { padding-top: 0; }
}

/* tablets: the same photo-first layout as phones, so a panel never covers Brittany */
@media (min-width: 700px) and (max-width: 1023px) {
  .hero, .page-hero:not(.page-hero--short) { min-height: 0; background: linear-gradient(180deg, #2f261e 0%, #1d1814 100%); }
  .hero { padding-top: calc(var(--header-h) + 50svh); }
  .hero > .bg { bottom: auto; height: calc(var(--header-h) + 64svh); }
  .page-hero:not(.page-hero--short) { padding-top: calc(var(--header-h) + 40svh); }
  .page-hero:not(.page-hero--short) > .bg { bottom: auto; height: calc(var(--header-h) + 54svh); }
  .hero > .bg::after, .page-hero:not(.page-hero--short) > .bg::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
    background: linear-gradient(180deg, rgba(47, 38, 30, 0) 0%, #2f261e 100%);
  }
  .hero--right .glass, .page-hero--right .glass { margin-inline: auto; }
}
/* right-hand panels beside Brittany: photo-first up to small laptops */
@media (min-width: 1024px) and (max-width: 1279px) {
  .page-hero--right { min-height: 0; padding-top: calc(var(--header-h) + 40svh); background: linear-gradient(180deg, #2f261e 0%, #1d1814 100%); }
  .page-hero--right > .bg { bottom: auto; height: calc(var(--header-h) + 54svh); }
  .page-hero--right > .bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: linear-gradient(180deg, rgba(47, 38, 30, 0) 0%, #2f261e 100%); }
  .page-hero--right .glass { margin-inline: auto; }
  .page-hero:not(.page-hero--right) .glass { width: min(100%, 58vw); }
}
/* small laptops: a narrower home panel keeps her clear on the left */
@media (min-width: 1024px) and (max-width: 1359px) {
  .hero .glass { width: min(100%, 580px); padding-inline: 40px; }
  .hero .value-box input { flex-basis: 100%; border-right: 1px solid rgba(234, 206, 163, .6); }
  .hero .value-box .btn { width: 100%; margin-top: 10px; }
}

/* hero panels appear right away with their own gentle fade (never wait for scrolling) */
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.js .hero .reveal, .js .page-hero .reveal { opacity: 1; transform: none; transition: none; animation: hero-in .9s var(--ease) .05s both; }
@media (prefers-reduced-motion: reduce) { .js .hero .reveal, .js .page-hero .reveal { animation: none; } }

/* photo sections whose subject is in the top half: the panel sits lower, over the calm part of the photo */
@media (min-width: 700px) {
  .photo-section--low > .wrap { padding-top: clamp(240px, 27vw, 430px); }
}

/* ---------------------------------------------------------------- framed vertical video (welcome reel) */
.video-frame { position: relative; isolation: isolate; width: min(100%, 380px); margin-inline: auto; }
.video-frame::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--line-gold); z-index: -1; }
.video-frame video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #2f261e; box-shadow: var(--shadow-card); }
.video-toggle {
  position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 0; border: 1px solid rgba(234, 206, 163, .6); border-radius: 50%;
  background: rgba(24, 19, 14, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; cursor: pointer;
}
.video-toggle svg { width: 14px; height: 14px; }
.video-toggle:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 3px; }

/* welcome reel: the video sits on a soft, blurred wash of itself, words on frosted glass */
.welcome-reel > .bg { overflow: hidden; background: #3a2f27; }
.welcome-reel > .bg .welcome-reel__wash { width: 100%; height: 100%; object-fit: cover; filter: blur(30px) saturate(1.12) brightness(1.02); transform: scale(1.25); }
.welcome-reel__inner { display: grid; gap: clamp(36px, 5vw, 80px); align-items: center; }
.welcome-reel .glass { max-width: 620px; }
@media (min-width: 900px) { .welcome-reel__inner { grid-template-columns: 1.15fr .85fr; } }
@media (max-width: 899px) { .welcome-reel .video-frame { order: -1; } .welcome-reel .glass { margin-inline: auto; } }
.video-frame--on-photo::after { border-color: rgba(234, 206, 163, .55); }
.video-frame--on-photo video { box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .65); }

/* welcome reel, softer: smaller, airy, words directly on a pale blur of the video's own colors */
.welcome-reel { color: var(--ink-2); padding-block: clamp(56px, 7vw, 96px); }
.welcome-reel::after { background: linear-gradient(180deg, rgba(255, 255, 255, .84) 0%, rgba(255, 255, 255, .76) 62%, #fff 100%); }
.welcome-reel > .bg { background: #fff; }
.welcome-reel > .bg .welcome-reel__wash { filter: blur(50px) saturate(1.1) brightness(1.16); transform: scale(1.4); }
.welcome-reel__inner { max-width: 920px; }
@media (min-width: 900px) { .welcome-reel__inner { grid-template-columns: minmax(0, 1fr) 260px; } }
.welcome-reel__text { max-width: 530px; }
.welcome-reel__text .section-title { font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); }
.welcome-reel__text .lede { font-size: clamp(1rem, .95rem + .2vw, 1.1rem); }
.welcome-reel__text p { color: var(--ink-2); }
.welcome-reel .video-frame { width: 100%; max-width: 260px; }
@media (max-width: 899px) { .welcome-reel .video-frame { max-width: 230px; } }
.welcome-reel .video-frame::after { inset: 12px -12px -12px 12px; border-color: rgba(177, 148, 100, .5); }
.welcome-reel .video-frame video { box-shadow: 0 22px 50px -26px rgba(40, 28, 12, .4); }
@media (max-width: 899px) { .welcome-reel__text { margin-inline: auto; text-align: center; } .welcome-reel__text .rule { margin-inline: auto; } .welcome-reel__text .btn-row { justify-content: center; } }

/* ---- white reading sections: polish (after the cream-to-white change) ---- */
/* chapter breaks: a contained hairline with a short solid-gold centre, like the rule in the logo */
.section { position: relative; }
:is(.section, :has(> .section:last-child)) + .section:not(.photo-section) { border-top: 0; }
:is(.section, :has(> .section:last-child)) + .section:not(.photo-section)::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: calc(min(100%, var(--wrap)) - 2 * var(--gutter)); height: 1px;
  background: linear-gradient(var(--gold), var(--gold)) center / 96px 1px no-repeat, linear-gradient(90deg, rgba(177,148,100,0), rgba(177,148,100,.42) 18%, rgba(177,148,100,.42) 82%, rgba(177,148,100,0));
}
:is(.section, :has(> .section:last-child)) + .section:not(.photo-section):not(.section--tight) { padding-top: clamp(64px, 8vw, 112px); }
/* warm hairlines instead of cool grey */
:root { --line: rgba(122, 96, 56, .16); }
.field input, .field select, .field textarea { border-color: rgba(122, 96, 56, .38); }
.choice { border-color: rgba(122, 96, 56, .32); }
/* white guide covers and inset photos get a fine gold edge so they read as printed pieces */
.guide-card__cover, .guide-detail__cover { box-shadow: 0 0 0 1px rgba(177, 148, 100, .32), var(--shadow-card); }
.guide-card:hover .guide-card__cover { box-shadow: 0 0 0 1px rgba(177, 148, 100, .45), 0 34px 70px -32px rgba(40, 28, 12, .55); }
.media-stack__inset { border-width: 6px; box-shadow: 0 0 0 1px rgba(177, 148, 100, .4), var(--shadow-card); }
/* form cards: a fine inner frame, like the note card; buttons inside them are black, never a beige slab */
.form-card { position: relative; box-shadow: 0 1px 2px rgba(40, 28, 12, .05), 0 30px 64px -34px rgba(40, 28, 12, .4); }
.form-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(177, 148, 100, .16); pointer-events: none; }
.form-card .btn:not(.btn--ink):not(.btn--outline):not(.btn--ghost) { background: var(--ink); border-color: var(--ink); color: #fff; }
.form-card .btn:not(.btn--ink):not(.btn--outline):not(.btn--ghost):hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
/* buttons inside legal/prose text keep their own colors */
.prose a.btn, .prose a.btn:hover { text-decoration: none; }
.prose a.btn--ink, .prose a.btn--ink:hover { color: #fff; }
.prose ul > li::before { height: 0; background: none; border-top: 1px solid var(--gold); }
/* grids of notes read as open editorial columns topped with one gold line, not rows of boxes */
.callout { background: #fff; }
.grid > .callout { padding: 26px 0 0; border: 0; border-top: 1px solid var(--gold); background: none; }
/* while photos load, photo areas show a warm dark base instead of a grey smear */
.photo-section, .closing, .photo-card { background-color: #2f261e; }
.welcome-reel { background-color: #fff; }
.media-frame img, .media-stack__inset img, .ig-grid a { background-color: #F1EFEC; }
img[data-placeholder="true"] { filter: saturate(.55) brightness(.92); }
@media (max-width: 699px) {
  .media-frame::after, .video-frame::after { inset: 12px -12px -12px 12px; }
  .photo-section--person { padding-bottom: 48px; }
}
/* narrow phones (under 375px): tighten the fixed header so the menu button stays on screen;
   below 350px the call icon hides (the phone number is still in the menu's contact block) */
@media (max-width: 374px) {
  .header-inner { gap: 10px; }
  .header-actions { gap: 6px; }
  .brand { gap: 8px; }
  .brand__mono { width: 32px; }
  .brand__text { padding-left: 8px; }
}
@media (max-width: 349px) {
  .header-call { display: none; }
}

/* header: every menu item fits at every desktop width (Guides is now a small dropdown with Calculators); tested 1200-1920px */
.nav__caret { flex-shrink: 0; }
@media (min-width: 1200px) and (max-width: 1439px) {
  .header-inner { gap: 18px; }
  .nav__list { gap: clamp(10px, 1.05vw, 15px); }
  .nav__link { letter-spacing: .13em; }
  .header-cta { padding-inline: 16px; letter-spacing: .16em; }
}
@media (min-width: 1200px) and (max-width: 1259px) { .nav__link { letter-spacing: .11em; } }
@media (min-width: 1200px) and (max-width: 1399px) { .header-ig { display: none; } }
@media (min-width: 1560px) { .header-inner.wrap--wide { max-width: 1600px; } }

/* school-grades table (partials/school-grades.html): keep each "Look it up" link on one line at tablet widths,
   so "School boundaries" never splits; no other table uses this data-label */
.table td[data-label="Look it up"] a { white-space: nowrap; }

/* first-time buyers page (pages/first-time-buyers.html) */
/* group labels in "Help in Arizona": an h3 and short gold rule over a grid of h4 cards, like .cm-group on community pages */
.ftb-group { margin: clamp(56px, 7vw, 88px) 0 28px; }
.section-head + .ftb-group { margin-top: 0; }
.ftb-group > .rule { margin-block: 18px 0; }
/* each worry: a muted survey line, then the "How I help" paragraph */
.ftb-worries > .callout p + p { margin-top: 12px; }
/* header: a dropdown parent stays underlined while you're on one of its pages (Guides, Communities) */
.nav__item--sub:has(.subnav [aria-current="page"]) > .nav__link::after { transform: scaleX(1); }

/* REAL logo in the header lockup: a third line under Brittany's name and "REALTOR® | Real Broker",
   so the brokerage logo is at the top of every page without crowding the menu at any width */
.brand__real { display: block; width: 60px; height: auto; margin-top: 1px; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .45)); }
@media (max-width: 420px) { .brand__text { gap: 6px; } .brand__real { width: 54px; } }
@media (max-width: 374px) { .brand__real { width: 48px; } }
