/* ==========================================================================
   Happy Jack Real Estate — Realty ONE Group Mountain Desert

   REPRODUCES THE LIVE SITE'S LOOK. See SPEC_REPRODUCE_LIVE.md.

   A faithful rebuild of the existing Wix site's visual design, with the copy
   corrected and the colors kept on-brand. NOT a redesign.
   Supersedes both the billboard theme (archived) and the media-kit attempt
   (discarded).

   ---------------------------------------------------------------------------
   MEASURED FROM THE LIVE RENDER — screenshot + sampled pixels
   ---------------------------------------------------------------------------
   Hero        full-bleed photograph, warm misty cloud/forest, muted brown-gray
               (#706459 dominant). White serif text over it. No scrim band.
   Page        white ground
   Text        near-black
   Gold band   #C7A860 — the "Meet Jackie" and lower bands, and the gold logo
   Headings    gold serif on white

   THE SITE ALREADY USED THE CORRECT BRAND GOLD. #C7A860 matches the official
   Realty ONE Group gold (the logo kit measures #C7AA5F — the same color within
   a rounding step). The billboard's amber #C58929 was the outlier and was never
   on this site. So "correct the colors to R1G" is largely already satisfied:
   keep #C7A860.

   ---------------------------------------------------------------------------
   ONE DELIBERATE COLOR CORRECTION — flagged to the client
   ---------------------------------------------------------------------------
   The live site sets gold serif headings directly on white. #C7A860 on #FFFFFF
   is only ~2.2:1 — unreadable, and contrary to R1G's own guidance that gold
   must not be set as text on a light ground.

   The client asked for colors to be corrected to match Realty ONE Group, so
   the heading LOOK is preserved (serif, gold family, same size and weight) and
   the heading COLOR uses --gold-ink (#8A6D1F, 4.90:1), which reads as the same
   brand gold while being legible.

   Gold as a BAND with dark text on it is untouched: #C7A860 with black on top
   is 9.3:1, and that is exactly how the live "Meet Jackie" band works.
   ========================================================================== */

:root {
  /* --- grounds --- */
  --white:      #FFF;
  --panel:      #F7F6F3;
  --hairline:   #E4E1DA;

  /* --- text --- */
  --ink:        #000;
  --ink-soft:   #3D3B37;
  --ink-mute:   #6B6862;

  /* --- brand gold --- */
  --gold:       #C5A95E;   /* OFFICIAL ROG gold, per the brand book. The live site
                            used #C7A860, which is close but not the spec. */
  --gold-ink:   #8A6D1F;   /* gold-family TEXT on white — the correction */
  --gold-deep:  #A98C42;   /* hairlines and accents on white */

  --wrap: 1140px;
  --radius: 4px;

  /* --- type ---
     The live page uses Wix-supplied faces: a formal script for the agent's
     name, a transitional serif for headings, a sans for body. These are the
     closest freely available analogs; the whole site follows if swapped. */
  --f-script: "Great Vibes", "Segoe Script", cursive;
  --f-serif:  "Playfair Display", Georgia, "Times New Roman", serif;
  --f-body:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
              Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.8 var(--f-body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold-ink); outline-offset: 2px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 22px; top: 12px; background: var(--white); color: var(--ink);
  padding: 10px 18px; z-index: 99; border: 2px solid var(--gold-ink);
}

/* ---------------------------------------------------------------- header -- */
/* The live header is TRANSPARENT and floats over the hero video: white text,
   the monogram centered, menu left (collapsed to "Menu"), contact right.
   It sits above the video, not on a white bar. */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 40;
  background: transparent;
  border-bottom: 0;
}
/* A page with no hero has nothing for the floating header to sit on, so it goes
   back into normal flow on a black bar. Without this the header covered the
   breadcrumb and the first line of the article. */
body.no-hero .site-header {
  position: relative; background: var(--ink);
}
body.no-hero .site-header::before { display: none; }
/* The white text needs the darker video behind it, so a soft top-down scrim. */
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.28), transparent);
  pointer-events: none;
}
.hdr-in {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 18px 22px;   /* 22px = the .wrap gutter; without it the
                                      header sat flush to the viewport edge and
                                      "CONTACT" was clipped on a phone. */
}
nav.main { order: 1; }
nav.main {
  display: flex; align-items: center; gap: 30px;
}
nav.main ul {
  display: flex; gap: 30px;
  list-style: none; margin: 0; padding: 0;
  font-size: .84rem; letter-spacing: .13em; text-transform: uppercase;
}
nav.main a { color: var(--white); text-decoration: none; }
nav.main a:hover { color: var(--gold); }
nav.main a[aria-current="page"] { color: var(--gold); }

/* Center: the JT monogram, white, as on the live site. */
.brand { order: 2; text-align: center; line-height: 1; }
.brand a { text-decoration: none; }
.brand img {
  height: 60px; width: auto; margin: 0 auto;
  /* the monogram is supplied white; keep it white on the video */
  filter: brightness(0) invert(1);
}
.brand small {
  display: block; margin-top: 4px; font-size: .58rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
}
/* THE EMPLOYING BROKER'S NAME.
   R4-28-502(E) requires it "clear and prominent"; R4-28-502(J) requires the
   required disclosures to be satisfied WITHOUT THE NEED TO SCROLL.
   SPS 2025.03 additionally requires the brokerage name to be LARGER THAN any
   team name and to appear everywhere the team name appears.
   So it is set deliberately LARGER THAN BODY TEXT, in the sticky header. */
.brand .broker-name {
  display: block;
  margin-top: 3px;
  font-family: var(--f-serif);
  font-size: .86rem;          /* larger than body text */
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: none;
  color: var(--white);
  white-space: nowrap;
}

.hdr-contact {
  order: 3; text-align: right; font-size: .84rem;
  letter-spacing: .13em; text-transform: uppercase; white-space: nowrap;
}
.hdr-contact a { color: var(--white); text-decoration: none; }
.hdr-contact a:hover { color: var(--gold); }
/* THE PHONE LINK IS A BUTTON, NOT A STRING OF DIGITS.
   It used to be `(602) 818-0929` and nothing else: a reader had to know that
   the number was tappable, and at 13.76px it was the least obvious control in
   the header. It now says what it does ("Call Jackie") and carries the number
   underneath, sits in a bordered target, and is at least 44px tall at every
   width. Fixed 2026-11-06. */
.hdr-phone { display: inline-flex; flex-direction: row; align-items: center;
  gap: 8px; min-height: 44px; padding: 0 12px; margin-left: 14px;
  border: 1px solid rgba(255,255,255,.5); border-radius: 6px;
  font-weight: 700; color: var(--white); text-decoration: none;
  white-space: nowrap; }
.hdr-phone:hover, .hdr-phone:focus-visible { color: var(--ink); background: var(--gold);
  border-color: var(--gold); }
.hdr-phone-label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.hdr-phone-num { font-size: .92rem; letter-spacing: .02em; }
.hdr-contact .hdr-contact-link { display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 4px; }

/* ------------------------------------------------------------------ hero -- */
/* Full-bleed photograph with white serif text centered over it. The image is
   set per-page via the --hero-image custom property. */
.hero {
  position: relative;
  min-height: 780px;
  display: flex; align-items: center;
  /* The live hero reads flat and hazy — warm sepia, mountains prominent,
     not a high-saturation sunset. The still is the ground; the video layers
     over it; a light warm veil mutes both to match. */
  background-color: #6E6255;
  background-image: var(--hero-image, none);
  background-size: cover;
  background-position: center;
  /* the stack is centered vertically in the hero, per the client */
  padding: 84px 0 96px;
  overflow: hidden;
  justify-content: center;
}
/* A soft darkening layer so white text holds up on any crop of the photo. */
/* A warm, even veil. The live hero is noticeably FLATTER and less saturated
   than a raw sunset still, so both the still and the video sit under this. */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(74,62,50,.34) 0%,
    rgba(80,68,55,.24) 50%,
    rgba(60,50,40,.40) 100%);
  pointer-events: none;
}
/* the still, when used as the ground, needs the same muting as the video */
.hero[style*="--hero-image"], .hero.hero-still { background-blend-mode: multiply; }
.hero .wrap {
  position: relative; z-index: 3; width: 100%;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}

/* The R1G lockup, small and centered, above the name. */
.hero-logo {
  margin: 0 auto 24px; height: 62px; width: auto;
  /* the lockup is gold+white on transparent and sits on sky — a shadow keeps
     it readable without altering the mark */
  filter: drop-shadow(0 1px 10px rgba(0,0,0,.7));
}

/* The agent's name in script — the focal point of the page. */
.hero h1 {
  margin: 0 0 18px;
  font-family: var(--f-script);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  line-height: 1.1;
  color: var(--white);
  letter-spacing: .01em;
  text-shadow: 0 2px 18px rgba(0,0,0,.55), 0 0 40px rgba(0,0,0,.35);
}
/* The strapline: small white serif. */
.hero .strapline {
  margin: 26px auto 0;
  font-family: var(--f-serif);
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  letter-spacing: .02em;
  color: var(--white);
  max-width: 52ch;
  text-shadow: 0 1px 12px rgba(0,0,0,.6), 0 0 24px rgba(0,0,0,.4);
}
.hero .hero-location {
  max-width: 48ch;
  margin: 8px auto 0;
  color: var(--white);
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: .015em;
  text-shadow: 0 1px 10px rgba(0,0,0,.65);
}
.hero .claim {
  display: inline-block; margin: 22px 0 0;
  padding: 10px 18px;
  background: rgba(0,0,0,.45);
  border-left: 4px solid var(--gold);
  font-family: var(--f-body);
  font-size: .92rem; font-weight: 600; line-height: 1.5;
  color: var(--white);
  max-width: 56ch;
}
.hero .hero-cta { margin: 28px 0 0; }

/* On the photo, a gold button with dark text reads best. */
.hero .btn { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.hero .btn:hover { background: var(--white); border-color: var(--white); }

/* Homepage search choices: one clear row on wide screens, an easy-to-scan
   stack on phones. The dark text keeps the brand-gold actions legible on video. */
.hero-search-choices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 860px;
  margin: 28px auto 0;
}
.hero-search-choices > .btn {
  display: inline-flex;
  flex: 1 1 220px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  max-width: 100%;
  text-align: center;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.hero-search-choices > .btn:hover {
  transform: translateY(-1px);
}
.hero-search-choices > .btn:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(0,0,0,.72);
}
/* Four search destinations should read as a balanced pair of rows, not a
   three-plus-one flex wrap. Keep the established three-choice row unchanged. */
