/* ==========================================================
   Mary Stinyard — Luxury Real Estate + Sports Relocation
   Brand tokens come straight from the brand style guide.
   ========================================================== */
:root {
  --near-black: #111111;
  --ivory: #F5F1E8;
  --soft-black: #272421;
  --stone: #746D65;
  --light-stone: #B9B0A5;
  --gold: #C6A15B;
  --light-gold: #E2D1AE;
  --espresso: #3A2A22;
  --cream: #FBF8F1;
  --white: #FFFFFF;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 4px;
  --shadow: 0 10px 30px rgba(17, 17, 17, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--soft-black);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--near-black); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.15; color: inherit; }
h1 { font-family: var(--sans); font-weight: 300; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(2rem, 5.2vw, 3.6rem); }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { margin: 0 0 1em; }
.eyebrow { font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--stone); font-weight: 500; margin-bottom: 14px; display: block; }
.dark .eyebrow { color: var(--light-gold); }
.rule { width: 56px; height: 1px; background: var(--gold); border: 0; margin: 0 0 22px; }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--stone); max-width: 62ch; }
.dark .lead { color: var(--light-stone); }

/* ---------- Header / nav ---------- */
/* Two rows: monogram · centered name · consultation button on top, navigation bar below.
   Phones and small tablets (≤ 900px) collapse the navigation into the MENU button. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--near-black); color: var(--white); border-bottom: 1px solid rgba(198,161,91,.25); }
.header-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 84px; }
.brand-mark { justify-self: start; display: block; line-height: 0; }
.brand-mark img { width: 56px; height: auto; }
.brand { justify-self: center; text-align: center; text-decoration: none; color: var(--white); }
/* padding-left offsets the trailing letter-spacing so the text sits truly centered */
.brand-name { font-family: var(--serif); font-size: 1.4rem; letter-spacing: .3em; padding-left: .3em; line-height: 1.1; display: block; }
.brand-tag { font-size: .58rem; letter-spacing: .3em; padding-left: .3em; color: var(--light-stone); display: block; margin-top: 8px; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.3); color: var(--white); padding: 8px 12px; font: inherit; font-size: .8rem; letter-spacing: .12em; border-radius: var(--radius); cursor: pointer; }

.main-nav { border-top: 1px solid rgba(198,161,91,.18); }
.main-nav > .container > ul { list-style: none; display: flex; justify-content: center; gap: clamp(18px, 3vw, 44px); margin: 0; padding: 0; }
.main-nav a, .sub-toggle { white-space: nowrap; text-decoration: none; font: inherit; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 14px 0 12px; border-bottom: 1px solid transparent; }
.main-nav a:hover, .sub-toggle:hover, .main-nav a[aria-current="page"], .has-sub.current > .sub-toggle { border-bottom-color: var(--gold); color: var(--white); }
.sub-toggle .caret { font-size: .6rem; color: var(--gold); transition: transform .2s; }
.has-sub { position: relative; }
.sub { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: -22px; min-width: 220px; background: var(--near-black); border: 1px solid rgba(198,161,91,.3); border-top: 2px solid var(--gold); display: none; z-index: 60; box-shadow: 0 16px 30px rgba(0,0,0,.35); }
.sub a { display: flex; padding: 12px 22px; border: 0; letter-spacing: .12em; }
.sub a small { display: block; font-size: .62rem; letter-spacing: .08em; text-transform: none; color: var(--light-stone); margin-left: auto; padding-left: 16px; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--soft-black); color: var(--light-gold); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { display: block; }
.has-sub.open .caret { transform: rotate(180deg); }
.main-nav .mobile-cta { display: none; }
@media (max-width: 1180px) { .main-nav > .container > ul { gap: 18px; } .main-nav a, .sub-toggle { font-size: .68rem; letter-spacing: .1em; } }
@media (max-width: 1000px) { .main-nav > .container > ul { gap: 11px; } }

