/* =====================================================================
   CONCEPT OVERLAY — presentation only.

   Appended by build-concept.mjs after every original byte of
   design/southcrest-design-review.html, so these rules land last in the
   cascade and no original rule, selector or element is edited.

   Scope: the Home hero (#hero) and the two Home pricing doors
   (#choices .hub-plans .cx-door), plus the Crest brandmark swap. Review
   chrome, brand header, trust bar, listing nav, every other screen and
   every handler keep the approved styling.

   Asset URLs arrive as custom properties from the generated
   #concept-assets block: --concept-mountain, --concept-coast,
   --concept-doors.
   ===================================================================== */

/* ---------- HERO: photographic plate behind the approved copy ---------- */

/* The approved scene SVG stays in the DOM (parallax JS and its aria-hidden
   are untouched); it is only hidden visually while a photo is mounted. */
#hero[data-concept-scene] > svg.scene {
  opacity: 0;
}

.concept-hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.concept-hero-photo {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: 55% 52%;
  background-size: cover;
  transform: scale(1.06);
}

#hero[data-concept-scene='mountain'] .concept-hero-photo {
  background-image: var(--concept-mountain);
}

#hero[data-concept-scene='coast'] .concept-hero-photo {
  background-image: var(--concept-coast);
}

/* Grade: keeps the white headline, subhead and both CTAs legible over any
   part of either photograph, and carries the navy/gold palette. */
.concept-hero-grade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(8, 12, 36, 0.72) 0%,
      rgba(8, 12, 36, 0.18) 34%,
      rgba(8, 12, 36, 0) 52%
    ),
    linear-gradient(
      0deg,
      rgba(9, 13, 38, 0.88) 0%,
      rgba(9, 13, 38, 0.26) 30%,
      rgba(9, 13, 38, 0) 62%
    ),
    radial-gradient(78% 60% at 50% 30%, rgba(20, 30, 70, 0.34), rgba(20, 30, 70, 0.66) 100%);
}

@media (prefers-reduced-motion: no-preference) {
  .concept-hero-photo {
    animation: concept-drift 38s ease-in-out infinite alternate;
  }
}

@keyframes concept-drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-1.6%, -1.2%, 0);
  }
}

/* Crest remains available on every review screen, including the plan/market concept views. */
body:not(:has(#copPanel.open)) #copOrb { display: flex !important; }
body #copPanel.open { display: flex !important; }

/* ---------- HERO: "Start here" is a real link now ---------- */
/* concept.js promotes the decorative div to <a href="#choices">; the
   approved .hero-scroll positioning and mouse glyph still apply. */
a.hero-scroll {
  display: block;
  text-decoration: none;
  color: #c3cbe8;
  padding: 8px 14px 6px;
  border-radius: 14px;
  transition:
    color 0.18s,
    background 0.18s;
}

a.hero-scroll:hover,
a.hero-scroll:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

a.hero-scroll:hover span {
  border-color: rgba(255, 255, 255, 0.75);
}

/* ---------- HERO: reviewer-only scene control ---------- */
.concept-scene-switch {
  position: absolute;
  z-index: 4;
  right: 16px;
  top: 16px;
  bottom: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(10, 15, 40, 0.46);
  backdrop-filter: blur(8px);
}

.concept-scene-switch > b {
  font: 600 10px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #aeb6da;
  padding: 0 6px 0 10px;
}

.concept-scene-switch button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 7px 13px;
  min-height: 32px;
  background: transparent;
  color: #e7ebf8;
  font: 600 12px/1 var(--sans);
  letter-spacing: 0.02em;
}

.concept-scene-switch button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.concept-scene-switch button[aria-pressed='true'] {
  background: #fff;
  color: var(--navy);
}

@media (max-width: 720px) {
  .concept-scene-switch {
    right: 10px;
    top: 10px;
    bottom: auto;
    transform: scale(0.92);
    transform-origin: right top;
  }
}

/* ---------- HOME PRICING DOORS ---------- */
/* Only #choices — the Plans screen renders the same markup and keeps the
   approved treatment. Text, prices, checks and handlers are untouched;
   this is framing and depth. */

#choices .hub-plans .cx-doors {
  border-color: rgba(20, 30, 70, 0.24);
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(11, 16, 44, 0.26);
}

#choices .hub-plans .cx-door {
  position: relative;
  padding: 0 30px 32px;
  background: linear-gradient(180deg, #fbf8f2 0%, #efeae0 100%);
  color: #172347;
}

#choices .hub-plans .cx-door + .cx-door {
  background: linear-gradient(180deg, #1d2c58 0%, #121b3c 100%);
  color: #fff;
}

/* The photographic door pair: one image, split in half, so the two cards
   read as a left entry and a right entry of the same frame. */
