/* bestofknoxville.net | Seth Jenkins, REALTOR(R)
   Original stylesheet written for the 2026 rebuild. */

:root {
  --navy: #192a54;
  --navy-2: #22386e;
  --black: #000;
  --text: rgba(0, 0, 0, .8);
  --muted: rgba(0, 0, 0, .56);
  --white: #fff;
  --gray: #e9eaec;
  --warm: #eeede9;
  --orange: #f77e01;
  --line: rgba(0, 0, 0, .125);
  --line-strong: rgba(0, 0, 0, .75);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1348px;
  --gutter: 42px;
  --sec: 96px;
  --hdr: 84px;
  --ease: cubic-bezier(.645, .045, .355, 1);
}
@media (max-width: 1024px) { :root { --gutter: 32px; --sec: 80px; } }
@media (max-width: 768px) { :root { --gutter: 20px; --sec: 64px; --hdr: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.666 var(--sans); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 400; text-transform: uppercase; color: var(--black); margin: 0 0 16px; letter-spacing: 0; }
.h1, h1 { font-size: 70px; line-height: 1.11; }
.h2, h2 { font-size: 56px; line-height: 1.18; }
.h3, h3 { font-size: 40px; line-height: 1.15; }
.h4, h4 { font-size: 28px; line-height: 1.29; }
.h5, h5 { font-size: 22px; line-height: 1.36; }
p { margin: 0 0 1em; }
@media (max-width: 1024px) { .h1, h1 { font-size: 56px; } .h2, h2 { font-size: 44px; } }
@media (max-width: 768px) {
  body { font-size: 14px; line-height: 1.666; }
  .h1, h1 { font-size: 40px; line-height: 1.2; }
  .h2, h2 { font-size: 36px; line-height: 1.22; }
  .h3, h3 { font-size: 28px; }
  .h4, h4 { font-size: 22px; }
  .h5, h5 { font-size: 18px; }
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 1100px; }
.sec { padding: var(--sec) 0; }
.sec--gray { background: var(--gray); }
.sec--tight { padding: calc(var(--sec) * .6) 0; }
.center { text-align: center; }
.label { font: 600 14px/1.57 var(--sans); text-transform: uppercase; color: var(--black); letter-spacing: .02em; }
.small { font-size: 12px; line-height: 1.6; }
.muted { color: var(--muted); }
.sec-title { text-align: center; margin-bottom: 48px; }
.sec-sub { text-align: center; max-width: 640px; margin: -32px auto 40px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 14px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .02em; padding: 14px 22px; border: 2px solid var(--navy); background: var(--navy); color: #fff; text-decoration: none; transition: background .3s, color .3s, border-color .3s; cursor: pointer; }
.btn:hover { background: transparent; color: var(--navy); }
.btn--light { background: #fff; border-color: #fff; color: var(--navy); padding: 14px 50px; }
.btn--light:hover { background: transparent; color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--muted { background: #8a93a8; border-color: #8a93a8; }
.btn--block { width: 100%; }
.link { font: 600 16px/1.666 var(--sans); text-transform: uppercase; color: var(--black); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s; }
.link:hover { background-size: 100% 1px; }
.btn-row { display: flex; justify-content: flex-end; margin-top: 40px; }
.btn-row--center { justify-content: center; }

/* Icon circles */
.icirc { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background .3s, transform .3s; }
.icirc:hover { background: var(--navy-2); transform: translateY(-2px); }
.icirc svg { width: 14px; height: 14px; fill: currentColor; }
.icons { display: flex; gap: 10px; flex-wrap: wrap; }

/* Header */
.hdr { position: fixed; inset: 0 0 auto; height: var(--hdr); z-index: 60; color: #fff; transition: background .35s, color .35s, box-shadow .35s; }
.hdr__in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 24px; }
.hdr__logo { justify-self: center; display: block; height: 46px; position: relative; }
.hdr__logo img { height: 46px; width: auto; transition: opacity .35s; }
.hdr__logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.hdr--solid, .hdr.is-scrolled { background: #fff; color: var(--black); box-shadow: 0 1px 0 var(--line); }
.hdr--solid .logo-light, .hdr.is-scrolled .logo-light { opacity: 0; }
.hdr--solid .logo-dark, .hdr.is-scrolled .logo-dark { opacity: 1; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav--right { justify-content: flex-end; }
.nav__item { position: relative; }
.nav__link { font: 400 13px/1 var(--sans); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; padding: 10px 0; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.nav__link svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s; }
.nav__item:hover .nav__link svg, .nav__item.is-open .nav__link svg { transform: rotate(180deg); }
.nav__sub { position: absolute; top: 100%; left: -18px; min-width: 200px; background: #fff; color: var(--black); padding: 10px 0; box-shadow: 0 12px 30px rgba(0, 0, 0, .12); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s; }
.nav__item:hover .nav__sub, .nav__item.is-open .nav__sub, .nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 10px 18px; font: 400 13px/1.3 var(--sans); text-transform: uppercase; text-decoration: none; }
.nav__sub a:hover { background: var(--gray); }
.burger { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; margin-left: 6px; transition: background .35s; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--black); transition: background .35s; }
.burger span:last-child { width: 12px; margin-left: 6px; }
.hdr--solid .burger, .hdr.is-scrolled .burger { background: var(--navy); }
.hdr--solid .burger span, .hdr.is-scrolled .burger span { background: #fff; }
@media (max-width: 1100px) {
  .nav--left .nav__item, .nav--right .nav__item { display: none; }
  .hdr__in { grid-template-columns: 52px 1fr 52px; }
}
@media (max-width: 768px) { .hdr__logo, .hdr__logo img { height: 38px; } .burger { width: 46px; height: 46px; } }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.drawer__shade { position: absolute; inset: 0; background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .45s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(700px, 100%); background: #fff; transform: translateX(100%); transition: transform .55s var(--ease); overflow-y: auto; padding: 28px 48px 48px; display: flex; flex-direction: column; }
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__shade { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { align-self: flex-end; display: inline-flex; align-items: center; gap: 12px; font-size: 13px; padding: 10px 0; }
.drawer__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; }
.drawer__nav { margin-top: 40px; }
.drawer__nav a, .drawer__nav summary { display: block; font: 400 22px/48px var(--serif); text-transform: uppercase; color: var(--black); text-decoration: none; padding: 12px 12px 12px 24px; border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(30px); transition: transform .55s var(--ease), opacity .55s, color .3s; cursor: pointer; list-style: none; }
.drawer__nav summary::-webkit-details-marker { display: none; }
.drawer__nav summary::after { content: "+"; float: right; font-family: var(--sans); font-size: 22px; }
.drawer__nav details[open] summary::after { content: "\2212"; }
.drawer__nav details a { font-size: 17px; line-height: 36px; padding-left: 48px; }
.drawer.is-open .drawer__nav a, .drawer.is-open .drawer__nav summary { opacity: 1; transform: none; }
.drawer__nav a:hover, .drawer__nav summary:hover { color: var(--navy); }
.drawer .icons { margin-top: 32px; padding-left: 24px; }
@media (max-width: 620px) { .drawer__panel { padding: 20px 24px 40px; } .drawer__nav a, .drawer__nav summary { padding-left: 4px; } }

/* Hero */
.hero { position: relative; color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: #222; }
.hero--full { min-height: 100vh; min-height: 100svh; }
.hero--page { min-height: 520px; height: 56vh; max-height: 640px; }
.hero__bg { position: absolute; inset: -8% 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .38), rgba(0, 0, 0, .28) 45%, rgba(0, 0, 0, .38)); }
.hero__in { position: relative; z-index: 2; padding: calc(var(--hdr) + 20px) var(--gutter) 40px; max-width: 980px; }
.hero h1, .hero h2, .hero h5 { color: #fff; }
.hero h1 { margin-bottom: 10px; }
.hero__sub { max-width: 540px; margin: 0 auto; font-size: 14px; font-weight: 500; letter-spacing: .06em; line-height: 1.7; }
.hero__meta { font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.search { display: flex; gap: 10px; max-width: 760px; margin: 34px auto 0; }
.search__box { flex: 1; display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .92); padding: 0 18px; }
.search__box svg { width: 18px; height: 18px; stroke: #555; fill: none; stroke-width: 2; flex: none; }
.search__box input { flex: 1; border: 0; background: transparent; font: 400 15px var(--sans); padding: 14px 0; color: var(--black); outline: none; min-width: 0; }
.search .btn { padding: 14px 50px; }
@media (max-width: 768px) {
  .hero--page { min-height: 440px; height: auto; }
  .search { flex-direction: column; }
  .search .btn { width: 100%; }
}

/* Reveal motion */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Two column */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--top { align-items: start; }
.split__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__img--tall img { aspect-ratio: 3 / 4; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.meet__bar { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; margin-top: 28px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: 24px; }
.stats h3 { margin-bottom: 8px; }
.stats p { margin: 0; font-size: 14px; }
@media (max-width: 620px) { .stats { grid-template-columns: 1fr; gap: 36px; } }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { position: relative; display: block; aspect-ratio: 423 / 517; overflow: hidden; color: #fff; text-decoration: none; text-align: left; width: 100%; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, .55)); }
.tile:hover img { transform: scale(1.06); }
.tile h3 { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 2; color: #fff; font-size: 30px; margin: 0; }
@media (max-width: 768px) { .tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 4 / 3; } }

/* Listing cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 16px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--1 { grid-template-columns: minmax(0, 560px); justify-content: center; }
@media (max-width: 900px) { .cards, .cards--3 { grid-template-columns: 1fr; } }
.card { display: block; text-decoration: none; color: var(--black); }
.card__img { position: relative; overflow: hidden; aspect-ratio: 560 / 410; background: var(--gray); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.05); }
.badge { position: absolute; top: 14px; right: 14px; background: var(--orange); color: #fff; font: 600 10px/1 var(--sans); text-transform: uppercase; letter-spacing: .04em; padding: 7px 10px; z-index: 2; }
.card__body { padding-top: 16px; }
.card__price { font: 400 20px/1.3 var(--serif); margin: 0 0 4px; }
.card__addr { font: 600 11px/1.5 var(--sans); text-transform: uppercase; margin: 0 0 4px; letter-spacing: .02em; }
.card__specs { font-size: 10px; text-transform: uppercase; color: var(--muted); letter-spacing: .03em; }
.card__specs span + span::before { content: "|"; margin: 0 8px; }

/* Carousel */
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc(50% - 8px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; }
.arrows { display: flex; gap: 10px; }
.arrow { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background .3s; }
.arrow:hover { background: var(--navy-2); }
.arrow svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
@media (max-width: 768px) { .carousel__track { grid-auto-columns: 86%; } }

/* Newsletter */
.news { text-align: center; }
.news form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; max-width: 760px; margin: 24px auto 0; }
.news .consent { grid-column: 1 / -1; text-align: left; }
@media (max-width: 620px) { .news form { grid-template-columns: 1fr; } }

/* Forms */
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; margin-bottom: 6px; }
.input, .field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); background: #fff; font: 400 14px/1.4 var(--sans); padding: 13px 16px; color: var(--black); border-radius: 0; transition: border-color .3s; appearance: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { background-image: linear-gradient(45deg, transparent 50%, #444 50%), linear-gradient(135deg, #444 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--line-strong); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 10px; line-height: 1.5; color: var(--muted); margin: 6px 0 18px; }
.consent input { margin-top: 2px; flex: none; }
.consent a { color: inherit; }
.hp { position: absolute; left: -9999px; }
.form-ok { display: none; padding: 24px; background: var(--gray); text-align: center; }
.form-ok h3 { font-size: 22px; }
form.is-sent > *:not(.form-ok) { display: none; }
form.is-sent .form-ok { display: block; }
.form-err { color: #b3261e; font-size: 12px; margin: 0 0 10px; display: none; }
form.has-err .form-err { display: block; }

/* Home valuation band */
.hv { position: relative; color: #fff; overflow: hidden; padding: 120px 0; }
.hv__bg { position: absolute; inset: -8% 0; }
.hv__bg img { width: 100%; height: 100%; object-fit: cover; }
.hv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .45)); }
.hv .wrap { position: relative; z-index: 2; }
.hv h2 { color: #fff; }
.checks { display: flex; gap: 28px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 24px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.checks li { display: flex; gap: 8px; align-items: center; }
.checks svg { width: 14px; height: 14px; stroke: var(--orange); fill: none; stroke-width: 3; }
.hv__bar { display: flex; align-items: center; gap: 12px; background: #fff; padding: 10px 10px 10px 22px; }
.hv__bar svg { width: 18px; height: 18px; fill: var(--navy); flex: none; }
.hv__bar input { flex: 1; border: 0; font: 400 15px var(--sans); padding: 12px 0; outline: none; min-width: 0; color: var(--black); }
@media (max-width: 620px) { .hv__bar { flex-wrap: wrap; padding: 12px; } .hv__bar .btn { width: 100%; } }

/* Neighborhood tiles */
.hoods { display: grid; grid-template-columns: repeat(3, 1fr); }
.hood { position: relative; aspect-ratio: 480 / 380; display: flex; align-items: center; justify-content: center; overflow: hidden; text-decoration: none; color: #fff; }
.hood img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hood::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); transition: background .4s; }
.hood:hover img { transform: scale(1.06); }
.hood:hover::after { background: rgba(0, 0, 0, .45); }
.hood h3 { position: relative; z-index: 2; color: #fff; font-size: 34px; text-align: center; margin: 0; padding: 0 16px; }
.hood small { position: absolute; z-index: 2; bottom: 22px; font: 600 12px var(--sans); text-transform: uppercase; letter-spacing: .06em; opacity: 0; transform: translateY(8px); transition: .4s; }
.hood:hover small { opacity: 1; transform: none; }
@media (max-width: 900px) { .hoods { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hoods { grid-template-columns: 1fr; } }
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 16px; }
.area { text-decoration: none; color: var(--black); }
.area__img { aspect-ratio: 560 / 410; overflow: hidden; }
.area__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.area:hover img { transform: scale(1.05); }
.area h3 { font-size: 22px; margin: 16px 0 4px; }
.area .small { text-transform: uppercase; font-weight: 600; }
@media (max-width: 768px) { .areas { grid-template-columns: 1fr; } }

/* Photo CTA */
.cta { position: relative; color: #fff; text-align: center; padding: 260px 0; overflow: hidden; }
.cta__bg { position: absolute; inset: -10% 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.cta::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.cta .wrap { position: relative; z-index: 2; max-width: 620px; }
.cta h2 { color: #fff; }
.cta p { margin-bottom: 28px; }
@media (max-width: 768px) { .cta { padding: 160px 0; } }

/* Bar CTA */
.bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.bar h2 { margin: 0; font-size: 44px; }
@media (max-width: 768px) { .bar h2 { font-size: 30px; } }

/* Footer */
.ftr { padding: 72px 0 40px; background: #fff; color: var(--black); }
.ftr__logo img { height: 74px; width: auto; }
.ftr__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); gap: 24px 48px; margin: 36px 0 48px; text-transform: uppercase; font-size: 13px; line-height: 1.8; }
.ftr__cols h5 { font-size: 16px; margin-bottom: 10px; }
.ftr__cols a { text-decoration: none; }
.ftr__cols a:hover { text-decoration: underline; }
.ftr__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; }
.ftr__links { display: flex; gap: 40px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; font-size: 11px; text-transform: uppercase; }
.ftr__links a { text-decoration: none; }
.ftr__links a:hover { text-decoration: underline; }
.ftr__legal { font-size: 10px; color: var(--muted); margin: 26px 0 14px; max-width: 900px; }
.ftr__marks img { height: 34px; width: auto; }
.ftr__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 22px; font-size: 12px; }
.ftr__bottom a { text-decoration: none; }
.ftr__bottom a:hover { text-decoration: underline; }
@media (max-width: 620px) { .ftr__cols { grid-template-columns: 1fr; } .ftr__links { gap: 16px 24px; } }

/* Floating connect + modal */
.float-cta { position: fixed; left: 24px; bottom: 24px; z-index: 55; height: 48px; padding: 0 24px; border-radius: 25px; border: 1px solid rgba(255, 255, 255, .2); background: var(--navy); color: #fff; font: 500 10px/16px var(--serif); letter-spacing: .4px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 8px 22px rgba(0, 0, 0, .18); opacity: 0; transform: translateY(16px); transition: .4s; pointer-events: none; }
.float-cta.is-on { opacity: 1; transform: none; pointer-events: auto; }
.float-cta svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2; }
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transition: .35s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { background: #fff; width: min(560px, 100%); max-height: 92vh; overflow-y: auto; padding: 44px 40px 32px; position: relative; transform: translateY(20px); transition: transform .35s; }
.modal.is-open .modal__box { transform: none; }
.modal__x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; }
.modal__x svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; }
.modal h3 { font-size: 28px; }
@media (max-width: 560px) { .modal__box { padding: 40px 22px 24px; } .float-cta { left: 14px; bottom: 14px; } }

/* About info */
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; margin: 18px 0 26px; }
.info dt { font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--muted); }
.info dd { margin: 4px 0 0; font-size: 14px; color: var(--black); }
.info a { text-decoration: none; }
.bio { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0 12px; }

/* Guide page */
.guide { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.guide h2 { font-size: 34px; }
.guide__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 30px 60px rgba(0, 0, 0, .15); }
@media (max-width: 900px) { .guide { grid-template-columns: 1fr; } }

/* Valuation boxes */
.boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.box { border: 1px solid var(--navy); padding: 34px 28px; text-align: center; }
.box h4 { font-size: 20px; }
.box p { font-size: 14px; margin: 0; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.step { background: #fff; padding: 32px 28px; }
.step .label { color: var(--orange); font-size: 12px; }
.step h4 { font-size: 20px; margin-top: 8px; }
.step p { font-size: 14px; margin: 0; }
@media (max-width: 900px) { .boxes, .steps, .steps--4 { grid-template-columns: 1fr; } }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 16px; }
.post { text-decoration: none; color: var(--black); }
.post__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--gray); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover img { transform: scale(1.05); }
.post h3 { font-size: 18px; line-height: 1.4; margin: 16px 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post time { font-size: 11px; font-weight: 600; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .posts { grid-template-columns: 1fr; } }
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 56px; list-style: none; padding: 0; }
.pager a, .pager span { min-width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; text-decoration: none; font-size: 12px; font-weight: 600; }
.pager .is-cur { background: var(--navy); color: #fff; }
.pager a:hover { background: var(--gray); }
.share { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.share .icirc { background: #fff; color: var(--navy); }
.article { max-width: 1100px; margin: 0 auto; font-size: 15px; }
.article h2 { font-size: 40px; margin: 48px 0 18px; }
.article h3 { font-size: 26px; margin: 32px 0 12px; }
.article a { color: var(--navy); }
.article ul, .article ol { padding-left: 22px; margin: 0 0 1.2em; }
.article li { margin-bottom: 8px; }
.article table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 14px; }
.article th { text-align: left; font-weight: 600; padding: 14px 10px; border-bottom: 1px solid var(--line-strong); }
.article td { padding: 14px 10px; border-bottom: 1px solid var(--line); }
.article .tbl { overflow-x: auto; }
@media (max-width: 768px) { .article h2 { font-size: 28px; } }

/* Property detail */
.gal { position: relative; margin-top: var(--hdr); background: #111; }
.gal__view { position: relative; aspect-ratio: 16 / 8.5; max-height: 82vh; width: 100%; overflow: hidden; }
.gal__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.gal__view img.is-on { opacity: 1; }
.gal__nav { position: absolute; left: 24px; bottom: 24px; display: flex; gap: 10px; z-index: 2; }
.gal__nav .arrow { background: rgba(255, 255, 255, .92); color: var(--black); }
.gal__all { position: absolute; right: 24px; bottom: 24px; z-index: 2; color: #fff; font: 600 12px var(--sans); text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.gal__all svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.gal__count { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); color: #fff; font-size: 12px; z-index: 2; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.credit { font-size: 10px; color: var(--muted); padding: 8px var(--gutter) 0; }
@media (max-width: 768px) { .gal__view { aspect-ratio: 4 / 3; } }
.ptop { text-align: center; }
.ptop__price { font: 400 22px var(--serif); margin: 0 0 6px; }
.ptop__specs { font-size: 13px; margin: 0 0 24px; }
.ptop__specs span + span::before { content: "|"; margin: 0 8px; }
.rows { margin-top: 56px; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.row h4 { font-size: 20px; margin: 0; }
.row p:last-child { margin-bottom: 0; }
@media (max-width: 768px) { .row { grid-template-columns: 1fr; gap: 10px; } }
.agent { display: grid; grid-template-columns: 170px 1fr; gap: 40px; align-items: center; }
.agent img { width: 170px; aspect-ratio: 4 / 5; object-fit: cover; }
.agent__facts { display: flex; gap: 40px; flex-wrap: wrap; margin: 6px 0 22px; font-size: 13px; }
.agent__facts b { display: block; font-size: 10px; text-transform: uppercase; }
.agent__facts a { text-decoration: none; }
@media (max-width: 620px) { .agent { grid-template-columns: 1fr; } }
.amen { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; }
.amen h4 { font-size: 16px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 18px; }
.amen dl { display: grid; grid-template-columns: 150px 1fr; gap: 12px 16px; margin: 0; font-size: 13px; }
.amen dt { text-transform: uppercase; font-size: 11px; color: var(--muted); padding-top: 2px; }
.amen dd { margin: 0; color: var(--black); }
@media (max-width: 768px) { .amen { grid-template-columns: 1fr; } }
.showing { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); }
.showing__img img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.showing__form { padding: 56px 48px; text-align: center; }
.showing__form h2 { font-size: 40px; }
.days { display: grid; grid-template-columns: 36px 1fr 1fr 1fr 36px; gap: 10px; align-items: center; margin: 24px 0 14px; }
.day { border: 1px solid var(--line); padding: 12px 6px; cursor: pointer; font-size: 11px; transition: .25s; background: #fff; }
.day b { display: block; font: 400 26px/1.2 var(--serif); }
.day.is-sel { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.days .arrow { width: 32px; height: 32px; }
.toggle { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 14px; }
.toggle button { padding: 12px; font: 600 11px var(--sans); text-transform: uppercase; background: #8a93a8; color: #fff; }
.toggle button.is-sel { background: var(--navy); }
@media (max-width: 900px) { .showing { grid-template-columns: 1fr; } .showing__img img { min-height: 260px; } .showing__form { padding: 40px 20px; } }
.mort { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.mort__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.field > .mort__dp, .mort__dp { display: grid; grid-template-columns: 1fr 80px; text-transform: none; font-weight: 400; margin: 0; font-size: 14px; }
.mort__dp input + input { border-left: 0; }
.mort__card { background: #fff; padding: 36px; }
.donut { width: 190px; height: 190px; margin: 0 auto 24px; position: relative; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut__c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut__c b { font: 400 24px var(--serif); color: var(--black); }
.donut__c small { font-size: 11px; }
.legend { list-style: none; padding: 0; margin: 0; font-size: 12px; }
.legend li { display: flex; justify-content: space-between; padding: 8px 0; text-transform: uppercase; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 10px; }
.mort .reset { margin-top: 18px; font-size: 12px; text-transform: uppercase; text-decoration: underline; }
@media (max-width: 900px) { .mort { grid-template-columns: 1fr; } .mort__grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 110; background: rgba(10, 10, 10, .96); display: none; flex-direction: column; }
.lb.is-open { display: flex; }
.lb__top { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; color: #fff; font-size: 13px; }
.lb__grid { overflow-y: auto; padding: 0 24px 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.lb__grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; cursor: zoom-in; }
.lb__x { color: #fff; display: inline-flex; gap: 10px; align-items: center; text-transform: uppercase; font-size: 12px; }
.lb__x svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; }

/* Neighborhood data */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; }
.fact { display: flex; gap: 14px; align-items: center; }
.fact .icirc { width: 44px; height: 44px; flex: none; }
.fact .icirc svg { width: 18px; height: 18px; }
.fact b { display: block; font: 400 22px var(--serif); text-transform: uppercase; color: var(--black); }
.fact small { font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }
.bars { list-style: none; padding: 0; margin: 0; }
.bars li { display: grid; grid-template-columns: 1fr 150px; gap: 14px; align-items: center; font-size: 11px; margin-bottom: 14px; }
.bars .track { height: 18px; background: #f1f1f1; position: relative; }
.bars .fill { position: absolute; inset: 0 auto 0 0; background: var(--orange); width: 0; transition: width 1.2s var(--ease); }
.bars.is-in .fill { width: var(--w); }
.data2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 40px; }
@media (max-width: 900px) { .data2 { grid-template-columns: 1fr; gap: 40px; } }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font-size: 11px; text-transform: uppercase; padding: 12px 10px; border-bottom: 1px solid var(--line-strong); }
.tbl td { padding: 16px 10px; border-bottom: 1px solid var(--line); }
.pill { display: inline-block; background: var(--navy); color: #fff; font-size: 9px; font-weight: 600; text-transform: uppercase; padding: 4px 8px; }
.map { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.15); }
.map-fallback { height: 420px; display: flex; align-items: center; justify-content: center; background: var(--gray); text-align: center; padding: 20px; }

/* Legal/plain pages */
.prose { max-width: 900px; margin: 0 auto; font-size: 15px; }
.prose h2 { font-size: 30px; margin-top: 48px; }
.prose h3 { font-size: 20px; margin-top: 28px; }
.sitemap-list { columns: 2; gap: 48px; padding-left: 18px; }
.sitemap-list li { margin-bottom: 8px; break-inside: avoid; }
@media (max-width: 620px) { .sitemap-list { columns: 1; } }
.notice { background: var(--gray); padding: 32px; text-align: center; }
main > .hv:first-child { padding-top: calc(var(--hdr) + 110px); }
