/* The McBride Team v2 — one stylesheet. Dark navy canvas, gold light, big type, glass. */
:root {
  --navy: #060644; --navy-deep: #04042f; --navy-ink: #0d0d5e; --navy-soft: #16167a;
  --gold: #B2995A; --gold-light: #d8c38a; --gold-glow: rgba(178,153,90,.55);
  --white: #fff; --mute: rgba(255,255,255,.66); --dim: rgba(255,255,255,.58);
  --line: rgba(255,255,255,.1); --line-strong: rgba(255,255,255,.22);
  --glass: rgba(255,255,255,.05); --glass-hover: rgba(255,255,255,.09);
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif; --serif: "Instrument Serif", Georgia, serif;
  --r: 22px; --r-sm: 14px; --r-pill: 999px;
  --wrap: 1280px; --gutter: clamp(1.1rem, 4vw, 3rem);
  --ease: cubic-bezier(.16, 1, .3, 1); --fast: 220ms; --base: 480ms;
  --header: 5.25rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--navy); color: var(--white); }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; background: var(--navy); color: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='.9'/></svg>"); }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin: 0 0 1rem; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 1.2rem + 7.6vw, 7.5rem); font-weight: 900; }
h2 { font-size: clamp(2.1rem, 1rem + 4.4vw, 4.6rem); }
h3 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); letter-spacing: -.02em; line-height: 1.1; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.serif.gold { color: var(--gold-light); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { display: inline-flex; align-items: center; gap: .75rem; font-weight: 700; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.5rem; }
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: var(--gold); }
.lede { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.55; color: var(--mute); max-width: 42ch; }
.mute { color: var(--mute); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: var(--navy); padding: .6rem 1rem; border-radius: var(--r-pill); font-weight: 700; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; border-radius: 6px; }
.banner { position: fixed; top: 0; left: 0; right: 0; z-index: 90; background: var(--gold); color: var(--navy); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: .35rem 1rem; }
body:has(.banner) { --banner: 1.6rem; }
body:not(:has(.banner)) { --banner: 0px; }

/* ---------- cursor glow (pointer devices) ---------- */
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 0; opacity: 0; background: radial-gradient(circle, rgba(178,153,90,.16) 0%, rgba(178,153,90,0) 60%); transition: opacity .6s var(--ease); }
@media (hover: hover) and (pointer: fine) { html.motion .cursor-glow { opacity: 1; } }