#choices .hub-plans .cx-door::before {
  content: '';
  display: block;
  height: 230px;
  margin: 0 -30px 26px;
  background-image:
    linear-gradient(180deg, rgba(9, 13, 38, 0) 42%, rgba(9, 13, 38, 0.42) 100%),
    var(--concept-doors);
  background-repeat: no-repeat, no-repeat;
  background-size:
    auto,
    200% auto;
  background-position:
    center,
    left center;
  box-shadow:
    inset 0 -1px 0 rgba(224, 167, 60, 0.55),
    0 10px 24px -14px rgba(9, 13, 38, 0.7);
  transition: background-size 0.5s ease;
}

#choices .hub-plans .cx-door + .cx-door::before {
  background-position:
    center,
    right center;
}

#choices .hub-plans .cx-door:hover::before {
  background-size:
    auto,
    210% auto;
}

#choices .hub-plans .cx-door:hover {
  box-shadow: inset 0 0 0 2px rgba(224, 167, 60, 0.6);
}

#choices .hub-plans .cx-kicker {
  color: #8a6a25;
  letter-spacing: 0.18em;
  font-size: 10.5px;
}

#choices .hub-plans .cx-door + .cx-door .cx-kicker {
  color: #e0a73c;
}

#choices .hub-plans .cx-door h3 {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-top: 6px;
}

#choices .hub-plans .cx-price {
  font-size: 58px;
  margin: 16px 0 0;
  letter-spacing: -0.035em;
}

#choices .hub-plans .cx-price small {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a7592;
}

#choices .hub-plans .cx-door + .cx-door .cx-price small {
  color: #aeb8d8;
}

/* The closing fee is the line buyers miss — give it its own plate. */
#choices .hub-plans .cx-fee {
  margin-top: 14px;
  padding: 11px 14px;
  border: 1px solid rgba(20, 30, 70, 0.14);
  border-radius: 10px;
  background: rgba(224, 167, 60, 0.12);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.4;
}

#choices .hub-plans .cx-door + .cx-door .cx-fee {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.09);
  color: #f6e9cb;
}

#choices .hub-plans .cx-checks {
  margin: 18px 0 22px;
}

#choices .hub-plans .cx-checks span {
  padding: 12px 0;
  font-size: 14.5px;
  border-bottom-color: rgba(20, 30, 70, 0.14);
}

#choices .hub-plans .cx-door + .cx-door .cx-checks span {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

#choices .hub-plans .cx-btn {
  min-height: 52px;
  border-radius: 12px;
  font-size: 15px;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 22px -12px rgba(9, 13, 38, 0.8);
}

@media (max-width: 700px) {
  #choices .hub-plans .cx-door {
    padding: 0 22px 26px;
  }

  #choices .hub-plans .cx-door::before {
    height: 190px;
    margin: 0 -22px 20px;
  }

  #choices .hub-plans .cx-price {
    font-size: 46px;
  }

  #choices .hub-plans .cx-door h3 {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #choices .hub-plans .cx-door::before {
    transition: none;
  }

  #choices .hub-plans .cx-door:hover::before {
    background-size:
      auto,
      200% auto;
  }
}

/* ---------- CREST BRANDMARK ---------- */
/* concept.js swaps the unreadable squiggle for this mark wherever it
   already sits (launcher, dialog, team card). Colours come from the
   surrounding context; sizing stays with the approved .team-ico svg /
   .cop-mini svg rules. */
.concept-crest-mark {
  --cm-ink: #141e46;
  --cm-gold: #e0a73c;
  --cm-ring: rgba(224, 167, 60, 0.5);
  display: block;
}

#copOrb .concept-crest-mark,
.cop-mini .concept-crest-mark {
  --cm-ink: #fff;
  --cm-ring: rgba(224, 167, 60, 0.62);
}

.concept-crest-mark .cm-ring {
  stroke: var(--cm-ring);
}

.concept-crest-mark .cm-path {
  stroke: var(--cm-gold);
}

.concept-crest-mark .cm-house {
  fill: var(--cm-ink);
}

.concept-crest-mark .cm-light {
  fill: var(--cm-gold);
}

/* Avoid stacking the old scene vignette over the photographic grade. */
#hero[data-concept-scene]::after { background: none; }
.concept-hero-grade { opacity: .78; }

/* Keep the existing Crest launcher clear of the centered mobile hero CTA. */
@media (max-width: 480px) {
  #copOrb { width: 52px; height: 52px; right: 12px; bottom: 12px; }
  #copOrb .concept-crest-mark { width: 36px; height: 36px; }
}

#hero[data-concept-scene] .hero-copy p { text-shadow: 0 2px 10px rgba(8, 14, 37, .9); }

