/* ==========================================================================
   A-1 & A-Thrifti Self Storage — design system
   Built for conversion first: fast, legible, thumb-friendly.
   ========================================================================== */

:root {
  --navy:        #0d2540;
  --navy-deep:   #08192b;
  --navy-soft:   #163a5e;
  --navy-line:   #1d3a5c;
  --blue:        #1d6fb8;
  --blue-dark:   #15588f;
  --blue-light:  #e8f1f9;
  --blue-tint:   #f2f7fb;
  --gold:        #d9a227;
  --gold-dark:   #a97a12;
  --gold-tint:   #fdf6e6;
  --red:         #b3261e;
  --paper:       #ffffff;
  --offwhite:    #f6f3ee;
  --offwhite-2:  #efeae2;
  --charcoal:    #2b3038;
  --ink:         #1a1f26;
  --muted:       #59616d;
  --muted-2:     #656c78;   /* AA on white and off-white */
  --line:        #dcd6cc;
  --line-soft:   #e9e4dc;
  --green-door:  #1f5c3d;

  --radius:      14px;
  --radius-sm:   9px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 2px rgba(13,37,64,.06), 0 2px 6px rgba(13,37,64,.05);
  --shadow:      0 2px 6px rgba(13,37,64,.07), 0 10px 26px rgba(13,37,64,.09);
  --shadow-lg:   0 8px 20px rgba(13,37,64,.10), 0 24px 56px rgba(13,37,64,.14);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-num: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1200px;
  --wrap-narrow: 820px;
  --dock-h: 0px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--dock-h);
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.16; margin: 0 0 .5em; letter-spacing: -.021em; font-weight: 800; }
h1 { font-size: clamp(2.05rem, 5.2vw, 3.35rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); letter-spacing: -.026em; }
h3 { font-size: clamp(1.16rem, 1.9vw, 1.4rem); }
h4 { font-size: 1.03rem; }
p  { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.25em; }
li { margin-bottom: .4em; }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: 2.5rem 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: var(--wrap-narrow); }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip:focus { left: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- section rhythm ---------- */
section { padding: clamp(3rem, 6vw, 5.25rem) 0; }
section.tight { padding: clamp(2.25rem, 4vw, 3.25rem) 0; }
.bg-off   { background: var(--offwhite); }
.bg-tint  { background: var(--blue-tint); }
.bg-navy  { background: var(--navy); color: #dbe6f1; }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-navy a { color: #a9d2f5; }

.eyebrow {
  display: inline-block; font-size: .765rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-dark); margin-bottom: .85rem;
}
.bg-navy .eyebrow { color: var(--gold); }
.section-head { max-width: 760px; margin-bottom: 2.4rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.075rem; margin-bottom: 0; }
.bg-navy .section-head p { color: #b9cadb; }
.lede { font-size: 1.14rem; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 10px; border: 2px solid transparent;
  font-weight: 750; font-size: 1rem; line-height: 1.15; text-decoration: none;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .1s, box-shadow .15s;
  min-height: 50px; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary   { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover   { background: var(--blue-dark); color: #fff; }
.btn-navy      { background: var(--navy); color: #fff; }
.btn-navy:hover      { background: var(--navy-deep); color: #fff; }
.btn-gold      { background: var(--gold); color: #2b1f00; }
.btn-gold:hover      { background: var(--gold-dark); color: #fff; }
.btn-outline   { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover   { background: var(--navy); color: #fff; }
.btn-ghost     { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(2px); }
.btn-ghost:hover     { background: #fff; color: var(--navy); border-color: #fff; }
.btn-quiet     { background: var(--offwhite); color: var(--navy); border-color: var(--line); }
.btn-quiet:hover     { background: var(--offwhite-2); }
.btn-sm  { padding: .6em 1.05em; font-size: .9rem; min-height: 42px; border-radius: 8px; }
.btn-lg  { padding: 1em 1.9em; font-size: 1.09rem; min-height: 58px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row.center { justify-content: center; }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 90; background: #fff;
  border-bottom: 1px solid var(--line-soft);
}
.hdr-bar { display: flex; align-items: center; gap: .9rem; min-height: 78px; }
.logo { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.logo img {
  display: block;
  width: 190px;          /* height follows from the artwork's own ratio - never stretched */
  height: auto;
  max-height: 60px;
  object-fit: contain;
}
@media (max-width: 1180px) { .logo img { width: 170px; } }
@media (max-width: 600px)  { .logo img { width: 145px; } }
@media (max-width: 360px)  { .logo img { width: 124px; } }

.nav { margin-left: auto; display: flex; align-items: center; gap: .1rem; }
.nav a {
  color: var(--charcoal); text-decoration: none; font-weight: 650; font-size: .91rem;
  padding: .55rem .5rem; border-radius: 7px; white-space: nowrap;
}
.nav a:hover { background: var(--offwhite); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--blue-dark); background: var(--blue-light); }
.hdr-cta { display: flex; align-items: center; gap: .6rem; margin-left: .8rem; flex: 0 0 auto; }
.hdr-cta .btn { white-space: nowrap; }
.hdr-phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 750; color: var(--navy); text-decoration: none; font-size: .93rem; white-space: nowrap; }
@media (max-width: 1380px) { .hdr-phone { display: none; } }
.hdr-phone:hover { color: var(--blue-dark); }
.burger {
  display: none; margin-left: auto; background: #fff; border: 1.5px solid var(--line);
  border-radius: 9px; width: 48px; height: 46px; align-items: center; justify-content: center; cursor: pointer;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--navy); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy);
}
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.mnav { display: none; border-top: 1px solid var(--line-soft); background: #fff; padding: .6rem 0 1.1rem; }
.mnav.open { display: block; }
.mnav a {
  display: block; padding: .82rem .25rem; color: var(--charcoal); text-decoration: none;
  font-weight: 650; border-bottom: 1px solid var(--line-soft);
}
.mnav .btn-row { margin-top: 1rem; }
.mnav .btn { flex: 1; }

@media (max-width: 1120px) {
  .nav, .hdr-cta { display: none; }
  .burger { display: flex; }
}

/* ---------- announcement / promo bar ---------- */
.promo-bar {
  background: var(--gold-tint); border-bottom: 1px solid #f0dfb4; color: #5a4508;
  font-size: .9rem; font-weight: 650; text-align: center; padding: .6rem 0;
}
.promo-bar a { color: #5a4508; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(103deg, rgba(6,20,36,.93) 0%, rgba(6,20,36,.84) 36%, rgba(6,20,36,.55) 64%, rgba(6,20,36,.3) 100%);
}
.hero-inner { position: relative; padding: clamp(3.2rem, 7vw, 6.5rem) 0 clamp(2.8rem, 5vw, 4.5rem); max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: .55rem; text-shadow: 0 2px 22px rgba(0,0,0,.35); }
.hero .eyebrow { color: var(--gold); }
.hero-sub { font-size: clamp(1.06rem, 1.9vw, 1.24rem); color: #d3e0ec; max-width: 610px; margin-bottom: 1.7rem; }
.hero .btn-row { margin-bottom: 1.9rem; }
.hero-price { display: inline-flex; align-items: baseline; gap: .4rem; font-weight: 800; color: var(--gold); font-size: 1.02rem; margin-bottom: 1rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: .55rem .5rem; padding: 0; margin: 0; list-style: none; }
.trust-row li {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .875rem; font-weight: 650;
  color: #e4edf5; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  padding: .42rem .8rem; border-radius: 999px; margin: 0;
}
.trust-row svg { flex: 0 0 auto; }

.hero-slim { background: var(--navy); }
.hero-slim .hero-inner { padding: clamp(2.4rem, 5vw, 3.9rem) 0 clamp(2.2rem, 4vw, 3.2rem); max-width: 820px; }
.hero-slim h1 { text-shadow: none; }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: .845rem; color: var(--muted); padding: .9rem 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.crumbs li { margin: 0; display: flex; gap: .4rem; align-items: center; }
.crumbs li + li::before { content: "›"; color: var(--muted-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue-dark); text-decoration: underline; }
.crumbs [aria-current] { color: var(--charcoal); font-weight: 650; }

/* ---------- grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .g4, .g5 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; } }

/* ---------- location cards ---------- */
.loc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
@media (max-width: 860px) { .loc-cards { grid-template-columns: 1fr; } }
.loc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}
.loc-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.loc-card-img { position: relative; aspect-ratio: 16 / 10; background: var(--offwhite-2); }
.loc-card-img img { width: 100%; height: 100%; object-fit: cover; }
.loc-flag {
  position: absolute; top: 14px; left: 14px; background: rgba(8,25,43,.9); color: #fff;
  font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .38rem .72rem; border-radius: 6px;
}
.loc-card-body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.loc-card-body h3 { margin-bottom: .3rem; font-size: 1.42rem; }
.loc-addr { color: var(--muted); font-style: normal; margin-bottom: .55rem; line-height: 1.5; }
.loc-card p.blurb { color: var(--muted); font-size: .965rem; }
.loc-phone {
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; color: var(--navy);
  text-decoration: none; font-size: 1.12rem; margin-bottom: 1rem;
}
.loc-phone:hover { color: var(--blue-dark); }
.loc-card .btn-row { margin-top: auto; }
.loc-card .btn-row .btn { flex: 1 1 auto; }
.rating-inline {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 650;
  color: var(--charcoal); background: var(--offwhite); border: 1px solid var(--line-soft);
  padding: .38rem .75rem; border-radius: 999px; margin-bottom: .9rem;
}
.stars { color: #b5820f; letter-spacing: .06em; font-size: .95rem; }  /* 3:1+ on light surfaces */
.bg-navy .stars, .hero .stars { color: var(--gold); }

/* ---------- unit cards ---------- */
.unit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 1.15rem; }
.unit-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.4rem; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: box-shadow .16s, border-color .16s, transform .16s;
}
.unit-card:hover { box-shadow: var(--shadow); border-color: #c4cfdb; transform: translateY(-2px); }
.unit-card.is-featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow-sm); }
.unit-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; margin-bottom: .15rem; }
.unit-size { font-size: 1.85rem; font-weight: 850; color: var(--navy); letter-spacing: -.035em; line-height: 1.05; font-family: var(--font-num); }
.unit-sqft { color: var(--muted-2); font-size: .875rem; font-weight: 650; margin-bottom: .7rem; }
.unit-tag {
  font-size: .69rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase;
  padding: .3rem .55rem; border-radius: 5px; white-space: nowrap;
}
.unit-tag.pop  { background: var(--gold-tint); color: var(--gold-dark); border: 1px solid #efdcae; }
.unit-tag.alt  { background: var(--blue-light); color: var(--blue-dark); border: 1px solid #cfe1f1; }
.unit-help { color: var(--muted); font-size: .9rem; line-height: 1.5; margin-bottom: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; padding: 0; list-style: none; }
.chips li {
  font-size: .755rem; font-weight: 700; color: var(--navy); background: var(--offwhite);
  border: 1px solid var(--line-soft); padding: .26rem .58rem; border-radius: 5px; margin: 0;
}
.unit-note {
  font-size: .82rem; color: #6b5410; background: var(--gold-tint); border: 1px solid #f0e2bd;
  border-radius: 7px; padding: .6rem .7rem; margin-bottom: .95rem; line-height: 1.45;
}
.unit-foot { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line-soft); }
.unit-price { display: flex; align-items: baseline; gap: .18rem; margin-bottom: .3rem; }
.unit-price b { font-size: 1.72rem; font-weight: 850; color: var(--navy); letter-spacing: -.035em; font-family: var(--font-num); }
.unit-price span { color: var(--muted); font-size: .93rem; font-weight: 650; }
.unit-avail { font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: .85rem; display: flex; align-items: center; gap: .38rem; }
.unit-avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; }
.unit-loc { font-size: .8rem; color: var(--muted-2); font-weight: 650; margin-bottom: .8rem; }
.unit-card .btn-row .btn { flex: 1 1 auto; }
.unit-card details { margin-top: .7rem; }
.unit-card summary { cursor: pointer; font-size: .845rem; font-weight: 700; color: var(--blue-dark); }
.unit-card details p { font-size: .855rem; color: var(--muted); margin: .55rem 0 0; }

/* variant explainer */
.variant-note {
  background: var(--blue-tint); border: 1px solid #d3e4f2; border-left: 4px solid var(--blue);
  border-radius: 10px; padding: 1.15rem 1.3rem; margin-bottom: 1.6rem;
}
.variant-note h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.variant-note p { margin: 0; font-size: .93rem; color: var(--muted); }

/* rate filter bar */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1.6rem; }
.filters .lbl { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: var(--muted-2); margin-right: .2rem; }
.chip-btn {
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: .5rem 1rem;
  font-size: .89rem; font-weight: 700; color: var(--charcoal); cursor: pointer; transition: all .14s;
}
.chip-btn:hover { border-color: var(--blue); color: var(--blue-dark); }
.chip-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.result-count { font-size: .9rem; color: var(--muted); font-weight: 650; margin-left: auto; }

/* ---------- segment cards ---------- */
.seg-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: box-shadow .16s, transform .16s;
}
.seg-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.seg-icon {
  width: 46px; height: 46px; border-radius: 11px; background: var(--blue-light); color: var(--blue-dark);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.seg-card h3 { font-size: 1.16rem; margin-bottom: .4rem; }
.seg-card p { color: var(--muted); font-size: .945rem; flex: 1; }
.seg-card a.more {
  font-weight: 750; color: var(--blue-dark); text-decoration: none; font-size: .93rem;
  display: inline-flex; align-items: center; gap: .35rem; margin-top: .3rem;
}
.seg-card a.more:hover { text-decoration: underline; }

/* ---------- feature / benefit grid ---------- */
.why-card { display: flex; gap: 1rem; align-items: flex-start; }
.why-icon {
  width: 44px; height: 44px; border-radius: 10px; flex: 0 0 auto; display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: var(--gold); border: 1px solid rgba(255,255,255,.16);
}
.bg-off .why-icon, .bg-tint .why-icon, section:not(.bg-navy) .why-icon {
  background: var(--blue-light); color: var(--blue-dark); border-color: #d6e6f4;
}
.why-card h3 { font-size: 1.06rem; margin-bottom: .28rem; }
.why-card p { font-size: .93rem; margin: 0; color: var(--muted); }
.bg-navy .why-card p { color: #b3c5d7; }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.8rem, 4vw, 3.6rem); align-items: center; }
.split.rev .split-media { order: -1; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev .split-media { order: 0; } }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
/* Tall/portrait diagrams must show in full - no fixed-ratio crop container. */
.split-media img.img-full,
img.img-full {
  aspect-ratio: auto;
  height: auto;
  max-height: none;
  object-fit: contain;
  width: 100%;
  max-width: none;
  margin-inline: auto;
  background: #fff;
}
/* the column must grow to the graphic rather than clip it */
.split-media:has(img.img-full) { overflow: visible; align-self: stretch; }
.split-body ul.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.split-body ul.ticks li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .55rem; color: var(--charcoal); }
.split-body ul.ticks li svg { flex: 0 0 auto; margin-top: 4px; color: var(--blue); }
.bg-navy .split-body ul.ticks li { color: #cfdce8; }
.bg-navy .split-body ul.ticks li svg { color: var(--gold); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--offwhite-2); aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figure.wide { grid-column: span 2; aspect-ratio: 8/3; }
@media (max-width: 900px) { .gallery figure.wide { grid-column: span 2; aspect-ratio: 8/3; } }

/* ---------- size finder ---------- */
.finder {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow);
}
.finder-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 1.4rem; }
@media (max-width: 960px) { .finder-opts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .finder-opts { grid-template-columns: 1fr; } }
.finder-opt {
  text-align: left; background: var(--offwhite); border: 2px solid var(--line-soft); border-radius: 11px;
  padding: .95rem 1rem; cursor: pointer; transition: all .14s; min-height: 84px;
}
.finder-opt:hover { border-color: var(--blue); background: var(--blue-tint); }
.finder-opt[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-light); box-shadow: 0 0 0 1px var(--blue); }
.finder-opt b { display: block; color: var(--navy); font-size: 1rem; font-weight: 800; margin-bottom: .15rem; }
.finder-opt span { display: block; color: var(--muted); font-size: .845rem; line-height: 1.4; }
.finder-out { border-top: 1px solid var(--line-soft); padding-top: 1.5rem; }
.finder-out[hidden] { display: none; }
.finder-out h3 { font-size: 1.2rem; }
.finder-reset { background: none; border: 0; color: var(--blue-dark); font-weight: 700; cursor: pointer; padding: 0; text-decoration: underline; font-size: .9rem; }

/* ---------- size guide table/rows ---------- */
.size-row {
  display: grid; grid-template-columns: 128px 1fr auto; gap: 1.4rem; align-items: center;
  padding: 1.25rem 0; border-bottom: 1px solid var(--line-soft);
}
@media (max-width: 760px) { .size-row { grid-template-columns: 92px 1fr; } .size-row .size-cta { grid-column: 1 / -1; } }
.size-viz {
  background: var(--blue-tint); border: 1.5px solid #d3e4f2; border-radius: 9px;
  display: grid; place-items: center; aspect-ratio: 4/3; color: var(--navy); font-weight: 850;
  font-size: 1.02rem; letter-spacing: -.02em; position: relative; overflow: hidden;
}
.size-viz::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--blue) 1px, transparent 1px), linear-gradient(90deg, var(--blue) 1px, transparent 1px);
  background-size: 12px 12px; opacity: .1;
}
.size-viz b { position: relative; }
.size-row h3 { margin-bottom: .25rem; font-size: 1.14rem; }
.size-row p { margin: 0; color: var(--muted); font-size: .945rem; }
.size-row .size-price { font-weight: 800; color: var(--navy); white-space: nowrap; font-size: 1.02rem; }

/* ---------- reviews ---------- */
.rating-block {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.4rem; box-shadow: var(--shadow-sm);
}
.rating-score { display: flex; align-items: baseline; gap: .4rem; }
.rating-score b { font-size: 2.1rem; font-weight: 850; color: var(--navy); letter-spacing: -.04em; line-height: 1; }
.rating-meta { font-size: .9rem; color: var(--muted); font-weight: 650; }
.rating-meta strong { color: var(--charcoal); }
.review-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.45rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.review-card blockquote { margin: 0 0 1rem; color: var(--charcoal); font-size: 1.005rem; line-height: 1.6; flex: 1; }
.review-card .stars { margin-bottom: .7rem; font-size: 1.02rem; }
.review-who { display: flex; flex-direction: column; gap: .1rem; }
.review-who b { color: var(--navy); font-size: .95rem; font-weight: 800; }
.review-who span { color: var(--muted-2); font-size: .795rem; font-weight: 650; letter-spacing: .03em; }
@media (max-width: 760px) {
  .review-scroll { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .8rem; margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
  .review-scroll .review-card { flex: 0 0 84%; scroll-snap-align: start; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  cursor: pointer; padding: 1.15rem 2.4rem 1.15rem 0; font-weight: 750; color: var(--navy);
  font-size: 1.045rem; list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .4rem; top: 1.5rem; width: 10px; height: 10px;
  border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue);
  transform: rotate(45deg); transition: transform .18s;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.75rem; }
.faq details p { color: var(--muted); padding-right: 2rem; margin: 0 0 1.15rem; }

/* ---------- map ---------- */
.map-frame {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--offwhite-2); aspect-ratio: 16/10; box-shadow: var(--shadow-sm);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-ph { display: grid; place-items: center; height: 100%; color: var(--muted); text-align: center; padding: 1.5rem; }

/* ---------- NAP block ---------- */
.nap { display: grid; gap: 1rem; }
.nap-row { display: flex; gap: .8rem; align-items: flex-start; }
.nap-row svg { flex: 0 0 auto; color: var(--blue); margin-top: 3px; }
.nap-row b { display: block; color: var(--navy); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .12rem; }
.nap-row a { color: var(--charcoal); text-decoration: none; font-weight: 650; }
.nap-row a:hover { color: var(--blue-dark); text-decoration: underline; }
.nap-row .note { color: var(--muted); font-size: .9rem; }

/* ---------- forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 750; color: var(--navy); font-size: .91rem; margin-bottom: .4rem; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: .78rem .9rem; border: 1.5px solid var(--line); border-radius: 9px;
  background: #fff; font-size: 1rem; transition: border-color .14s, box-shadow .14s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,111,184,.16);
}
.field textarea { min-height: 118px; resize: vertical; }
.field .hint { font-size: .82rem; color: var(--muted-2); margin-top: .3rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: 1.1rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto; }
.check label { font-weight: 650; font-size: .93rem; color: var(--charcoal); margin: 0; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 640px) { .form-2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-success {
  background: #edf7ee; border: 1px solid #bfe0c3; border-left: 4px solid #2e7d32;
  border-radius: 10px; padding: 1.3rem 1.4rem; color: #204d24;
}
.form-success h3 { color: #1b5e20; margin-bottom: .35rem; font-size: 1.12rem; }
.form-success p { margin: 0; }
.form-error { color: var(--red); font-size: .86rem; font-weight: 700; margin-top: .3rem; }

/* ---------- callout / CTA band ---------- */
.cta-band { background: var(--navy); color: #dbe6f1; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: .6rem; }
.cta-band p { color: #b9cadb; max-width: 620px; margin: 0 auto 1.8rem; font-size: 1.075rem; }
.cta-band .btn-row { justify-content: center; }

.callout {
  background: var(--offwhite); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 10px; padding: 1.2rem 1.4rem;
}
.callout h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.callout p:last-child { margin-bottom: 0; }
.callout.info { border-left-color: var(--blue); background: var(--blue-tint); border-color: #d3e4f2; }

.disclaimer { font-size: .855rem; color: var(--muted-2); border-top: 1px solid var(--line-soft); padding-top: 1.1rem; margin-top: 2rem; }

/* prose */
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; }
.prose > :first-child { margin-top: 0; }
.prose ul li::marker { color: var(--blue); }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 1.2rem .8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.stat b { display: block; font-size: 1.85rem; font-weight: 850; color: var(--navy); letter-spacing: -.04em; line-height: 1.1; font-family: var(--font-num); }
.stat span { font-size: .88rem; color: var(--muted); font-weight: 650; }

/* neighborhood pills */
.pills { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; list-style: none; margin: 0; }
.pills li {
  font-size: .875rem; font-weight: 650; color: var(--charcoal); background: #fff;
  border: 1px solid var(--line); padding: .38rem .8rem; border-radius: 999px; margin: 0;
}

/* ---------- footer ---------- */
.ftr { background: var(--navy-deep); color: #a9bcce; padding: clamp(2.8rem, 5vw, 4rem) 0 0; font-size: .935rem; }
.ftr a { color: #cddbe8; text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.4rem; }
@media (max-width: 940px) { .ftr-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr-top { grid-template-columns: 1fr; } }
.ftr h4, .ftr .ftr-h { color: #fff; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 1rem; line-height: 1.3; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr li { margin-bottom: .55rem; }
.ftr-brand b { color: #fff; font-size: 1.15rem; font-weight: 850; display: block; margin-bottom: .35rem; letter-spacing: -.025em; }
.ftr-logo {
  display: inline-block; background: #fff; border-radius: 12px;
  padding: .7rem .9rem; margin-bottom: 1rem; line-height: 0;
}
.ftr-logo img { width: 210px; height: auto; display: block; }
@media (max-width: 560px) { .ftr-logo img { width: 180px; } }
.ftr-loc { margin-bottom: 1.3rem; }
.ftr-loc b { color: #fff; display: block; font-weight: 750; margin-bottom: .15rem; }
.ftr-loc a.tel { font-weight: 750; color: #fff; }
.ftr-bot {
  border-top: 1px solid rgba(255,255,255,.12); padding: 1.3rem 0 1.6rem;
  display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; justify-content: space-between;
  font-size: .855rem; color: #8ba0b4;
}
.ftr-bot a { color: #8ba0b4; }

/* ---------- mobile dock ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: none;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -3px 16px rgba(13,37,64,.12); padding-bottom: env(safe-area-inset-bottom);
}
.dock-in { display: grid; grid-template-columns: repeat(3, 1fr); }
.dock a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .18rem;
  padding: .68rem .3rem .6rem; text-decoration: none; color: var(--navy); font-size: .755rem;
  font-weight: 750; min-height: 62px; border-right: 1px solid var(--line-soft);
}
.dock a:last-child { border-right: 0; }
.dock a.primary { background: var(--blue); color: #fff; }
.dock a svg { width: 20px; height: 20px; }
@media (max-width: 860px) {
  .dock { display: block; }
  body { --dock-h: 66px; }
}

/* ---------- checklist page ---------- */
.chk { list-style: none; padding: 0; margin: 0; }
.chk li { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem 0; border-bottom: 1px solid var(--line-soft); margin: 0; }
.chk li::before { content: "☐"; color: var(--gold-dark); font-size: 1.1rem; line-height: 1.4; flex: 0 0 auto; }

/* ---------- utilities ---------- */
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; }
.mb1 { margin-bottom: 1rem; } .mb2 { margin-bottom: 2rem; }
.center { text-align: center; }
.hide { display: none !important; }
@media print { .hdr, .dock, .ftr, .btn { display: none !important; } }

/* ---------- hero: mobile tuning ---------- */
@media (max-width: 720px) {
  .hero-media::after {
    background: linear-gradient(180deg, rgba(6,20,36,.9) 0%, rgba(6,20,36,.82) 45%, rgba(6,20,36,.88) 100%);
  }
  .hero .btn-row .btn { width: 100%; }
  .hero-inner { padding-bottom: 2.6rem; }
  .trust-row li { font-size: .82rem; padding: .4rem .7rem; }
}
@media (max-width: 520px) {
  .btn-row > .btn { width: 100%; }
  .unit-card .btn-row > .btn, .loc-card .btn-row > .btn,
  .filters .chip-btn, .crumbs .btn { width: auto; }
  .unit-card .btn-row > .btn { flex: 1 1 45%; width: auto; }
  .loc-card .btn-row > .btn { flex: 1 1 45%; width: auto; }
}

/* ---------- fixed-column unit grids (avoids a ragged last row) ---------- */
.unit-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1040px) { .unit-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px)  { .unit-grid.cols-3 { grid-template-columns: 1fr; } }

/* ---------- anchor offset under the sticky header ---------- */
section[id], [id^="size-finder"], #units, #locations, #faq, #reviews,
#student-rates, #biz-rates, #trade-rates, #move-rates, #md-rates, #lp-rates {
  scroll-margin-top: 90px;
}
