/* The Garrett Company · section styles (hero and roots backdrop live in hero.css; sales/team in sales.css) */

/* Split: Residential | Commercial */
.split { display: flex; flex-direction: column; background: var(--ink); }
.split__panel { position: relative; flex: 1 1 0; min-height: 60vh; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(32px, 5vw, 64px) var(--gutter); color: var(--ivory); overflow: hidden; isolation: isolate; transition: flex-grow .9s var(--ease); }
.split__bg { position: absolute; inset: 0; z-index: 0; transition: transform 1.2s var(--ease); }
.split__panel--res .split__bg { background: linear-gradient(160deg, #1b3a2e 0%, #0f1b2d 60%, #16243a 100%); }
.split__panel--com .split__bg { background: linear-gradient(200deg, #22334d 0%, #0f1b2d 55%, #1a1a12 100%); }
.split__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease), transform 1.2s var(--ease); }
.split__bg.has-photo .split__photo { opacity: 1; }
.split__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease); }
.split__bg.is-playing .split__video { opacity: 1; }
/* Keep the copy readable over footage: brand-tinted wash, darker toward the text */
.split__bg::after { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.split__panel--res .split__bg::after { background: linear-gradient(to top, rgba(15,27,45,.94) 0%, rgba(15,27,45,.62) 42%, rgba(27,58,46,.30) 100%); }
.split__panel--com .split__bg::after { background: linear-gradient(to top, rgba(15,27,45,.94) 0%, rgba(15,27,45,.62) 42%, rgba(34,51,77,.30) 100%); }
.split__bg.has-photo::after { opacity: 1; }
.split__bg.has-photo .split__orb { opacity: .2; }
.split__bg.has-photo .split__lines { opacity: .2; }
.split__panel .split__icon { filter: drop-shadow(0 2px 10px rgba(15,27,45,.7)); }
.split__orb { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(60px); opacity: .55; right: -20vmax; top: -20vmax; background: radial-gradient(circle, rgba(217,188,124,.55), rgba(217,188,124,0) 65%); animation: orbDrift 14s ease-in-out infinite alternate; }
.split__panel--com .split__orb { left: -20vmax; right: auto; bottom: -25vmax; top: auto; background: radial-gradient(circle, rgba(75,125,97,.6), rgba(75,125,97,0) 65%); animation-duration: 18s; }
@keyframes orbDrift { from { transform: translate(0,0) scale(1); } to { transform: translate(-8%, 10%) scale(1.15); } }
.split__lines { position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, rgba(247,242,232,.05) 0 1px, transparent 1px 80px); mask-image: linear-gradient(to top, transparent, #000 60%); opacity: .7; }
.split__icon { position: absolute; top: clamp(28px, 5vw, 56px); left: var(--gutter); width: clamp(48px, 6vw, 72px); height: auto; color: var(--brass-light); opacity: .9; transition: transform .9s var(--ease); z-index: 1; }
.split__text { position: relative; z-index: 1; max-width: 46ch; }
.split__kicker { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-light); font-weight: 600; margin-bottom: .8rem; }
.split__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.1; margin-bottom: .8rem; }
.split__copy { font-weight: 300; color: rgba(247,242,232,.8); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .9s var(--ease), opacity .6s, margin .6s; }
.split__cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 1rem; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.split__cta i { font-style: normal; transition: transform .4s var(--ease); }
.split__panel:hover .split__cta i, .split__panel:focus-visible .split__cta i { transform: translateX(6px); }
.split__panel:hover .split__bg, .split__panel:focus-visible .split__bg { transform: scale(1.04); }
.split__panel:hover .split__icon, .split__panel:focus-visible .split__icon { transform: translateY(-6px) rotate(-3deg); }
.split__panel:hover .split__copy, .split__panel:focus-visible .split__copy { max-height: 220px; opacity: 1; margin-bottom: .5rem; }
@media (min-width: 900px) {
  .split { flex-direction: row; height: 92vh; min-height: 620px; }
  .split__panel { min-height: 0; }
  .split__panel:hover, .split__panel:focus-visible { flex-grow: 1.7; }
  .split__panel + .split__panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(247,242,232,.12); z-index: 2; }
}
@media (max-width: 899px) { .split__copy { max-height: 220px; opacity: 1; } }