@media (max-width: 900px) {
  .header-top { min-height: 68px; }
  .menu-toggle { display: block; }
  .site-header .nav-cta { display: none; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--near-black); display: none; border-bottom: 1px solid rgba(198,161,91,.25); max-height: calc(100vh - 68px); overflow-y: auto; }
  .main-nav.open { display: block; }
  .main-nav > .container > ul { flex-direction: column; gap: 0; padding: 8px 0 20px; }
  .main-nav a, .sub-toggle { display: flex; width: 100%; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .86rem; }
  .sub-toggle .caret { display: none; }
  .sub { position: static; transform: none; display: block; border: 0; box-shadow: none; background: transparent; padding: 0 0 0 18px; min-width: 0; }
  .sub a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .main-nav .mobile-cta { display: block; margin-top: 18px; }
  .main-nav .mobile-cta a { justify-content: center; text-transform: none; letter-spacing: .03em; font-size: .95rem; border: 0; color: var(--near-black); background: var(--light-gold); border-radius: 999px; }
}
@media (max-width: 700px) { .brand-tag { display: none; } .brand-name { font-size: 1.05rem; letter-spacing: .22em; padding-left: .22em; } .brand-mark img { width: 44px; } .header-top { gap: 10px; } }
@media (max-width: 360px) { .brand-name { font-size: .92rem; letter-spacing: .16em; padding-left: .16em; } }

/* ---------- Buttons ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 26px; border-radius: 999px; font-family: var(--sans); font-size: .9rem; letter-spacing: .03em; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn-gold { background: var(--light-gold); color: var(--near-black); }
.btn-gold:hover { background: var(--gold); }
.btn-outline-light { border-color: rgba(255,255,255,.85); color: var(--white); background: rgba(17,17,17,.35); }
.btn-outline-light:hover { background: var(--white); color: var(--near-black); }
.btn-dark { background: var(--near-black); color: var(--white); }
.btn-dark:hover { background: var(--espresso); }
.btn-outline { border-color: var(--near-black); color: var(--near-black); background: transparent; }
.btn-outline:hover { background: var(--near-black); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.text-link { color: var(--espresso); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.dark .text-link { color: var(--light-gold); }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); min-height: min(88vh, 820px); display: flex; align-items: center; background: var(--near-black) center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,17,.72) 0%, rgba(17,17,17,.45) 55%, rgba(17,17,17,.25) 100%); }
.hero .container { position: relative; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { max-width: 17ch; margin-bottom: 26px; }
.hero .tagline { font-size: clamp(.9rem, 1.6vw, 1.2rem); letter-spacing: .14em; text-transform: uppercase; font-weight: 300; margin-bottom: 26px; }
.hero .tagline span { color: var(--gold); padding: 0 .6em; }
.hero p.support { max-width: 60ch; font-size: clamp(1rem, 1.5vw, 1.15rem); color: #EDE8DF; margin-bottom: 36px; }
.page-hero { min-height: 52vh; }
.page-hero h1 { max-width: 22ch; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.ivory { background: var(--ivory); }
.section.cream { background: var(--cream); }
.dark { background: var(--near-black); color: var(--ivory); }
.dark.soft { background: var(--soft-black); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-note { font-size: .72rem; color: var(--stone); margin-top: 8px; }

/* Market cards */
.market-card { position: relative; display: block; color: var(--white); text-decoration: none; border-radius: var(--radius); overflow: hidden; min-height: 380px; background: var(--soft-black) center / cover; }
.market-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,17,17,.88) 0%, rgba(17,17,17,.2) 70%); transition: background .3s; }
.market-card:hover::before { background: linear-gradient(0deg, rgba(17,17,17,.92) 0%, rgba(17,17,17,.35) 70%); }
.market-card .inner { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px; }
.market-card .tag { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--light-gold); }
.market-card h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 8px 0 10px; }
.market-card p { color: #E7E1D6; margin-bottom: 16px; max-width: 46ch; }

/* Feature cards */
.card { background: var(--white); border: 1px solid #E8E1D4; border-radius: var(--radius); padding: 30px; }
.dark .card { background: var(--soft-black); border-color: rgba(198,161,91,.22); }
.card .num { font-family: var(--serif); color: var(--gold); font-size: 1.6rem; display: block; margin-bottom: 10px; }
.card p { color: var(--stone); margin: 0; }
.dark .card p { color: var(--light-stone); }

/* Tool callouts (scorecard + map) */
.tool-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid #E8E1D4; border-top: 2px solid var(--gold); padding: 34px; border-radius: var(--radius); }
.tool-card p { color: var(--stone); }
.tool-card .btn { margin-top: auto; align-self: flex-start; }

/* Weights list */
.weights { list-style: none; padding: 0; margin: 0; }
.weights li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid rgba(116,109,101,.25); }
.weights li strong { font-weight: 500; }
.weights li .w { font-family: var(--serif); color: var(--gold); font-size: 1.3rem; }
.weights li small { grid-column: 1 / -1; color: var(--stone); font-size: .88rem; }
.dark .weights li small { color: var(--light-stone); }
.weights li.primary strong::after { content: "Security focus"; margin-left: 10px; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--near-black); background: var(--light-gold); padding: 3px 8px; border-radius: 999px; vertical-align: middle; }