/* ---------- header ---------- */
.site-header { position: fixed; top: var(--banner); left: 0; right: 0; z-index: 60; transition: background var(--base) var(--ease), backdrop-filter var(--base) var(--ease), transform var(--base) var(--ease); }
.site-header.scrolled { background: rgba(6,6,68,.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--line); }
.site-header.hide { transform: translateY(-110%); }
.header-inner { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand img { width: 72px; height: 72px; border-radius: 10px; }
.nav { display: none; gap: 2rem; }
.nav a { font-weight: 600; font-size: .95rem; position: relative; padding: .4rem 0; color: var(--mute); transition: color var(--fast); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--fast) var(--ease); border-radius: 2px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: none; align-items: center; gap: 1.25rem; }
.link-quiet { font-weight: 600; font-size: .9rem; color: var(--mute); transition: color var(--fast); }
.link-quiet:hover { color: var(--white); }
@media (min-width: 1024px) { .nav, .header-cta { display: flex; } .menu-btn { display: none; } }
.menu-btn { display: inline-flex; align-items: center; gap: .6rem; background: transparent; border: 1px solid var(--line-strong); color: var(--white); border-radius: var(--r-pill); padding: .6rem 1rem; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; }
.menu-btn span:not(.menu-btn__label) { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--fast) var(--ease); }
.menu-btn span + span:not(.menu-btn__label) { margin-left: -18px; transform: translateY(5px); }
.menu-btn span:first-child { transform: translateY(-3px); }
.menu { position: fixed; inset: 0; z-index: 70; background: var(--navy-deep); padding-top: calc(var(--header) + var(--banner)); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-inner { padding-block: 2rem 4rem; display: grid; gap: 3rem; min-height: 100%; }
.menu nav { display: grid; gap: .25rem; }
.menu nav a { font-size: clamp(2.6rem, 2rem + 4vw, 4.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; padding: .35rem 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(.5em); }
.menu nav a.menu-small { font-size: 1.1rem; font-weight: 600; color: var(--mute); border-bottom: 0; padding: .5rem 0 0; }
.menu.open nav a { animation: menu-in .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
@keyframes menu-in { to { opacity: 1; transform: none; } }
.menu-foot { display: grid; gap: 1rem; color: var(--mute); }
body.menu-open { overflow: hidden; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.1rem; padding: .85rem 1.5rem; border-radius: var(--r-pill); font-weight: 700; font-size: .95rem; letter-spacing: .01em; border: 1px solid transparent; cursor: pointer; transition: transform var(--fast) var(--ease), background var(--fast), color var(--fast), border-color var(--fast), box-shadow var(--fast); will-change: transform; }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 0 0 0 rgba(178,153,90,0); }
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 12px 40px -12px var(--gold-glow); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--white); border-color: var(--line-strong); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }
.btn-lg { min-height: 3.6rem; padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn-arrow { transition: transform var(--fast) var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(5rem, 11vw, 10rem); }
.section-tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 900px) { .section-head { grid-template-columns: 7fr 5fr; align-items: end; } .section-head .lede { justify-self: end; margin-bottom: .4rem; } }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; opacity: .8; }
.glow-gold { background: radial-gradient(circle, rgba(178,153,90,.42), rgba(178,153,90,0) 65%); }
.glow-blue { background: radial-gradient(circle, rgba(70,70,220,.42), rgba(70,70,220,0) 65%); }
.section > .wrap { position: relative; z-index: 2; }
.hairline { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; padding-top: calc(var(--header) + var(--banner) + 2rem); padding-bottom: 0; overflow: hidden; background: var(--navy); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-grid { position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%); }
.hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(2rem, 6vw, 5rem); }
.hero-top { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .hero-top { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: end; } }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .serif { color: var(--gold-light); }
.hero-actions { margin-top: 2rem; }
.hero-card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: grid; gap: 1.1rem; }
.hero-card h2 { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin: 0; font-weight: 700; }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.hero-card li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: baseline; }
.hero-card b { font-family: var(--sans); font-weight: 900; font-size: 1.9rem; letter-spacing: -.04em; line-height: 1; min-width: 3.2ch; font-variant-numeric: tabular-nums; }
.hero-card span { color: var(--mute); font-size: .95rem; }
.hero-card small { color: var(--dim); font-size: .75rem; }
.scroll-cue { display: none; align-items: center; gap: .7rem; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); margin-top: 3rem; }
.scroll-cue i { display: block; width: 1px; height: 3rem; background: linear-gradient(var(--gold), transparent); transform-origin: top; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 900px) { .scroll-cue { display: flex; } }
.marquee { position: relative; z-index: 2; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 1.1rem 0; background: rgba(4,4,47,.5); backdrop-filter: blur(6px); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-weight: 700; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); white-space: nowrap; display: inline-flex; align-items: center; gap: 3rem; }
.marquee span::after { content: "✦"; color: var(--gold); font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- two doors ---------- */
.doors { display: grid; gap: 1.1rem; }
@media (min-width: 900px) { .doors { grid-template-columns: 1fr 1fr; } }
.door { position: relative; display: grid; align-content: end; min-height: clamp(22rem, 46vh, 32rem); padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); overflow: hidden; transition: border-color var(--base) var(--ease), transform var(--base) var(--ease); }
.door::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: -15%; top: -25%; border-radius: 50%; background: radial-gradient(circle, rgba(178,153,90,.35), rgba(178,153,90,0) 65%); filter: blur(40px); transition: transform var(--base) var(--ease), opacity var(--base); opacity: .7; }
.door--sell::before { background: radial-gradient(circle, rgba(90,90,230,.4), rgba(90,90,230,0) 65%); }
.door:hover { border-color: rgba(255,255,255,.3); transform: translateY(-4px); }
.door:hover::before { transform: scale(1.3); opacity: 1; }
.door-num { position: absolute; top: 1.5rem; left: 1.6rem; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; }
.door h3 { font-size: clamp(3rem, 2rem + 4vw, 5.5rem); font-weight: 900; letter-spacing: -.045em; margin: 0 0 .75rem; }
.door h3 .serif { font-size: .72em; color: var(--gold-light); margin-left: .15em; }
.door p { color: var(--mute); max-width: 36ch; margin-bottom: 1.4rem; }
.door .btn { justify-self: start; }

/* ---------- process: sticky stack ---------- */
.process { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .process { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; } .process-intro { position: sticky; top: calc(var(--header) + var(--banner) + 2rem); } }
.stack { display: grid; gap: 1rem; }
.step { position: sticky; top: calc(var(--header) + var(--banner) + 1.25rem + var(--i, 0) * 1.4rem); background: linear-gradient(160deg, #0f0f66, #07074a); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.5rem, 3vw, 2.4rem); display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); transform-origin: top center; }
.step-num { font-family: var(--serif); font-style: italic; font-size: 2.8rem; line-height: 1; color: var(--gold-light); min-width: 2.2ch; }
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--mute); margin: 0; max-width: 46ch; }
.step .who { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1rem; padding: .45rem .8rem .45rem .45rem; border-radius: var(--r-pill); background: rgba(255,255,255,.06); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; }
.step .who img, .step .who i { width: 1.9rem; height: 1.9rem; border-radius: 50%; object-fit: cover; object-position: 50% 25%; display: grid; place-items: center; font-style: normal; font-size: .7rem; background: var(--gold); color: var(--navy); font-weight: 800; }