.hero-search-choices:has(> .btn:nth-child(4)) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hero-search-choices:has(> .btn:nth-child(4)) > .btn {
  min-width: 0;
  min-height: 58px;
  padding-inline: 18px;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .hero-search-choices {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-width: 420px;
    margin-top: 24px;
  }
  .hero-search-choices:has(> .btn:nth-child(4)) {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-search-choices > .btn { flex: 0 0 auto; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-search-choices > .btn { transition: none; }
  .hero-search-choices > .btn:hover { transform: none; }
}

/* ---------------------------------------------------------- hero media -- */
/* The live hero is a full-bleed looping VIDEO of mountains and cloud, with a
   still poster frame as the fallback. Both sit behind the text. */
.hero-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .9;
  /* The live hero is far more muted than a raw sunset: darker, less
     saturated, warmer. Measured live average is #726457 against the still's
     bright peach. This filter lands the still on the live's tone. */
  filter: brightness(.72) saturate(.62) contrast(1.04) sepia(.12);
}
.hero > .wrap { position: relative; z-index: 2; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}


/* Pages without a hero need a spacer, since the header is absolute. */
.page-top { padding-top: 92px; }


/* ------------------------------------------------------- IDX SEARCH BAR -- */
/* Only verified IDX prices are offered here. Other filters are selected on IDX. */
.idx-search {
  /* The live bar is a TRANSLUCENT OUTER FRAME holding SEPARATE white field
     boxes — not one continuous strip with dividers. */
  display: flex; flex-wrap: nowrap; gap: 10px;
  justify-content: center; align-items: stretch;
  max-width: 940px; margin: 30px auto 8px;
  padding: 11px 12px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 4px;
  backdrop-filter: blur(2px);
}
.idx-search input,
.idx-search select {
  flex: 1 1 0;
  min-width: 0;
  border: 0;
  border-radius: 3px;
  padding: 13px 12px;
  font-size: .85rem;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  text-overflow: ellipsis;
}
.idx-search input[type="text"] { flex: 2.4 1 0; }
.idx-search input::placeholder { color: #55524D; }
.idx-search input:focus,
.idx-search select:focus { background: #FFFDF7; outline: 2px solid var(--gold); outline-offset: -2px; }
.idx-search button {
  flex: 0 0 auto;
  border: 0; border-radius: 3px;
  background: var(--gold); color: var(--ink);
  padding: 13px 26px;
  font-weight: 600; font-size: .85rem;
  letter-spacing: .03em;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
/* the magnifier, drawn in CSS so no icon file is needed */
.idx-search button::before {
  content: ""; width: 11px; height: 11px;
  border: 2px solid currentColor; border-radius: 50%;
  box-shadow: 4px 4px 0 -2px currentColor;
}
.idx-search button:hover { background: var(--gold-deep); }
.hero .hero-search-help {
  color: var(--white);
  font-size: .9rem;
  max-width: 54ch;
  margin: 8px auto 0;
}

@media (max-width: 760px) {
  .idx-search { flex-direction: column; gap: 8px; }
}

/* ----------------------------------------------------- header affordances */
/* The live header shows a hamburger + "Menu", then one link — not the full
   nav. The hamburger is a menu affordance; the real nav is revealed on click. */
.menu-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 0; cursor: pointer;
  color: var(--white); font: inherit;
  font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 0;
}
.menu-toggle:hover { color: var(--gold); }
.menu-toggle .bars { display: inline-block; width: 20px; }
.menu-toggle .bars span {
  display: block; height: 1px; background: currentColor; margin: 4px 0;
}


/* ------------------------------------------------------------ TAGLINE -- */
/* "Your REALTOR on the Rim" — the permanent brand asset carried from the
   billboard. Set the way the billboard sets it: "Your" is LARGER and ITALIC,
   the rest reads as a clean caps line beneath the same baseline weight.
   Optional small mountain-range mark via .tagline .mark. */
.tagline {
  display: inline-flex; align-items: baseline; gap: 10px;
  flex-wrap: wrap; justify-content: center;
  margin: 14px 0 0;
  font-family: var(--f-serif);
  letter-spacing: .02em;
  color: var(--white);
  text-shadow: 0 1px 12px rgba(0,0,0,.6), 0 0 26px rgba(0,0,0,.42);
}
/* "Your" — larger, italic, the emphasized word */
/* "Your" — larger and italic, the emphasized word */
.tagline .your {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  margin-right: 3px;
}
/* "realtor on the rim" — lower case, per the client, lightly tracked */
.tagline .rest {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 400;
  letter-spacing: .04em;
}
.tagline .mark {
  /* enlarged so it reads as a real mark rather than a squiggle */
  width: 96px; height: auto; flex: 0 0 auto;
  align-self: center;
  margin-left: 10px;
  filter: drop-shadow(0 1px 8px rgba(0,0,0,.65));
}

/* The R1G logo pinned to the top of every page — a branding requirement. */
.hero-logo-top {
  position: absolute; top: 112px; left: 0; right: 0;
  margin: 0 auto; height: 52px; width: auto;
  z-index: 4;
  filter: drop-shadow(0 1px 10px rgba(0,0,0,.7));
}
@media (max-width: 880px) {
  /* The R1G logo was absolutely pinned at 152px, which is where the header's
     brand row lands once the contact block wraps at 390px — so the logo printed
     the brokerage name a second time on top of .broker-name and neither was
     legible. Static positioning puts it in normal flow under the header at every
     width, which no header height can collide with. */
  .hero-logo-top { position: static; display: block; margin: 12px auto 0; height: 40px; }
  .hero { padding-top: 28px; }
}

/* --------------------------------------------------------------- generic -- */
main { display: block; }
section { padding: 72px 0; }
section.alt { background: var(--panel); }

h1 {
  font-family: var(--f-serif); font-weight: 700;
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  line-height: 1.2;
}
/* Gold serif headings on white — the live site's signature. The color is a
   brand-family gold that is actually legible. */
h2 {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  line-height: 1.22;
  margin: 0 0 18px;
  color: var(--gold-ink);
  text-align: center;
}
h2.left { text-align: left; }
h3 {
  font-family: var(--f-serif);
  font-size: 1.2rem; font-weight: 700;
  margin: 26px 0 10px; color: var(--gold-ink);
}
h3.left { text-align: left; }

/* A serif italic subhead, as under "Discover Arizona's Best Kept Secret". */
.subhead {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.02rem, 2.1vw, 1.35rem);
  color: var(--ink);
  text-align: center;
  margin: -6px 0 26px;
}

p, li { color: var(--ink-soft); }
p { margin: 0 0 18px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 9px; }
strong, b { color: var(--ink); }
.lede { font-size: 1.06rem; color: var(--ink); }
.prose { max-width: 76ch; margin: 0 auto; }
.prose p { text-align: left; }

/* Compact in-page navigation for long guides and directories. The native
   disclosure keeps the page lead in view and makes the section list optional. */
.page-jump {
  width: min(100%, 78ch);
  margin: 22px auto 30px;
}
.page-jump details {
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  background: var(--panel);
}
.page-jump summary {
  min-height: 46px;
  padding: 11px 14px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
}
.page-jump summary:focus-visible {
  outline: 3px solid var(--gold-ink);
  outline-offset: 2px;
}
.page-jump summary::marker { color: var(--gold-ink); }
.page-jump summary span {
  margin-left: 8px;
  color: var(--ink-mute);
  font-size: .86rem;
  font-weight: 400;
}
.page-jump details[open] summary {
  border-bottom: 1px solid var(--hairline);
}
.page-jump ol {
  margin: 0;
  padding: 7px 14px 10px 38px;
}
.page-jump li {
  margin: 0;
  color: var(--gold-ink);
}
.page-jump li a {
  display: block;
  min-height: 44px;
  padding: 7px 4px;
  color: var(--ink-soft);
  line-height: 1.45;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.page-jump li a:hover { color: var(--gold-ink); }
.page-jump li a:focus-visible {
  outline: 3px solid var(--gold-ink);
  outline-offset: 1px;
}
main :is(h2, h3)[id] { scroll-margin-top: 24px; }
@media print {
  .page-jump { display: none; }
}

/* ------------------------------------------------------ Blue Ridge guide -- */
/* A restrained editorial addition, using the established gold/serif language
   while giving this regional guide a clear, readable measure. */
body.home .hero .home-service-heading {
  max-width: 40ch;
  margin: 0 auto 14px;
  color: var(--white);
  font-family: var(--f-serif);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}
.blue-ridge-main { background: var(--white); }
.blue-ridge-intro {
  padding: 58px 0 48px;
  background: var(--panel);
  border-bottom: 1px solid var(--hairline);
}
.blue-ridge-wrap { max-width: 960px; }
.blue-ridge-kicker {
  margin: 0 0 10px;
  color: var(--gold-ink);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
}
.blue-ridge-intro h1 {
  margin: 0 auto 16px;
  color: var(--gold-ink);
  text-align: center;
}
.blue-ridge-lede {
  max-width: 68ch;
  margin: 0 auto;
  color: var(--ink);
  font-family: var(--f-serif);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.65;
  text-align: center;
}
.blue-ridge-search {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 28px auto 0;
}
.blue-ridge-search .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}
.blue-ridge-search-note {
  max-width: 70ch;
  margin: 13px auto 0;
  color: var(--ink-mute);
  font-size: .88rem;
  text-align: center;
}
.blue-ridge-copy { padding: 58px 0 64px; }
.blue-ridge-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(250px, .85fr);
  align-items: start;
  gap: clamp(30px, 6vw, 74px);
}
.blue-ridge-prose { max-width: 72ch; }
.blue-ridge-prose .blue-ridge-kicker,
.blue-ridge-note .blue-ridge-kicker { text-align: left; }
.blue-ridge-prose h2,
.blue-ridge-note h2 {
  margin: 0 0 15px;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  text-align: left;
}
.blue-ridge-prose p,
.blue-ridge-prose li,
.blue-ridge-note p { font-size: .98rem; line-height: 1.75; }
.blue-ridge-prose h2:not(:first-of-type) { margin-top: 36px; }
.blue-ridge-checklist { margin: 0 0 22px; padding-left: 21px; }
.blue-ridge-checklist li { padding-left: 3px; margin-bottom: 8px; }
.blue-ridge-note {
  padding: 25px 25px 20px;
  background: var(--panel);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
}
.blue-ridge-note p:last-child { margin-bottom: 0; }
.blue-ridge-source {
  padding: 30px 0 36px;
  background: #F1EFE9;
  border-top: 1px solid var(--hairline);
}
.blue-ridge-source .wrap { max-width: 960px; }
.blue-ridge-source p {
  margin: 0 auto 10px;
  color: var(--ink-mute);
  font-size: .86rem;
  line-height: 1.65;
}
.blue-ridge-source p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .blue-ridge-intro { padding: 42px 0 36px; }
  .blue-ridge-search { flex-direction: column; align-items: stretch; }
  .blue-ridge-search .btn { justify-content: center; }
  .blue-ridge-copy { padding: 42px 0; }
  .blue-ridge-columns { grid-template-columns: minmax(0, 1fr); }
}