/* Our Roots layout + timeline (on ink) */
.roots__grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .roots__grid { grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: start; } .roots__intro { position: sticky; top: 100px; } }
.roots__story { display: grid; gap: 1rem; }
.roots__p { color: var(--text-on-ink-soft); font-weight: 300; max-width: 56ch; }
.roots__small { font-size: .82rem; letter-spacing: .04em; color: var(--brass-light); }
.timeline { position: relative; padding-left: 36px; }
.timeline__line { position: absolute; left: 8px; top: 0; width: 2px; height: 100%; overflow: visible; }
.timeline__line path { stroke: var(--brass); stroke-width: 2; fill: none; vector-effect: non-scaling-stroke; }
.timeline__list { display: grid; gap: clamp(40px, 6vw, 72px); }
.timeline__item { position: relative; }
.timeline__item::before { content: ""; position: absolute; left: -34px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 2px solid var(--brass); transform: scale(0); transition: transform .6s var(--ease); }
.timeline__item.is-in::before { transform: scale(1); }
.timeline__year { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--brass-light); display: block; margin-bottom: .4rem; }
.timeline__item h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: .4rem; color: var(--ivory); }
.timeline__item p { color: var(--text-on-ink-soft); font-weight: 300; max-width: 44ch; }

/* Services trio + journey */
.services { display: grid; gap: 18px; margin: 2.4rem 0 0; }
@media (min-width: 900px) { .services { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.service { position: relative; padding: 24px 24px 24px 64px; border: 1px solid rgba(247,242,232,.12); border-radius: var(--radius); background: rgba(247,242,232,.03); transition: border-color .4s, background .4s, transform .6s var(--ease); }
.service:hover { border-color: rgba(217,188,124,.5); background: rgba(247,242,232,.05); transform: translateY(-3px); }
.service__num { position: absolute; left: 22px; top: 22px; font-family: var(--serif); font-size: 1.3rem; color: var(--brass-light); }
.service h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-bottom: .3rem; }
.service p { color: var(--text-on-ink-soft); font-weight: 300; font-size: .92rem; }
.journey__stage { position: relative; margin-top: clamp(56px, 7vw, 96px); }
.journey__path { position: absolute; pointer-events: none; }
.journey__path--wide { display: none; }
.journey__path--tall { left: calc(var(--gutter) + 17px); top: 0; width: 10px; height: 100%; }
.journey__track { fill: none; stroke: rgba(247,242,232,.14); stroke-width: 2; vector-effect: non-scaling-stroke; }
.journey__draw { fill: none; stroke: var(--brass-light); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.journey__steps { display: grid; gap: 40px; padding-left: 56px; }
.journey__step { position: relative; }
.journey__step::before { content: ""; position: absolute; left: -44px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 2px solid var(--brass-light); box-shadow: 0 0 0 0 rgba(217,188,124,.5); transform: scale(0); transition: transform .6s var(--ease), box-shadow .8s; }
.journey__step.is-in::before { transform: scale(1); box-shadow: 0 0 0 10px rgba(217,188,124,0); }
.journey__num { font-family: var(--serif); font-size: 1rem; letter-spacing: .2em; color: var(--brass-light); }
.journey__step h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; margin: .3rem 0 .4rem; }
.journey__step p { color: var(--text-on-ink-soft); font-weight: 300; max-width: 34ch; }
@media (min-width: 900px) {
  .journey__path--tall { display: none; }
  .journey__path--wide { display: block; left: 0; top: 0; width: 100%; height: 100%; }
  .journey__steps { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; row-gap: 0; column-gap: 40px; padding: 0; min-height: 520px; }
  .journey__step { padding: 56px 0 24px 0; }
  .journey__step::before { left: 0; top: 18px; }
  .journey__step:nth-child(4) { grid-column: 3; grid-row: 2; }
  .journey__step:nth-child(5) { grid-column: 2; grid-row: 2; }
  .journey__step:nth-child(6) { grid-column: 1; grid-row: 2; }
}

/* Featured listings */
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 2.5rem; }
.listings__grid { display: grid; gap: 28px; }
@media (min-width: 720px) { .listings__grid { grid-template-columns: repeat(2, 1fr); } .card--wide { grid-column: 1 / -1; } }
.card { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -40px rgba(15,27,45,.45); transform-style: preserve-3d; transition: box-shadow .5s; }
.card:hover { box-shadow: 0 40px 70px -35px rgba(15,27,45,.55); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__badge { position: absolute; top: 14px; left: 14px; z-index: 1; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; background: var(--brass); color: var(--ink); padding: 6px 10px; border-radius: 2px; }
.card__body { padding: 22px 24px 26px; }
.card__line { font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 600; line-height: 1.3; }
.card__line .dot { color: var(--brass); padding: 0 .35em; }
.card__meta { margin-top: .5rem; color: var(--text-soft); font-size: .88rem; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.card__blurb { margin-top: .9rem; color: var(--text-soft); font-weight: 300; max-width: 62ch; }
.card__cta { display: inline-block; margin-top: 1rem; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--green); }
.listings__note { margin-top: 1.5rem; font-size: .8rem; color: var(--text-soft); }
@media (min-width: 900px) {
  .card--wide { display: grid; grid-template-columns: 1.3fr 1fr; }
  .card--wide .card__media { aspect-ratio: auto; min-height: 420px; }
  .card--wide .card__body { padding: 40px 40px 44px; display: flex; flex-direction: column; justify-content: center; }
  .card--wide .card__line { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
}

/* Search */
.tabs { position: relative; display: inline-flex; gap: 4px; margin: 1.2rem 0 2rem; border-bottom: 1px solid rgba(15,27,45,.15); }
.tab { padding: 12px 22px; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--text-soft); position: relative; transition: color .3s; }
.tab.is-active { color: var(--ink); }
.tabs__ink { position: absolute; bottom: -1px; height: 2px; background: var(--brass); left: 0; width: 0; transition: left .5s var(--ease), width .5s var(--ease); }
.tabpanel[hidden] { display: none; }
.mock-search { display: grid; gap: 12px; background: #fff; padding: 16px; border-radius: var(--radius); box-shadow: 0 20px 50px -35px rgba(15,27,45,.5); }
.mock-search label { display: grid; gap: 4px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--text-soft); }
.mock-search input, .mock-search select { font: inherit; font-size: .95rem; padding: 10px 12px; border: 1px solid rgba(15,27,45,.15); border-radius: 3px; background: var(--ivory); color: var(--text); min-width: 0; }
@media (min-width: 900px) { .mock-search { grid-template-columns: 2fr 1fr 1fr auto; align-items: end; } }
.embed-placeholder { margin-top: 20px; min-height: 260px; display: grid; place-items: center; text-align: center; padding: 32px; border: 1.5px dashed rgba(47,93,69,.45); border-radius: var(--radius); background: repeating-linear-gradient(-45deg, rgba(47,93,69,.04) 0 12px, transparent 12px 24px); position: relative; color: var(--text-soft); }
.embed-placeholder p { max-width: 46ch; }
.embed-placeholder strong { color: var(--ink); font-family: var(--serif); font-size: 1.35rem; display: block; margin-bottom: .3rem; font-weight: 600; }
.embed-placeholder__tag { position: absolute; top: 12px; left: 12px; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--green); border: 1px solid currentColor; padding: 4px 8px; border-radius: 2px; }