/* ---------- communities bento ---------- */
.bento { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(10rem, auto); }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 14rem; } .tile--xl { grid-column: span 2; grid-row: span 2; } .tile--wide { grid-column: span 2; } }
.tile { position: relative; display: grid; align-content: end; gap: .35rem; padding: 1.4rem; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); overflow: hidden; min-height: 10rem; transition: border-color var(--base) var(--ease), transform var(--base) var(--ease); }
.tile::before { content: ""; position: absolute; inset: auto -30% -40% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(178,153,90,.3), rgba(178,153,90,0) 65%); filter: blur(30px); transition: transform var(--base) var(--ease); }
.tile:nth-child(3n)::before { background: radial-gradient(circle, rgba(90,90,230,.35), rgba(90,90,230,0) 65%); }
.tile:hover { border-color: rgba(255,255,255,.32); transform: translateY(-4px); }
.tile:hover::before { transform: scale(1.4) translate(-10%, -10%); }
.tile-meta { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; display: flex; justify-content: space-between; gap: 1rem; position: absolute; top: 1.2rem; left: 1.4rem; right: 1.4rem; }
.tile h3 { font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.6rem); margin: 0; letter-spacing: -.035em; }
.tile--xl h3 { font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.6rem); }
.tile p { margin: 0; color: var(--mute); font-size: .95rem; max-width: 34ch; }
.tile .go { position: absolute; right: 1.2rem; bottom: 1.2rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 1rem; transition: background var(--fast), transform var(--fast) var(--ease); }
.tile:hover .go { background: var(--gold); color: var(--navy); border-color: var(--gold); transform: rotate(-45deg); }

/* ---------- numbers ---------- */
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { border-top: 1px solid var(--line-strong); padding-top: 1.4rem; }
.stat b { display: block; font-size: clamp(2.8rem, 2rem + 4vw, 5.5rem); font-weight: 900; letter-spacing: -.05em; line-height: .95; font-variant-numeric: tabular-nums; }
.stat b em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold-light); font-size: .7em; }
.stat span { display: block; margin-top: .6rem; color: var(--mute); font-size: .95rem; max-width: 22ch; }
.stat-note { margin-top: 2rem; color: var(--dim); font-size: .8rem; }