/* FAQ */
.faq details { border-bottom: 1px solid rgba(116,109,101,.3); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-family: var(--sans); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 14px 0 0; color: var(--stone); max-width: 70ch; }

/* Community list on market pages */
.community-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.community-item { background: var(--white); border: 1px solid #E8E1D4; padding: 24px; border-radius: var(--radius); }
.community-item h3 { margin-bottom: 6px; }
.community-item .area { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.community-item p { color: var(--stone); font-size: .95rem; margin: 12px 0 16px; }
.community-item .links { display: flex; gap: 18px; flex-wrap: wrap; font-size: .88rem; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-size: .8rem; letter-spacing: .06em; margin-bottom: 6px; font-weight: 500; }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--light-stone); border-radius: var(--radius); background: var(--white); color: var(--soft-black); }
textarea { min-height: 130px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
.check-row { display: flex; gap: 10px; align-items: flex-start; }
.check-row input { width: auto; margin-top: 4px; }
.form-status { margin-top: 14px; font-size: .92rem; color: var(--espresso); }

/* Notice */
.notice { border-left: 2px solid var(--gold); background: var(--ivory); padding: 14px 18px; font-size: .9rem; color: var(--espresso); }
.dark .notice { background: rgba(198,161,91,.08); color: var(--light-gold); }

/* ---------- Footer ---------- */
.site-footer { background: var(--near-black); color: var(--light-stone); padding: 64px 0 32px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--sans); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--light-gold); font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; color: var(--ivory); }
.site-footer a:hover { color: var(--light-gold); }
.license { margin-bottom: 18px; line-height: 1.55; }
.license strong { color: var(--ivory); font-weight: 500; }
.broker-logos { display: flex; gap: 20px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.broker-logos img { height: 34px; width: auto; background: var(--white); padding: 6px 10px; border-radius: 3px; }
.legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; font-size: .78rem; line-height: 1.6; }
.eho { display: inline-flex; align-items: center; gap: 8px; }