/* ---------- MATERIALS + LOWER HOME ---------- */
/* Scope stays inside #choices (which contains #hubPlans, #path-cash, both
   .hub-lead blocks and .team-grid). No global button, nav or card restyle. */

#choices {
  --concept-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)' opacity='.55'/%3E%3C/svg%3E");
  --concept-plaster: linear-gradient(168deg, #fcf9f3 0%, #f4efe4 54%, #e9e2d3 100%);
  --concept-lacquer: linear-gradient(168deg, #23345f 0%, #182549 46%, #101838 100%);
}

/* Warm plaster: fine grain, a raking highlight from the upper left, and a
   lit top edge over a shaded foot so the panel reads as a surface. */
#choices .hub-plans .cx-door {
  background:
    var(--concept-grain) 0 0 / 180px 180px repeat,
    radial-gradient(120% 80% at 12% 0%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 58%),
    linear-gradient(
      112deg,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0.75) 48%,
      rgba(255, 255, 255, 0) 64%
    ),
    var(--concept-plaster);
  background-blend-mode: soft-light, screen, soft-light, normal;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -26px 34px -30px rgba(72, 55, 24, 0.55);
}

/* Rich lacquer: same grain read far softer, plus a deeper gloss falloff. */
#choices .hub-plans .cx-door + .cx-door {
  background:
    var(--concept-grain) 0 0 / 180px 180px repeat,
    radial-gradient(130% 85% at 14% 0%, rgba(150, 175, 235, 0.36), rgba(10, 15, 38, 0) 62%),
    linear-gradient(
      112deg,
      rgba(255, 255, 255, 0) 26%,
      rgba(206, 224, 255, 0.5) 47%,
      rgba(255, 255, 255, 0) 66%
    ),
    var(--concept-lacquer);
  background-blend-mode: overlay, screen, soft-light, normal;
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 0.14),
    inset 0 1px 0 rgba(190, 208, 245, 0.22),
    inset 0 -30px 40px -30px rgba(0, 0, 0, 0.6);
}

/* Beveled frame and a real cast shadow under the pair. */
#choices .hub-plans .cx-doors {
  border-color: rgba(20, 30, 70, 0.3);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.42),
    0 2px 3px rgba(11, 16, 44, 0.1),
    0 18px 34px -18px rgba(11, 16, 44, 0.34),
    0 42px 84px -34px rgba(11, 16, 44, 0.4);
}

/* Footer: compact service notes, hairline rule, quiet hierarchy. */
#hubPlans .cx-footer {
  align-items: baseline;
  gap: 10px 22px;
  margin-top: 26px;
  padding: 16px 2px 0;
  border-top: 1px solid rgba(20, 30, 70, 0.16);
  font-size: 12.5px;
  line-height: 1.55;
  color: #5d6885;
}

#hubPlans .cx-footer .cx-upgrade {
  margin: 0 0 2px;
  font-weight: 650;
  font-size: 13px;
  color: var(--navy);
}

#hubPlans .cx-footer .cx-link {
  color: #8a6a25;
  font-weight: 650;
  text-underline-offset: 3px;
  text-decoration: underline solid rgba(224, 167, 60, 0.55);
}

#hubPlans .cx-footer .cx-link:hover {
  color: var(--navy);
}

/* Refund card: plaster panel, gold-keyed summary, elegant collapsible. */
#hubPlans .concept-refund {
  margin-top: 26px;
  padding: 24px 26px;
  border-color: rgba(20, 30, 70, 0.16);
  border-radius: 16px;
  background:
    var(--concept-grain) 0 0 / 180px 180px repeat,
    linear-gradient(170deg, #fdfbf6 0%, #f6f2e9 100%);
  background-blend-mode: soft-light, normal;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 30px -20px rgba(11, 16, 44, 0.42);
}

#hubPlans .concept-refund .concept-refund-summary {
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid rgba(224, 167, 60, 0.8);
  font-size: 15px;
  line-height: 1.55;
  color: var(--navy);
}

#hubPlans .concept-refund details {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(20, 30, 70, 0.12);
}

#hubPlans .concept-refund summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a6a25;
}

#hubPlans .concept-refund details[open] summary {
  margin-bottom: 10px;
  color: var(--navy);
}

#hubPlans .concept-refund details p {
  margin: 0 0 10px;
  max-width: 68ch;
  font-size: 13.5px;
  line-height: 1.62;
  color: #4d5771;
}

/* Cash path: an understated strip, not a floating white box. */
#choices .hub-cash-bar {
  margin-top: 26px;
  padding: 16px 22px;
  border-color: rgba(20, 30, 70, 0.14);
  background:
    var(--concept-grain) 0 0 / 180px 180px repeat,
    linear-gradient(92deg, #fbfaf7 0%, #f3f5f9 100%);
  background-blend-mode: soft-light, normal;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 3px 0 0 rgba(224, 167, 60, 0.7),
    0 10px 24px -20px rgba(11, 16, 44, 0.5);
}