/* Communities: interactive area map */
.amap__lead { color: var(--text-on-ink-soft); }
.amap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 2.2rem; }
@media (min-width: 960px) { .amap { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; align-items: stretch; } }
.amap__stage { position: relative; aspect-ratio: var(--ar, 1); border-radius: 10px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 45% 40%, #1b2c45 0%, #0f1b2d 70%); border: 1px solid rgba(247,242,232,.08); }
.amap__stage::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(247,242,232,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(247,242,232,.035) 1px, transparent 1px); background-size: 48px 48px; }
.amap__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 80px 30px #0f1b2d; }
.amap__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.county { fill: rgba(247,242,232,.015); stroke: rgba(247,242,232,.10); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: fill .5s, stroke .5s, opacity .9s var(--ease); opacity: 0; }
.county--tn { fill: rgba(247,242,232,.035); stroke: rgba(217,188,124,.28); }
.county--active { fill: rgba(75,125,97,.20); cursor: pointer; }
.county--active:hover { fill: rgba(75,125,97,.32); }
.county.is-sel { fill: rgba(184,145,79,.20); stroke: rgba(217,188,124,.75); }
.amap__stage.is-in .county { opacity: 1; transition-delay: 0s, 0s, var(--d, 0s); }
.amap__clabels text { fill: rgba(247,242,232,.22); font: 600 13px var(--sans); letter-spacing: .22em; text-anchor: middle; pointer-events: none; opacity: 0; transition: opacity 1.2s .8s; }
.amap__stage.is-in .amap__clabels text { opacity: 1; }
@media (max-width: 719px) { .amap__clabels text { font-size: 22px; letter-spacing: .14em; } }

