/* GRAVITY Real Estate Group: the brand layer over the shared stylesheet (/css/app.css). Loaded only by this pack's
   layout (sites/gravity/lib/layout.js), so nothing here can reach the town sites.
   Brand: charcoal and white, one purple accent (#7f29de). Purple on white is 6.4:1; the light purple on charcoal 7:1. */

:root {
  --accent: #7f29de;
  --accent-hover: #6d1fc6;
  --accent-ink: #6f20c9;
  --accent-dark: #c29bff;
  --focus: #7f29de;
  --g-char: #141416;
  --g-char-2: #1c1c1f;
  --g-char-3: #2a2a2f;
  --g-line-dark: rgba(255, 255, 255, 0.12);
  --g-on-dark: #f5f5f7;
  --g-on-dark-2: #a8a8b0;
  --g-purple: #7f29de;
  --g-purple-soft: #f4edfd;
  --g-glow: radial-gradient(1200px 600px at 85% -10%, rgba(127, 41, 222, 0.32), transparent 60%);
  --nav-h: 64px;
  --g-r: 22px;
  --g-r-l: 32px;
  --g-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.brand-gravity { background: #fff; }
.brand-gravity ::selection { background: rgba(127, 41, 222, 0.22); }
.g-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }
.g-wrap--wide { max-width: 1440px; }
.g-wrap--mid { max-width: 920px; }
.g-wrap--narrow { max-width: 640px; }
.g-center { text-align: center; }

/* ---------------------------------------------------------------- header */
.gh { position: sticky; top: 0; z-index: 100; height: var(--nav-h); background: #000; color: #fff;
  border-bottom: 1px solid transparent; transition: border-color .3s; }
.gh.is-scrolled { border-bottom-color: rgba(255, 255, 255, 0.1); }
.has-subnav .gh { position: relative; }
.gh__inner { display: flex; align-items: center; gap: 24px; height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
/* A search with the map beside the list runs the full width of the window (web/public/css/listings.css); so does the bar above it. */
@media (min-width: 1068px) { body:has(.results--split) .gh__inner { max-width: none; } }
.gh__brand { display: flex; align-items: center; color: #fff; flex: none; }
.gw { display: block; height: 30px; width: auto; }
.gh__tabs { display: none; list-style: none; margin: 0 auto; padding: 0; gap: 4px; }
.gh__tab { display: block; padding: 8px 14px; border-radius: 999px; color: rgba(255, 255, 255, 0.78); font-size: 15px; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; transition: color .2s, background .2s; }
.gh__tab:hover { color: #fff; background: rgba(255, 255, 255, 0.08); text-decoration: none; }
.gh__tab[aria-current] { color: #fff; background: rgba(255, 255, 255, 0.12); }
.gh__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.gh__search { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, 0.08); }
.gh__search:hover { background: rgba(255, 255, 255, 0.16); }
.gh__search svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.gh__value { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--g-purple); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s, transform .2s; }
.gh__value:hover { background: #8e3cf0; text-decoration: none; }
.gh__burger { display: grid; place-items: center; width: 40px; height: 40px; color: #fff; }
.gh__burger .burger { position: relative; display: block; width: 18px; height: 10px; }
.gh__burger .burger span { position: absolute; left: 0; width: 18px; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform .3s var(--g-ease), top .3s var(--g-ease); }
.gh__burger .burger span:first-child { top: 0; }
.gh__burger .burger span:last-child { top: 8px; }
html.nav-open .gh__burger .burger span:first-child { top: 4px; transform: rotate(45deg); }
html.nav-open .gh__burger .burger span:last-child { top: 4px; transform: rotate(-45deg); }
.gh__menu { position: fixed; inset: var(--nav-h) 0 0; z-index: 1; overflow-y: auto; background: var(--g-char); color: #fff; }
.gh__menu-inner { padding: 24px var(--gutter) 48px; }
.gh__mlist { list-style: none; margin: 0 0 32px; padding: 0; }
.gh__mlist a { display: block; padding: 10px 0; color: #fff; font-size: 30px; font-weight: 700; letter-spacing: -0.025em; text-decoration: none; animation: gfade .5s var(--g-ease) both; animation-delay: calc(var(--i) * 30ms); }
.gh__mlist a[aria-current] { color: var(--accent-dark); }
.gh__mact { display: grid; gap: 12px; }
html.nav-open .gh { position: fixed; inset: 0 0 auto; background: var(--g-char); }
html.nav-open body { padding-top: var(--nav-h); overflow: hidden; }
@keyframes gfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (min-width: 1068px) {
  .gh__tabs { display: flex; }
  .gh__burger { display: none; }
  .gh__menu { display: none !important; }
}
@media (max-width: 420px) { .gw { height: 26px; } .gh__value { padding: 0 12px; font-size: 13px; } }

/* ---------------------------------------------------------------- buttons, labels */
.g-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--g-ease); }
.g-btn:hover { text-decoration: none; }
.g-btn:active { transform: scale(0.98); }
.g-btn .gi-ico { width: 18px; height: 18px; }
.g-btn--primary { background: var(--g-purple); color: #fff; }
.g-btn--primary:hover { background: var(--accent-hover); color: #fff; }
.g-btn--secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.g-btn--secondary:hover { border-color: var(--ink); color: var(--ink); }
.g-btn--light { background: #fff; color: var(--g-char); }
.g-btn--light:hover { background: #ece6f7; color: var(--g-char); }
.g-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.g-btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.32); }
.g-btn--ghost-light:hover, .g-btn--ghost:hover { border-color: #fff; color: #fff; }
.g-btn--block { width: 100%; }
.g-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.g-eyebrow { margin: 0 0 12px; color: var(--g-purple); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.g-eyebrow--light { color: var(--accent-dark); }
.g-label { margin: 0 0 20px; padding-top: 8px; color: var(--ink-3); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.g-label + .g-people { margin-bottom: 56px; }
.g-link { color: var(--accent-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.g-link .gi-ico { width: 18px; height: 18px; }
.gi-ico { width: 20px; height: 20px; flex: none; }

/* ---------------------------------------------------------------- sections */
.g-sec { padding: clamp(64px, 9vw, 128px) 0; }
.g-sec--gray { background: #f5f5f7; }
.g-sec--dark { background: var(--g-char); color: var(--g-on-dark); background-image: var(--g-glow); }
.g-sec--dark .g-sh__title { color: #fff; }
.g-sec--dark .g-sh__lead { color: var(--g-on-dark-2); }
.g-sec--dark .g-eyebrow { color: var(--accent-dark); }
.g-sh { max-width: 760px; margin: 0 0 clamp(32px, 4vw, 56px); }
.g-sh--center { margin-left: auto; margin-right: auto; text-align: center; }
.g-sh__title { margin: 0; color: var(--ink); font-size: clamp(32px, 4.4vw, 56px); font-weight: 700; line-height: 1.06; letter-spacing: -0.032em; text-wrap: balance; }
.g-sh__title--sm { font-size: clamp(26px, 3vw, 36px); margin-bottom: 24px; }
/* One sentence of a heading per line (lib/brand.js headingLines). */
.g-line { display: block; }
.g-sh__lead { margin: 16px 0 0; color: var(--ink-3); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; text-wrap: pretty; }
.g-rowhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.g-rowhead .g-sh { margin: 0; }
.g-rowhead__more { flex: none; color: var(--accent-ink); font-weight: 600; white-space: nowrap; }
.g-sec--dark .g-rowhead__more { color: var(--accent-dark); }
.g-more { margin: 32px 0 0; text-align: center; }
.g-more a { color: var(--accent-ink); font-weight: 600; }
@media (max-width: 733px) { .g-rowhead { flex-direction: column; align-items: flex-start; gap: 12px; } }

/* ---------------------------------------------------------------- page hero (charcoal) */
.g-hero { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 136px) 0 clamp(64px, 8vw, 112px); background: var(--g-char); color: #fff; background-image: var(--g-glow); }
.g-hero__inner { display: grid; gap: 48px; align-items: center; }
.g-hero--media .g-hero__inner { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .g-hero--media .g-hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; } }
.g-hero__text { max-width: 820px; }
.g-hero .g-eyebrow { color: var(--accent-dark); }
.g-hero__title { margin: 0; font-size: clamp(44px, 7vw, 92px); font-weight: 750; line-height: 1.0; letter-spacing: -0.042em; text-wrap: balance; animation: grise .9s var(--g-ease) both; }
.g-hero__lead { max-width: 640px; margin: 24px 0 0; color: var(--g-on-dark-2); font-size: clamp(19px, 1.8vw, 23px); line-height: 1.45; animation: grise .9s .08s var(--g-ease) both; }
.g-hero .g-actions { margin-top: 36px; animation: grise .9s .16s var(--g-ease) both; }
.g-hero__fig { margin: 0; animation: grise 1s .1s var(--g-ease) both; }
.g-hero__fig img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--g-r-l); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.g-hero__fig figcaption { margin-top: 12px; color: var(--g-on-dark-2); font-size: 13px; }
@keyframes grise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .g-hero__title, .g-hero__lead, .g-hero .g-actions, .g-hero__fig, .gh__mlist a { animation: none; } }

/* ---------------------------------------------------------------- home hero (photo) */
.gx-hero { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: min(86vh, 860px); padding: clamp(96px, 12vw, 160px) 0 clamp(88px, 10vw, 140px); overflow: hidden; background: var(--g-char); color: #fff; isolation: isolate; }
.gx-hero__bg { position: absolute; inset: 0; z-index: -1; }
.gx-hero__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: gzoom 14s ease-out both; }
.gx-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 14, 16, 0.55) 0%, rgba(14, 14, 16, 0.35) 40%, rgba(14, 14, 16, 0.86) 100%), radial-gradient(900px 500px at 20% 40%, rgba(20, 10, 40, 0.55), transparent 70%); }
@keyframes gzoom { from { transform: scale(1.1); } to { transform: scale(1.02); } }
.gx-hero__inner { position: relative; }
.gx-hero__title { max-width: 980px; margin: 0; font-size: clamp(46px, 8vw, 108px); font-weight: 750; line-height: 0.98; letter-spacing: -0.045em; text-wrap: balance; animation: grise .9s var(--g-ease) both; }
.gx-hero__title span { color: rgba(255, 255, 255, 0.72); }
.gx-hero__lead { max-width: 620px; margin: 24px 0 0; color: rgba(255, 255, 255, 0.82); font-size: clamp(19px, 1.8vw, 23px); line-height: 1.45; animation: grise .9s .08s var(--g-ease) both; }
.gx-hero__search { max-width: 760px; margin-top: 36px; animation: grise .9s .16s var(--g-ease) both; }
.gx-hero__search .sb { margin: 0; }
.gx-hero__search .sb__form { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); }
.gx-hero__quick { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; }
.gx-hero__quick a { color: rgba(255, 255, 255, 0.86); font-size: 15px; font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); padding-bottom: 2px; }
.gx-hero__quick a:hover { color: #fff; border-color: #fff; }
/* The home search, after blacksburg.realestate's (founder 2026-11-12): the hint under the bar, then the category row
   and the newest homes on white, in the shared .cats and .crow pieces. */
.gx-hero__search .sb__hint { margin-top: 14px; text-align: left; color: rgba(255, 255, 255, 0.72); }
.g-cats { padding: clamp(4px, 1vw, 12px) 0 0; background: #fff; }
.g-cats .cats { max-width: 1240px; }
.g-newest { padding-bottom: clamp(56px, 7vw, 96px); }
.gx-hero__credit { position: absolute; right: var(--gutter); bottom: 16px; left: var(--gutter); margin: 0; color: rgba(255, 255, 255, 0.66); font-size: 12px; text-align: right; }
.gx-hero__credit a { color: rgba(255, 255, 255, 0.86); }
@media (prefers-reduced-motion: reduce) { .gx-hero__img, .gx-hero__title, .gx-hero__lead, .gx-hero__search { animation: none; } }

/* ---------------------------------------------------------------- proof (company figures) */
.g-band { padding: clamp(36px, 5vw, 56px) 0; }
.g-band--proof { background: #fff; border-bottom: 1px solid #ececf0; }
.g-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; }
.g-proof > div { padding: 4px 0 4px 24px; border-left: 2px solid var(--g-purple); }
.g-proof dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.g-proof dd { margin: 0; }
.g-proof__n { display: block; color: var(--ink); font-size: clamp(32px, 4.6vw, 60px); font-weight: 750; line-height: 1; letter-spacing: -0.04em; }
.g-proof__l { display: block; margin-top: 8px; color: var(--ink-3); font-size: 16px; }
@media (max-width: 733px) { .g-proof { gap: 12px; } .g-proof > div { padding-left: 10px; } .g-proof__n { font-size: clamp(22px, 7vw, 32px); } .g-proof__l { font-size: 13px; } }

/* ---------------------------------------------------------------- our listings (premium cards) */
.g-ours { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 734px) { .g-ours { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .g-ours { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-ours .g-our--big { grid-column: span 2; grid-row: span 2; }
  .g-ours--n1 { grid-template-columns: 1fr; }
  .g-ours--n2 { grid-template-columns: 1fr 1fr; }
  .g-ours--n1 .g-our, .g-ours--n2 .g-our { min-height: 520px; }
  .g-ours--three .g-our--big, .g-ours--all .g-our--big { grid-row: span 1; }
}
.g-our { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--g-r); background: var(--g-char); color: #fff; text-decoration: none; isolation: isolate; min-height: 340px; box-shadow: 0 1px 2px rgba(0,0,0,.06); transition: transform .5s var(--g-ease), box-shadow .5s var(--g-ease); }
.g-our:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(20, 10, 40, 0.22); text-decoration: none; }
.g-our__media { position: absolute; inset: 0; z-index: -1; }
.g-our__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--g-ease); }
.g-our:hover .g-our__img { transform: scale(1.04); }
.g-our__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(10,10,12,0.82) 100%); }
.g-our__badge { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.92); color: var(--g-char); font-size: 13px; font-weight: 600; }
.g-our__badge--open { background: var(--g-purple); color: #fff; }
.g-our__body { display: grid; gap: 4px; margin-top: auto; padding: 24px; }
.g-our__price { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.g-our--big .g-our__price { font-size: clamp(28px, 3vw, 40px); }
.g-our--big { min-height: 440px; }
@media (min-width: 1000px) { .g-our--big { min-height: 600px; } .g-ours--three .g-our--big, .g-ours--all .g-our--big { min-height: 340px; } }
.g-our__facts { color: rgba(255,255,255,0.86); font-size: 15px; }
.g-our__addr { color: #fff; font-size: 16px; font-weight: 500; }
.g-our__office { color: rgba(255,255,255,0.7); font-size: 12px; }
.g-empty { color: var(--ink-3); font-size: 19px; }

/* ---------------------------------------------------------------- split (text + media) */
.g-split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .g-split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; } }
.g-split__text .g-sh { margin-bottom: 28px; }
.g-map { position: relative; overflow: hidden; aspect-ratio: auto; width: 100%; border-radius: var(--g-r); background: #e9e9ee; }
.g-map--office { height: 320px; margin-top: 32px; }
.g-sec--dark .g-map { background: #24242a; box-shadow: 0 30px 80px rgba(0,0,0,0.45); }
.g-map .map__fallback { padding: 24px; color: var(--ink-3); }

/* ---------------------------------------------------------------- sell / buy panels */
.g-duo { display: grid; gap: 20px; }
@media (min-width: 834px) { .g-duo { grid-template-columns: 1fr 1fr; } }
.g-panel { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 360px; padding: clamp(28px, 3.4vw, 48px); border-radius: var(--g-r-l); background: #f5f5f7; color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .5s var(--g-ease), box-shadow .5s var(--g-ease); }
.g-panel:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,0.10); text-decoration: none; }
.g-panel--sell { background: var(--g-char); color: #fff; background-image: var(--g-glow); }
.g-panel__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--g-purple); color: #fff; }
.g-panel--buy .g-panel__icon { background: var(--g-char); }
.g-panel__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.g-panel__eyebrow { margin-top: 12px; color: var(--g-purple); font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.g-panel--sell .g-panel__eyebrow { color: var(--accent-dark); }
.g-panel__title { font-size: clamp(26px, 2.8vw, 36px); font-weight: 700; line-height: 1.1; letter-spacing: -0.028em; }
.g-panel__text { max-width: 480px; color: var(--ink-3); font-size: 17px; line-height: 1.5; }
.g-panel--sell .g-panel__text { color: var(--g-on-dark-2); }
.g-panel__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; font-weight: 600; color: var(--accent-ink); }
.g-panel--sell .g-panel__more { color: var(--accent-dark); }
.g-panel__more .gi-ico { width: 18px; height: 18px; transition: transform .3s var(--g-ease); }
.g-panel:hover .g-panel__more .gi-ico { transform: translateX(4px); }
.g-valueband { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 20px; padding: 28px clamp(24px, 3.4vw, 48px); border-radius: var(--g-r-l); background: var(--g-purple-soft); }
.g-valueband__title { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.g-valueband__text { margin: 6px 0 0; color: var(--ink-2); }

/* ---------------------------------------------------------------- people */
.g-people { display: grid; gap: 28px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 734px) { .g-people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1068px) { .g-people { grid-template-columns: repeat(4, minmax(0, 1fr)); } .g-people--row { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 733px) { .g-people--row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; gap: 14px; scrollbar-width: none; } .g-people--row .g-person { flex: 0 0 44%; scroll-snap-align: start; } }
.g-person { display: flex; flex-direction: column; gap: 14px; color: var(--ink); text-decoration: none; }
.g-person:hover { text-decoration: none; }
.g-shot { position: relative; display: block; overflow: hidden; border-radius: var(--g-r); background: #e8e8ed; aspect-ratio: 4 / 5; }
.g-shot img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1)); transition: transform .8s var(--g-ease), filter .6s; }
.g-person:hover .g-shot img { transform: scale(calc(var(--z, 1) * 1.04)); }
.g-shot--mini { width: 72px; height: 72px; aspect-ratio: 1; border-radius: 50%; }
.g-shot--large { border-radius: var(--g-r-l); }
.g-person__body { display: grid; gap: 2px; }
.g-person__name { font-size: 19px; font-weight: 650; letter-spacing: -0.015em; }
.g-person__title { color: var(--ink-3); font-size: 15px; }
.g-person__tag { justify-self: start; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--g-purple-soft); color: var(--accent-ink); font-size: 13px; font-weight: 600; }

/* ---------------------------------------------------------------- one person */
.g-agent { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); background: var(--g-char); color: #fff; background-image: var(--g-glow); }
.g-agent__inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .g-agent__inner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; } }
.g-agent__photo { max-width: 460px; }
.g-agent__photo .g-shot { box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.g-crumbs a { color: var(--accent-dark); font-size: 15px; font-weight: 600; }
.g-agent__name { margin: 12px 0 0; font-size: clamp(42px, 6vw, 80px); font-weight: 750; line-height: 1; letter-spacing: -0.042em; }
.g-agent__title { margin: 14px 0 0; color: var(--g-on-dark-2); font-size: 19px; }
.g-agent__bio { max-width: 620px; margin-top: 28px; }
.g-agent__bio p { margin: 0 0 14px; color: rgba(255,255,255,.88); font-size: 19px; line-height: 1.55; }
.g-agent__note { color: var(--g-on-dark-2); }
.g-agent__note a { color: var(--accent-dark); }
.g-contact { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.g-agent .g-btn--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.g-agent .g-btn--secondary:hover { border-color: #fff; }

/* ---------------------------------------------------------------- pillars, timeline, faq */
.g-pillars { display: grid; gap: 20px; }
@media (min-width: 834px) { .g-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.g-pillar { padding: clamp(24px, 2.8vw, 36px); border-radius: var(--g-r); background: #f5f5f7; }
.g-sec--gray .g-pillar { background: #fff; }
.g-sec--dark .g-pillar { background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.g-sec--dark .g-pillar__title { color: #fff; }
.g-sec--dark .g-pillar__text { color: var(--g-on-dark-2); }
.g-sec--dark .g-pillar__icon { background: var(--accent); }
.g-pillar__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; background: var(--g-char); color: #fff; }
.g-pillar__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.g-pillar__title { margin: 0 0 10px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.g-pillar__text { margin: 0; color: var(--ink-3); font-size: 17px; line-height: 1.5; }
.g-tl { position: relative; margin: 0; padding: 0; list-style: none; }
.g-tl::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 21px; width: 2px; background: linear-gradient(var(--g-purple), rgba(127, 41, 222, 0.15)); }
.g-tl__step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 24px; padding: 0 0 36px; }
.g-tl__step:last-child { padding-bottom: 0; }
.g-tl__dot { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--g-purple); color: #fff; font-weight: 700; box-shadow: 0 0 0 6px var(--g-char); }
.g-tl__when { margin: 0; color: var(--accent-dark); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.g-tl__title { margin: 6px 0 8px; color: #fff; font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -0.02em; }
.g-tl__text { margin: 0; max-width: 620px; color: var(--g-on-dark-2); font-size: 17px; line-height: 1.55; }
.g-faq { max-width: 860px; }

/* ---------------------------------------------------------------- forms */
.g-form { padding: clamp(24px, 3vw, 40px); border-radius: var(--g-r-l); background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 20px 60px rgba(20, 10, 40, 0.08); border: 1px solid #ececf0; }
.g-form__title { display: block; margin: 0 0 8px; padding: 0; font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.022em; }
.g-form__lead { margin: 0 0 20px; color: var(--ink-3); }
.g-form__fine { margin: 14px 0 0; color: var(--ink-3); font-size: 13px; }
.g-form .field { margin-bottom: 14px; }
.g-form .g-btn--primary { margin-top: 8px; }
.g-form input:focus, .g-form select:focus, .g-form textarea:focus { outline: 2px solid var(--g-purple); outline-offset: 1px; border-color: var(--g-purple); }
.g-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.g-formsplit { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .g-formsplit { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; } }
.g-formsplit__alt { color: var(--ink-3); font-size: 17px; }
.g-formsplit__alt a { color: var(--accent-ink); font-weight: 600; }

/* home value */
.g-hv { padding-top: clamp(40px, 5vw, 72px); }
.g-hv__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .g-hv__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 72px; } .g-hvform { margin-top: calc(-1 * clamp(96px, 10vw, 140px)); position: relative; z-index: 2; } }
.g-steps { display: none; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; counter-reset: s; }
.g-hvform.is-steps .g-steps { display: flex; }
.g-steps li { flex: 1; padding-top: 10px; border-top: 3px solid #e5e5ea; color: var(--ink-3); font-size: 13px; font-weight: 600; transition: border-color .3s, color .3s; }
.g-steps li.is-on { border-color: var(--g-purple); color: var(--ink); }
.g-hvform__step + .g-hvform__step { margin-top: 28px; }
.g-hvform.is-steps .g-hvform__step + .g-hvform__step { margin-top: 0; }
.g-hvform.is-steps .g-hvform__step:not([hidden]) { animation: gfade .4s var(--g-ease) both; }
.g-hvform [data-step-next], .g-hvform [data-step-back] { display: none; }
.g-hvform.is-steps [data-step-next], .g-hvform.is-steps [data-step-back] { display: inline-flex; }
.g-hvform__btns { display: flex; gap: 12px; }
.g-form__ack { line-height: 1.5; }
/* Even spacing down the home value form at every width: a two-across row stacks to one column on a phone. */
.g-hvform .field-row { row-gap: 14px; margin-bottom: 14px; }
.g-hvform .field-row .field { margin-bottom: 0; }
.g-hvform__btns .g-btn { white-space: nowrap; }
@media (max-width: 420px) { .g-hvform__btns .g-btn--secondary { padding: 0 18px; } .g-hvform__btns .g-btn--primary { padding: 0 14px; } }
/* Address suggestions under the street box (public/js/gravity.js): a pin, the street, then the town and ZIP. */
.g-addr { position: relative; }
.addr__list { position: absolute; z-index: 30; top: 100%; left: 0; right: 0; max-height: min(372px, 56vh); margin: 6px 0 0; padding: 6px; overflow: auto; overscroll-behavior: contain; list-style: none; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.06), 0 18px 48px rgba(20, 10, 40, 0.18); }
.addr__list[hidden] { display: none; }
.addr__opt { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 10px; border-radius: 12px; cursor: pointer; }
.addr__opt.is-active { background: #f4f4f6; }
.addr__pin { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--g-purple-soft); color: var(--g-purple); }
.addr__text { display: grid; gap: 1px; min-width: 0; }
.addr__main { overflow: hidden; color: var(--ink); font-size: 16px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.addr__sub { color: var(--ink-3); font-size: 14px; }
.g-hvform__btns .g-btn--primary { flex: 1; margin-top: 0; }
.g-hv__h { margin: 0 0 20px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.g-checks { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.g-checks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 17px; line-height: 1.5; }
.g-checks .gi-ico { width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: var(--g-purple-soft); color: var(--g-purple); stroke-width: 2.2; }
.g-checks--light li { color: rgba(255,255,255,.88); }
.g-checks--light .gi-ico { background: rgba(127, 41, 222, 0.3); color: #e6d6ff; }
.g-hv__call { margin-top: 28px; color: var(--ink-3); }
.g-hv__call a { color: var(--accent-ink); font-weight: 600; }

/* ---------------------------------------------------------------- join */
.g-plans { display: grid; gap: 20px; max-width: 920px; margin: 0 auto; }
@media (min-width: 734px) { .g-plans { grid-template-columns: 1fr 1fr; } }
.g-plan { padding: clamp(28px, 3.4vw, 44px); border-radius: var(--g-r-l); background: #f5f5f7; }
.g-plan--lead { background: var(--g-char); color: #fff; background-image: var(--g-glow); }
.g-plan__name { margin: 0; color: var(--g-purple); font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.g-plan--lead .g-plan__name { color: var(--accent-dark); }
.g-plan__price { margin: 14px 0 0; font-size: 19px; color: var(--ink-3); }
.g-plan--lead .g-plan__price { color: var(--g-on-dark-2); }
.g-plan__price span { color: var(--ink); font-size: clamp(56px, 7vw, 80px); font-weight: 750; letter-spacing: -0.045em; margin-right: 6px; }
.g-plan--lead .g-plan__price span { color: #fff; }
.g-plan__deal { margin: 6px 0 0; font-size: 18px; font-weight: 600; }
.g-plan__keep { display: inline-block; margin: 24px 0 0; padding: 6px 14px; border-radius: 999px; background: var(--g-purple); color: #fff; font-weight: 700; }
.g-included__lead { max-width: 920px; margin: 48px auto 0; color: var(--ink); font-size: clamp(19px, 1.7vw, 22px); font-weight: 600; line-height: 1.4; letter-spacing: -0.012em; text-wrap: pretty; }
.g-included__lead a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.g-included { display: grid; gap: 14px 32px; max-width: 920px; margin: 24px auto 32px; padding: 0; list-style: none; }
.g-more { margin: 28px 0 0; }
.g-link--light { color: var(--accent-dark); }
.g-band--private { background: #f5f5f7; }
.g-band--private-dark { background: var(--g-char); background-image: var(--g-glow); color: var(--g-on-dark); }
.g-band--private-dark .g-cta__title { color: #fff; }
.g-band--private-dark .g-cta__text { color: var(--g-on-dark-2); }
.g-claim { max-width: 900px; margin: 0 auto 36px; text-align: center; font-size: clamp(22px, 2.6vw, 32px); font-weight: 650; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.g-claim strong { color: var(--g-purple); font-weight: inherit; }
@media (min-width: 834px) { .g-pillars--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; margin: 0 auto; } }
.g-band--ownbrand { background: #fff; border-top: 1px solid #ececf0; border-bottom: 1px solid #ececf0; }
@media (min-width: 734px) { .g-included { grid-template-columns: 1fr 1fr; } }
.g-included li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; font-size: 17px; line-height: 1.45; color: var(--ink-2); }
.g-included .gi-ico { width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: var(--g-purple-soft); color: var(--g-purple); stroke-width: 2.2; }
.g-included strong { color: var(--ink); }
.g-chat { display: flex; flex-direction: column; gap: 10px; max-width: 440px; margin: 0 auto; padding: 28px; border-radius: 36px; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08); }
.g-chat__label { margin: 0 0 8px; color: var(--g-on-dark-2); font-size: 12px; text-align: center; }
.g-chat p { margin: 0; font-size: 16px; line-height: 1.38; }
.g-chat__me { align-self: flex-end; max-width: 78%; padding: 10px 14px; border-radius: 20px 20px 6px 20px; background: #0a84ff; color: #fff; }
.g-chat__ez { align-self: flex-start; max-width: 82%; padding: 10px 14px; border-radius: 20px 20px 20px 6px; background: #2c2c30; color: #f5f5f7; }

/* ---------------------------------------------------------------- join band, CTA */
.g-sec--join { background: linear-gradient(120deg, #2a0d52 0%, var(--g-char) 55%); color: #fff; padding: clamp(56px, 7vw, 96px) 0; }
.g-joinband { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.g-joinband__title { margin: 0; font-size: clamp(32px, 4.4vw, 56px); font-weight: 750; letter-spacing: -0.035em; line-height: 1.04; }
.g-joinband__text { max-width: 560px; margin: 14px 0 0; color: var(--g-on-dark-2); font-size: 19px; }
.g-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.g-cta__title { margin: 0; font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -0.028em; }
.g-cta__text { max-width: 560px; margin: 10px 0 0; color: var(--ink-3); font-size: 18px; }

/* ---------------------------------------------------------------- about */
.g-quote blockquote { margin: 0; text-align: center; }
.g-quote p { margin: 0; color: #fff; font-size: clamp(30px, 4.4vw, 56px); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; }
.g-quote footer { margin-top: 24px; color: var(--accent-dark); font-weight: 600; }
/* The office photo (lib/parts.js officePhoto): a wide band on About and Join, a 4:3 picture on Contact. */
.g-photo { margin: 0 0 clamp(36px, 5vw, 64px); }
.g-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 62%; border-radius: var(--g-r-l); background: #ececf0; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 30px 70px -28px rgba(20, 10, 40, 0.4); }
/* About: the photo as a wide band across the foot of the dark hero (the hero keeps room for it below its buttons). */
.g-hero--over { padding-bottom: clamp(104px, 12vw, 176px); }
.g-photoband { position: relative; z-index: 1; margin-top: calc(-1 * clamp(40px, 6vw, 96px)); }
.g-photo--band { margin: 0; }
.g-photo--band img { box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 50px 100px -30px rgba(20, 10, 40, 0.55); }
@media (min-width: 1200px) { .g-photo--band img { aspect-ratio: 2 / 1; } }
@media (max-width: 599px) { .g-photo--band img { aspect-ratio: 4 / 3; } }
.g-photo--card { margin: 28px 0 0; }
.g-photo--card img { aspect-ratio: 4 / 3; }
.g-photo--after { margin: clamp(36px, 5vw, 64px) 0 0; }
.g-photo figcaption { margin-top: 10px; color: var(--ink-3); font-size: 14px; }
.g-office { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .g-office { grid-template-columns: 1fr 1fr; gap: 72px; } .g-office .g-map--office { margin-top: 0; height: 400px; } }
.g-office__addr { margin: 20px 0 28px; font-style: normal; font-size: 21px; line-height: 1.45; }
.g-office__note { margin-top: 24px; color: var(--ink-3); }
.g-contactinfo .g-office__addr { margin-top: 0; }
.g-contactinfo__alt { color: var(--ink-3); }
.g-contactinfo__alt a { color: var(--accent-ink); font-weight: 600; }

/* ---------------------------------------------------------------- buy search band */
.g-band--search { background: #f5f5f7; }
.g-band--search .search { max-width: 760px; margin: 0 auto; }
.g-band--search .chips { justify-content: center; margin-top: 16px; }

/* ---------------------------------------------------------------- premium listing page */
.g-premium .lst-head__price { letter-spacing: -0.03em; }
.g-lagent { display: flex; align-items: center; gap: 16px; margin: 24px 0 0; padding: 16px 20px; border-radius: var(--g-r); background: var(--g-char); color: #fff; background-image: var(--g-glow); }
.g-lagent__photo { flex: none; }
.g-lagent__eyebrow { margin: 0; color: var(--accent-dark); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.g-lagent__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 2px 0 0; font-size: 19px; font-weight: 650; }
.g-lagent__name a { color: #fff; }
.g-lagent__name span { color: var(--g-on-dark-2); font-size: 14px; font-weight: 400; }
.g-lagent__links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 6px 0 0; }
.g-lagent__links a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-dark); font-size: 15px; font-weight: 600; }
.g-lagent__links .gi-ico { width: 16px; height: 16px; }
.g-tour__grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.g-tour__item { margin: 0; overflow: hidden; border-radius: 16px; background: #e8e8ed; aspect-ratio: 4 / 3; }
.g-tour__item--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.g-tour__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-tour__more { margin: 14px 0 0; color: var(--ink-3); font-size: 15px; }
.g-around__note { margin: 14px 0 0; color: var(--ink-3); font-size: 14px; }

/* ---------------------------------------------------------------- shared pieces in the brand */
.brand-gravity .btn--primary { background: var(--g-purple); }
.brand-gravity .btn--primary:hover { background: var(--accent-hover); }
.brand-gravity .subnav { top: 0; }
/* The not-found page draws the shared app's generated lockup; GRAVITY shows its own logo in the header only. */
.brand-gravity .nf__logo { display: none; }
.brand-gravity .idx-note { background: #fff; }

/* ---------------------------------------------------------------- footer */
.gf { padding: clamp(56px, 7vw, 88px) 0 32px; background: var(--g-char); color: var(--g-on-dark-2); font-size: 15px; }
.gf a { color: rgba(255,255,255,.82); text-decoration: none; }
.gf a:hover { color: #fff; text-decoration: underline; }
.gf__top { display: grid; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--g-line-dark); }
@media (min-width: 900px) { .gf__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 72px; } }
.gw--foot { height: 34px; }
.gf__tag { margin: 16px 0 20px; color: var(--g-on-dark-2); }
.gf__office { font-style: normal; line-height: 1.6; color: rgba(255,255,255,.82); }
.gf__dir { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 734px) { .gf__dir { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gf__h { margin: 0 0 14px; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.gf__col ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.gf__col a { display: inline-block; padding: 4px 0; }
.gf__legal { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px 32px; padding-top: 24px; font-size: 13px; }
.gf__legal p { margin: 0; }
.gf__legal .gf__made { margin-top: 6px; }
.gf__links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 10px 0 0; padding: 0; list-style: none; }
.gf__links a { display: inline-block; padding: 4px 0; color: var(--g-on-dark-2); }
.gf__eho { display: flex; align-items: center; gap: 10px; color: var(--g-on-dark-2); }
.gf__eho .eho__logo { width: 28px; height: 28px; color: #fff; }

/* proof, rich: the company figures as a statement (home band, about) */
.g-proof--rich { gap: clamp(20px, 3vw, 40px); }
.g-proof--rich > div { padding: 28px 0 0; border-left: 0; border-top: 2px solid var(--g-purple); }
.g-proof--rich .g-proof__n { font-size: clamp(44px, 5.4vw, 84px); letter-spacing: -0.045em; white-space: nowrap; }
.g-proof--rich .g-proof__l { margin-top: 12px; color: var(--ink); font-size: 19px; font-weight: 600; }
.g-proof__more { display: block; margin-top: 8px; color: var(--ink-3); font-size: 16px; line-height: 1.45; }
.g-band--statement { padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid #ececf0; }
@media (max-width: 733px) { .g-proof--rich { grid-template-columns: 1fr; gap: 28px; } .g-proof--rich .g-proof__n { font-size: 56px; } .g-proof--rich .g-proof__l { font-size: 17px; } }

/* Listing alerts (pages/alerts.js; founder 2026-11-12: "it should feel like using airbnb"): one calm card, one
   question per section, big rounded controls. */
.ga-hero { padding: clamp(40px, 6vw, 76px) 0 clamp(24px, 3vw, 36px); background: #fff; }
.ga-hero__inner { max-width: 1240px; }
.ga-hero__title { margin: 0; font-size: clamp(38px, 5.2vw, 60px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; }
.ga-hero__lead { margin: 16px 0 0; max-width: 640px; color: var(--ink-3); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.5; }
.ga-body { padding: 0 0 clamp(56px, 8vw, 104px); background: #fff; }
.ga-grid { display: grid; gap: 44px; align-items: start; }
@media (min-width: 1000px) { .ga-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 72px; } .ga-next { position: sticky; top: 104px; } }
.brand-gravity .ga-card { display: block; padding: 4px clamp(20px, 3vw, 36px) 0; border: 1px solid #e4e4e8; border-radius: var(--g-r-l); background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05), 0 24px 64px rgba(0, 0, 0, 0.07); }
/* A fieldset draws its legend on its top edge, above its padding, so the space over each title is the title's own. */
.brand-gravity .ga-sec { display: block; min-width: 0; margin: 0; padding: 0 0 28px; border: 0; border-bottom: 1px solid #ebebee; }
.brand-gravity .ga-sec--you { border-bottom: 0; padding-bottom: 4px; }
.ga-sec__title, .brand-gravity .ga-sec .tp > legend { display: block; float: none; width: 100%; margin: 0 0 16px; padding: 26px 0 0; color: var(--ink); font-size: 22px; font-weight: 600; letter-spacing: -0.018em; line-height: 1.2; }
.ga-sec__hint { margin: -8px 0 16px; color: var(--ink-3); font-size: 15px; }
.ga-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ga-stack { display: grid; gap: 12px; }
@media (min-width: 640px) { .ga-stack { grid-template-columns: 1fr 1fr; } .ga-stack > :first-child { grid-column: 1 / -1; } }
.ga-box { position: relative; display: block; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px #b4b4ba; transition: box-shadow 0.15s; }
.ga-box:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.ga-box__label { position: absolute; top: 10px; left: 16px; color: var(--ink-3); font-size: 12px; font-weight: 500; line-height: 1.2; pointer-events: none; }
.brand-gravity .ga-box :is(input, select) { display: block; width: 100%; height: 62px; min-height: 0; margin: 0; padding: 26px 16px 8px; border: 0; border-radius: 14px; background-color: transparent; box-shadow: none; outline: 0; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.3; -webkit-appearance: none; appearance: none; }
.brand-gravity .ga-box select { padding-right: 44px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141416' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat; cursor: pointer; }
.ga-pills { gap: 10px; }
.ga-pills .check-pill span { min-height: 44px; padding: 8px 22px; box-shadow: inset 0 0 0 1px #d2d2d7; font-size: 15px; font-weight: 500; }
.ga-pills .check-pill:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
.ga-pills .check-pill input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.ga-pills .check-pill input:focus-visible + span { outline: 2px solid var(--g-purple); outline-offset: 2px; }
@media (max-width: 560px) { .ga-pills--six { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; } .ga-pills--six .check-pill span { display: flex; justify-content: center; padding: 8px 0; } }
.ga-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .ga-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ga-tile { position: relative; display: block; cursor: pointer; }
.ga-tile input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ga-tile__in { display: grid; align-content: space-between; gap: 22px; min-height: 108px; padding: 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px #d2d2d7; color: var(--ink); font-size: 16px; font-weight: 500; transition: box-shadow 0.15s, background-color 0.15s; }
.ga-tile__in .icon { width: 28px; height: 28px; }
.ga-tile:hover .ga-tile__in { box-shadow: inset 0 0 0 1px var(--ink); }
.ga-tile input:checked + .ga-tile__in { background: #f7f7f8; box-shadow: inset 0 0 0 2px var(--ink); }
.ga-tile input:focus-visible + .ga-tile__in { outline: 2px solid var(--g-purple); outline-offset: 2px; }
.ga-foot { padding: 24px 0 28px; }
.brand-gravity .ga-submit { width: 100%; min-height: 56px; margin: 0; border-radius: 14px; font-size: 17px; }
.ga-foot .form__status:not(:empty) { margin: 12px 0 0; text-align: center; }
.ga-foot .form__note { margin: 12px 0 0; text-align: center; }
.ga-next__title { margin: 0 0 22px; font-size: 22px; font-weight: 600; letter-spacing: -0.018em; }
.ga-steps { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: ga; }
.ga-steps li { position: relative; min-height: 40px; padding-left: 56px; color: var(--ink-3); font-size: 16px; line-height: 1.5; counter-increment: ga; }
.ga-steps li::before { content: counter(ga); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #f2f2f4; color: var(--ink); font-weight: 600; }
.ga-steps strong { display: block; color: var(--ink); font-weight: 600; }
.ga-next__label { margin: 36px 0 12px; color: var(--ink-3); font-size: 13px; font-weight: 600; }
.ga-now { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ga-now a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px #d2d2d7; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.ga-now a:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.ga-now span { color: var(--ink-3); font-weight: 400; }
.ga-card .form__success { margin: 28px 0 32px; }

/* The town search (web/lib/town-pick.js, /js/town-pick.js): a search box, suggestions under it, a chip per town.
   Without the script (no .is-on) it is a short scrolling checklist. */
.brand-gravity .tp { position: relative; display: block; min-width: 0; margin: 0; padding: 0; border: 0; }
.tp__box { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 64px; padding: 11px 16px 11px 54px; border-radius: 32px; background: #fff; box-shadow: inset 0 0 0 1px #d2d2d7, 0 3px 10px rgba(0, 0, 0, 0.06), 0 10px 28px rgba(0, 0, 0, 0.06); cursor: text; transition: box-shadow 0.2s; }
.tp__box:focus-within { box-shadow: inset 0 0 0 2px var(--ink), 0 3px 10px rgba(0, 0, 0, 0.06), 0 10px 28px rgba(0, 0, 0, 0.08); }
.tp__ico { position: absolute; top: 21px; left: 22px; display: block; width: 22px; height: 22px; color: var(--ink); }
.tp__ico .icon { display: block; width: 22px; height: 22px; }
.tp__chips { display: contents; margin: 0; padding: 0; list-style: none; }
.tp__chip { display: inline-flex; align-items: center; gap: 2px; min-height: 38px; padding: 4px 5px 4px 15px; border-radius: 999px; background: var(--g-purple-soft); color: #4a1691; font-size: 15px; font-weight: 600; white-space: nowrap; }
.tp__x { display: grid; place-items: center; width: 28px; height: 28px; padding: 0 0 2px; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.tp__x:hover, .tp__x:focus-visible { background: rgba(127, 41, 222, 0.18); outline: 0; }
.brand-gravity .tp .tp__input { flex: 1 1 150px; width: auto; min-width: 120px; height: 42px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: 0; color: var(--ink); font: inherit; font-size: 17px; -webkit-appearance: none; appearance: none; }
.tp__input::placeholder { color: var(--ink-3); opacity: 1; }
.tp.is-on .tp__panel { display: none; position: absolute; z-index: 30; left: 0; right: 0; max-height: min(430px, 62vh); margin-top: 8px; padding: 10px 8px; overflow: auto; overscroll-behavior: contain; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 12px 36px rgba(0, 0, 0, 0.2); }
.tp.is-on.is-open .tp__panel { display: block; }
.tp__head { margin: 6px 12px 8px; color: var(--ink-3); font-size: 13px; font-weight: 600; }
.tp__list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.tp__opt[hidden] { display: none; }
.tp.is-on .tp__opt .check { position: relative; display: flex; align-items: center; gap: 14px; padding: 8px 12px; border-radius: 14px; cursor: pointer; }
.tp.is-on .tp__opt .check input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tp.is-on .tp__opt:hover .check, .tp.is-on .tp__opt.is-active .check { background: #f4f4f6; }
.tp__pin { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 12px; background: #f0f0f3; color: var(--ink); }
.tp__pin .icon { width: 22px; height: 22px; }
.tp__text { display: grid; gap: 2px; min-width: 0; }
.tp__name { color: var(--ink); font-size: 16px; font-weight: 500; }
.tp__count { color: var(--ink-3); font-size: 14px; }
.tp__none { margin: 10px 12px; color: var(--ink-3); font-size: 15px; }
.brand-gravity .tp .field__hint { margin: 14px 4px 0; font-size: 14px; }
.tp:not(.is-on) .tp__box { display: none; }
.tp:not(.is-on) .tp__panel { max-height: 280px; padding: 6px 16px; overflow: auto; border: 1px solid #d2d2d7; border-radius: 16px; }
.tp:not(.is-on) .tp__pin { display: none; }
.tp:not(.is-on) .tp__opt { padding: 7px 0; }
.tp:not(.is-on) .tp__text { display: inline; }
.tp:not(.is-on) .tp__count { margin-left: 8px; }
@media (max-width: 560px) { .tp__box { min-height: 58px; padding-left: 48px; border-radius: 29px; } .tp__ico { top: 18px; left: 18px; } }

/* The Town control in the search bar (web/pages/search.js townControl, /js/town-filter.js): a pill to type in with
   the towns under it, where the town sites have their neighborhood menu. Without the script (no .is-on) it is the
   plain menu. */
.townf { position: relative; display: inline-flex; flex: none; }
.townf.is-on > .pill-select { display: none; }
.townf__box { position: relative; display: inline-flex; align-items: center; }
.townf__box::after { content: ""; position: absolute; right: 13px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; opacity: 0.7; }
.townf.is-set .townf__box::after { display: none; }
.brand-gravity .townf__input { width: 168px; height: 36px; min-height: 0; margin: 0; padding: 0 30px 0 14px; border: 0; border-radius: var(--pill); background: var(--bg-3); box-shadow: none; color: var(--ink); font: inherit; font-size: var(--t-small); line-height: 36px; text-overflow: ellipsis; cursor: pointer; -webkit-appearance: none; appearance: none; transition: background-color 0.2s; }
.townf__input::placeholder { color: var(--ink); opacity: 1; }
.brand-gravity .townf__input:hover { background: var(--line-2); }
.brand-gravity .townf__input:focus { outline: 0; background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); cursor: text; }
.townf__input:focus::placeholder { color: var(--ink-3); }
.brand-gravity .townf.is-set .townf__input:not(:focus) { background: var(--ink); color: var(--bg); }
.townf__clear { position: absolute; right: 5px; top: 50%; display: grid; place-items: center; width: 26px; height: 26px; margin-top: -13px; padding: 0 0 2px; border: 0; border-radius: 50%; background: transparent; color: var(--bg); font-size: 18px; line-height: 1; cursor: pointer; }
.townf__clear[hidden] { display: none; }
.townf__input:focus + .townf__clear { color: var(--ink); }
.townf__clear:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.townf__list { position: absolute; z-index: 40; top: calc(100% + 8px); right: 0; width: 300px; max-height: min(420px, 60vh); margin: 0; padding: 8px; overflow: auto; overscroll-behavior: contain; list-style: none; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 12px 36px rgba(0, 0, 0, 0.16); }
.townf__list[hidden] { display: none; }
.townf__opt { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--ink); font-size: 15px; line-height: 1.3; cursor: pointer; }
.townf__opt.is-active { background: #f4f4f6; }
.townf__opt[aria-selected="true"] .townf__name { font-weight: 600; }
.townf__n { flex: none; color: var(--ink-3); font-size: 13px; font-variant-numeric: tabular-nums; }
.townf__none { padding: 10px 12px; color: var(--ink-3); font-size: 14px; }
/* In the filter sheet (phones and tablets): the full width, and the towns in the flow under the box so the sheet scrolls. */
/* In the open sheet every menu is shown as a block (web listings.css); the Town box's own plain menu still stays hidden. */
html.js .filterbar.is-open .filterbar__row .townf.is-on > .pill-select { display: none; }
html.js .filterbar.is-open .filterbar__row .townf { display: block; grid-column: 1 / -1; }
html.js .filterbar.is-open .filterbar__row .townf__box { display: flex; }
html.js .brand-gravity .filterbar.is-open .filterbar__row .townf__input { width: 100%; height: 46px; padding-left: 16px; border-radius: var(--radius-s); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; line-height: 46px; }
html.js .brand-gravity .filterbar.is-open .filterbar__row .townf__input:focus, html.js .brand-gravity .filterbar.is-open .filterbar__row .townf.is-set .townf__input:not(:focus) { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
html.js .filterbar.is-open .filterbar__row .townf__clear { right: 10px; color: var(--ink); }
html.js .filterbar.is-open .filterbar__row .townf__list { position: static; width: auto; max-height: none; margin-top: 8px; border-radius: var(--radius-s); box-shadow: inset 0 0 0 1px var(--line); }
/* The Town box leading the open houses bar (.filterbar__lead, web listings.css): as wide as its place, and its towns
   open under its left edge. */
.filterbar__lead .townf { display: flex; }
.filterbar__lead .townf__box { flex: 1 1 auto; display: flex; min-width: 0; }
.brand-gravity .filterbar__lead .townf__input { width: 100%; height: 40px; line-height: 40px; font-size: 16px; }
.filterbar__lead .townf__list { left: 0; right: auto; width: max(100%, 280px); max-width: calc(100vw - 2 * var(--gutter)); }
@media (min-width: 1280px) {
  .brand-gravity .filterbar__lead .townf__input { width: 220px; font-size: var(--t-small); }
  .filterbar__lead .townf__list { width: 300px; }
}
