/* Public AB HOME presentation. The catalog, lead flow, and team workspace stay in their existing files. */
:root {
  --life-ink: #123c43;
  --life-deep: #073943;
  --life-teal: #086674;
  --life-coral: #e9a174;
  --life-sand: #f7f4ee;
}

.site-header {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: rgba(8, 102, 116, .11);
  box-shadow: 0 10px 35px rgba(5, 49, 58, .05);
}
.site-header .brand-mark,
#publicView .footer-brand .brand-mark {
  background: var(--life-teal);
  border-radius: 13px;
  box-shadow: 0 7px 18px rgba(8, 102, 116, .2);
}
.site-header .brand-copy strong { color: var(--life-ink); letter-spacing: .045em; }
.site-header .desktop-nav a { position: relative; color: var(--life-ink); }
.site-header .desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -9px;
  height: 2px;
  background: var(--life-coral);
  transition: right .22s ease;
}
.site-header .desktop-nav a:hover::after,
.site-header .desktop-nav a:focus-visible::after { right: 0; }
.site-header .staff-button,
.site-header .icon-button { border-radius: 12px; }

#publicView .hero {
  height: clamp(610px, 57vw, 760px);
  min-height: 610px;
  background: var(--life-deep);
  isolation: isolate;
}
#publicView .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(3, 42, 52, .94) 0%, rgba(3, 42, 52, .84) 28%, rgba(3, 42, 52, .31) 57%, rgba(3, 42, 52, .04) 82%),
    linear-gradient(0deg, rgba(3, 42, 52, .22), transparent 42%);
  pointer-events: none;
}
#publicView .hero-home-photo { object-position: right center; }
#publicView .hero-content {
  z-index: 1;
  padding-block: 76px 100px;
  pointer-events: none;
}
#publicView .hero-content .eyebrow,
#publicView .hero h1,
#publicView .hero-support,
#publicView .hero-actions {
  width: min(55%, 640px);
  max-width: 640px;
}
#publicView .hero-content .eyebrow {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 100%;
  margin-bottom: 22px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, .37);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
  backdrop-filter: blur(8px);
}
#publicView .hero h1 {
  color: #fff;
  font-size: clamp(48px, 5.1vw, 76px);
  line-height: 1.19;
  font-weight: 900;
  letter-spacing: -.035em;
  text-wrap: balance;
  text-shadow: 0 3px 20px rgba(0, 0, 0, .16);
}
#publicView .hero h1 span { color: #ffe2b8; }
#publicView .hero-support {
  max-width: 540px;
  margin-top: 25px;
  color: rgba(255, 255, 255, .93);
  font-size: 18px;
  line-height: 1.8;
  font-weight: 500;
  text-shadow: none;
}
#publicView .hero-actions { gap: 12px; margin-top: 30px; pointer-events: auto; }
#publicView .hero-actions .button,
#publicView .hero-direct-contact .button {
  min-height: 52px;
  border-radius: 12px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
}
#publicView .hero-actions .button-primary { color: var(--life-deep); background: #ffd3a6; border-color: #ffd3a6; }
#publicView .hero-actions .button-primary:hover { background: #ffe1c0; }
#publicView .hero-actions .button-light { color: #fff; background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.55); }
#publicView .hero-actions .button-light:hover { background: rgba(255,255,255,.24); }
#publicView .hero-direct-contact { position: relative; z-index: 1; margin-top: 16px; pointer-events: auto; }
#publicView .hero-direct-contact .direct-contact-phone { background: #fff; border-color: #fff; color: var(--life-ink); }
#publicView .hero-direct-contact .direct-contact-line { background: #147952; border-color: #147952; }
#publicView .hero-caption {
  margin: 25px 0 0;
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .015em;
}
#publicView .hero-photo-note {
  z-index: 2;
  padding: 8px 12px;
  color: var(--life-ink);
  background: rgba(255,255,255,.9);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
}

#publicView .search-band {
  margin-top: 0;
  padding: 66px 0 26px;
  background: var(--life-sand);
}
#publicView .search-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
#publicView .search-intro .eyebrow,
#publicView .section-heading .eyebrow,
#publicView .story-copy .eyebrow,
#publicView .trust-section .eyebrow { color: #b56039; letter-spacing: .08em; }
#publicView .search-intro h2 {
  margin: 0;
  color: var(--life-ink);
  font-size: clamp(30px, 3.4vw, 43px);
  line-height: 1.2;
}
#publicView .search-intro > p { margin: 0 0 3px; color: #637378; line-height: 1.6; }
#publicView .filter-grid {
  border: 1px solid #e6e2d9;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(12, 61, 68, .08);
}
#publicView .search-field input,
#publicView .search-field select,
#publicView .sort-control select { border-color: #d6dedc; border-radius: 10px; }
#publicView .filter-button { border-radius: 10px; background: var(--life-teal); border-color: var(--life-teal); }
#publicView .filter-button:hover { background: var(--life-deep); }

#publicView .property-section {
  padding: 70px 0 105px;
  background: var(--life-sand);
}
#publicView .section-heading h2 { color: var(--life-ink); font-size: clamp(30px, 3.2vw, 42px); }
#publicView .property-grid { gap: 24px; }
#publicView .property-card {
  border: 1px solid rgba(12, 61, 68, .08);
  border-radius: 20px;
  box-shadow: 0 8px 26px rgba(12, 61, 68, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}