/* ---------- calculator ---------- */
.calc { display: grid; gap: 1.5rem; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); padding: clamp(1.4rem, 3vw, 2.6rem); backdrop-filter: blur(12px); }
@media (min-width: 900px) { .calc { grid-template-columns: 6fr 5fr; gap: 3rem; } }
.calc-fields { display: grid; gap: 1.3rem; }
.field { display: grid; gap: .5rem; }
.field label { display: flex; justify-content: space-between; align-items: baseline; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.field output, .field .val { font-weight: 800; color: var(--white); letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-transform: none; letter-spacing: 0; font-size: 1rem; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold) var(--p, 50%), rgba(255,255,255,.14) var(--p, 50%)); outline-offset: 8px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 4px solid var(--gold); box-shadow: 0 0 0 6px rgba(178,153,90,.18); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 4px solid var(--gold); cursor: pointer; }
.calc-side { display: grid; gap: 1.2rem; align-content: start; }
.calc-total { padding: 1.6rem; border-radius: var(--r-sm); background: var(--navy-deep); border: 1px solid var(--line); }
.calc-total small { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; margin-bottom: .6rem; }
.calc-total b { font-size: clamp(2.6rem, 2rem + 3vw, 4.2rem); font-weight: 900; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-total b i { font-style: normal; font-size: .45em; color: var(--mute); font-weight: 600; margin-left: .2em; }
.calc-bars { display: grid; gap: .6rem; }
.bar { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: .8rem; align-items: center; font-size: .85rem; color: var(--mute); }
.bar i { height: 8px; border-radius: 8px; background: rgba(255,255,255,.1); overflow: hidden; display: block; }
.bar i::after { content: ""; display: block; height: 100%; width: var(--w, 0%); background: var(--c, var(--gold)); border-radius: 8px; transition: width var(--base) var(--ease); }
.bar b { color: var(--white); font-variant-numeric: tabular-nums; }
.calc-note { font-size: .78rem; color: var(--dim); }
.calc-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { border: 1px solid var(--line-strong); background: transparent; color: var(--mute); border-radius: var(--r-pill); padding: .4rem .9rem; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; transition: all var(--fast); }
.pill[aria-pressed="true"], .pill:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ---------- team row ---------- */
.team-row { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem var(--gutter) 1.5rem; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; }
.team-row::-webkit-scrollbar { display: none; }
.person { flex: 0 0 min(72vw, 17rem); scroll-snap-align: start; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--navy-ink); position: relative; aspect-ratio: 3 / 4; display: grid; align-content: end; isolation: isolate; transition: transform var(--base) var(--ease), border-color var(--base); }
.person img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; z-index: -1; transition: transform 1.2s var(--ease); }
.person:hover img { transform: scale(1.05); }
.person:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.3); }
.person .mono { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 5rem; color: var(--gold-light); background: radial-gradient(circle at 30% 20%, rgba(178,153,90,.25), transparent 55%), linear-gradient(160deg, #12126c, #07074a); }
.person-text { padding: 1.1rem 1.2rem 1.2rem; background: linear-gradient(transparent, rgba(4,4,47,.92) 40%); }
.person-text b { display: block; font-size: 1.1rem; letter-spacing: -.02em; }
.person-text span { color: var(--mute); font-size: .85rem; }
.team-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-grid .person { flex: none; }

/* ---------- why cards ---------- */
.cards { display: grid; gap: 1rem; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { border: 1px solid var(--line); border-radius: var(--r); background: var(--glass); padding: clamp(1.4rem, 3vw, 2rem); backdrop-filter: blur(12px); transition: background var(--base), border-color var(--base), transform var(--base) var(--ease); display: grid; gap: .9rem; align-content: start; }
.card:hover { background: var(--glass-hover); border-color: rgba(255,255,255,.3); transform: translateY(-4px); }
.card .ic { width: 3rem; height: 3rem; border-radius: 14px; background: rgba(178,153,90,.14); border: 1px solid rgba(178,153,90,.4); display: grid; place-items: center; color: var(--gold-light); }
.card .ic svg { width: 1.4rem; height: 1.4rem; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--mute); }

/* ---------- faq ---------- */
.faq { display: grid; gap: .5rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--glass); padding: 0 1.3rem; transition: background var(--fast); }
.faq details[open] { background: var(--glass-hover); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-light); font-size: 1.5rem; line-height: 1; transition: transform var(--fast) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--mute); padding-bottom: 1.1rem; margin: 0; }

/* ---------- forms ---------- */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form label { display: grid; gap: .4rem; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--white); background: rgba(255,255,255,.05); border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: .85rem 1rem; min-height: 3.1rem; width: 100%; transition: border-color var(--fast), background var(--fast); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold-light); background: rgba(255,255,255,.08); outline: none; }
.form select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%23d8c38a' stroke-width='2'/></svg>"); background-repeat: no-repeat; background-position: right 1rem center; }
.form select option { color: var(--navy); }
.form textarea { min-height: 7rem; resize: vertical; }
.form .hp { position: absolute; left: -10000px; }
.form .consent { font-size: .82rem; color: var(--dim); text-transform: none; letter-spacing: 0; font-weight: 400; display: flex; gap: .6rem; align-items: start; }
.form .consent input { width: auto; min-height: 0; margin-top: .25rem; accent-color: var(--gold); }
.form-panel { border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); padding: clamp(1.4rem, 3vw, 2.4rem); backdrop-filter: blur(12px); }

/* ---------- closing cta ---------- */
.cta { position: relative; overflow: hidden; }
.cta-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .cta-grid { grid-template-columns: 6fr 6fr; gap: 5rem; align-items: start; } }
.cta h2 { font-size: clamp(2.8rem, 1.5rem + 6vw, 6.5rem); }
.contact-list { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-list a, .contact-list div { display: flex; gap: 1rem; align-items: baseline; border-top: 1px solid var(--line); padding-top: 1rem; }
.contact-list small { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; min-width: 6rem; }
.contact-list b { font-weight: 700; font-size: 1.1rem; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding-top: calc(var(--header) + var(--banner) + clamp(3rem, 8vw, 7rem)); padding-bottom: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.page-hero h1 { font-size: clamp(2.6rem, 1.2rem + 6vw, 6.2rem); }
.page-hero h1 .serif { color: var(--gold-light); }
.page-hero .lede { margin-top: 1.5rem; }
.crumbs { display: flex; gap: .6rem; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-bottom: 2rem; }
.crumbs a:hover { color: var(--white); }
.anchor-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }

/* ---------- community detail ---------- */
.area { display: grid; gap: 1.5rem; padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header) + var(--banner) + 1rem); }
@media (min-width: 900px) { .area { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.area h2 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem); margin-bottom: .5rem; }
.area .tagline { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold-light); margin-bottom: 1rem; }
.area .meta { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); font-weight: 700; }
.area-body { display: grid; gap: 1.5rem; }
.area-body h3 { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 .6rem; }
.area-body ul { margin: 0; padding-left: 1.1rem; color: var(--mute); display: grid; gap: .35rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: .35rem .8rem; font-size: .8rem; font-weight: 600; color: var(--mute); }