/* utility */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 24px; }
.mt-4 { margin-top: 48px; }
.muted { color: var(--stone); }
.small { font-size: .85rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ==========================================================
   Athlete Property Scorecard™
   ========================================================== */
.tool-bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.seg { display: inline-flex; border: 1px solid var(--near-black); border-radius: 999px; padding: 3px; background: var(--white); }
.seg button { font: inherit; font-size: .86rem; letter-spacing: .04em; border: 0; background: transparent; padding: 9px 20px; border-radius: 999px; cursor: pointer; color: var(--near-black); min-height: 40px; }
.seg button[aria-pressed="true"] { background: var(--near-black); color: var(--white); }
.sort-wrap { display: flex; align-items: center; gap: 10px; }
.sort-wrap label { margin: 0; white-space: nowrap; }
.sort-wrap select { width: auto; min-width: 200px; padding: 9px 12px; }

.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 24px; align-items: start; }
@media (max-width: 400px) { .sc-grid { grid-template-columns: 1fr; } }
.sc-card { position: relative; background: var(--white); border: 1px solid #E8E1D4; border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.sc-flag { align-self: flex-start; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; background: var(--ivory); color: var(--espresso); border: 1px dashed var(--gold); padding: 3px 10px; border-radius: 999px; }
.sc-head { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; }
.sc-head h3 { margin-bottom: 4px; }
.sc-head .eyebrow { margin-bottom: 4px; font-size: .66rem; }
.sc-summary { color: var(--stone); font-size: .9rem; margin-bottom: 10px; }
.sc-sec { display: flex; justify-content: space-between; gap: 10px; font-size: .84rem; margin: 0; padding: 8px 12px; background: var(--ivory); border-left: 2px solid var(--gold); }
.sc-ring { position: relative; width: 96px; height: 96px; display: grid; place-items: center; text-align: center; }
.sc-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.sc-ring circle { fill: none; stroke-width: 6; }
.sc-ring .track { stroke: #EEE8DC; }
.sc-ring .bar { stroke: var(--gold); stroke-linecap: round; transition: stroke-dashoffset .6s ease; }
.sc-ring .val { font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: var(--near-black); margin-top: 6px; }
.sc-ring .lbl { font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); margin-top: -18px; max-width: 70px; line-height: 1.2; }
.sc-card details summary { cursor: pointer; font-size: .86rem; font-weight: 500; letter-spacing: .04em; color: var(--espresso); padding: 8px 0; border-top: 1px solid #EEE8DC; list-style: none; }
.sc-card details summary::-webkit-details-marker { display: none; }
.sc-card details summary::after { content: " +"; color: var(--gold); }
.sc-card details[open] summary::after { content: " –"; }
.sc-bars { list-style: none; padding: 0; margin: 10px 0 0; }
.sc-bars li { padding: 10px 0; }
.sc-row-head { display: flex; justify-content: space-between; gap: 10px; font-size: .86rem; }
.sc-row-head small { color: var(--stone); margin-left: 4px; }
.sc-row-head strong { font-weight: 500; white-space: nowrap; }
.sc-bar { height: 6px; background: #EEE8DC; border-radius: 6px; margin: 6px 0; overflow: hidden; }
.sc-bar span { display: block; height: 100%; background: var(--stone); border-radius: 6px; }
.sc-bars li.is-primary .sc-bar span { background: var(--gold); }
.sc-bars li.is-primary .sc-row-head span { font-weight: 600; }
.sc-note { font-size: .8rem; color: var(--stone); margin: 0; }
.sc-reality { background: var(--ivory); padding: 16px 18px; margin-top: 12px; border-radius: var(--radius); }
.sc-reality h4 { font-family: var(--sans); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--espresso); margin-bottom: 8px; }
.sc-reality ul { margin: 0; padding-left: 18px; font-size: .86rem; color: var(--soft-black); }
.sc-reality li { margin-bottom: 4px; }
.sc-meta { font-size: .72rem; color: var(--stone); margin: 12px 0 0; }
.sc-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: auto; font-size: .86rem; }
.sc-compare { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 400; cursor: pointer; }
.sc-compare input { width: 18px; height: 18px; margin: 0; accent-color: var(--near-black); }

.sc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--white); border: 1px solid #E8E1D4; border-radius: var(--radius); }
.sc-table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .9rem; }
.sc-table th, .sc-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #EEE8DC; }
.sc-table thead th { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; background: var(--near-black); color: var(--white); }
.sc-table th small { color: var(--stone); }
.sc-table td.best { color: var(--espresso); font-weight: 600; background: rgba(198,161,91,.12); }
.sc-table tr.is-primary th { font-weight: 600; }
.sc-table tr.total th, .sc-table tr.total td { background: var(--ivory); font-size: 1rem; }

/* ==========================================================
   Relocation Map
   ========================================================== */