.amap__pins { position: absolute; inset: 0; }
.pin { position: absolute; width: 0; height: 0; padding: 0; border: 0; background: none; cursor: pointer; color: var(--ivory); z-index: 1; }
.pin__dot { position: absolute; left: 0; top: 0; width: calc(14px * var(--s, 1)); height: calc(14px * var(--s, 1)); transform: translate(-50%, -50%) scale(0); border-radius: 50%;
  background: var(--brass-light); box-shadow: 0 0 0 3px rgba(15,27,45,.85), 0 0 18px 2px rgba(217,188,124,.45); transition: transform .6s var(--ease), background .3s; }
.pin__dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(217,188,124,.7); opacity: 0; }
.pin__label { position: absolute; top: 0; transform: translateY(-50%); white-space: nowrap; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  color: rgba(247,242,232,.82); text-shadow: 0 1px 8px #0f1b2d, 0 0 2px #0f1b2d; opacity: 0; transition: opacity .5s, color .3s; pointer-events: none; }
.pin--r .pin__label { left: calc(10px + 7px * var(--s, 1)); }
.pin--l .pin__label { right: calc(10px + 7px * var(--s, 1)); }
.amap__stage.is-in .pin__dot { transform: translate(-50%, -50%) scale(1); transition-delay: var(--d, 0s); }
.amap__stage.is-in .pin__label { opacity: 1; transition-delay: calc(var(--d, 0s) + .2s); }
.pin:hover .pin__dot, .pin:focus-visible .pin__dot { background: #f0d9a4; }
.pin:hover .pin__label { color: var(--ivory); }
.pin:focus-visible { outline: none; }
.pin:focus-visible .pin__dot { box-shadow: 0 0 0 3px rgba(15,27,45,.85), 0 0 0 5px var(--brass-light); }
.pin.is-active { z-index: 2; }
.pin.is-active .pin__dot { background: #fff4da; }
.pin.is-active .pin__dot::after { animation: pinPulse 2.2s var(--ease) infinite; }
.pin.is-active .pin__label { color: #fff; opacity: 1; }
.pin--home .pin__dot { background: var(--green-light); box-shadow: 0 0 0 3px rgba(15,27,45,.85), 0 0 0 5px var(--brass-light), 0 0 22px 4px rgba(217,188,124,.5); }
.pin--home.is-active .pin__dot { background: #6fa384; }
@keyframes pinPulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
/* Small screens: only the biggest towns and the selected one carry a label */
@media (max-width: 719px) {
  .pin__label { font-size: .62rem; letter-spacing: .06em; }
  .amap__stage.is-in .pin:not(.pin--major):not(.is-active) .pin__label { opacity: 0; }
  .pin::before { content: ""; position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; } /* bigger tap target */
}

.amap__panel { min-width: 0; }
.amap__card { height: 100%; display: flex; flex-direction: column; padding: clamp(22px, 3vw, 32px); border-radius: 10px; background: rgba(247,242,232,.04); border: 1px solid rgba(247,242,232,.10);
  transition: opacity .5s var(--ease), transform .5s var(--ease); }
.amap__card.is-enter { opacity: 0; transform: translateY(10px); transition: none; }
.amap__county { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--brass-light); }
.amap__home { color: #8fc0a3; }
.amap__town { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.05; color: var(--ivory); margin: .35rem 0 1.1rem; }
.amap__stats { display: flex; gap: 22px; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(247,242,232,.10); }
.amap__stat b { display: block; font-family: var(--serif); font-variant-numeric: lining-nums; font-size: 2rem; font-weight: 500; line-height: 1; color: var(--ivory); }
.amap__stat span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-on-ink-soft); }
.amap__list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 10px; }
.amap__list li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: baseline; font-size: .9rem; color: var(--text-on-ink); }
.amap__list li > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.amap__list b { font-weight: 600; color: var(--ivory); font-variant-numeric: tabular-nums; }
.amap__tag { font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: 3px 7px; border-radius: 999px; color: var(--text-on-ink-soft); border: 1px solid rgba(247,242,232,.18); }
.amap__tag--live { color: var(--ink); background: var(--brass-light); border-color: var(--brass-light); }
.amap__tag--com { color: #8fc0a3; border-color: rgba(143,192,163,.4); }
.amap__more { font-size: .8rem; color: var(--text-on-ink-soft); margin-top: .6rem; }
.amap__actions { margin-top: auto; padding-top: 1.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.amap__link { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--brass-light); }
.amap__link:hover { color: var(--ivory); }
.amap__chips { margin-top: 18px; }
.amap__chips .chip { color: var(--text-on-ink-soft); border-color: rgba(247,242,232,.18); }
.amap__chips .chip:hover { color: var(--ivory); border-color: var(--brass-light); }
.amap__chips .chip.is-active { background: var(--brass-light); border-color: var(--brass-light); color: var(--ink); }
.amap__land { margin-top: 1.6rem; color: var(--text-on-ink-soft); font-size: .95rem; }
.amap__land a { color: var(--brass-light); font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .county, .amap__clabels text, .pin__label { opacity: 1 !important; transition: none !important; }
  .pin__dot { transform: translate(-50%, -50%) scale(1) !important; transition: none !important; }
  .pin.is-active .pin__dot::after { animation: none; }
}

/* Testimonials marquee (placeholder cards) */
.marquee { margin-top: 2.5rem; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 20px; width: max-content; animation: marquee 60s linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.quote { flex: 0 0 min(78vw, 380px); background: #fff; border-radius: var(--radius); padding: 26px 28px; box-shadow: 0 20px 50px -40px rgba(15,27,45,.4); }
.quote__mark { font-family: var(--serif); font-size: 3rem; line-height: .6; color: var(--brass); display: block; margin-bottom: 14px; }
.quote p { font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--text); }
.quote footer { margin-top: 16px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); }

/* Contact */
.contact__grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1fr 1.2fr; gap: 80px; } }
.contact__details { margin-top: 2rem; display: grid; gap: 16px; }
.contact__details li { display: grid; grid-template-columns: 80px 1fr; gap: 12px; font-size: .95rem; }
.contact__details li > span:first-child { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green); font-weight: 600; padding-top: 4px; }
.contact__details a { text-decoration: underline; text-decoration-color: rgba(184,145,79,.5); text-underline-offset: 3px; transition: text-decoration-color .3s; }
.contact__details a:hover { text-decoration-color: var(--brass); }
.contact__details small { display: block; font-size: .78rem; color: var(--text-soft); }
.contact__map { display: inline-block; margin-top: 4px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--green); }
.form { background: #fff; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius); box-shadow: 0 30px 60px -40px rgba(15,27,45,.45); display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form label { display: grid; gap: 6px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--text-soft); }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid rgba(15,27,45,.15); border-radius: 3px; background: var(--ivory); color: var(--text); transition: border-color .3s, box-shadow .3s; min-width: 0; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(184,145,79,.2); }
.form__note { font-size: .9rem; color: var(--green); min-height: 1.4em; }
.form__note.is-error { color: #a33; }

/* Footer */
.footer { background: var(--ink); color: var(--text-on-ink-soft); padding: 64px 0 40px; font-size: .85rem; }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1.6fr; gap: 60px; } }
.footer__wordmark { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; letter-spacing: .01em; color: var(--ivory); margin: 12px 0 6px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.footer__links a:hover, .footer__legal a:hover { color: var(--brass-light); }
.footer__legal { display: grid; gap: 10px; font-size: .78rem; line-height: 1.6; }
.footer__legal a { text-decoration: underline; text-decoration-color: rgba(217,188,124,.35); text-underline-offset: 3px; }
.footer__eho { width: 36px; height: 36px; color: var(--brass-light); }
.footer__credit { font-size: .7rem; opacity: .7; }

/* Search request note (replaces the IDX placeholder until a vendor is live) */
.search-note { margin-top: 20px; max-width: 760px; color: var(--text-soft, inherit); font-size: .98rem; line-height: 1.65; }
.search-note a { color: var(--brass, #b8914f); white-space: nowrap; }
.idx-embed { margin-top: 24px; min-height: 480px; }

/* ---------- Search forms: location picker + filters ---------- */
.search-form { display: grid; gap: 16px; background: #fff; padding: 18px; border-radius: var(--radius); box-shadow: 0 20px 50px -35px rgba(15,27,45,.5); }
.search-form label > span, .loc__label, .chks legend { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--text-soft); margin-bottom: 4px; }
.search-form select { width: 100%; font: inherit; font-size: .95rem; padding: 10px 12px; border: 1px solid rgba(15,27,45,.15); border-radius: 3px; background: var(--ivory); color: var(--text); min-width: 0; }
.search-form select:focus, .loc__box:focus-within { outline: 2px solid var(--brass); outline-offset: 1px; }
.search-form__row { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .search-form__row { grid-template-columns: repeat(4, minmax(0, 1fr)); } .search-form { padding: 24px; } }
.search-form__more { display: grid; gap: 16px; padding-top: 4px; border-top: 1px dashed rgba(15,27,45,.15); }
.search-form__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: flex-end; }
.search-form__toggle { margin-right: auto; background: none; border: 0; padding: 8px 0; font: inherit; font-size: .9rem; color: var(--ink, #0f1b2d); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

.chks { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chks legend { width: 100%; padding: 0; }
.chk { position: relative; }
.chk input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chk span { display: inline-block; padding: 7px 13px; border: 1px solid rgba(15,27,45,.18); border-radius: 99px; font-size: .86rem; background: var(--ivory); transition: background .2s, color .2s, border-color .2s; }
.chk input:checked + span { background: var(--ink, #0f1b2d); color: var(--ivory, #f7f2e8); border-color: var(--ink, #0f1b2d); }
.chk input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }

.loc { position: relative; }
.loc__box { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 6px 8px; border: 1px solid rgba(15,27,45,.15); border-radius: 3px; background: var(--ivory); }
.loc__input { flex: 1 1 200px; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1rem; padding: 6px 4px; color: var(--text); outline: none; }
.loc__token { display: inline-flex; align-items: center; gap: 4px; padding: 4px 4px 4px 10px; border-radius: 99px; background: var(--ink, #0f1b2d); color: var(--ivory, #f7f2e8); font-size: .85rem; }
.loc__token button { border: 0; background: rgba(255,255,255,.15); color: inherit; width: 20px; height: 20px; border-radius: 50%; line-height: 1; cursor: pointer; }
.loc__list { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin: 6px 0 0; padding: 6px; list-style: none; background: #fff; border-radius: 6px; box-shadow: 0 24px 60px -20px rgba(15,27,45,.45); max-height: 360px; overflow-y: auto; }
.loc__opt { display: grid; gap: 2px 12px; grid-template-columns: 1fr auto; padding: 10px 12px; border-radius: 4px; cursor: pointer; }
.loc__opt:hover, .loc__opt.is-active { background: var(--ivory); }
.loc__name { font-weight: 600; } .loc__name em { font-style: normal; font-weight: 400; color: var(--text-soft); font-size: .85em; }
.loc__sub { font-size: .8rem; color: var(--text-soft); align-self: center; }
.loc__zips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.loc__zip { border: 1px solid rgba(184,145,79,.55); background: #fff; color: var(--ink, #0f1b2d); padding: 3px 9px; border-radius: 99px; font: inherit; font-size: .8rem; cursor: pointer; }
.loc__zip:hover, .loc__zip.is-hit { background: var(--brass, #b8914f); color: #fff; }
.loc__more { font-size: .78rem; color: var(--text-soft); align-self: center; }
.loc__empty { padding: 12px; color: var(--text-soft); font-size: .9rem; }
@media (max-width: 520px) { .loc__opt { grid-template-columns: 1fr; } }
.search-form__more[hidden], .loc__list[hidden] { display: none; }
.search-form .chk span { margin: 0; font-size: .86rem; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--text); }
.search-form .chk input:checked + span { color: var(--ivory, #f7f2e8); }