/* ---------- steps list (buy/sell pages) ---------- */
.journey { display: grid; gap: 0; counter-reset: j; }
.journey article { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: clamp(1.8rem, 4vw, 3rem) 0; border-top: 1px solid var(--line); counter-increment: j; }
.journey article::before { content: counter(j, decimal-leading-zero); font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--gold-light); }
.journey h3 { font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.4rem); margin-bottom: .6rem; }
.journey p { color: var(--mute); max-width: 56ch; margin: 0; }
.journey .tag { display: inline-block; margin-top: .8rem; font-size: .78rem; font-weight: 700; color: var(--gold-light); }
@media (min-width: 900px) { .journey article { grid-template-columns: 6rem 1fr; } }
.two { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .two { grid-template-columns: 7fr 5fr; gap: 5rem; align-items: start; } .two .sticky { position: sticky; top: calc(var(--header) + var(--banner) + 1.5rem); } }

/* ---------- footer ---------- */
.site-footer { position: relative; border-top: 1px solid var(--line); padding-block: clamp(4rem, 8vw, 7rem) 2.5rem; background: var(--navy-deep); overflow: hidden; }
.footer-tag { font-size: clamp(3rem, 1.5rem + 7vw, 8rem); line-height: .95; letter-spacing: -.03em; margin: 0 0 clamp(2.5rem, 6vw, 5rem); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand img { width: 96px; height: 96px; border-radius: 12px; margin-bottom: 1rem; }
.footer-brand address { font-style: normal; color: var(--mute); font-size: .92rem; line-height: 1.7; }
.footer-brand a:hover { color: var(--white); }
.site-footer nav { display: grid; gap: .55rem; align-content: start; }
.site-footer nav h2 { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 .4rem; font-weight: 700; }
.site-footer nav a { color: var(--mute); font-size: .95rem; transition: color var(--fast); }
.site-footer nav a:hover { color: var(--white); }
.footer-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--dim); font-size: .8rem; display: grid; gap: .6rem; }

/* ---------- reveal states (JS only) ---------- */
html.js.motion [data-reveal] { opacity: 0; transform: translateY(28px); }
html.js.motion [data-reveal].in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
html.js.motion .split-line { display: block; overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .cursor-glow { display: none; }
}

/* hero rows: content, then the marquee */
.hero { grid-template-rows: minmax(0, 1fr) auto; }
.hero > .wrap { align-self: end; }
.menu nav a:not(.menu-small):last-of-type { border-bottom: 0; }

/* ---- fixes after the first look (2026-10-01) ---- */
@media (min-width: 1024px) { .menu-btn { display: none !important; } }
.step { top: calc(var(--header) + var(--banner) + 1.25rem + var(--i, 0) * 0.9rem); }
.tile h3, .tile p { padding-right: 2.8rem; }
.menu nav { outline: none; }

/* ==========================================================================
   2026-10-02: content pages, mobile bar, analytics consent, search shell
   ========================================================================== */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); margin: 2.4rem 0 .8rem; scroll-margin-top: calc(var(--header) + var(--banner) + 1rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.8rem 0 .5rem; }
