/* Shared finish within the approved forest, paper and champagne identity. */
.buyer-finish {
  --bf-forest: #203a2d;
  --bf-paper: #fffdf8;
  --bf-champagne: #e2bf94;
  --bf-field: #eef0e9;
  --bf-rule: #cbd1c5;
  --bf-reading: #34453a;
  --bf-header-offset: 72px;
  caret-color: var(--bf-forest);
  scrollbar-color: #81958a var(--bf-paper);
}
.buyer-finish ::selection { background: var(--bf-champagne); color: var(--bf-forest); }
.buyer-finish [hidden] { display: none !important; }
.buyer-finish :is(section, h2, h3, [id]) { scroll-margin-top: calc(var(--bf-header-offset) + 96px); }
body.buyer-finish.home-experience .site-header.site-architecture,
body.buyer-finish .site-header.site-architecture {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  transition: background-color 180ms ease-out, color 180ms ease-out;
}
body.buyer-finish.header-is-scrolled .site-header.site-architecture {
  height: var(--bf-header-offset);
  background: var(--bf-paper);
  color: var(--bf-forest);
  border-bottom: 1px solid var(--bf-rule);
  box-shadow: none;
}
body.buyer-finish.header-is-scrolled .site-header.site-architecture .home-brand img { width: 42px; height: 42px; }
body.buyer-finish.header-is-scrolled .site-header.site-architecture :is(.home-hero-brand-name, .coastal-brand-name) { color: var(--bf-forest); font-size: 23px; }
body.buyer-finish.header-is-scrolled .site-header.site-architecture :is(.home-hero-brand-name, .coastal-brand-name) small { color: var(--bf-reading); margin-top: 5px; }
body.buyer-finish.header-is-scrolled .site-header.site-architecture .architecture-desktop > a,
body.buyer-finish.header-is-scrolled .site-header.site-architecture .architecture-menu > summary,
body.buyer-finish.header-is-scrolled .site-header.site-architecture .mobile-nav > summary { color: var(--bf-forest); }
body.buyer-finish.header-is-scrolled .site-header.site-architecture .menu-lines i { background: var(--bf-forest); }
body.buyer-finish.header-is-scrolled .site-header.site-architecture .header-cta { min-height: 48px; padding-block: 12px; background: var(--bf-forest); color: var(--bf-paper); border-color: var(--bf-forest); }
body.buyer-finish.header-is-scrolled .site-header.site-architecture .header-cta:hover { background: #133d35; }
body.buyer-finish.header-is-scrolled .site-header.site-architecture :is(a, button, summary):focus-visible { outline-color: #006039; }
.buyer-finish.quality-page main .quality-city-nav { top: var(--bf-header-offset); }
.buyer-finish.header-is-scrolled .site-header.site-architecture .mobile-nav nav { max-height: calc(100dvh - var(--bf-header-offset)); }
.buyer-finish .button { min-height: 48px; border-radius: 0; }
.buyer-finish .buyer-icon { display: inline-block; width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Photographs lead; the reference and its conditions stay together. */
body.buyer-finish .current-opportunities .opportunity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
body.buyer-finish .opportunity-card { display: flex; flex-direction: column; min-width: 0; padding: 0; border: 1px solid var(--bf-rule); border-radius: 0; background: var(--bf-paper); color: var(--bf-forest); box-shadow: none; overflow: hidden; }
body.buyer-finish .opportunity-card .opportunity-photo { position: relative; flex: none; aspect-ratio: 4 / 3; min-height: 0; height: auto; margin: 0; overflow: hidden; background: var(--bf-field); }
body.buyer-finish .opportunity-photo .model-reference-photo { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 260ms ease-out; }
body.buyer-finish .opportunity-photo .new-home-badge { position: absolute; inset: 16px auto auto 16px; padding: 8px 10px; background: var(--bf-forest); color: var(--bf-paper); font: 600 10px/1.3 "NC Text", Arial, sans-serif; letter-spacing: .06em; border: 0; border-radius: 0; }
body.buyer-finish .opportunity-photo .model-gallery-button { position: absolute; inset: auto 16px 16px auto; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 10px 14px; background: var(--bf-paper); color: var(--bf-forest); border: 0; border-radius: 0; font: 600 13px/1.4 "NC Text", Arial, sans-serif; cursor: pointer; }
body.buyer-finish .opportunity-card .opportunity-card-copy { display: flex; flex: 1; flex-direction: column; gap: 0; padding: 26px 24px 24px; }
body.buyer-finish .opportunity-card .opportunity-area { margin: 0 0 12px; color: var(--bf-reading); font: 400 13px/1.6 "NC Text", Arial, sans-serif; letter-spacing: 0; text-transform: none; }
body.buyer-finish .opportunity-card h3 { margin: 0 0 18px; max-width: 22ch; color: var(--bf-forest); font: 500 clamp(28px, 2.4vw, 34px)/1.12 "NC Display", Georgia, serif; letter-spacing: -.02em; text-wrap: balance; }
body.buyer-finish .opportunity-card .model-facts { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin: 0 0 22px; padding: 0; color: var(--bf-reading); font: 400 15px/1.5 "NC Text", Arial, sans-serif; }
.buyer-finish .model-fact { display: inline-flex; align-items: center; gap: 8px; }
body.buyer-finish .opportunity-card .model-price { margin: 0 0 16px; padding: 0; color: var(--bf-forest); }
body.buyer-finish .opportunity-card .model-price small { display: block; margin-bottom: 4px; font: 400 12px/1.5 "NC Text", Arial, sans-serif; color: var(--bf-reading); }
body.buyer-finish .opportunity-card .model-price strong { display: block; font: 500 clamp(28px, 2.4vw, 34px)/1.25 "NC Text", Arial, sans-serif; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
body.buyer-finish .opportunity-card .model-incentive { margin: 0 0 20px; color: var(--bf-reading); font: 400 14px/1.65 "NC Text", Arial, sans-serif; }
body.buyer-finish .opportunity-card .model-dates { display: grid; gap: 4px; margin: auto 0 22px; padding: 16px 0 0; border-top: 1px solid var(--bf-rule); color: var(--bf-reading); font: 400 12px/1.6 "NC Text", Arial, sans-serif; font-variant-numeric: tabular-nums; }
body.buyer-finish .opportunity-card .model-plan { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 52px; margin: 0; padding: 14px 16px; border: 0; border-radius: 0; background: var(--bf-forest); color: var(--bf-paper); white-space: normal; text-align: left; font: 600 14px/1.5 "NC Text", Arial, sans-serif; cursor: pointer; }
body.buyer-finish .opportunity-card .model-plan:hover { background: #133d35; }
body.buyer-finish .opportunity-card .model-plan > span { font: inherit; }
body.buyer-finish .opportunity-card .model-gallery-button:hover { background: var(--bf-field); }
body.buyer-finish .opportunity-card :is(button, a):focus-visible { outline: 3px solid #006039; outline-offset: 4px; }
body.buyer-finish .opportunity-card .model-plan:focus-visible { outline-offset: -5px; outline-color: var(--bf-champagne); }
body.buyer-finish .catalog-pagination { margin-top: 22px; }
body.buyer-finish .opportunity-reference-note { max-width: 75ch; color: var(--bf-reading); font-size: 14px; line-height: 1.7; }

/* Reading tables share the same rules as the rest of the page. */
.buyer-finish.quality-page main :is(.guide-table-scroll, .market-comparison-scroll) { border: 0; border-radius: 0; scrollbar-width: thin; scrollbar-color: #81958a var(--bf-field); }
.buyer-finish.quality-page main table { border-collapse: collapse; font-variant-numeric: tabular-nums; }
.buyer-finish.quality-page main table :is(th, td) { padding: 20px 24px; border: 0; border-bottom: 1px solid var(--bf-rule); color: var(--bf-reading); font: 400 15px/1.7 "NC Text", Arial, sans-serif; vertical-align: top; text-align: left; }
.buyer-finish.quality-page main table thead th { background: var(--bf-forest); color: var(--bf-paper); font-weight: 600; }
.buyer-finish.quality-page main table tbody tr:nth-child(even) { background: var(--bf-field); }
.buyer-finish.quality-page main table tbody th { background: transparent; color: var(--bf-forest); font-weight: 600; }
.buyer-finish.quality-page main table .market-comparison-segment :is(th, td) { background: var(--bf-field); color: var(--bf-forest); font-weight: 600; }
.buyer-finish.quality-page main table a { color: inherit; text-underline-offset: 4px; }

/* A real portrait with the same rectangular treatment as Home. */
.buyer-finish main .advisor-profile { max-width: 390px; min-height: 0; padding: 0; border: 0; outline: 0; }
.buyer-finish .advisor-intro { grid-template-columns: 128px minmax(0, 1fr); gap: 24px; }
.buyer-finish main .advisor-profile .quality-portrait,
.buyer-finish main .pbc-team .advisor-profile figure { width: 128px; aspect-ratio: 4 / 5; border-radius: 0; }
.buyer-finish main .advisor-profile .advisor-name { font-size: 34px; line-height: 1.05; }
.buyer-finish main .advisor-profile .advisor-name a { text-decoration: none; }
.buyer-finish main .advisor-profile .advisor-name a:hover { text-decoration: underline; }
.buyer-finish main .advisor-profile .advisor-role { margin-top: 12px; font-size: 14px; line-height: 1.55; }
.buyer-finish .advisor-review-links { justify-content: flex-start; gap: 8px 28px; margin: 24px 0; padding-bottom: 18px; border-bottom: 1px solid #fffdf840; }
.buyer-finish .advisor-training { gap: 8px; }
.buyer-finish .advisor-specialty { margin-top: 24px; }
.buyer-finish main .advisor-profile .advisor-languages { padding-top: 24px; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .buyer-finish .opportunity-photo:has(.model-gallery-button:hover) .model-reference-photo { transform: scale(1.025); }
}
@media (max-width: 1180px) { .buyer-finish { --bf-header-offset: 64px; } }
@media (min-width: 701px) and (max-width: 1000px) { body.buyer-finish .current-opportunities .opportunity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .buyer-finish .advisor-intro { grid-template-columns: 112px minmax(0, 1fr); gap: 20px; }
  .buyer-finish main .advisor-profile .quality-portrait, .buyer-finish main .pbc-team .advisor-profile figure { width: 112px; }
  .buyer-finish main .advisor-profile { width: 100%; margin: 0; padding: 0; }
  .buyer-finish main .advisor-profile .advisor-name { font-size: 30px; }
  .buyer-finish.quality-page main table :is(th, td) { padding: 16px; font-size: 14px; }
}
@media (max-width: 700px) {
  body.buyer-finish.header-is-scrolled .site-header.site-architecture :is(.home-hero-brand-name, .coastal-brand-name) { font-size: 20px; }
  body.buyer-finish.header-is-scrolled .site-header.site-architecture .home-brand img { width: 36px; height: 36px; }
  body.buyer-finish .current-opportunities .opportunity-grid { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 380px); grid-template-columns: none; gap: 16px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; padding: 0 0 18px; scrollbar-width: thin; scrollbar-color: #81958a var(--bf-field); }
  body.buyer-finish .opportunity-card { scroll-snap-align: start; }
  body.buyer-finish .opportunity-card .opportunity-card-copy { padding: 24px 20px 20px; }
  body.buyer-finish .opportunity-card h3 { font-size: 30px; }
}
@media (max-width: 359px) {
  body.buyer-finish .mobile-sales-bar { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 10px; padding-inline: 12px; }
  body.buyer-finish .mobile-sales-bar .button { min-width: 0; min-height: 48px; gap: 8px; padding: 12px 10px; justify-content: space-between; white-space: nowrap; font: 600 13px/1.4 "NC Text", Arial, sans-serif; }
  body.buyer-finish .mobile-sales-bar .button > span { font: inherit; }
  body.buyer-finish .mobile-sales-bar > a { min-width: 0; max-width: none; min-height: 48px; padding-inline: 0; gap: 6px; justify-content: center; white-space: nowrap; font: 600 13px/1.4 "NC Text", Arial, sans-serif; }
  body.buyer-finish .mobile-sales-bar .quality-arrow { width: 20px; height: 20px; flex: none; }
  body.buyer-finish.header-is-scrolled .site-header.site-architecture :is(.home-hero-brand-name, .coastal-brand-name) { font-size: 18px; }
  .buyer-finish .advisor-intro { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
  .buyer-finish main .advisor-profile .quality-portrait, .buyer-finish main .pbc-team .advisor-profile figure { width: 96px; }
  .buyer-finish main .advisor-profile .advisor-name { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  body.buyer-finish .site-header.site-architecture, body.buyer-finish .opportunity-photo .model-reference-photo { transition: none; }
}