#choices .hub-cash-bar a {
  color: #55607e;
  text-underline-offset: 3px;
}

/* Section leads: editorial spacing and a serif headline. */
#choices .hub-lead .eyebrow {
  letter-spacing: 0.2em;
  font-size: 11px;
}

#choices .hub-lead h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

/* Team cards: the same plaster, shallower, with room to breathe. */
#choices .team-grid {
  gap: 20px;
  margin-top: 26px;
}

#choices .team-grid .team-card {
  padding: 28px 26px;
  border-color: rgba(20, 30, 70, 0.14);
  border-radius: 18px;
  background:
    var(--concept-grain) 0 0 / 180px 180px repeat,
    radial-gradient(110% 70% at 14% 0%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 60%),
    linear-gradient(168deg, #fdfbf7 0%, #f5f1e8 100%);
  background-blend-mode: soft-light, screen, normal;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 16px 34px -22px rgba(11, 16, 44, 0.4);
}

#choices .team-grid .team-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

#choices .team-grid .team-card .muted {
  font-size: 14.5px;
  line-height: 1.6;
}

#choices .team-grid .team-card .fineprint {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(20, 30, 70, 0.1);
  line-height: 1.55;
}

#choices .team-grid .team-card .team-ico {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 8px 16px -12px rgba(11, 16, 44, 0.6);
}

@media (max-width: 700px) {
  #hubPlans .concept-refund,
  #choices .team-grid .team-card {
    padding: 22px 20px;
  }

  #choices .hub-cash-bar {
    padding: 14px 18px;
  }
}

/* Homepage broker introduction: one modest card after the team band; the full profile is on About. */
#choices .concept-broker-intro {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 20px;
  padding: 20px 24px;
  border: 1px solid rgba(20, 30, 70, 0.14);
  border-radius: 18px;
  background: linear-gradient(168deg, #fdfbf7 0%, #f5f1e8 100%);
  box-shadow: 0 16px 34px -26px rgba(11, 16, 44, 0.4);
}

#choices .concept-broker-intro img {
  display: block;
  width: 96px;
  height: 124px;
  object-fit: cover;
  border-radius: 12px;
}

#choices .concept-broker-intro .eyebrow {
  letter-spacing: 0.2em;
  font-size: 11px;
}

#choices .concept-broker-intro h3 {
  margin: 4px 0 2px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy);
}

#choices .concept-broker-intro-facts {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #4d5771;
}

#choices .concept-broker-intro-line {
  margin: 8px 0 0;
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: #3d4660;
}

#choices .concept-broker-intro-link {
  display: inline-block;
  padding: 10px 18px;
  border: 1.5px solid var(--navy);
  border-radius: 6px;
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

#choices .concept-broker-intro-link:hover {
  background: var(--navy);
  color: #fff;
}

#choices .concept-broker-intro-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

@media (max-width: 700px) {
  #choices .concept-broker-intro {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 14px 16px;
    align-items: start;
    padding: 18px;
  }

  #choices .concept-broker-intro img {
    width: 80px;
    height: 104px;
  }

  #choices .concept-broker-intro-link {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