.prose p, .prose li { color: var(--mute); }
.prose p strong, .prose li strong { color: var(--white); }
.prose a { color: var(--white); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2rem; display: grid; gap: .45rem; margin: 0 0 1.2rem; }
.prose ul ul { margin: .4rem 0 0; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.3rem; border-left: 2px solid var(--gold); background: var(--glass); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2rem 0; }
.dl { display: grid; gap: .8rem; margin: 0 0 1.2rem; }
.dl div { border-top: 1px solid var(--line); padding-top: .7rem; }
.dl dt { font-weight: 700; }
.dl dd { margin: .15rem 0 0; color: var(--mute); }
.glance dl { display: grid; gap: .55rem; margin: 0; }
.glance dl div { display: grid; grid-template-columns: 6rem 1fr; gap: .8rem; font-size: .92rem; border-top: 1px solid var(--line); padding-top: .55rem; }
.glance dt { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; padding-top: .15rem; }
.glance dd { margin: 0; color: var(--mute); }
.glance dd a { color: var(--white); text-decoration: underline; }
.sources { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.sources h3 { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 .6rem; }
.sources ul { font-size: .88rem; }
.byline { margin-top: 1.2rem; color: var(--dim); font-size: .85rem; }
.byline b { color: var(--mute); }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .92rem; color: var(--mute); }
.toc li { border-top: 1px solid var(--line); padding-top: .45rem; }
.toc a:hover { color: var(--white); }
.card--link { color: inherit; position: relative; }
.card-kicker { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; }
.card-more { font-weight: 700; font-size: .9rem; color: var(--gold-light); display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; }
.card--link:hover .card-more .btn-arrow { transform: translateX(4px); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--glass); }
.compare { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 900px; }
.compare th, .compare td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--mute); }
.compare thead th { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.compare tbody th { color: var(--white); font-weight: 700; white-space: nowrap; }
.compare tbody th a:hover { text-decoration: underline; }
.chips a.chip:hover { border-color: var(--white); color: var(--white); }
.chips a.chip[aria-current="true"] { border-color: var(--gold); color: var(--white); }
/* 2026-10-21: search-first. Town chips scroll sideways on phones */
.hero-towns { margin-top: 1.25rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; }
.hero-top > div { min-width: 0; } /* lets the town row scroll instead of widening the page */
.hero-towns__label { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; }
@media (max-width: 767px) {
  .chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .chips--scroll::-webkit-scrollbar { display: none; }
  .chips--scroll .chip { flex: none; }
}
.footer-grid--5 { grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid--5 { grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1fr; } }
/* mobile action bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 1px; background: rgba(4,4,47,.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.4rem; font-weight: 700; font-size: .9rem; color: var(--white); }
.mobile-bar svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.mobile-bar__primary { background: var(--gold); color: var(--navy) !important; }
@media (min-width: 1024px) { .mobile-bar { display: none; } }
@media (max-width: 1023px) { body { padding-bottom: 3.6rem; } body.menu-open .mobile-bar { display: none; } }
/* consent */
.consent-banner { position: fixed; left: 1rem; right: 1rem; bottom: 4.5rem; z-index: 56; max-width: 32rem; margin-inline: auto; background: var(--navy-deep); border: 1px solid var(--line-strong); border-radius: var(--r); padding: 1.2rem; display: grid; gap: .8rem; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.consent-banner p { margin: 0; font-size: .9rem; color: var(--mute); }
@media (min-width: 1024px) { .consent-banner { bottom: 1.5rem; left: auto; right: 1.5rem; } }
.hidden { display: none !important; }
.skeleton { height: 40vh; border-radius: var(--r-sm); background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.12), rgba(255,255,255,.05)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---- 2026-10-02 pm: landing pages, guide answers ---- */
.proof { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .proof { grid-template-columns: repeat(3, 1fr); } }
.proof div { border-top: 1px solid var(--line-strong); padding-top: 1rem; display: grid; gap: .4rem; }
.proof b { font-size: 1.15rem; letter-spacing: -.02em; }
.proof span { color: var(--mute); font-size: .95rem; }
.landing-hero .crumbs { margin-bottom: 1.4rem; }
.short { border: 1px solid rgba(178,153,90,.45); background: rgba(178,153,90,.08); border-radius: var(--r); padding: 1.3rem 1.4rem; margin-bottom: 2rem; }
.short p:last-child { margin: 0; color: var(--white); font-size: 1.05rem; line-height: 1.55; }
.qa { display: grid; gap: .6rem; margin-bottom: 1.5rem; }
.qa-item { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--glass); padding: 1.1rem 1.3rem; }
.qa-item h3 { font-size: 1.1rem; margin: 0 0 .4rem; }
.qa-item p { margin: 0; }
.footer-legal { color: var(--mute); }
.crumbs { color: var(--dim); }

/* ===== 2026-10-23: /search/ = our search bar on the navy page + Ruuster's listing cards on a transparent background (no white box, no map) ===== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body.page-search::before, .page-search .cursor-glow { display: none; } /* no grain or cursor glow over listing photos */
.sx { padding-top: calc(var(--header) + var(--banner) + clamp(1rem, 3vw, 2.25rem)); padding-bottom: clamp(3rem, 6vw, 5rem); --field: 2.85rem; }
.sx-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 2rem; margin-bottom: 1.1rem; }
.sx-head h1 { font-size: clamp(1.7rem, 1.1rem + 2.4vw, 3rem); line-height: 1.1; margin: 0; }
.sx-head h1 .serif { color: var(--gold-light); }
.sx-call { color: var(--mute); font-weight: 600; font-size: .95rem; }
.sx-call:hover { color: var(--white); }
/* the bar: no z-index or backdrop-filter, so its dropdowns and the phone sheet are not trapped in a stacking context */
.sx-bar { position: relative; display: flex; align-items: center; gap: .5rem; padding: .55rem; border: 1px solid var(--line); border-radius: calc(var(--r) - 4px); background: rgba(255,255,255,.04); }
.sx-loc { position: relative; flex: 1 1 280px; min-width: 0; }
.sx-loc > svg { position: absolute; left: .95rem; top: 50%; width: 1.15rem; height: 1.15rem; transform: translateY(-50%); fill: var(--mute); pointer-events: none; }
.sx-loc input { width: 100%; height: var(--field); border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 0 2.4rem 0 2.6rem; font: 500 .95rem var(--sans); color: var(--white); background: rgba(255,255,255,.06); outline: none; transition: border-color var(--fast), box-shadow var(--fast), background var(--fast); }
.sx-loc input::placeholder { color: rgba(255,255,255,.55); }
.sx-loc input:focus { border-color: var(--gold); background: rgba(255,255,255,.09); box-shadow: 0 0 0 3px rgba(178,153,90,.28); }
.sx-clear { position: absolute; right: .45rem; top: 50%; transform: translateY(-50%); width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: transparent; color: var(--mute); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.sx-clear:hover { background: rgba(255,255,255,.1); color: var(--white); }
.sx-list { position: absolute; top: calc(100% + 6px); left: 0; width: max(100%, 340px); max-height: min(60vh, 420px); overflow: auto; margin: 0; padding: .35rem; list-style: none; background: var(--navy-ink); border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: 0 28px 60px -20px rgba(0,0,0,.6); z-index: 30; }
.sx-list__head { padding: .55rem .75rem .25rem; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.sx-opt { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .6rem .75rem; border-radius: 10px; cursor: pointer; font-weight: 600; color: var(--white); }
.sx-opt small { flex: none; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.sx-opt:hover, .sx-opt[aria-selected="true"] { background: rgba(255,255,255,.09); }
.sx-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; height: var(--field); padding: 0 1rem; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: transparent; color: var(--white); font: 600 .88rem var(--sans); white-space: nowrap; cursor: pointer; transition: border-color var(--fast), background var(--fast); }
.sx-btn svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.sx-btn:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.sx-btn:focus-visible, .sx-field select:focus-visible, .sx-types summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sx-filters-btn b { min-width: 1.35rem; height: 1.35rem; padding: 0 .35rem; border-radius: var(--r-pill); background: var(--gold); color: var(--navy); font-size: .72rem; display: inline-grid; place-items: center; }
.sx-filters-btn b[hidden] { display: none; }
.sx-reset { border-color: transparent; color: var(--mute); padding: 0 .7rem; }
.sx-reset:hover { color: var(--white); border-color: transparent; background: transparent; text-decoration: underline; }
.sx-field select, .sx-types summary { appearance: none; -webkit-appearance: none; height: var(--field); border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 0 2.1rem 0 1rem; font: 600 .88rem var(--sans); color: var(--white); cursor: pointer; white-space: nowrap;
  background: rgba(255,255,255,.06) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23ffffffb3' d='M7 10l5 5 5-5z'/></svg>") no-repeat right .7rem center / 1.1rem; }
.sx-field select option { color: #0b0b3b; background: #fff; }
.sx-field select:hover, .sx-types summary:hover { border-color: var(--white); }
.sx-types { position: relative; }
.sx-types summary { list-style: none; display: inline-flex; align-items: center; gap: .4rem; }
.sx-types summary::-webkit-details-marker { display: none; }
.sx-types__label { display: none; }
.sx-types fieldset { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; min-width: 230px; margin: 0; padding: .5rem; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--navy-ink); box-shadow: 0 28px 60px -20px rgba(0,0,0,.6); display: grid; gap: .1rem; }
.sx-check { display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem; border-radius: 10px; cursor: pointer; font-weight: 600; color: var(--white); }
.sx-check:hover { background: rgba(255,255,255,.08); }
.sx-check input { width: 1.05rem; height: 1.05rem; accent-color: var(--gold); }
.sx-towns { margin-top: .9rem; }
.sx-panel__head, .sx-panel__foot { display: none; }
.sx-backdrop { position: fixed; inset: 0; z-index: 79; background: rgba(2,2,30,.6); }
.sx-backdrop[hidden] { display: none; }
/* results: Ruuster's cards sit straight on the page (transparent widget background); iframe-resizer sets the frame height */
.sx-results { position: relative; margin-top: clamp(1rem, 2.5vw, 1.75rem); min-height: 60vh; width: min(100vw, var(--wrap)); margin-left: calc((100% - min(100vw, var(--wrap))) / 2); } /* Ruuster centers its grid and goes three-across at a frame of ~1240 px, four-across on very wide frames; capping at the page width keeps it three-across and aligned with the bar */
.sx-results .widget-integrations-listings-search iframe { display: block; width: 1px; min-width: 100%; border: 0; background: transparent; }
.sx-results .sx-unsized iframe { min-height: 85vh; } /* usable until iframe-resizer sets the real height */
.sx-state { position: absolute; left: 0; right: 0; top: 0; min-height: 40vh; z-index: 3; display: flex; align-items: center; justify-content: center; gap: .75rem; color: var(--mute); font-weight: 600; background: rgba(6,6,68,.55); border-radius: var(--r); }
/* slow or failed load: a notice card above the results, never a cover over working listings */
.sx-state--failed { min-height: 0; left: 50%; right: auto; top: .5rem; transform: translateX(-50%); width: min(680px, 100%); flex-wrap: wrap; justify-content: space-between; gap: .6rem 1rem; padding: .85rem 1rem; background: var(--navy-ink); color: var(--white); border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: 0 28px 60px -20px rgba(0,0,0,.6); font-weight: 500; }
.sx-state--failed p { margin: 0; color: var(--mute); flex: 1 1 260px; }
.sx-state--failed b { color: var(--white); }
.sx-failed__actions { display: flex; flex-wrap: wrap; gap: .4rem; }
.sx-failed__actions .sx-btn { height: 2.3rem; padding: 0 .85rem; font-size: .8rem; }
.sx-spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255,255,255,.18); border-top-color: var(--gold); animation: sx-spin .8s linear infinite; }
@keyframes sx-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sx-spinner { animation-duration: 2.4s; } }
/* wide screens: every control inline */
@media (min-width: 1100px) {
  .sx-filters-btn { display: none; }
  .sx-panel { display: flex; align-items: center; gap: .5rem; }
  .sx-field > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* narrower: filters open as a bottom sheet */
@media (max-width: 1099px) {
  .sx-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; max-height: 86svh; overflow: auto; margin-inline: auto; max-width: 560px;
    display: grid; grid-template-columns: 1fr 1fr; gap: .9rem .75rem; padding: 1rem var(--gutter) calc(1rem + env(safe-area-inset-bottom));
    background: var(--navy-ink); color: var(--white); border: 1px solid var(--line-strong); border-bottom: 0; border-radius: 22px 22px 0 0; box-shadow: 0 -24px 60px rgba(0,0,0,.5);
    transform: translateY(105%); visibility: hidden; transition: transform .38s var(--ease), visibility 0s linear .38s; }
  .sx-panel.is-open { transform: none; visibility: visible; transition: transform .38s var(--ease); }
  .sx-panel__head { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; font-size: 1.05rem; }
  .sx-x { width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--white); font-size: 1.4rem; cursor: pointer; }
  .sx-field { display: grid; gap: .35rem; }
  .sx-field > span, .sx-types__label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
  .sx-field select { width: 100%; }
  .sx-types, .sx-panel > label:has(select[name="sort"]) { grid-column: 1 / -1; }
  .sx-types summary { display: none; }
  .sx-types fieldset { position: static; box-shadow: none; padding: 0; border: 0; background: transparent; grid-template-columns: 1fr 1fr; min-width: 0; }
  .sx-check { border: 1px solid var(--line-strong); }
  .sx-panel__foot { display: flex; grid-column: 1 / -1; gap: .6rem; justify-content: space-between; padding-top: .4rem; }
  .sx-panel__foot .btn { flex: 1; justify-content: center; }
  .sx-bar > .sx-reset { display: none; }
  body.sx-sheet-open .mobile-bar { display: none; }
}
@media (max-width: 640px) {
  .sx-bar { padding: .45rem; gap: .4rem; }
  .sx-filters-btn span { display: none; }
  .sx-filters-btn { padding: 0 .8rem; }
  .sx-list { width: calc(100vw - 2 * var(--gutter)); }
  .sx-call { font-size: .85rem; }
}

/* ===== 2026-10-21: fixes from the staging review ===== */
body.menu-open .site-header { transform: none; }
body.menu-open .header-inner { position: relative; z-index: 71; } /* the menu lives inside the header; its logo and Close button sit above the overlay */
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(1px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span + span:not(.menu-btn__label) { transform: translateY(1px) rotate(-45deg); }
.contact-list a, .contact-list div { min-width: 0; flex-wrap: wrap; }
.contact-list b { overflow-wrap: anywhere; min-width: 0; }
[id] { scroll-margin-top: calc(var(--header) + var(--banner) + 1rem); }
section:has(> .glow), .cta { overflow-x: clip; } /* decorative glows hang past the edge; unclipped, phone Chrome widens the layout viewport and pushes fixed bars off-screen */
iframe[name="widgetCta"] { display: none !important; } /* Follow Up Boss pixel pop-up ("Do you have questions?", 706-809-5229): wrong number, covers the phone bar; tracking still runs (Noah 10/23: add the pixel) */