.map-shell { display: grid; grid-template-columns: 380px 1fr; min-height: 640px; border: 1px solid #E8E1D4; border-radius: var(--radius); overflow: hidden; background: var(--white); }
.map-panel { padding: 22px; overflow-y: auto; max-height: 760px; border-right: 1px solid #E8E1D4; }
#map { min-height: 640px; height: 100%; z-index: 1; }
@media (max-width: 900px) {
  .map-shell { grid-template-columns: 1fr; }
  .map-panel { max-height: none; border-right: 0; border-top: 1px solid #E8E1D4; order: 2; }
  #map { min-height: 62vh; order: 1; }
}
.map-controls { display: grid; gap: 14px; margin-bottom: 18px; }
.search-row { display: flex; gap: 8px; }
.search-row input { flex: 1; min-width: 0; }
.search-row .btn { padding: 10px 18px; min-height: 0; }
#search-status { font-size: .82rem; color: var(--espresso); min-height: 1em; margin: 0; }
.layer-toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; font-size: .84rem; }
.layer-toggles label { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 400; letter-spacing: 0; cursor: pointer; }
.layer-toggles input { width: 18px; height: 18px; margin: 0; accent-color: var(--near-black); }
.flood-legend { display: inline-block; width: 14px; height: 14px; background: rgba(0,110,220,.45); border: 1px solid #2C6FB7; }
#flood-hint { font-size: .78rem; color: var(--stone); margin: 0; }
.map-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.35); vertical-align: middle; }
.map-dot-team { background: #C6A15B; }
.map-dot-airport { background: #3A2A22; border-radius: 3px; }
.map-dot-trail { background: #4E7D5B; }
.map-origin { display: block; width: 26px; height: 26px; border-radius: 50%; background: var(--near-black); border: 4px solid var(--gold); box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.res-title { font-family: var(--serif); font-size: 1.25rem; margin: 6px 0 12px; }
.res-group { font-family: var(--sans); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--espresso); margin: 20px 0 6px; display: flex; align-items: center; gap: 8px; }
.res-list { list-style: none; padding: 0; margin: 0; }
.res-list button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; font: inherit; background: none; border: 0; border-bottom: 1px solid #EEE8DC; padding: 10px 6px; cursor: pointer; color: var(--soft-black); }
.res-list button:hover, .res-list button.active { background: var(--ivory); }
.res-name { font-size: .86rem; line-height: 1.35; }
.res-name em { color: var(--stone); font-size: .76rem; }
.res-nums { text-align: right; white-space: nowrap; }
.res-nums strong { display: block; font-weight: 600; font-size: .92rem; }
.res-nums small { color: var(--stone); font-size: .72rem; }
.res-disclaimer { font-size: .74rem; color: var(--stone); margin-top: 18px; }
.flood-box { padding: 12px 14px; font-size: .84rem; border-radius: var(--radius); background: var(--ivory); border-left: 3px solid var(--light-stone); margin-bottom: 10px; }
.flood-box.high { border-left-color: #2C6FB7; background: #EEF4FB; }
.flood-box.low { border-left-color: #4E7D5B; background: #F0F5F0; }
.flood-box a { color: var(--espresso); }
.leaflet-container { font-family: var(--sans); }

.num-gold { display: block; font-family: var(--serif); color: var(--gold); font-size: 1.6rem; margin-bottom: 6px; }
.leaflet-tile-pane { filter: saturate(.6) contrast(.95); }
html, body { overflow-x: clip; }
.sc-sec strong { white-space: nowrap; }
.hero .tagline b { font-weight: inherit; white-space: nowrap; }
.map-dot-school { background: #6E5A8C; border-radius: 3px; transform: rotate(45deg) scale(.85); }
.map-dot-marina { background: #2C6F8F; }
.sc-links { display: inline-flex; gap: 16px; }

/* Homepage benefit tiles */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--white); border: 1px solid #E8E1D4; border-radius: var(--radius); padding: 28px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.feature:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature p { color: var(--stone); font-size: .94rem; flex: 1; }
.feature .text-link { align-self: flex-start; font-size: .86rem; }
.step-title { font-size: 1.1rem; color: var(--ivory); margin-bottom: 6px; }
.discretion { font-family: var(--serif); font-style: italic; color: var(--light-gold); font-size: 1.1rem; margin: 28px 0; padding-left: 16px; border-left: 1px solid var(--gold); }

/* Community guide pages */
.guide-hero { padding-bottom: 56px; }
.guide-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.crumbs { font-size: .78rem; letter-spacing: .06em; color: var(--light-stone); margin-bottom: 22px; }
.crumbs a { color: var(--light-gold); text-decoration: none; }
.crumbs span { margin: 0 6px; }
.facts { background: var(--soft-black); color: var(--ivory); border-top: 1px solid rgba(198,161,91,.25); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.facts-grid > div { padding: 22px 18px; border-left: 1px solid rgba(255,255,255,.08); }
.facts-grid > div:first-child { border-left: 0; padding-left: 0; }
.facts-grid span { display: block; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--light-gold); margin-bottom: 6px; }
.facts-grid strong { font-weight: 400; font-size: .92rem; line-height: 1.4; }
@media (max-width: 900px) { .facts-grid { grid-template-columns: 1fr 1fr; } .facts-grid > div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.08); } }
@media (max-width: 520px) { .facts-grid { grid-template-columns: 1fr; } }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.guide-aside { position: sticky; top: 100px; }
@media (max-width: 960px) { .guide-layout { grid-template-columns: 1fr; } .guide-aside { position: static; } }
.guide-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 1.6em; }
.guide-body h2:first-child { margin-top: 0; }
.guide-body p { font-size: 1.02rem; max-width: 68ch; }
.drive-table { min-width: 0; }
.drive-table td { white-space: nowrap; }
.drive-table th[scope="row"] { font-weight: 400; }
.drive-table em { color: var(--stone); font-size: .78rem; }
.nearby ul { list-style: none; padding: 0; margin: 12px 0 0; }
.nearby li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #EEE8DC; font-size: .9rem; color: var(--soft-black); }
.nearby li strong { font-weight: 600; white-space: nowrap; }
.nearby li em { color: var(--stone); font-size: .76rem; }
.ask-list { margin: 0; padding-left: 22px; }
.ask-list li { padding: 12px 0 12px 6px; border-bottom: 1px solid rgba(255,255,255,.1); color: var(--ivory); }
.ask-list li::marker { color: var(--gold); font-family: var(--serif); }
.other-links { display: flex; flex-wrap: wrap; gap: 12px; }
.other-links a { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: 1px solid #E8E1D4; padding: 14px 20px; border-radius: var(--radius); font-family: var(--serif); font-size: 1.05rem; }
.other-links a:hover { border-color: var(--gold); }
.other-links small { font-family: var(--sans); font-size: .72rem; color: var(--stone); letter-spacing: .06em; }
.plain { text-decoration: none; color: inherit; }
.plain:hover { color: var(--espresso); }
.list-head { font-family: var(--sans); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--espresso); font-weight: 500; margin-bottom: 18px; }

/* Portrait photos of Mary */
.photo.portrait { max-width: 460px; justify-self: center; width: 100%; }
.photo.portrait img { aspect-ratio: 3 / 4; object-position: center 20%; }
@media (max-width: 900px) { .facts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .facts-grid { grid-template-columns: 1fr; } }

/* Personalized listings questionnaire */
.wizard { background: var(--white); border: 1px solid #E8E1D4; border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); scroll-margin-top: 100px; }
.wizard-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0; margin: 0 0 32px; counter-reset: s; }
.wizard-steps li { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); border-top: 3px solid #EEE8DC; padding-top: 10px; display: flex; align-items: center; gap: 8px; }
.wizard-steps li span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--light-stone); font-size: .7rem; flex-shrink: 0; }
.wizard-steps li.active, .wizard-steps li.done { color: var(--near-black); border-top-color: var(--gold); }
.wizard-steps li.active span { background: var(--near-black); color: var(--white); border-color: var(--near-black); }
.wizard-steps li.done span { background: var(--gold); color: var(--near-black); border-color: var(--gold); }
@media (max-width: 600px) { .wizard-steps li { font-size: 0; gap: 0; } .wizard-steps li span { font-size: .7rem; } }
.wizard .step { border: 0; padding: 0; margin: 0; }
.label { display: block; font-size: .8rem; letter-spacing: .06em; margin-bottom: 10px; font-weight: 500; }
.hint { font-size: .78rem; color: var(--stone); margin: 6px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 400; letter-spacing: 0; font-size: .88rem; padding: 9px 14px; border: 1px solid var(--light-stone); border-radius: 999px; cursor: pointer; background: var(--white); }
.chip input { width: 16px; height: 16px; margin: 0; accent-color: var(--near-black); }
.chip:has(input:checked) { border-color: var(--near-black); background: var(--ivory); }
.wizard-nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 32px; padding-top: 22px; border-top: 1px solid #EEE8DC; }
.form-error { color: #9B2C2C; font-size: .88rem; margin: 16px 0 0; min-height: 1em; }
.wizard-done { background: var(--white); border: 1px solid #E8E1D4; border-top: 2px solid var(--gold); padding: clamp(28px, 5vw, 56px); border-radius: var(--radius); }

/* Community photo carousel */
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: var(--radius); background: var(--soft-black); scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; position: relative; }
.slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 20px 14px; color: var(--white); font-size: .9rem; background: linear-gradient(0deg, rgba(17,17,17,.75), transparent); }
.slide figcaption small { display: block; font-size: .7rem; color: var(--light-stone); }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; }
.carousel-nav .btn { min-height: 40px; padding: 8px 18px; }
.carousel-count { font-size: .82rem; color: var(--stone); min-width: 50px; text-align: center; }

.contact-direct { font-family: var(--serif); font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: var(--light-gold); margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.contact-direct a { color: var(--ivory); text-decoration: none; border-bottom: 1px solid var(--gold); }
.contact-direct span { color: var(--gold); }
.hero .tagline { display: flex; flex-wrap: wrap; align-items: baseline; row-gap: 6px; }
.crime-note { font-size: .88rem; color: var(--stone); background: var(--ivory); border-left: 2px solid var(--light-stone); padding: 12px 16px; }
.crime-note a { color: var(--espresso); }
.fine-print { background: var(--cream); padding: 20px 0 24px; border-top: 1px solid #E8E1D4; }
.fine-print p { font-size: .72rem; line-height: 1.55; color: var(--stone); margin: 0; max-width: 90ch; }
.fine-print strong { font-weight: 600; }

/* Hero "Explore" buttons — stand out against the photo */
.btn-hero { min-height: 54px; padding: 14px 30px; font-size: .82rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory); background: rgba(17,17,17,.55); border: 1.5px solid var(--light-gold); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.btn-hero span { color: var(--gold); transition: transform .2s, color .2s; }
.btn-hero:hover, .btn-hero:focus-visible { background: var(--light-gold); color: var(--near-black); border-color: var(--light-gold); }
.btn-hero:hover span, .btn-hero:focus-visible span { color: var(--near-black); transform: translateX(3px); }
@media (max-width: 600px) { .hero .btn-row .btn-hero { width: 100%; justify-content: center; } }
.step-wide { grid-column: 1 / -1; }
.about-title { font-family: var(--serif); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; }
.about-body { font-size: .95rem; line-height: 1.7; }
.fine-print p + p { margin-top: 8px; }
.map-dot-college { background: #8C2F39; border-radius: 3px; }
.commute-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 1100px) { .commute-grid { grid-template-columns: 1fr; } }
.commute-grid .drive-table th[scope="row"] { white-space: normal; }

/* Coaches page: program cards */
.program-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.program-card { background: var(--white); border: 1px solid #E8E1D4; border-top: 2px solid var(--gold); border-radius: var(--radius); padding: 22px; }
.program-card .area { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.program-card h3 { margin: 6px 0 4px; font-size: 1.15rem; }
.program-card p { margin: 0 0 8px; }
.program-near { list-style: none; padding: 0; margin: 0; }
.program-near li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #EEE8DC; font-size: .9rem; }
.program-near a { color: var(--espresso); text-decoration: none; border-bottom: 1px solid var(--light-gold); }
.program-near span { color: var(--stone); white-space: nowrap; }