/* -------------------------------------------------------------- buttons -- */
.btn {
  display: inline-block;
  background: var(--gold); color: var(--ink);
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; line-height: 1.15;
  text-decoration: none; border: 2px solid var(--gold); cursor: pointer;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); }

.btn.ghost, .btn.outline {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn.ghost:hover, .btn.outline:hover { background: var(--ink); color: var(--white); }

/* ------------------------------------------- FIRST-SCREEN CALL (articles) */
/* The ask under an article headline. Same button as the hero CTA; the only new
   rules are the block that holds it and the number, which stacks under the
   action so a long label never pushes the button past a 390 px column. */
.call-cta { margin: 20px 0 30px; }
.call-cta .btn { display: inline-block; max-width: 100%; text-align: left; }
.call-cta-act { display: block; font-weight: 600; }
.call-cta-num { display: block; margin-top: 3px; font-weight: 500; font-size: .88rem; }

/* ------------------------------------------- GOLD BAND (the live signature) */
/* Black text on the gold band — strong contrast, and exactly how the live
   site's "Meet Jackie" section already works. Do not set this text to white. */
.band {
  /* BRAND BOOK: "When using gold backgrounds, use black text and increase font
     weight to 500 for best legibility." Applied exactly. */
  background: var(--gold);
  color: #000;
  padding: 62px 0;
}
.band h2, .band h3 { color: #000; text-align: left; font-weight: 700; }
.band p, .band li { color: #000; font-weight: 500; }
.band a { color: var(--ink); }
.band .subhead { color: var(--ink); text-align: left; }

.band-grid {
  display: grid; gap: 44px;
  grid-template-columns: minmax(240px, 340px) 1fr;
  align-items: start;
}
.band-grid img { border-radius: var(--radius); }
@media (max-width: 780px) { .band-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------- photograph-free band -- */
/* The homepage's husband-and-wife band carries its words alone. A visible
   "photo pending" box shipped here once and read as unfinished, which is worse
   than no picture at all. Keep the measure readable at full width. */
.band-text { max-width: 68ch; }

/* ------------------------------------------------------- team portrait --- */
/* The team page shows Jackie's real portrait, captioned for the one person it
   shows. It floats beside the biography and becomes a plain block on a phone.
   .agent-intro establishes its own formatting context so the float cannot
   reach the agent cards that follow. */
.agent-intro { display: flow-root; }
.agent-photo { float: right; width: 300px; margin: 4px 0 20px 32px; }
.agent-photo img {
  width: 100%; height: auto; border-radius: var(--radius); display: block;
}
.agent-photo figcaption {
  font-size: .78rem; letter-spacing: .04em; color: var(--ink-mute);
  text-align: center; padding: 8px 4px 2px;
}
@media (max-width: 780px) {
  .agent-photo { float: none; width: auto; margin: 0 0 22px; max-width: 380px; }
}

/* ---------------------------------------------------------------- panels -- */
.grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin-top: 0; text-align: left; }
.card p:last-child { margin-bottom: 0; }
/* Cards in a row are sized by the tallest sibling, so a shorter card's
   "Read the article" link floated at a different height than its neighbors
   and the row read as misaligned. Make the card a column and pin the trailing
   paragraph to the bottom. Fixed 2026-11-05. */
.grid > .card { display: flex; flex-direction: column; }
.grid > .card > p:last-child { margin-top: auto; padding-top: 10px; }

/* "Getting Here" route cards — a map, the headline figure, then the directions.
   The map sits inside the card's own padding so the card border still reads as
   the container; without the border it floats on the page background. */
.routes { margin-top: 22px; grid-template-columns: 1fr; }
/* Each route is a wide row: map on the left at a size its lettering survives,
   directions on the right. Three narrow columns made the maps decorative. */
.routes > .route-card {
  display: grid; grid-template-columns: minmax(320px, 1.1fr) 1fr;
  gap: 26px; align-items: start; padding: 20px;
}
.route-card .route-body { display: block; }
.route-card h5 {
  margin: 0 0 4px; font-family: var(--f-serif); font-size: 1.22rem;
  text-align: left;
}
.route-card .route-meta {
  margin: 0 0 14px; font-size: .84rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink-mute);
}
.route-card img {
  width: 100%; height: auto; border-radius: 8px;
  border: 1px solid var(--hairline); margin: 0;
}
.route-card p { font-size: .95rem; }
.routes > .route-card > .route-body > p:last-child { margin-bottom: 0; }
@media (max-width: 820px) {
  .routes > .route-card { grid-template-columns: 1fr; gap: 16px; }
}
.route-note { font-size: .84rem; color: var(--ink-mute); margin: 14px 0 0; }

/* Photo tiles with a caption over the image — as on the live site. */
.tiles {
  display: grid; gap: 6px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.tile {
  position: relative; display: block; overflow: hidden;
  text-decoration: none; border-radius: var(--radius);
}
.tile img { width: 100%; height: 330px; object-fit: cover; }
/* A caption set straight on a photograph is unreadable wherever the photo
   happens to be bright — "Life in Happy Jack" landed on sunlit rock. The
   bottom scrim guarantees the contrast whatever image is dropped in. */
.tile::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 58%; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.30) 45%, rgba(0,0,0,.66));
}
.tile span {
  position: absolute; left: 0; right: 0; bottom: 14px; z-index: 1;
  padding: 0 12px;
  text-align: center;
  font-family: var(--f-serif);
  font-size: clamp(1.2rem, 2.6vw, 1.75rem);
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,.65);
}
.tile:hover img { transform: scale(1.03); transition: transform .3s ease; }

.stats {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  list-style: none; padding: 0; margin: 0;
}
.stats li {
  background: var(--white); border: 1px solid var(--hairline);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 20px; text-align: center; margin: 0;
}
.stats b { display: block; font-size: 1.45rem; color: var(--ink); }
.stats span {
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-mute);
}

/* ------------------------------------------------------------------- FAQ -- */
.faq { margin: 0 auto; padding: 0; max-width: 76ch; }
.faq dt { font-weight: 700; color: var(--ink); margin: 22px 0 8px; font-size: 1.03rem; }
.faq dd { margin: 0 0 4px; padding-bottom: 18px; border-bottom: 1px solid var(--hairline); }
.faq dd:last-child { border-bottom: 0; }

/* --------------------------------------------------------------- callout -- */
.note {
  background: var(--panel);
  border-left: 5px solid var(--gold);
  padding: 18px 22px; margin: 24px 0;
}
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--ink); }

/* ------------------------------------------------------------- IDX band -- */
/* The three IDX entry points on the homepage. Deliberately plain: these are
   links out to a separate host, not an embedded widget (see pages.idx_band). */
.idx-band { background: var(--panel); padding: 44px 0; border-bottom: 1px solid var(--hairline); }
.idx-band h2 { text-align: left; margin-bottom: 10px; }
.idx-lede { max-width: 68ch; color: var(--ink-soft); }
.idx-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; }
.idx-alternative {
  display: inline-block;
  margin: 18px 0 0;
  padding: 9px 13px;
  border-left: 3px solid var(--gold);
  background: rgba(255,255,255,.72);
  font-size: .94rem;
}
.idx-alternative a { font-weight: 700; }
.idx-note {
  margin: 24px 0 0; max-width: 78ch;
  font-size: .85rem; line-height: 1.5; color: var(--ink-soft);
  border-left: 3px solid var(--gold); padding-left: 14px;
}
.idx-note strong { color: var(--ink); }
.idx-rule { white-space: nowrap; font-weight: 600; color: var(--ink); }

/* ------------------------------------------------- brokerage search page -- */
.property-search-main section { padding: 48px 0; }
.property-search-intro { padding-top: 36px !important; padding-bottom: 30px !important; }
.property-search-intro .wrap { max-width: 850px; }
.property-search-intro .meta,
.property-search-option .meta {
  margin: 0 0 9px;
  color: var(--gold-ink);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.property-search-intro h1 {
  margin: 0 0 12px;
  color: var(--gold-ink);
  font-family: var(--f-serif);
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  line-height: 1.14;
}
.property-search-intro .lede { max-width: 66ch; margin-bottom: 14px; }
.property-search-explainer {
  max-width: 78ch;
  margin: 0;
  padding: 13px 16px;
  border-left: 4px solid var(--gold);
  background: var(--panel);
  font-size: .94rem;
  line-height: 1.6;
}
.property-search-options { background: var(--panel); border-block: 1px solid var(--hairline); }
.property-search-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 20px;
  align-items: stretch;
}
.property-search-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(22px, 4vw, 38px);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-top: 4px solid var(--gold);
}
.property-search-option h2 {
  margin: 0 0 12px;
  text-align: left;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
}
.property-search-option p:not(.meta) { max-width: 46ch; }
.property-search-option .btn { margin-top: auto; }
.property-search-return { padding-top: 34px !important; padding-bottom: 54px !important; }
.property-search-return h2 { margin-bottom: 8px; font-size: 1.5rem; }
.property-search-return p { margin-bottom: 0; }
@media (max-width: 680px) {
  .property-search-main section { padding: 36px 0; }
  .property-search-intro { padding-top: 28px !important; }
  .property-search-grid { grid-template-columns: 1fr; gap: 14px; }
  .property-search-option { padding: 23px 20px; }
  .property-search-option .btn { width: 100%; text-align: center; }
}