#publicView .property-card:hover,
#publicView .property-card:focus-within { box-shadow: 0 22px 45px rgba(12, 61, 68, .14); transform: translateY(-5px); }
#publicView .property-image-wrap { aspect-ratio: 1.36; }
#publicView .property-status { border-radius: 999px; }
#publicView .card-footer { color: var(--life-teal); }

#publicView .home-story { padding: 100px 0; background: #fff; }
#publicView .story-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(48px, 6vw, 96px); align-items: center; }
#publicView .story-photo {
  height: 510px;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #e2ebe7;
  box-shadow: 0 24px 48px rgba(12, 61, 68, .12);
}
#publicView .story-photo::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  z-index: 1;
  background: linear-gradient(transparent, rgba(3, 42, 52, .55));
}
#publicView .story-photo img { width: 100%; height: 100%; object-fit: cover; }
#publicView .story-photo span {
  position: absolute;
  z-index: 2;
  bottom: 22px;
  left: 24px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
#publicView .story-copy h2 {
  margin: 0;
  color: var(--life-ink);
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.25;
  letter-spacing: -.025em;
}
#publicView .story-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin: 22px 0 0;
  color: #506a6e;
  font-size: 17px;
  line-height: 1.85;
}
#publicView .story-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
#publicView .story-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid #c9d8d6;
  border-radius: 999px;
  color: var(--life-teal);
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}
#publicView .story-links a:hover { background: #eef7f4; transform: translateY(-2px); }
#publicView .story-links svg { width: 18px; height: 18px; }

#publicView .finance-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #073943, #0c6570);
  padding-block: 76px;
}
#publicView .finance-band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -130px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255,255,255,.035), 0 0 0 110px rgba(255,255,255,.025);
  pointer-events: none;
}
#publicView .finance-layout { position: relative; z-index: 1; }
#publicView .finance-layout .eyebrow { color: #ffd3a6; }
#publicView .finance-points svg { color: #ffd3a6; }
#publicView .finance-layout .button-accent { border-radius: 12px; background: #ffd3a6; border-color: #ffd3a6; color: var(--life-deep); }
#publicView .finance-layout .button-accent:hover { background: #ffe1c0; }
#publicView .trust-section { background: #edf5f2; }
#publicView .trust-section h2 { color: var(--life-ink); }
#publicView .trust-grid { gap: 18px; border: 0; }
#publicView .trust-item,
#publicView .trust-item + .trust-item {
  padding: 28px;
  background: #fff;
  border: 1px solid #dfeae6;
  border-radius: 18px;
}
#publicView .trust-item > svg { color: var(--life-teal); }
#publicView .trust-item p { color: #566e71; }
#publicView .site-footer { border-color: #e1e9e6; }

@media (max-width: 900px) {
  #publicView .hero { height: auto; min-height: 0; padding-bottom: 0; }
  #publicView .hero::after { display: none; }
  #publicView .hero-content {
    width: 100%;
    padding: 48px max(20px, calc((100vw - 1180px) / 2)) 46px;
    background: linear-gradient(145deg, #073943, #0d6873);
  }
  #publicView .hero-content .eyebrow,
  #publicView .hero h1,
  #publicView .hero-support,
  #publicView .hero-actions { width: 100%; max-width: 720px; }
  #publicView .hero h1 { font-size: clamp(39px, 6vw, 56px); }
  #publicView .hero-support { max-width: 620px; }
  #publicView .hero-home-picture { aspect-ratio: 16 / 9; }
  #publicView .hero-home-photo { object-position: right center; }
  #publicView .hero-photo-note { bottom: 14px; }
  #publicView .story-layout { gap: 36px; }
  #publicView .story-photo { height: 390px; }
}
@media (max-width: 700px) {
  #publicView .hero-content { padding: 38px 20px 44px; }
  #publicView .hero-content .eyebrow { font-size: 11px; margin-bottom: 16px; }
  #publicView .hero h1 { font-size: clamp(34px, 9vw, 44px); }
  #publicView .hero-support { margin-top: 16px; font-size: 15px; line-height: 1.72; }
  #publicView .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  #publicView .hero-actions .button { width: 100%; min-height: 48px; padding: 8px 10px; font-size: 12px; }
  #publicView .hero-direct-contact .button { flex: 1; min-width: 0; }
  #publicView .hero-caption { font-size: 11px; }
  #publicView .hero-home-picture { aspect-ratio: 4 / 3; }
  #publicView .search-band { padding-top: 48px; }
  #publicView .search-intro { display: block; }
  #publicView .search-intro > p { margin-top: 9px; }
  #publicView .filter-grid { padding: 20px; border-radius: 16px; }
  #publicView .property-section { padding: 60px 0 80px; }
  #publicView .home-story { padding: 70px 0; }
  #publicView .story-layout { grid-template-columns: 1fr; gap: 36px; }
  #publicView .story-photo { height: auto; aspect-ratio: 1.12; }
  #publicView .story-copy h2 { font-size: 38px; }
  #publicView .finance-band { padding-block: 60px; }
  #publicView .trust-grid { gap: 12px; }
}
@media (max-width: 390px) {
  #publicView .hero-actions { grid-template-columns: 1fr; }
  #publicView .hero-caption { line-height: 1.6; }
  #publicView .story-links { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .desktop-nav a::after,
  #publicView .property-card,
  #publicView .story-links a { transition: none; }
}