/* Compact review chrome and one branded selling header; original nodes/handlers retained. */
.review-banner { background: #101632; color: #c7c9d3; border-color: #ffffff14; }
.review-banner .wrap { max-width: 1440px; padding: 5px 20px; gap: 8px 14px; font-size: 10px; }
.review-banner b { color: #d7d8df; font-weight: 500; }
.review-banner .rb-tag { background: transparent; border: 1px solid #b58c3f80; color: #e9c66e; font-size: 9px; }
.proto { background: #111831; backdrop-filter: none; -webkit-backdrop-filter: none; flex-wrap: wrap; gap: 4px; padding: 6px 20px; overflow: visible; box-shadow: none; }
.proto .tag { display: none; }
.proto button { min-height: 32px; padding: 5px 9px; font-size: 11px; border-color: #ffffff20; border-radius: 7px; }
.proto button[aria-current='true'] { background: #eee3c9; border-color: #eee3c9; color: #121a37; }
.proto .grp { font-size: 9px; margin-left: 4px; }
.proto .legend-link { font-size: 10px; min-height: 32px; padding: 4px 6px; }
.proto .ic { width: 12px; height: 12px; }
header.site[hidden] { display: none; }
.listing-nav.concept-header { background: #000; color: #fff; border-bottom: 1px solid #c8a55555; box-shadow: 0 8px 24px #080e251c; }
.concept-header > .wrap { max-width: 1400px; min-height: 80px; padding: 12px 24px; gap: 24px; }
.concept-identity { margin-right: auto; flex: 0 1 auto; }
.concept-identity .brand img { height: 48px; width: auto; }
.concept-identity .brand .wm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.concept-identity .site-sub { font-size: 10px; color: #c4c9d7; margin-top: 5px; }
.concept-header .listing-nav-copy { font-size: 12px; color: #eee5d2; }
.concept-header .listing-nav-copy small { color: #b8c0d5; font-size: 10px; margin-top: 4px; }
.concept-header .listing-nav-actions { gap: 12px; }
.concept-header .btn-ghost { color: #e6e8ef; }
.concept-header .btn-primary { background: linear-gradient(120deg, #f0cd77, #dfb55b); color: #121b38; border: 1px solid #f2d68d; box-shadow: inset 0 1px #fff5, 0 4px 12px #0002; }
.concept-header .btn { font-size: 12px; min-height: 42px; padding: 9px 16px; }
.trustbar { background: #111a34; padding: 5px 0; font-size: 10px; border-top: 1px solid #ffffff0b; }
.trustbar .wrap { max-width: 1400px; gap: 4px 16px; padding-inline: 24px; }
/* Preserve branding in original focused workflows, where the selling bar was hidden. */
body.bk-active .listing-nav.concept-header,
body.journey-active .listing-nav.concept-header { display: block; position: static; }
body.bk-active .concept-header .listing-nav-copy,
body.bk-active .concept-header .listing-nav-actions,
body.journey-active .concept-header .listing-nav-copy,
body.journey-active .concept-header .listing-nav-actions { display: none; }
@media (max-width: 1100px) {
  .concept-header .listing-nav-copy { display: none; }
}
@media (max-width: 600px) {
  .review-banner .wrap { padding: 5px 12px; gap: 3px 8px; font-size: 9px; }
  .proto { flex-wrap: nowrap; overflow-x: auto; padding: 6px 10px; scrollbar-width: thin; }
  .proto button { min-height: 38px; font-size: 11px; }
  .concept-header > .wrap { min-height: 74px; padding: 10px 14px; gap: 12px; }
  .concept-identity .brand img { height: 39px; }
  .concept-identity .site-sub { font-size: 8px; max-width: 170px; }
  .concept-header .btn { font-size: 11px; min-height: 42px; padding: 8px 12px; }
  .trustbar .wrap { padding-inline: 14px; font-size: 9px; gap: 3px 10px; }
}

/* Operator refinement: quieter broker scope, a Crest demo where it is introduced,
   and no extra tagline row beneath the logo. */
.concept-header > .wrap { min-height: 64px; padding-block: 8px; }
.concept-identity .brand img { height: 44px; }
.trustbar .site-sub { margin-left: auto; color: #b9c1d3; font-size: inherit; }
#choices .concept-crest-demo { align-self: flex-start; margin: 18px 0 22px; min-height: 42px; padding: 9px 16px; font-size: 13px; gap: 7px; }
#choices .concept-crest-demo .ic { width: 14px; height: 14px; }
@media (max-width: 600px) {
  .concept-header > .wrap { min-height: 58px; padding-block: 7px; }
  .concept-identity .brand img { height: 36px; }
  .trustbar .site-sub { display: none; }
}

/* Official footer marks occupy spare column space rather than another footer row. */
footer.concept-footer .cols > div { position: relative; }
/* The 2027 white logo is a white-background PNG: give it a pure white tile so it shows no box on the
   off-white footer (operator, November 25, 2026). The header band is pure black for the same reason. */
footer.site .brand { display: inline-flex; align-items: center; background: #fff; padding: 8px 12px; border-radius: 8px; }
.concept-footer-marks { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: 22px; }
.concept-footer-mark { display: block; flex: none; background-repeat: no-repeat; background-position: center; background-size: contain; mix-blend-mode: multiply; }
.concept-mark-realtor { width: 88px; height: 88px; background-image: var(--concept-realtor); background-size: 60px 60px; }
.concept-mark-equal-housing { width: 60px; height: 64px; background-image: var(--concept-equal-housing); }
footer.concept-footer .cols > div:first-child p a { color: inherit; text-decoration: none; }
/* The Seller Line made the Questions column one line taller (November 24, 2026): keep the marks'
   own room below it on wide screens so they never sit on top of the link. */
@media (min-width: 760px) {
  footer.concept-footer .cols > div:nth-child(3) { padding-bottom: 96px; }
}
@media (max-width: 759px) {
  .concept-footer-marks { left: auto; right: 0; top: 0; bottom: auto; gap: 8px; }
  .concept-mark-realtor { width: 76px; height: 76px; background-size: 52px 52px; }
  .concept-mark-equal-housing { width: 56px; height: 60px; }
  footer.concept-footer .cols > div:nth-child(2) { padding-right: 140px; }
}


/* Local operator review: listing plans lead; cash is a quieter alternative. */
#scr-compare.concept-compare #cmp-paths { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: stretch; }
.concept-compare .concept-plan-card { background: linear-gradient(140deg, #fffdf8, #f2ede2); border-color: #d6c7a5; box-shadow: 0 14px 35px #1520440c; }
.concept-compare .concept-cash-card { background: linear-gradient(140deg, #f2f2ef, #e8eae9); border-color: #d4d8d5; box-shadow: none; }
.concept-cash-source { color: #59635f; font-size: 14px; line-height: 1.5; }
.concept-cash-card .concept-cash-source { margin-top: 12px; }
.concept-net-head { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: #7f662d; margin: 14px 0 5px; }
.concept-compare .net-table thead th:nth-child(2), .concept-compare .net-table thead th:nth-child(3) { background: #1b294d; color: white; }
.concept-compare .net-table .concept-cash-col { background: #eef0ed; color: #46544c; }
.concept-compare .net-table tr.total .concept-cash-col { background: #e2e7e1; color: #35463a; }
.concept-compare .net-table td, .concept-compare .net-table th { overflow-wrap: anywhere; }
#choices .hub-cash-bar.concept-cash-bar { background: linear-gradient(120deg, #f1f2ef, #e8ece7); border-color: #d5dcd2; }
.concept-cash-bar .concept-cash-source { display: block; max-width: 66ch; margin-top: 4px; font-weight: 400; }
.concept-legend-note { display: block; margin-top: 6px; color: #d5dbea; }
@media (max-width: 759px) {
  #scr-compare.concept-compare #cmp-paths { grid-template-columns: minmax(0, 1fr); }
  .concept-compare .compare-col { min-width: 0; }
  .concept-compare .cmp-row { gap: 14px; }
  footer.concept-footer .cols > div:first-child p { overflow-wrap: anywhere; }
}

#scr-compare.concept-compare #cmpList { background: linear-gradient(140deg, #fffdf8, #f2ede2); }
#scr-compare.concept-compare #cmpCash { background: linear-gradient(140deg, #f2f2ef, #e8eae9); color: #35463a; }
#scr-compare.concept-compare #cmpCash :is(.eyebrow,h3,.v,.net-line) { color: #35463a; }
#scr-compare.concept-compare #cmpCash :is(.muted,.k,.tiny) { color: #56645a; }
#scr-compare.concept-compare #cmpCash .cmp-row { border-color: #35463a25; }
#scr-compare.concept-compare #cmpCash .btn { background: transparent; color: #35463a; border-color: #89958c; }
.concept-plan-actions { display: flex; gap: 10px; margin-top: 16px; }
.concept-plan-actions .btn { flex: 1; font-size: 14px; padding: 12px 10px; }
@media (max-width: 759px) { .concept-plan-actions { flex-direction: column; } }


/* Supplemental disclosures need a small gap, not full section-height padding. */
#scr-hub > .wrap.section-pad:has(> .context-help:only-child) { padding-top: 4px !important; padding-bottom: 4px; }
#scr-hub > .wrap.section-pad:has(> .context-help:only-child) > .context-help { margin: 6px 0; }
body:has(#scr-hub.active) footer.site.public { margin-top: 24px; }
/* Give row labels a stable column and the cash side more usable width. */
#scr-compare.concept-compare #cmp-paths { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
#scr-compare.concept-compare .cmp-row { display: grid; grid-template-columns: minmax(140px, .85fr) minmax(0, 1.6fr); gap: 16px; }
#scr-compare.concept-compare .cmp-row :is(.k,.v) { min-width: 0; overflow-wrap: normal; word-break: normal; }
@media (max-width: 759px) {
  #scr-compare.concept-compare #cmp-paths { grid-template-columns: minmax(0, 1fr); }
  #scr-compare.concept-compare .cmp-row { grid-template-columns: minmax(120px, .9fr) minmax(0, 1.2fr); gap: 12px; }
}


/* Four clear options: concise figures, shared accessible assumption disclosure. */
#scr-compare .net-table.concept-four-options { table-layout: fixed; min-width: 700px; }
#scr-compare .concept-four-options :is(th,td) { padding: 16px 12px; width: 20%; overflow-wrap: normal; }
#scr-compare .concept-four-options th { white-space: normal; letter-spacing: .025em; }
#scr-compare .concept-four-options :is(th,td):first-child { min-width: 0; width: 20%; }
#scr-compare .concept-four-options td:not(:first-child) { white-space: nowrap; }
.concept-info-button { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-left: 5px; border: 1px solid #bac3d4; border-radius: 50%; color: #253457; background: #fff; font: 600 13px Georgia,serif; cursor: pointer; vertical-align: middle; }
.concept-info-button[aria-expanded="true"] { background: #253457; color: white; }
.concept-info-button:focus-visible { outline: 3px solid #c58d2e; outline-offset: 2px; }
.concept-table-info { padding: 18px 22px; margin-top: 12px; background: #f4f1e8; border: 1px solid #d6c9ab; border-radius: 12px; color: #273454; font-size: 14px; }
.concept-table-info p { margin-top: 8px; }
.concept-table-notice { margin-top: 8px; }
.concept-table-swipe { display: none; margin-top: 10px; }
@media(max-width: 759px) {
  .concept-table-swipe { display: block; }
  #scr-compare .concept-four-options :is(th,td) { padding: 12px 9px; }
  .concept-info-button { width: 32px; height: 32px; }
}


/* ── Plans: the same compact refund summary Home already had ────────────────────────────────
   Deliberately the same rule as `#hubPlans .concept-refund .concept-refund-summary` above, so the
   two screens look as identical as they now read. The long form lives in the disclosure beside it. */
#plans-refund.concept-refund .concept-refund-summary {
  display: block;
  padding-left: 14px;
  border-left: 2px solid rgba(224, 167, 60, 0.8);
  font-size: 15px;
  line-height: 1.55;
  color: var(--navy);
  font-weight: 600;
}
.concept-refund-full { margin-top: 8px; }

/* The Hub's subject property, labelled where the address is rather than further along the chip row. */
.concept-sample {
  margin-top: 4px;
  font-size: 12.5px;
  letter-spacing: .02em;
  color: #6a7189;
}

/* The expired-listing entrance: one extra line in the hero, in the hero's own type. */
.concept-expired-note {
  max-width: 46ch;
  margin-top: 10px;
  padding-left: 12px;
  border-left: 2px solid rgba(224, 167, 60, 0.75);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

/* ── Accessibility, WCAG 2.2 AA (DIY-SCR 1126, October 27, 2026) ──────────────────────────────
   The approved look is kept: the bright gold stays wherever it sits on navy or is decoration
   (borders, icons, dots). Only TEXT on a light ground moves to a deeper gold of the same hue, and
   the light grey used for secondary text darkens a step. Measured on the rendered page:
   gold #e0a73c on white 2.15:1 -> #87631a 5.48:1 (4.55:1 on the soft-gold tint);
   grey #7c7c82 on white 4.15:1 / on mist 3.87:1 -> #68686e 5.54:1 / 5.17:1. */
:root {
  --gold-ink: #87631a;
  --gray-2: #68686e;
}
.eyebrow.gold,
.blogpage .eyebrow.gold {
  color: var(--gold-ink);
}
/* Dark grounds keep the bright gold (their own, more specific rules already say so). */
.avm-ad.band .eyebrow.gold,
.diff-panel .eyebrow.gold {
  color: var(--gold);
}
.ad-disc .pwr {
  opacity: 1;
}
.sv-tag.gold,
.sv-mark.con span.sv-tag {
  color: #7a5410;
}
.sv-mark.ra .sv-tag {
  color: #4a4a4a;
}
/* An article's call-to-action button took the article link colour: navy text on a navy button. */
.blogpage .prose a.btn-primary {
  color: #fff;
  text-decoration: none;
}

/* Hero copy over the photographs. The coast scene's sunset sky sat behind the subhead at 2.3:1
   and behind the headline at 2.7:1 (measured against the 95th-percentile-brightest pixel behind
   the text, both scenes, 1440px and 390px). A soft navy pool behind the copy only, not a darker
   photograph: the house, sky and edges of both scenes are unchanged. Every line now measures
   7.7:1 or better against its brightest background. */
#hero[data-concept-scene] .hero-copy {
  position: relative;
  isolation: isolate;
}
#hero[data-concept-scene] .hero-copy::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 40%;
  width: min(820px, 128%);
  height: 150%;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(8, 12, 36, 0.62), rgba(8, 12, 36, 0.52) 62%, rgba(8, 12, 36, 0) 100%);
}
#hero[data-concept-scene] .hero-copy .eyebrow {
  color: #f3c66a;
}
#hero[data-concept-scene] .hero-copy p {
  color: #e6e9f5;
}

/* Readable header type (was 10–11px). */
.proto button,
.proto a {
  font-size: 14px;
}
.concept-header .listing-nav-copy {
  font-size: 14px;
}
.concept-header .listing-nav-copy small {
  font-size: 13px;
  color: #c9d0e0;
}
.concept-header .btn {
  font-size: 14px;
}
.trustbar,
.trustbar .wrap {
  font-size: 12.5px;
}

/* Keyboard focus is never hidden under the sticky bars or the terms notice (WCAG 2.4.11). */
html {
  scroll-padding-top: calc(var(--review-nav-height, 54px) + var(--listing-nav-height, 64px) + 12px);
}
html:has(#scConsent:not([hidden])) {
  scroll-padding-bottom: 180px;
}
@media (max-width: 759px) {
  html:has(#scConsent:not([hidden])) {
    scroll-padding-bottom: 280px;
  }
}
/* The terms notice never takes the whole screen (enlarged text, Choices open): it scrolls inside. */
.sc-consent {
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
}
/* Short viewports (400% zoom of a laptop window is about 320 × 256): only the tab bar stays stuck,
   and the notice takes at most 40% of the height, so the page keeps room for what has focus. */
@media (max-height: 480px) {
  .listing-nav,
  .listing-nav.concept-header,
  .journey-progress {
    position: static;
  }
  .sc-consent {
    max-height: 40vh;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Disclosure summaries reach the 24px minimum target height (WCAG 2.5.8). */
details > summary {
  min-height: 24px;
}

/* Plain words beside a specialist name (theme.js explainJargon). */
.concept-plain {
  margin-top: 8px;
  max-width: 62ch;
}

/* A screen's heading receives focus when the screen changes so a screen reader announces it and
   the next Tab continues from there. It is not a control, so it draws no focus ring (the approved
   headline would otherwise sit in a gold box); every control keeps its ring. */
.screen :is(h1, h2)[tabindex='-1']:focus {
  outline: none;
}

/* Sale stages: a visible keyboard position on the rail (tabs pattern). */
.txn-rail [role='tab'] {
  position: relative; /* keeps each stage's screen-reader-only "(completed)" inside its tab */
}
.txn-rail [role='tab'] .visually-hidden {
  top: 0;
  left: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}
.txn-rail [role='tab']:focus-visible {
  outline: 3px solid var(--gold-ink);
  outline-offset: 2px;
}

/* ── Narrow screens: every section reachable without sideways scrolling ──────────────────────
   Without script the tab bar simply wraps, so all nine sections are visible. With script
   (design/review-theme/nav-menu.js) a "Sections" button opens the same nine tabs, in their order,
   as a two-column list; the guided demo stays beside it. */
.proto [data-nav-toggle] {
  display: none;
}
@media (max-width: 759px) {
  .proto {
    flex-wrap: wrap;
    overflow: visible;
    padding: 6px 12px;
    gap: 6px;
  }
  .proto button,
  .proto a {
    min-height: 44px;
    font-size: 14px;
  }
  .proto[data-nav-menu] [data-nav-toggle] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-start;
    border-color: #ffffff40;
    font-weight: 600;
  }
  .proto [data-nav-toggle] {
    white-space: normal;
    text-align: left;
  }
  .proto[data-nav-menu='closed'] [data-nav-toggle] {
    flex: 1 1 0; /* takes the room the demo button leaves, and no more */
  }
  .proto [data-nav-toggle] [data-nav-word] {
    flex: none;
  }
  .proto [data-nav-toggle] [data-nav-current] {
    font-weight: 400;
    min-width: 0;
    overflow-wrap: anywhere; /* a long section name wraps inside the button, never over its neighbour */
  }
  .proto [data-nav-toggle] svg {
    width: 16px;
    height: 16px;
    flex: none;
  }
  .proto[data-nav-menu='open'] [data-nav-toggle] {
    flex-basis: 100%;
  }
  /* Short or zoomed viewports: the open list scrolls inside the bar instead of running off-screen. */
  .proto[data-nav-menu='open'] {
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .proto[data-nav-menu='open'] [data-nav-toggle] svg {
    transform: rotate(180deg);
  }
  .proto[data-nav-menu='closed'] {
    flex-wrap: nowrap; /* one row: the Sections label shortens before anything wraps */
  }
  .proto[data-nav-menu='closed'] [data-scr] {
    display: none;
  }
  .proto[data-nav-menu='open'] [data-scr] {
    flex: 1 1 calc(50% - 6px);
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
  }
  .proto[data-nav-menu] [data-nav-toggle] ~ :not([data-scr]) {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 50%;
    white-space: normal;
  }
}
/* Phones: the button shows the current section; the word "Sections" stays in its accessible name. */
@media (max-width: 419px) {
  .proto [data-nav-toggle]:not([data-nav-none]) [data-nav-word] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .proto [data-nav-toggle] {
    position: relative;
  }
}
@media (max-width: 359px) {
  .proto[data-nav-menu='open'] [data-scr] {
    flex-basis: 100%;
  }
}