@media (max-width: 520px) {
  .idx-links .btn { flex: 1 1 100%; text-align: center; }
}

/* ----------------------------------------------------------------- forms -- */
form.contact {
  background: var(--white); border: 1px solid var(--hairline);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: 26px; max-width: 640px;
}
label { display: block; margin: 16px 0 6px; font-size: .93rem; font-weight: 600; color: var(--ink); }
input, select, textarea {
  width: 100%; padding: 13px 14px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--hairline); border-radius: var(--radius);
  font: inherit;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold-ink); }
textarea { min-height: 136px; resize: vertical; }
.req { color: var(--gold-ink); font-weight: 700; }
.form-hint { max-width: 640px; font-size: .95rem; color: var(--ink-mute); }
.form-hint a { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------ contact actions -- */
/* Both agents get the same card, the same two buttons and the same weight.
   The old page offered one number in the body and the other only in the
   footer, which quietly made one agent look like the assistant. */
.contact-grid { align-items: start; }
.agent-card { display: flex; flex-direction: column; gap: 6px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 4px; }
.contact-actions .btn { min-height: 48px; display: inline-flex; flex-direction: column;
  justify-content: center; align-items: flex-start; gap: 2px; padding: 10px 18px; }
.contact-actions .btn span { display: block; font-size: .78rem; font-weight: 500;
  letter-spacing: .02em; }
.contact-actions .btn.ghost span { color: inherit; }

/* ---------------------------------------------------------------- footer -- */
.site-footer {
  background: var(--ink); color: #D6D6D6;
  padding: 54px 0 34px; font-size: .92rem;
  border-top: 4px solid var(--gold);
}
.site-footer h2 {
  font-family: var(--f-body);
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px; text-align: left;
}
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .foot-search {
  margin: 0 0 34px;
  padding: 24px clamp(18px, 4vw, 38px) 26px;
  border: 1px solid #514523;
  border-top: 2px solid var(--gold);
  background: #20201D;
}
.site-footer .foot-search h2 {
  margin-bottom: 16px;
  text-align: center;
  font-size: .82rem;
  letter-spacing: .16em;
}
.site-footer .foot-search-choices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}
.site-footer .foot-search-choices > .btn {
  display: inline-flex;
  flex: 1 1 220px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  max-width: 100%;
  padding: 12px 18px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.site-footer .foot-search-choices > .btn:hover {
  transform: translateY(-1px);
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}
.site-footer .foot-search-choices > .btn:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(0,0,0,.72);
}
.site-footer .foot-search-choices:has(> .btn:nth-child(4)) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.site-footer .foot-search-choices:has(> .btn:nth-child(4)) > .btn {
  min-width: 0;
  min-height: 56px;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .site-footer .foot-search {
    margin-bottom: 30px;
    padding: 22px 16px 20px;
  }
  .site-footer .foot-search-choices {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-width: 420px;
  }
  .site-footer .foot-search-choices:has(> .btn:nth-child(4)) {
    grid-template-columns: minmax(0, 1fr);
  }
  .site-footer .foot-search-choices > .btn {
    flex: 0 0 auto;
    width: 100%;
  }
}
@media (max-width: 360px) {
  .site-footer .foot-search { padding-right: 12px; padding-left: 12px; }
  .site-footer .foot-search-choices > .btn { padding-right: 12px; padding-left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer .foot-search-choices > .btn { transition: none; }
  .site-footer .foot-search-choices > .btn:hover { transform: none; }
}
.foot-grid {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 10px; color: #D6D6D6; }
.foot-grid p { color: #D6D6D6; }
.foot-legal {
  border-top: 1px solid #2E2E2E; margin-top: 34px; padding-top: 22px;
  font-size: .8rem; color: #A8A8A8;
}
.foot-legal p { color: #A8A8A8; }
.lic { color: var(--gold); font-size: .86rem; }

/* Shared hero/footer brand lockup; only the footer placement changes. */
.foot-brand {
  text-align: center; padding: 28px 0 18px;
  border-bottom: 1px solid #2E2E2E;
}
.foot-tagline {
  display: flex; width: fit-content; max-width: 100%;
  margin: 0 auto 8px;
  font-size: 17px;
  line-height: 1.8;
}
.url-bar {
  font-weight: 600; font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  color: var(--white); text-decoration: none; display: inline-block;
}
.url-bar:hover { color: var(--gold); }

/* ------------------------------------------------------------- affiliate -- */
.affiliate {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 24px 0; border-bottom: 1px solid #2E2E2E;
  text-align: center;
}
.affiliate img { height: 44px; width: auto; }
.affiliate-copy { display: grid; gap: 3px; }
.affiliate .who { font-size: .82rem; line-height: 1.45; color: #D6D6D6; }
.affiliate .who:first-child { font-family: var(--f-serif); color: var(--white); }
.foot-legal {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 22px;
}
.foot-legal p { flex: 1 1 auto; margin: 0; }
.foot-marks {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-end;
  gap: 20px; padding: 4px 0;
}
.foot-marks img {
  display: block; width: 100px; height: 100px; object-fit: contain;
  /* Preserve each official file's transparent clear space and square ratio. */
}
.foot-marks img[alt="Equal Housing Opportunity"] { width: 72px; height: 72px; }
@media (max-width: 600px) {
  .foot-legal { align-items: flex-start; flex-direction: column; gap: 14px; }
  .foot-marks { align-self: flex-end; }
}

/* ---------------------------------------------------------------- quotes -- */
blockquote {
  margin: 0 0 26px;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-left: 5px solid var(--gold);
  padding: 22px 24px;
}
blockquote p { margin: 0 0 14px; color: var(--ink-soft); }
blockquote cite { font-style: normal; font-weight: 700; font-size: .9rem; color: var(--ink); }

/* Pull quotes: Jackie speaking in her own voice, not a client review. They are
   deliberately NOT <blockquote> — verify.py treats every blockquote on the site
   as a published testimonial and requires it to trace to an approved review.
   Same visual weight as a quote, without the testimonial marker. */
.pullquote {
  margin: 0 0 26px;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-left: 5px solid var(--gold);
  padding: 22px 24px;
}
.pullquote p { margin: 0 0 14px; color: var(--ink-soft); }
.pullquote p:last-child { margin-bottom: 0; }
.pullquote cite { font-style: normal; font-weight: 700; font-size: .9rem; color: var(--ink); }

/* Reviews: current team above, Sherrie's legacy below. The per-review source
   line is what makes the attribution explicit (R4-28-502(C)). */
.review-group { margin-bottom: 34px; }
.review-group h3 {
  font-family: var(--f-serif); font-size: 1.15rem; margin: 0 0 16px;
  text-align: left;
}
blockquote.review cite { display: block; margin-bottom: 4px; }
.review-src {
  font-size: .78rem; color: var(--ink-mute); margin: 6px 0 0;
  letter-spacing: .02em; text-transform: uppercase;
}
ul.review-links { display: flex; gap: 22px; flex-wrap: wrap; padding-left: 0; list-style: none; }
.review-widget { margin-bottom: 18px; }

/* The legacy block is visually separated: different ground, a rule above. */
.legacy-block {
  background: var(--panel); border-top: 1px solid var(--hairline);
  margin-top: 46px; padding: 44px 0 34px;
}
.legacy-block h2 { text-align: left; }
.legacy-block .legacy-note { max-width: 62ch; }
blockquote.legacy { border-left-color: var(--hairline); }

/* --------------------------------------------------------------- utility -- */
/* The 0s here overrode .wrap's 22px gutter (same specificity, later rule), so
   the trail sat flush against the viewport edge on every inner page — "Home"
   was half off-screen at 390px. Fixed 2026-11-05. */
.crumbs { font-size: .84rem; padding: 24px 22px 4px; color: var(--ink-mute); }
.crumbs ol { list-style: none; display: flex; gap: 9px; padding: 0; margin: 0; flex-wrap: wrap; }
.crumbs li + li::before { content: "›"; margin-right: 9px; color: var(--gold-ink); }
.crumbs a { color: var(--ink-mute); }
.meta { font-size: .85rem; color: var(--ink-mute); }

/* Placeholder marker — preview builds only. */
.tbd-mark {
  background: var(--gold); color: var(--ink);
  font-weight: 700; padding: 2px 8px; border-radius: 3px; display: inline-block;
  font-size: .88em;
}

@media (max-width: 880px) {
  /* The header was laid out as a 3-column grid, but .hdr-in is flex, so those
     rules did nothing and the broker name was clipped off the right edge at
     390px — i.e. the required broker disclosure was not fully visible without
     scrolling, and the monogram sat on top of it. Now it wraps to its own row. */
  .hdr-in { flex-wrap: wrap; justify-content: space-between; row-gap: 6px; padding: 14px 22px 10px; }
  nav.main { order: 1; }
  .hdr-contact { order: 2; text-align: right; }
  .brand { order: 3; flex: 1 0 100%; }
  .brand img { height: 46px; }
  .brand .broker-name { white-space: normal; font-size: .78rem; letter-spacing: .05em; }
  /* the header is taller in two rows; the R1G logo now sits in normal flow at
     the top of the hero (see the rule near .hero-logo-top), so the hero only
     needs a small gap above the h1. The old 208px top padding existed to clear
     an absolutely pinned logo that collided with the header at 390px. */
  .hero { min-height: 420px; padding: 28px 0 56px; }
  section { padding: 44px 0; }
  .band { padding: 46px 0; }
}

/* Below ~520px the menu, the contact block and the broker name cannot share a
   row. The phone number used to be hidden here entirely, which left a visitor
   on a phone with no tap-to-call anywhere until the footer, 8,500px down the
   home page. It now drops to its own line under "Contact" — still one tap,
   still in the header. Fixed 2026-11-05. */
@media (max-width: 520px) {
  .hdr-contact { display: flex; flex-direction: column; align-items: flex-end;
                 gap: 4px; line-height: 1.25; }
  .hdr-phone { flex-direction: column; align-items: flex-end; gap: 0;
               min-height: 48px; margin: 0; padding: 5px 10px;
               font-size: .86rem; letter-spacing: .06em; }
  .hdr-phone-label { font-size: .72rem; }
  .hdr-phone-num { font-size: .84rem; }
  /* 48px tall now, labeled, and bordered: this is the control a phone buyer
     is most likely to hit, so it is no longer the smallest thing on screen. */
  nav.main ul.nav-menu { gap: 0; font-size: .82rem; }
  .hdr-contact { font-size: .78rem; letter-spacing: .1em; }
}

/* ------------------------------------------------------- mobile call bar -- */
/* Pinned to the bottom of every page below 760px. Two 48px targets: call and
   text. The body gets matching padding so the bar never covers the last line
   of the footer. Fixed 2026-11-06. */
.call-bar { display: none; }

@media (max-width: 760px) {
  .call-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: #101010; border-top: 2px solid var(--gold);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
  }
  .call-bar-btn {
    flex: 1 1 0; min-height: 48px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 1px;
    text-decoration: none; border-radius: 6px; line-height: 1.15;
  }
  .call-bar-btn .call-bar-act { font-size: .8rem; font-weight: 700;
    letter-spacing: .09em; text-transform: uppercase; }
  .call-bar-btn .call-bar-num {
    min-height: 22px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .call-bar-btn.call { background: var(--gold); color: #000; }
  .call-bar-btn.text { background: transparent; color: var(--white);
    border: 1px solid rgba(255,255,255,.55); }
  body { padding-bottom: 76px; }
}

@media print {
  .site-header, .site-footer, .btn, .crumbs { display: none; }
  body { background: #fff; color: #000; }
}

/* ------------------------------------------------ worked example (reviews) -- */
/* The mirror carries a labeled integration demo so the Wix managers can see
   the end-to-end wiring before real RateMyAgent data exists. It must always
   look like a demo, never like real client proof. */
.worked-example {
  border-top: 1px solid var(--hairline);
  margin-top: 40px; padding-top: 34px;
}
.worked-example h2 { text-align: left; }
.sample-banner {
  background: var(--ink);
  border: 1px solid var(--ink);
  border-left: 8px solid var(--rog-gold);
  padding: 16px 20px; margin: 0 0 26px;
  color: #fff; font-size: .95rem; line-height: 1.5;
}
.sample-banner strong {
  color: var(--gold);
  display: block; margin-bottom: 4px;
  font-size: .95rem; letter-spacing: .04em; text-transform: uppercase;
}
/* Sample cards must be unmistakable at a glance, on any screen, without
   reading the small print: dashed frame, hatch texture, muted text, and a
   corner tag on every card. A reviewer skimming must never mistake one for a
   real client quote. */
blockquote.review-sample {
  border: 2px dashed var(--gold-deep);
  background:
    repeating-linear-gradient(135deg,
      rgba(197, 137, 41, .06) 0 10px,
      transparent 10px 20px);
  position: relative;
  opacity: .92;
}
blockquote.review-sample::before {
  content: "SAMPLE — NOT A REAL REVIEW";
  position: absolute; top: 0; right: 0;
  background: var(--ink); color: var(--gold);
  font-family: var(--f-body);
  font-size: .68rem; font-weight: 700; line-height: 1;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 7px 10px; border-radius: 0 0 0 4px;
}
blockquote.review-sample p { color: #4A4A4A; }
blockquote.review-sample .review-src { color: var(--gold-ink); font-weight: 600; }
/* the corner tag needs a clear band above the quote text */
blockquote.review-sample { padding-top: 40px; }
@media (max-width: 640px) {
  blockquote.review-sample { padding-top: 46px; }
  blockquote.review-sample::before { font-size: .62rem; }
}
.review-widget.review-offline { border: 1px solid var(--hairline); }
.worked-example code {
  background: var(--panel); padding: 1px 5px;
  border-radius: 3px; font-size: .9em;
}

/* ------------------------------------------------------------ header menu -- */
/* The Menu button had no behavior: it was rendered with aria-expanded and
   aria-controls, but no script ever ran, so on a phone the header offered only
   the one "Properties" link. This panel is what the button now opens. It is
   the same list the footer carries, so nothing is reachable only by scrolling
   to the bottom of a 9,000px page. */
.nav-properties {
  color: var(--white); text-decoration: none;
  font-size: .84rem; letter-spacing: .13em; text-transform: uppercase;
  margin-left: 30px;
}
.nav-properties:hover { color: var(--gold); }

/* Specificity note: `nav.main ul { display: flex }` earlier in this file
   outranks a bare `.nav-menu` selector, so the panel was ALWAYS open — on a
   phone its items overlapped each other under the header. The selectors below
   are written at matching specificity so the closed state actually wins. */
nav.main ul.nav-menu {
  display: none;
  position: absolute; top: 100%; left: 22px;
  width: min(560px, calc(100% - 44px));
  margin: 6px 0 0; padding: 20px 24px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2px 28px;
  list-style: none;
  background: #0a0a0a;   /* opaque: at .95 the hero and the search widget bled
                            through the menu and the labels read as noise */
  border-top: 3px solid var(--gold);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .38);
  z-index: 60;
}
nav.main.menu-open .nav-menu { display: grid; }
.nav-menu a {
  display: block; padding: 9px 0;
  color: var(--white); text-decoration: none;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--gold); }
@media (max-width: 520px) {
  .nav-menu { left: 16px; width: calc(100% - 32px); padding: 16px 18px; }
  .nav-properties { margin-left: 16px; font-size: .78rem; }
}

/* --- Responsive data tables -----------------------------------------------
   Directories and comparison tables keep readable columns inside their own
   horizontal scroll area rather than widening or shrinking the whole page. */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table.data {
  border-collapse: collapse;
  width: 100%;
  font-size: .92rem;
}
table.data:not(.facts) { min-width: 740px; }
.trades-group table.data { min-width: 1050px; }
table.data th,
table.data td {
  text-align: left;
  vertical-align: top;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
  overflow-wrap: normal;
}
table.data thead th {
  border-bottom: 2px solid rgba(0, 0, 0, .35);
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
table.data caption {
  caption-side: top;
  text-align: left;
  font-size: .8rem;
  line-height: 1.55;
  padding: 0 0 12px;
  color: #555;
}
.table-wrap[role="region"][tabindex="0"]:focus-visible {
  outline: 3px solid var(--gold-ink);
  outline-offset: 3px;
  border-radius: 2px;
}
@media (max-width: 760px) {
  table.data {
    min-width: 740px;
  }
  table.data th,
  table.data td {
    padding: 8px 10px;
    font-size: .86rem;
    min-width: 115px;
    overflow-wrap: normal;
    word-break: normal;
  }
  table.data th[scope="row"] { min-width: 150px; }
  table.data a[href^="tel:"] { white-space: nowrap; }
  table.data caption { max-width: calc(100vw - 44px); }
  .trades-group table.data { min-width: 1050px; }
  .trades-group table.data td:nth-child(4),
  .trades-group table.data td:nth-child(6) { min-width: 220px; }
  /* Two-column neighborhood fact sheets do not need to scroll. */
  table.data.facts { min-width: 0; }
  table.data.facts th, table.data.facts td { min-width: 0; overflow-wrap: break-word; }
  table.data.facts th { width: 38%; }
}
/* This cue only appears where the page's narrow viewport guarantees that a
   non-facts data table (minimum width 740px) must scroll horizontally. */
@media (max-width: 739px) {
  .table-wrap:has(table.data:not(.facts))::before {
    content: "Swipe horizontally to see all columns";
    position: sticky;
    left: 0;
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-left: 3px solid var(--gold);
    background: var(--panel);
    color: var(--ink-soft);
    font-size: .78rem;
    line-height: 1.5;
  }
}

/* --- Grouped header menu ---------------------------------------------------
   The panel used to be a flat grid of eleven links with every article missing.
   It is now five labeled groups, because "Buying land" is a question and
   "Access roads and easements" is its answer. The width has to grow with the
   number of groups or the labels wrap into each other; on a phone the panel
   stays full width and stacks, which is what a thumb wants. */
nav.main ul.nav-menu {
  width: min(940px, calc(100% - 44px));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px 26px;
  padding: 22px 26px 26px;
}
nav.main ul.nav-menu li.nav-group { display: block; }
nav.main ul.nav-menu ul {
  display: block;
  margin: 0; padding: 0;
  list-style: none;
}
.nav-menu .nav-group-label {
  display: block;
  padding: 0 0 8px;
  margin: 0 0 4px;
  color: var(--gold);
  font-size: .70rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(212, 175, 55, .35);
}
.nav-menu a { padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
@media (max-width: 900px) {
  nav.main ul.nav-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  nav.main ul.nav-menu { grid-template-columns: minmax(0, 1fr); max-height: 72vh; overflow-y: auto; }
}

/* --- Guides hub (/guides) --------------------------------------------------
   Group heading, one line of introduction, then a list where the link is the
   answer and the description is the reason to click it. Two columns on a
   laptop, one on a phone. */
.group-intro { max-width: 62ch; color: #4a4a4a; }
ul.guide-list {
  list-style: none;
  margin: 22px 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px 34px;
}
ul.guide-list li { border-top: 1px solid #e3ded2; padding-top: 12px; }
ul.guide-list a {
  display: block;
  font-family: var(--f-serif);
  font-size: 1.12rem;
  line-height: 1.35;
  text-decoration: none;
}
ul.guide-list span { display: block; margin-top: 6px; font-size: .92rem; color: #55504a; }

/* --- Closing service link on an article ------------------------------------
   One sentence, one destination, after the prose and before the FAQ. Not a
   boxed banner: the reader has just finished the answer and this is the only
   question left. */
.service-cta {
  margin: 30px 0 8px;
  padding-top: 18px;
  border-top: 1px solid #e3ded2;
  font-size: 1rem;
}
.service-cta a { font-weight: 600; }

/* --- One-page summary download --------------------------------------------
   The referral handout stays a single PDF so the brokerage name is on the same
   sheet as the offer. This is a link to that document, not a page on this site;
   the label says (PDF) and it opens in a new tab. */
.one-pager {
  margin: 30px auto 8px;
  max-width: 76ch;
  padding: 16px 20px;
  border: 1px solid #e3ded2;
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  background: #fbf9f4;
  font-size: .98rem;
}
.one-pager a { font-weight: 600; }

/* --- Owner gap note on a Wave 4 seller page ------------------------------
   Owner directive 2026-11-07: the eleven owner notes on the four seller pages
   are kept, because they are the record of what is still unanswered. But the
   reader never sees the bracket — content_wave4.py emits the marker as an HTML
   comment and this span carries a plain English "not published yet" sentence
   instead (task t_130266b8). So: muted and italic like a footnote, no rule, no
   box, nothing that reads as an editor's mark on a public page.
   #6E6B66 on white is 5.0:1. */
.gap-marker {
  display: inline;
  font-style: italic;
  color: #6E6B66;
}

/* --- /resources contractor filter ----------------------------------------
   Additive only: the search box and the group buttons reuse the existing
   .btn and input base styles, and these rules supply nothing but the layout
   the filter needs. No existing color, font or spacing value is touched.
   Progressive enhancement: with JS off no rule here hides anything, because
   nothing carries [hidden] until assets/js/resources-filter.js sets it. */
.trades-filter { max-width: 76ch; margin: 0 auto; }
.trades-filter label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: .95rem;
}
.trades-filter input[type="search"] { width: 100%; }
.trades-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.trades-chips .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 16px;
  font-size: .85rem;
}
.trades-chips .btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.trades-count { margin: 12px 0 0; font-size: .9rem; }
.trades-filter [hidden],
.trades-group[hidden],
.trades-group tr[hidden] { display: none; }

/* ==========================================================================
   RESOURCE DISCLAIMER

   The foot of any page that hands a reader a list of third parties to call.
   Copy and markup live in content_disclaimers.py — rendered as static HTML in
   the page source, never injected by script, so a text extraction and a
   crawler both see it. One declaration, one block per page.
   ========================================================================== */
.resource-disclaimer { padding: 0 0 56px; }
.resource-disclaimer .note {
  border-left: 4px solid var(--gold-deep);
  background: var(--panel);
  padding: 24px 26px;
  max-width: 78ch;
}
.resource-disclaimer h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  letter-spacing: .01em;
  text-align: left;
}
.resource-disclaimer p { margin: 0; font-size: .95rem; line-height: 1.65; }

/* Homepage alignment: keep the shared header and hero on one measured center
   axis without changing the layout of interior pages. */
body.home .hdr-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}
body.home nav.main { order: 0; justify-self: start; min-width: 0; }
body.home .brand { order: 0; justify-self: center; min-width: 0; }
body.home .hdr-contact { order: 0; justify-self: end; min-width: 0; }
body.home .hero-logo-top {
  position: absolute;
  top: 112px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  display: block;
  margin: 0;
  height: 52px;
  max-width: calc(100% - 36px);
}
body.home .hero .wrap { width: min(100%, var(--wrap)); }
body.home .hero .tagline,
body.home .hero .strapline { align-self: center; text-align: center; }
body.home .hero .idx-search { width: min(940px, 100%); }

@media (max-width: 880px) {
  body.home .hdr-in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 4px;
  }
  body.home nav.main { grid-column: 1; grid-row: 1; }
  body.home .hdr-contact { grid-column: 2; grid-row: 1; }
  body.home .brand {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }
  body.home .brand img { margin: 0 auto; }
  body.home .brand .broker-name { white-space: normal; }
  body.home .hero {
    display: block;
    min-height: 0;
    padding: 198px 0 58px;
  }
  body.home .hero-logo-top { top: 145px; height: 40px; }
}

@media (max-width: 760px) {
  /* Phone layout: let the header take up real space, then keep the complete
     identity/search stack in normal document flow. The solid ground is the
     hero's existing warm fallback tone, so the white header remains legible. */
  body.home .site-header {
    position: relative;
    background: #6E6255;
  }
  body.home .site-header::before { display: none; }
  body.home .hdr-in {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 8px;
    row-gap: 2px;
    padding: 8px 16px 10px;
  }
  body.home nav.main {
    grid-column: 1;
    grid-row: 1;
    gap: 0;
    min-height: 44px;
  }
  body.home .menu-toggle {
    min-height: 44px;
    gap: 7px;
    font-size: .72rem;
    letter-spacing: .08em;
  }
  body.home .nav-properties {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-left: 12px;
    font-size: .72rem;
    letter-spacing: .08em;
  }
  body.home .hdr-contact {
    grid-column: 2;
    grid-row: 1;
    display: block;
    min-height: 44px;
    font-size: .72rem;
    letter-spacing: .08em;
  }
  body.home .hdr-contact .hdr-contact-link {
    min-height: 44px;
    padding: 0 2px;
  }
  body.home .hdr-contact .hdr-phone { display: none; }
  body.home .brand {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-top: 1px;
  }
  body.home .brand img { height: 38px; }
  body.home .brand .broker-name {
    margin-top: 2px;
    font-size: .78rem;
    line-height: 1.25;
    white-space: normal;
  }
  body.home .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 0;
    padding: 16px 0 84px;
    overflow: hidden;
  }
  body.home .hero-logo-top {
    position: static;
    transform: none;
    width: auto;
    height: 40px;
    max-width: calc(100% - 36px);
    margin: 0 auto 14px;
  }
  body.home .hero .wrap {
    display: flex;
    width: 100%;
    padding: 0 16px;
  }
  body.home .hero h1 { margin-bottom: 12px; }
  body.home .hero .tagline, .site-footer .foot-tagline {
    width: 100%;
    max-width: 100%;
    margin-top: 8px;
    gap: 4px 6px;
  }
  body.home .hero .tagline .mark, .site-footer .foot-tagline .mark {
    width: 68px;
    margin-left: 0;
  }
  body.home .hero .idx-search {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 480px;
    gap: 8px;
    margin: 20px auto 4px;
    padding: 10px;
  }
  body.home .hero .idx-search input[type="text"] {
    grid-column: 1 / -1;
  }
  body.home .hero .idx-search input,
  body.home .hero .idx-search select {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 10px 8px;
    font-size: 16px;
  }
  body.home .hero .idx-search button {
    grid-column: 1 / -1;
    justify-content: center;
    min-height: 48px;
    font-size: 16px;
  }
  body.home .hero .strapline {
    margin-top: 16px;
    max-width: 100%;
    padding: 0 4px;
  }
}

@media (max-width: 360px) {
  body.home .hdr-in { padding-right: 12px; padding-left: 12px; }
  body.home nav.main { gap: 0; }
  body.home .nav-properties { margin-left: 8px; }
  body.home .hero .wrap { padding-right: 12px; padding-left: 12px; }
  body.home .hero .tagline .mark, .site-footer .foot-tagline .mark { width: 58px; }
  body.home .hero .idx-search { padding: 8px; gap: 7px; }
}

@media (max-width: 520px) {
  body.home .brand img { height: 38px; }
  body.home .brand .broker-name { font-size: .78rem; }
}

/* ==========================================================================
   Whole-site layout guardrails

   Keep the established gold / black / serif identity, while making the shared
   components resilient on the long-form guide, article, directory and contact
   pages as well as the homepage. These rules are intentionally additive:
   content and navigation behavior remain unchanged.
   ========================================================================== */
body { min-width: 320px; overflow-wrap: anywhere; }
main, section, .wrap, .prose, .card, .note, .band-grid,
.foot-grid, .agent-intro, .route-body { min-width: 0; }

img, video, iframe { max-width: 100%; }
figure { max-width: 100%; }
pre, code { white-space: pre-wrap; overflow-wrap: anywhere; }

/* Keep all narrative copy at a comfortable measure, including pages whose
   markup uses a direct paragraph rather than the .prose helper. */
main > section:not(.band) > .wrap > p,
main > section:not(.band) > .wrap > ul,
main > section:not(.band) > .wrap > ol,
main > section:not(.band) > .wrap > .note,
main > section:not(.band) > .wrap > .faq {
  max-width: 78ch;
  margin-left: auto;
  margin-right: auto;
}
main > section > .wrap > h2,
main > section > .wrap > .grid,
main > section > .wrap > .tiles,
main > section > .wrap > .stats,
main > section > .wrap > .band-grid { max-width: 100%; }
.prose { max-width: 76ch; }
.prose p { text-wrap: pretty; }
p, li, dd { overflow-wrap: anywhere; }

/* Prevent intrinsic content (especially long email addresses, URLs and
   headings) from forcing the page wider than the viewport. */
h1, h2, h3, h4, h5, a, button { overflow-wrap: anywhere; }

/* Article templates have a mix of .prose and full-wrap copy. Give every
   article section one shared reading column while leaving section backgrounds
   full bleed and retaining the existing heading alignment rules. */
.post-page main .wrap { max-width: calc(78ch + 44px); }
.post-page .prose { max-width: 100%; }
.btn { max-width: 100%; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-cta .btn { text-align: center; }

/* The variable-width grids used by guides and directory pages must shrink
   inside their parent before they choose their responsive column count. */
.grid, .tiles, .stats, .foot-grid, .band-grid { min-width: 0; }
.grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.grid.routes { grid-template-columns: 1fr; }
.tiles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.stats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.foot-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
ul.guide-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.route-card img { min-width: 0; }

/* A bordered form should never exceed its content column; controls retain the
   existing behavior and gain a consistent, usable mobile tap size. */
form.contact { width: 100%; }
form.contact, .form-hint { margin-left: auto; margin-right: auto; }
form.contact input, form.contact select, form.contact textarea,
.idx-search input, .idx-search select { min-width: 0; }
form.contact button, form.contact input[type="submit"] { min-height: 48px; }
.contact-actions .btn { max-width: 100%; }

/* Image-led content has stable crops on wide screens and scales naturally on
   small devices. */
.tile img { width: 100%; }
.agent-photo { max-width: 100%; }
.band-grid > img { width: 100%; height: auto; object-fit: cover; }

/* The monogram must share the page's center axis on interior pages too.
   Equal outer tracks keep the longer contact block from shifting it left. */
@media (min-width: 881px) {
  .hdr-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
  }
  nav.main { order: 0; justify-self: start; min-width: 0; }
  .brand { order: 0; justify-self: center; min-width: 0; }
  .hdr-contact { order: 0; justify-self: end; min-width: 0; }
  /* Informational page heroes need room for the logos, not a full-screen
     empty block. The photo-led homepage keeps its established proportions. */
  body:not(.home) .hero {
    min-height: 460px;
    padding-top: 200px;
    padding-bottom: 64px;
  }
}

@media (min-width: 881px) and (max-width: 1100px) {
  .hdr-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
  .hdr-phone { margin-left: 0; }
  .hdr-in { padding-top: 10px; padding-bottom: 10px; }
  .hdr-contact .hdr-contact-link { min-height: 32px; }
}

/* Tablet: turn the floating desktop header into a predictable document-flow
   header and stack the logo / hero content on every page. The old 880px logo
   rule made the logo static while the hero still laid out in a row, and the
   homepage's more-specific rules kept its header floating until 760px. */
@media (max-width: 880px) {
  .site-header {
    position: relative;
    background: #6E6255;
  }
  .site-header::before { display: none; }
  body.home .site-header {
    position: relative;
    background: #6E6255;
  }
  body.home .site-header::before { display: none; }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    padding: 24px 0 56px;
  }
  .hero-logo-top {
    position: static;
    transform: none;
    display: block;
    width: auto;
    height: 40px;
    max-width: calc(100% - 32px);
    margin: 0 auto 14px;
  }
  body.home .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 24px 0 56px;
  }
  body.home .hero-logo-top {
    position: static;
    transform: none;
    margin: 0 auto 14px;
    height: 40px;
    max-width: calc(100% - 32px);
  }
}

/* Phone layout: preserve the shared tablet stack, while tightening the
   identity row and hero content for narrow screens. */
@media (max-width: 760px) {
  .hdr-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 8px;
    row-gap: 2px;
    padding: 8px 16px 10px;
  }
  nav.main {
    grid-column: 1;
    grid-row: 1;
    order: 0;
    min-width: 0;
    min-height: 44px;
    gap: 0;
  }
  .menu-toggle {
    min-height: 44px;
    gap: 7px;
    font-size: .72rem;
    letter-spacing: .08em;
  }
  .nav-properties {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-left: 12px;
    font-size: .72rem;
    letter-spacing: .08em;
  }
  .hdr-contact {
    grid-column: 2;
    grid-row: 1;
    order: 0;
    display: block;
    min-width: 0;
    min-height: 44px;
    font-size: .72rem;
    letter-spacing: .08em;
  }
  .hdr-contact .hdr-contact-link { min-height: 44px; padding: 0 2px; }
  .hdr-contact .hdr-phone { display: none; }
  .brand {
    grid-column: 1 / -1;
    grid-row: 2;
    order: 0;
    width: 100%;
    min-width: 0;
    padding-top: 1px;
  }
  .brand img { height: 38px; }
  .brand .broker-name {
    margin-top: 2px;
    font-size: .78rem;
    line-height: 1.25;
    white-space: normal;
  }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    padding: 16px 0 56px;
  }
  .hero-logo-top {
    position: static;
    transform: none;
    display: block;
    width: auto;
    height: 40px;
    max-width: calc(100% - 32px);
    margin: 0 auto 14px;
  }
  .hero .wrap { width: 100%; padding: 0 16px; }
  section { padding: 42px 0; }
  .band { padding: 42px 0; }
  .band-grid { gap: 24px; }
  .route-card { padding: 16px; }
  .call-bar { z-index: 90; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 520px) {
  .wrap { padding-right: 16px; padding-left: 16px; }
  .hdr-in { padding-right: 12px; padding-left: 12px; }
  .nav-properties { margin-left: 8px; }
  .nav-menu { left: 12px; width: calc(100% - 24px); }
  nav.main ul.nav-menu { max-height: min(72vh, 560px); }
  section { padding: 36px 0; }
  .band { padding: 36px 0; }
  .card { padding: 19px; }
  .note, blockquote, .pullquote { padding: 17px 18px; }
  .route-card { padding: 14px; }
  .route-card h5 { font-size: 1.08rem; }
  .tiles { gap: 10px; }
  .tile img { height: clamp(220px, 68vw, 300px); }
  .btn { padding: 13px 18px; }
  .idx-links { display: grid; grid-template-columns: minmax(0, 1fr); }
  .idx-links .btn { width: 100%; text-align: center; }
  form.contact { padding: 20px 16px; }
  .contact-actions { align-items: stretch; }
  .contact-actions .btn { flex: 1 1 100%; align-items: center; text-align: center; }
  .foot-grid { gap: 24px; }
  .foot-legal { overflow-wrap: anywhere; }
  .one-pager { padding: 14px 16px; }
}

@media (max-width: 360px) {
  .wrap, .hero .wrap { padding-right: 12px; padding-left: 12px; }
  .hdr-in { padding-right: 10px; padding-left: 10px; }
  .menu-toggle { gap: 5px; font-size: .68rem; }
  .nav-properties { margin-left: 6px; font-size: .68rem; }
  .card { padding: 16px; }
  .note, blockquote, .pullquote { padding: 15px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* The complete grouped navigation is taller than many laptop and tablet
   screens. Keep it within the viewport and scroll the panel, not the page. */
nav.main ul.nav-menu {
  max-height: min(70vh, 640px, calc(100dvh - 220px));
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Shared navigation overlay. The slim uncovered frame keeps the current page
   present while giving the grouped links nearly the whole reading surface. */
.nav-panel[hidden] { display: none !important; }
.nav-panel {
  position: fixed;
  z-index: 1000;
  inset: 84px 18px 16px;
  display: block;
  color: #f7f3e9;
}
.nav-scrim {
  position: fixed;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(15, 17, 17, .66);
  cursor: default;
}
.nav-panel-content {
  width: 100%;
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(18px, 3vw, 36px);
  background: #171918;
  border: 1px solid rgba(212, 175, 55, .45);
  border-top: 4px solid var(--gold);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .38);
  scrollbar-color: #9b8037 #222522;
}
.nav-panel-heading {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 26px;
  padding: 0 0 18px;
  background: #171918;
  border-bottom: 1px solid rgba(212, 175, 55, .22);
}
nav.main .nav-panel-title {
  color: var(--gold);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: .04em;
}
.nav-close {
  min-height: 46px;
  padding: 8px 14px;
  color: #fffdf7;
  background: #292b28;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 2px;
  font: inherit;
  font-size: .95rem;
  cursor: pointer;
}
nav.main .nav-close span { margin-left: 8px; color: var(--gold); font-size: 1.35rem; }
.nav-close:hover, .nav-close:focus-visible {
  color: #171918;
  background: var(--gold);
  outline: 2px solid #fffdf7;
  outline-offset: 2px;
}
nav.main .nav-close:hover span, nav.main .nav-close:focus-visible span { color: #171918; }
nav.main ul.nav-menu {
  position: static;
  display: grid;
  width: 100%;
  max-height: none;
  overflow: visible;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px clamp(20px, 3vw, 48px);
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
nav.main ul.nav-menu li.nav-group { min-width: 0; }
.nav-menu .nav-group-label {
  margin-bottom: 10px;
  padding-bottom: 10px;
  color: var(--gold);
  font-size: .82rem;
  letter-spacing: .14em;
}
.nav-menu a {
  min-height: 42px;
  padding: 10px 8px;
  color: #f7f3e9;
  font-size: .9rem;
  line-height: 1.4;
  letter-spacing: .025em;
  text-transform: none;
  border-bottom-color: rgba(255, 255, 255, .12);
}
.nav-menu a:hover, .nav-menu a:focus-visible, .nav-menu a[aria-current="page"] {
  color: #f0d477;
  background: rgba(212, 175, 55, .09);
  outline: 2px solid rgba(240, 212, 119, .7);
  outline-offset: 1px;
}
body.nav-lock { overflow: hidden; }
/* The header normally sits below the floating contact/guide controls. Raise
   its stacking context while the dialog is open so those cannot cover links. */
body.nav-lock .site-header { z-index: 1100; }
@media (max-width: 900px) {
  .nav-panel { inset: 78px 14px 14px; }
  nav.main ul.nav-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav-panel { inset: 72px 10px 10px; }
  .nav-panel-content { padding: 16px; }
  .nav-panel-heading {
    top: 0;
    margin: 0 0 20px;
    padding: 0 0 14px;
  }
  nav.main ul.nav-menu { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .nav-menu a { min-height: 46px; }
}
@media (prefers-reduced-motion: no-preference) {
  .nav-panel-content { animation: nav-panel-in .18s ease-out both; }
  @keyframes nav-panel-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Homepage quick-answer links remain prose links, with a larger touch area. */
section:has(> .wrap > h2#quick-answers) .faq dd a {
  display: inline-block;
  min-height: 44px;
  padding-block: 10px;
  line-height: 24px;
  vertical-align: middle;
}

/* The existing header phone link is moved into this heading while the menu is
   open. Keep it legible there without changing the closed-menu header. */
.nav-panel-heading .hdr-phone.nav-menu-phone {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 0 10px;
  border-color: rgba(255, 255, 255, .5);
  color: #fffdf7;
  font-size: 16px;
  letter-spacing: 0;
  text-align: center;
}
.nav-panel-heading .nav-menu-phone .hdr-phone-label {
  font-size: 12px;
  letter-spacing: .08em;
}
.nav-panel-heading .nav-menu-phone .hdr-phone-num {
  font-size: 16px;
  letter-spacing: 0;
}
.nav-panel-heading .nav-menu-phone:hover,
.nav-panel-heading .nav-menu-phone:focus-visible {
  color: #171918;
  background: var(--gold);
  border-color: var(--gold);
}
.nav-panel-heading .nav-menu-phone:focus-visible {
  outline: 3px solid #fffdf7;
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .nav-panel-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 10px;
  }
  nav.main .nav-panel-heading .nav-panel-title {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }
  .nav-panel-heading .nav-close {
    grid-column: 2;
    grid-row: 1;
    min-width: 76px;
  }
  .nav-panel-heading .hdr-phone.nav-menu-phone {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }
}

/* ------------------------------------------------ local property search pages --
   Scoped to the two concise Happy Jack search entry points. The shared site
   palette, type and button treatment remain unchanged. */
.local-search-intro {
  padding: clamp(28px, 5vw, 54px) 0 clamp(32px, 5vw, 56px);
  background: var(--white);
}
.local-search-intro .wrap { max-width: 920px; }
.local-search-kicker {
  margin: 0 0 8px;
  color: var(--gold-ink);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.45;
  text-transform: uppercase;
}
.local-search-intro h1 {
  margin: 0 0 13px;
  color: var(--gold-ink);
  font-family: var(--f-serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.13;
  text-align: left;
}
.local-search-copy {
  max-width: 68ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.7;
}
.local-search-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.local-search-options .local-search-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, opacity .18s ease;
}
.local-search-options .local-search-button:hover {
  transform: translateY(-2px);
  opacity: .9;
}
.local-search-options:has(> .local-search-button:nth-child(4)) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.local-search-options:has(> .local-search-button:nth-child(4)) .local-search-button {
  min-width: 0;
  overflow-wrap: anywhere;
}
.local-search-featured {
  padding: clamp(30px, 5vw, 54px) 0;
  background: var(--panel);
  border-top: 1px solid var(--hairline);
}
.local-search-featured h2 {
  margin: 0 0 22px;
  color: var(--gold-ink);
  text-align: left;
}
@media (max-width: 680px) {
  .local-search-options { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .local-search-options:has(> .local-search-button:nth-child(4)) {
    grid-template-columns: minmax(0, 1fr);
  }
  .local-search-options .local-search-button { width: 100%; padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .local-search-options .local-search-button { transition: none; }
  .local-search-options .local-search-button:hover { transform: none; }
}

/* ------------------------------------------------------- map property search --
   A focused IDX map page: generous room for the provider's controls, a clear
   local introduction, and a status treatment that stays legible in every state. */
body.map-property-search .map-search-main {
  display: block;
  min-width: 0;
}
body.map-property-search .map-search-intro {
  padding: 42px 0 30px;
}
body.map-property-search .map-search-intro .wrap {
  max-width: 900px;
}
body.map-property-search .map-search-intro h1 {
  margin: 0 0 13px;
  color: var(--gold-ink);
  font-family: var(--f-serif);
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.14;
}
body.map-property-search .map-search-intro p {
  max-width: 70ch;
  margin-bottom: 0;
  color: var(--ink-soft);
}
body.map-property-search .map-search-section {
  padding: 32px 0 64px;
  background: var(--panel);
  border-block: 1px solid var(--hairline);
}
body.map-property-search .map-search-widget {
  isolation: isolate;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: clamp(12px, 2.2vw, 24px);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(45, 39, 27, .06);
}
body.map-property-search .map-search-widget idx-prime-map-search {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
body.map-property-search .map-search-widget :focus-visible {
  outline-color: var(--gold-ink);
}
body.map-property-search [data-map-status] {
  max-width: 76ch;
  margin: 0 0 16px;
  padding: 12px 15px;
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--gold-ink);
  background: var(--white);
  color: var(--ink-soft);
  font-size: .94rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
body.map-property-search [data-map-status][hidden] {
  display: none;
}
@media (max-width: 680px) {
  body.map-property-search .map-search-intro {
    padding: 30px 0 24px;
  }
  body.map-property-search .map-search-section {
    padding: 20px 0 40px;
  }
  body.map-property-search .map-search-widget {
    padding: 10px;
  }
}

/* ------------------------------------------------ official featured carousel --
   Keep the provider widget in normal flow so listing attribution and its own
   navigation remain visible and usable at narrow viewport widths. */
.featured-listings {
  width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--ink-soft);
}
.featured-listings [data-featured-status] {
  max-width: 68ch;
  margin: 0 0 16px;
  padding: 12px 15px;
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--gold-ink);
  background: var(--white);
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.featured-listings [data-featured-status][hidden] {
  display: none;
}
.featured-listings idx-listings-carousel {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.featured-listings .featured-carousel-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}
.featured-listings .featured-carousel-controls [data-featured-pause] {
  min-height: 42px;
  max-width: 100%;
  transition: transform .18s ease, opacity .18s ease;
}
.featured-listings .featured-carousel-controls [data-featured-pause]:hover {
  transform: translateY(-1px);
  opacity: .9;
}
.featured-listings .featured-carousel-controls [data-featured-pause]:focus-visible {
  outline: 3px solid var(--gold-ink);
  outline-offset: 3px;
}
@media (max-width: 420px) {
  .featured-listings .featured-carousel-controls {
    justify-content: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .featured-listings .featured-carousel-controls [data-featured-pause] {
    transition: none;
  }
  .featured-listings .featured-carousel-controls [data-featured-pause]:hover {
    transform: none;
  }
}

/* ------------------------------------------------------ seller listings --
   A quiet extension of the Selling Strategy page: familiar serif headings,
   warm paper ground, and the established brand-gold rule. Keep IDX content in
   ordinary document flow so its attribution and controls remain discoverable. */
.seller-listings-section {
  padding: 58px 0 64px;
  background: var(--panel);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.seller-listings-section > .wrap {
  min-width: 0;
}
.seller-listings-section h2 {
  margin-bottom: 12px;
}
.seller-listings-section > .wrap > p {
  max-width: 70ch;
  margin: 0 auto 24px;
  text-align: center;
}
.seller-listings-note {
  max-width: 70ch;
  margin: 22px auto 0;
  padding: 13px 16px;
  border-left: 4px solid var(--gold);
  background: var(--white);
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.seller-listings-note p {
  margin: 0;
}
.sold-pending-showcase {
  width: 100%;
  min-width: 0;
  margin: 26px auto 0;
  padding: clamp(12px, 2.2vw, 22px);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  color: var(--ink-soft);
}
.sold-pending-showcase idx-listings-showcase {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  /* Do not constrain height or overflow: provider attribution and listing
     details remain visible in normal page scrolling. */
}
.sold-pending-showcase :focus-visible {
  outline: 3px solid var(--gold-ink);
  outline-offset: 3px;
}
.seller-listings-section [data-sold-status] {
  max-width: 70ch;
  margin: 0 auto 16px;
  padding: 12px 15px;
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--gold-ink);
  background: var(--white);
  color: var(--ink-soft);
  font-size: .94rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.seller-listings-section [data-sold-status][hidden] {
  display: none;
}
@media (max-width: 680px) {
  .seller-listings-section {
    padding: 38px 0 44px;
  }
  .seller-listings-section > .wrap > p {
    text-align: left;
  }
  .sold-pending-showcase {
    margin-top: 20px;
    padding: 10px;
  }
}

/* -------------------------------------------- buyer featured properties --
   The IDX showcase is kept in normal document flow: listing details, provider
   controls and required attribution must remain visible and usable. */
.featured-property-showcase {
  width: 100%;
  min-width: 0;
  margin: 0;
}
.featured-property-showcase h2 {
  margin: 0 0 18px;
  color: var(--gold-ink);
  text-align: left;
}
.featured-property-showcase > p {
  max-width: 70ch;
  margin: 0 0 20px;
}
.featured-property-showcase idx-listings-showcase {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  /* Do not set a fixed height or clipping overflow: attribution and listings
     should stay available through ordinary page scrolling. */
}
.featured-property-showcase [data-featured-showcase-status] {
  max-width: 70ch;
  margin: 0 0 16px;
  padding: 12px 15px;
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--gold-ink);
  background: var(--white);
  color: var(--ink-soft);
  font-size: .94rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.featured-property-showcase [data-featured-showcase-status][hidden] {
  display: none;
}
.featured-property-showcase :focus-visible {
  outline: 3px solid var(--gold-ink);
  outline-offset: 3px;
}
@media (max-width: 680px) {
  .featured-property-showcase > p {
    text-align: left;
  }
}

/* ----------------------------------------------------- RateMyAgent carousels */
.review-widget {
  width: 100%;
  min-width: 0;
  margin: 30px auto 34px;
  padding: clamp(14px, 3vw, 26px);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  background: var(--panel);
}
.review-widget .review-widget-disclosure {
  max-width: 72ch;
  margin: 0 0 14px;
  color: var(--ink-mute);
  font-size: .84rem;
  line-height: 1.55;
}
.review-widget .review-widget-load {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 11px 18px;
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--ink);
  font: 600 .95rem/1.25 var(--f-body);
  text-align: center;
  cursor: pointer;
}
.review-widget .review-widget-load:hover:not(:disabled) {
  background: var(--gold-deep);
}
.review-widget .review-widget-load:disabled { cursor: wait; }
.review-widget .review-widget-load[hidden] { display: none; }
.review-agent-heading {
  margin: 30px 0 12px;
  color: var(--gold-ink);
  font-family: var(--f-serif);
  font-size: 1.35rem;
  text-align: left;
}
.selected-testimonials-heading {
  margin: 30px 0 16px;
  color: var(--gold-ink);
  font-size: clamp(1.2rem, 2.7vw, 1.55rem);
  text-align: left;
}
.review-widget .review-carousel-markup-container,
.review-widget .RMA-widget {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.review-widget .RMA-widget iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}
.review-widget .loading-indicator {
  display: none;
  min-height: 148px;
  place-items: center;
  color: var(--ink-mute);
  font-family: var(--f-serif);
  text-align: center;
}
.review-widget.rma-enhancer-active .loading-indicator:not([hidden]) {
  display: grid;
}
.review-widget .rma-corporate-details {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: 12px;
}
.review-widget .rma-link-back a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 5px 9px;
  color: var(--ink-mute);
  font-size: .72rem;
  line-height: 1.3;
  text-decoration: none;
}
.review-widget .rma-link-back img {
  width: 120px;
  max-width: 100%;
  height: 35px;
  object-fit: contain;
}
.review-widget-fallback,
.review-widget-status {
  margin: 16px 0 0;
  padding-top: 13px;
  border-top: 1px solid var(--hairline);
  color: var(--ink-mute);
  font-size: .88rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.review-widget-fallback a { color: var(--gold-ink); font-weight: 600; }
.review-widget-status[hidden] { display: none; }
@media (max-width: 520px) {
  .review-widget { padding: 12px; }
  .review-widget .rma-corporate-details { justify-content: center; }
  .review-widget .rma-link-back a { justify-content: center; }
}
@media (max-width: 360px) {
  /* The official resizer requires a 300px frame. Use the available screen
     width rather than squeezing it inside the page's two padded wrappers. */
  .review-widget {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 8px;
  }
}
