/* PCSgo brand system, palette pulled from the logo */
:root {
  --navy: #123B7D;
  --navy-dark: #0C2A5C;
  --navy-ink: #0A1F44;
  --sky: #57A8F2;
  --sky-soft: #EAF3FE;
  --sky-border: #CFE4FB;
  --orange: #F7941D;
  --orange-soft: #FEF3E3;
  --ink: #16233A;
  --muted: #5B6B84;
  --bg: #F6F9FE;
  --card: #FFFFFF;
  --line: #E4EBF5;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 36px; }

/* ── Header (row 1) ── */
.menu-btn { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 38px; height: 38px;
  background: var(--sky-soft); border: none; border-radius: 10px; cursor: pointer; padding: 0 9px; }
.menu-btn span { display: block; height: 2.5px; background: var(--navy); border-radius: 2px; }
.hdr { position: relative; position: sticky; top: 0; z-index: 1100; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.hdr img.logo { height: 42px; width: auto; max-width: none; display: block; }
.hdr nav { display: flex; gap: 26px; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.hdr nav a:hover { color: var(--navy); }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13.5px; border-radius: 12px; padding: 11px 20px; cursor: pointer; border: none; transition: all .18s; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #E28312; transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }

/* ── Station subnav (row 2 of the double header) ── */
.subnav { position: sticky; top: 64px; z-index: 1090; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px -14px rgba(10,31,68,.25); }
.subnav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 0 36px; max-width: 1140px; margin: 0 auto; }
.subnav-in::-webkit-scrollbar { display: none; }
.subtab { flex-shrink: 0; font-size: 12.5px; font-weight: 700; color: var(--muted); padding: 14px 15px 12px; border-bottom: 2.5px solid transparent; cursor: pointer; background: none; border-top: none; border-left: none; border-right: none; font-family: inherit; white-space: nowrap; transition: color .15s; }
.subtab:hover { color: var(--navy); }
.subtab.on { color: var(--navy); border-bottom-color: var(--orange); }

/* Tab panels */
.tabpane { display: none; }
.tabpane.on { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── Hero ── */
.topband { background: linear-gradient(158deg, var(--navy-dark) 0%, var(--navy) 42%, #1B4FA0 78%, #17457F 100%); }
.hero { background: transparent; color: #fff; position: relative; overflow: hidden; }
.hero .star { position: absolute; right: max(4%, calc(50% - 534px)); top: 50%; transform: translateY(-50%); width: 380px; opacity: .14; pointer-events: none; }
.hero-in { padding-top: 96px; padding-bottom: 64px; position: relative; }
.hero-in > * { max-width: 720px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: var(--sky); font-size: 10.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 900; line-height: 1.02; letter-spacing: -.03em; }
.hero h1 .sky { color: var(--sky); }
.hero h1 .org { color: var(--orange); }
.hero p.sub { margin-top: 22px; font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.82); max-width: 540px; }
.hero-stats { display: flex; gap: 42px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats .st b { display: block; font-size: 30px; font-weight: 900; color: var(--orange); letter-spacing: -.02em; }
.hero-stats .st span { font-size: 12px; color: rgba(255,255,255,.65); }

/* ── Map hub ── */
.hub { position: relative; margin-top: -1px; background: transparent; padding-bottom: 76px; }
.hub-card { background: var(--card); border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(10,31,68,.45); overflow: hidden; }
.hub-bar { display: flex; gap: 10px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.searchbox { flex: 1; min-width: 240px; display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.searchbox input { border: none; outline: none; background: transparent; font: inherit; font-size: 14px; width: 100%; color: var(--ink); }
.chip { font-size: 12px; font-weight: 700; padding: 8px 13px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--muted); transition: all .15s; white-space: nowrap; }
.statesel { font: inherit; font-size: 12.5px; font-weight: 700; color: var(--ink); border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; cursor: pointer; outline: none; max-width: 170px; }
.statesel:focus { border-color: var(--sky); }

/* Type-ahead suggestions */
.sugg { position: absolute; top: calc(100% + 6px); left: -2px; right: -2px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; box-shadow: 0 18px 44px -12px rgba(10,31,68,.3); z-index: 1200; display: none; overflow: hidden; }
.sugg.open { display: block; }
.sugg-item { display: flex; align-items: center; gap: 10px; padding: 11px 14px; cursor: pointer; border-bottom: 1px solid #F1F5FB; }
.sugg-item:last-child { border-bottom: none; }
.sugg-item:hover, .sugg-item.hi { background: var(--sky-soft); }
.sugg-item .dot { width: 9px; height: 9px; border-radius: 99px; flex-shrink: 0; }
.sugg-item .sn { font-size: 13px; font-weight: 700; color: var(--navy-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sugg-item .ss { margin-left: auto; font-size: 10.5px; font-weight: 800; color: var(--muted); background: var(--bg); padding: 3px 8px; border-radius: 999px; flex-shrink: 0; }
.chip.on { color: #fff; }
#map { height: 520px; width: 100%; }
.hub-note { display: flex; justify-content: space-between; align-items: center; padding: 13px 20px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); flex-wrap: wrap; gap: 8px; }

/* base preview panel */
.panel { position: absolute; top: 80px; right: 52px; width: 330px; max-height: 430px; overflow-y: auto; background: #fff; border-radius: 16px; box-shadow: 0 18px 50px -12px rgba(10,31,68,.4); z-index: 1050; padding: 22px; display: none; }
.panel.open { display: block; }
.panel .close { position: absolute; top: 12px; right: 12px; background: var(--bg); border: none; border-radius: 999px; width: 26px; height: 26px; cursor: pointer; color: var(--muted); font-weight: 700; }
.panel .badge { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; color: #fff; }
.panel h3 { font-size: 18px; font-weight: 900; letter-spacing: -.01em; line-height: 1.15; margin-bottom: 6px; }
.panel .loc { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.panel p.desc { font-size: 12.5px; line-height: 1.6; color: var(--muted); margin-bottom: 14px; }

/* ── Sections ── */
.sec { padding-top: 78px; padding-bottom: 10px; }
.k { font-size: 10.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.sec h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 900; letter-spacing: -.025em; color: var(--navy-ink); }
.sec p.lead { margin-top: 12px; color: var(--muted); font-size: 14.5px; line-height: 1.7; max-width: 640px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 36px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; transition: all .2s; }
.feat:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -18px rgba(10,31,68,.25); border-color: var(--sky-border); }
.feat .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--sky-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feat h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.feat p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 36px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; position: relative; }
.step .num { position: absolute; top: 18px; right: 20px; font-size: 34px; font-weight: 900; color: var(--sky-soft); }
.step .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--orange-soft); color: var(--orange); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.step p { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ── Connect band + form ── */
.connect { margin: 84px 0 0; background: linear-gradient(140deg, var(--navy-dark), var(--navy)); border-radius: 26px; color: #fff; overflow: hidden; position: relative; }
.connect .star { position: absolute; left: -60px; bottom: -70px; width: 320px; opacity: .12; }
.connect-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; padding: 56px; position: relative; }
.connect h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; letter-spacing: -.02em; line-height: 1.12; }
.connect p { margin-top: 14px; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.78); max-width: 440px; }
.connect ul { margin-top: 20px; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.connect li { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: rgba(255,255,255,.88); }
.connect li svg { color: var(--orange); flex-shrink: 0; }
.form { background: #fff; border-radius: 18px; padding: 28px; color: var(--ink); }
.form h3 { font-size: 17px; font-weight: 900; margin-bottom: 4px; }
.form .tiny { font-size: 11.5px; color: var(--muted); margin-bottom: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 13.5px; border: 1.5px solid var(--line); border-radius: 11px; padding: 11px 13px; margin-bottom: 10px; outline: none; color: var(--ink); background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--sky); }
.form button { width: 100%; }
.form .fine { font-size: 10.5px; color: var(--muted); text-align: center; margin-top: 10px; line-height: 1.5; }
/* Labelled fields: every input says what it is for, no bare month pickers. */
.form .fld { display: block; margin-bottom: 10px; }
.form .fld > span { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.form .fld input, .form .fld select, .form .fld textarea { margin-bottom: 0; }
.form .row .fld { margin-bottom: 0; }
.form .row { margin-bottom: 10px; align-items: end; }
.form .optin { display: flex; gap: 9px; align-items: flex-start; background: #F6F9FE;
  border: 1.5px solid var(--line); border-radius: 11px; padding: 11px 13px; margin-bottom: 10px;
  font-size: 11.5px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.form .optin input { width: 16px; height: 16px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--orange); }
.form .optin b { color: var(--ink); }
.form .ok { display: none; text-align: center; padding: 34px 8px; }
.form .ok .ic { width: 54px; height: 54px; border-radius: 16px; background: var(--sky-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }

/* ── Footer ── */
footer { margin-top: 94px; background: var(--navy-ink); color: rgba(255,255,255,.75); }
.ftr-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 36px; padding-bottom: 36px; flex-wrap: wrap; }
.ftr-in img { height: 44px; opacity: .95; }
.ftr-in .links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 12.5px; font-weight: 600; }
.ftr-in .links a:hover { color: var(--orange); }
.ftr-legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; padding-bottom: 24px; font-size: 11.5px; color: rgba(255,255,255,.5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ── Base detail page ── */
.bhero { background: linear-gradient(150deg, var(--navy-dark) 0%, var(--navy) 60%, #1B4FA0 100%); color: #fff; position: relative; overflow: hidden; }
/* right is pinned to the content column on wide screens, not the viewport,
   so the star stays with the panel instead of travelling with the monitor. */
.bhero .star { position: absolute; right: max(3%, calc(50% - 534px)); top: 50%; transform: translateY(-46%); width: 330px; opacity: .14; pointer-events: none; }
.bhero-in { padding-top: 76px; padding-bottom: 68px; position: relative; }
.crumb { font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 22px; }
.crumb a:hover { color: #fff; }
.bhero h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 900; letter-spacing: -.03em; line-height: 1.06; max-width: 720px; }
.bhero .meta { display: flex; gap: 10px; margin: 20px 0 0; flex-wrap: wrap; }
.tag { font-size: 11px; font-weight: 800; padding: 6px 13px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); }
.tag.org { background: var(--orange); border-color: var(--orange); color: #fff; }
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-top: 44px; max-width: 900px; }
.q { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 15px; padding: 17px 18px; }
.q b { display: block; font-size: 21px; font-weight: 900; color: var(--orange); letter-spacing: -.02em; }
.q span { font-size: 11px; color: rgba(255,255,255,.62); }
.bwrap { padding-top: 34px; }
.bgrid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; margin-bottom: 22px; }
.card h2 { font-size: 19px; font-weight: 900; letter-spacing: -.015em; color: var(--navy-ink); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.card h2 .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--sky-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.card p { font-size: 13.5px; line-height: 1.75; color: var(--muted); }
.statrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: 10px; margin-top: 14px; }
.stat { background: var(--bg); border-radius: 12px; padding: 14px; }
.stat b { display: block; font-size: 17px; font-weight: 900; color: var(--navy); }
.stat span { font-size: 10.5px; color: var(--muted); }
.bar-row { margin-bottom: 12px; }
.bar-row .lbl { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; margin-bottom: 5px; }
.bar { height: 9px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; }
.linklist { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.linklist a { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--navy); background: var(--bg); border-radius: 11px; padding: 12px 14px; transition: background .15s; }
.linklist a:hover { background: var(--sky-soft); }
.linklist a svg { color: var(--sky); flex-shrink: 0; }
.factbox { background: var(--orange-soft); border: 1px solid #F8D9AC; border-radius: 15px; padding: 17px 19px; font-size: 13px; color: #7A5010; line-height: 1.6; }
.factbox b { color: #9A6200; }
.sample-note { font-size: 10.5px; color: var(--muted); font-style: italic; margin-top: 4px; padding-bottom: 8px; }

/* District cards with logo chips */
.district { display: flex; gap: 16px; align-items: flex-start; background: var(--bg); border-radius: 14px; padding: 16px; margin-bottom: 10px; }
.district .dlogo { width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 16px; color: #fff; flex-shrink: 0; letter-spacing: -.02em; }
.district .din { flex: 1; min-width: 0; }
.district h4 { font-size: 14px; font-weight: 800; color: var(--navy-ink); }
.district .dmeta { font-size: 11.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.district a.dl { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: var(--navy); margin-top: 7px; }
.district a.dl:hover { color: var(--sky); }
.district .drate { flex-shrink: 0; text-align: center; background: #fff; border-radius: 11px; padding: 9px 13px; }
.district .drate b { display: block; font-size: 16px; font-weight: 900; color: var(--navy); }
.district .drate span { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* Community cards */
.hoodgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 16px; }
.hood { background: var(--bg); border-radius: 15px; padding: 18px; border: 1px solid transparent; transition: all .18s; }
.hood:hover { border-color: var(--sky-border); background: var(--sky-soft); }
.hood h4 { font-size: 15px; font-weight: 900; color: var(--navy-ink); display: flex; justify-content: space-between; align-items: center; }
.hood h4 .price { font-size: 12px; font-weight: 800; color: var(--orange); }
.hood p { font-size: 12px; margin-top: 6px; line-height: 1.55; }
.hood .hmeta { display: flex; gap: 12px; margin-top: 10px; font-size: 11px; font-weight: 700; color: var(--navy); flex-wrap: wrap; }
.hood .hmeta span { display: inline-flex; align-items: center; gap: 5px; }
.hood .hmeta svg { color: var(--sky); }

/* Commute bars */
.commute-row { display: flex; align-items: center; gap: 12px; margin-bottom: 11px; }
.commute-row .cn { width: 110px; font-size: 12.5px; font-weight: 700; flex-shrink: 0; }
.commute-row .cb { flex: 1; height: 22px; background: var(--bg); border-radius: 8px; overflow: hidden; position: relative; }
.commute-row .cb i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--sky), var(--navy)); }
.commute-row .ct { width: 62px; font-size: 12px; font-weight: 800; color: var(--navy); text-align: right; flex-shrink: 0; }

/* Local life / trails cards */
.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 16px; }
.lcard { background: var(--bg); border-radius: 15px; padding: 17px; }
.lcard .ic { width: 38px; height: 38px; border-radius: 11px; background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 11px; }
.lcard h4 { font-size: 13.5px; font-weight: 800; color: var(--navy-ink); }
.lcard p { font-size: 11.5px; margin-top: 5px; line-height: 1.55; }
.lcard .badge { display: inline-block; margin-top: 9px; font-size: 10px; font-weight: 800; color: var(--navy); background: var(--sky-soft); padding: 4px 10px; border-radius: 999px; }

/* BAH table */
.bah-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 12.5px; }
.bah-table th { text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 10px; border-bottom: 1.5px solid var(--line); }
.bah-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); font-weight: 600; }
.bah-table td:first-child { font-weight: 800; color: var(--navy); }
.bah-table tr:last-child td { border-bottom: none; }

/* ── Mobile ── */
@media (max-width: 900px) {
  .wrap { padding: 0 22px; }
  .subnav-in { padding: 0 22px; }
  .connect-in { grid-template-columns: 1fr; padding: 38px 26px; }
  .bgrid { grid-template-columns: 1fr; }
  .hero-in { padding-top: 64px; padding-bottom: 48px; }
  .bhero-in { padding-top: 54px; padding-bottom: 50px; }
  .quick { margin-top: 32px; }
  .hero .star { width: 240px; right: -50px; opacity: .1; }
  .bhero .star { width: 200px; right: -40px; opacity: .1; }
  #map { height: 420px; }
  .panel { position: fixed; top: auto; left: 10px; right: 10px; bottom: 10px; width: auto; margin: 0;
    max-height: 62vh; overflow-y: auto; -webkit-overflow-scrolling: touch; z-index: 2000;
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 40px rgba(10, 31, 68, .35), 0 18px 50px -12px rgba(10, 31, 68, .4); }
  .panel::before { content: ''; display: block; width: 42px; height: 5px; border-radius: 99px;
    background: var(--line); margin: -6px auto 12px; }
  .panel .close { width: 32px; height: 32px; font-size: 15px; }
  .hdr nav { gap: 10px; }
  .hdr nav a:not(.btn) { display: none; }
  .menu-btn { display: flex !important; }
  .hdr nav.open a:not(.btn) { display: block; }
  .hdr nav.open { position: absolute; top: 100%; right: 0; left: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 12px;
    box-shadow: 0 18px 40px -12px rgba(10,31,68,.25); border-top: 1px solid var(--line); z-index: 1500; }
  .hdr nav.open a { padding: 13px 22px; font-size: 14.5px; font-weight: 700; color: var(--navy-ink); border-bottom: 1px solid #F1F5FB; }
  .hdr nav.open a.btn { margin: 12px 18px 0; text-align: center; justify-content: center; color: #fff; border-bottom: none; }
  .hdr nav.open .menu-btn { position: absolute; top: -46px; right: 18px; }
  .card { padding: 22px 18px; }
  .connect { margin-top: 60px; }
  .sec { padding-top: 56px; padding-bottom: 8px; }
  footer { margin-top: 64px; }
  .district { flex-wrap: wrap; }
  .form .row { grid-template-columns: 1fr; }
}

/* Official-data chip (link) */
a.drate { transition: background .15s; }
a.drate:hover { background: var(--sky-soft); }
a.drate b { font-size: 13px; }

/* Common-law trademark notice on the wordmark. Registered marks use (R);
   until then (TM) is the correct and legal symbol for a mark in use. */
.brandmark { display: inline-flex; align-items: flex-start; text-decoration: none; flex-shrink: 0; }
.brandmark .tm { font-size: 9px; font-weight: 800; line-height: 1; margin: 3px 0 0 3px;
  color: var(--muted); letter-spacing: 0; }
.brandmark .tm.light { color: rgba(255,255,255,.55); }

/* Station guide: pick your rank so the hero shows YOUR BAH, not a stand-in. */
.rankbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 24px 0 -6px; }
.rankbar label { display: flex; flex-direction: column; gap: 5px; font-size: 10px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.rankbar select { font: inherit; font-size: 13px; font-weight: 700; color: var(--ink);
  background: #fff; border: none; border-radius: 10px; padding: 9px 12px; min-width: 150px; }
.rankbar .rankhint { font-size: 11px; color: rgba(255,255,255,.6); padding-bottom: 10px; }
@media (max-width: 560px) {
  .rankbar { gap: 9px; }
  .rankbar select { min-width: 0; width: 100%; }
  .rankbar label { flex: 1 1 140px; }
  .rankbar .rankhint { display: none; }
}

/* Station guide: nearest VA care. Locations are official; phone and hours link
   out to the VA locator rather than being published from a source without them. */
.valist { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-top: 16px; }
.vacard { border: 1.5px solid var(--line); border-radius: 13px; padding: 15px 17px; background: #fff; }
.vatop { display: flex; align-items: flex-start; gap: 10px; }
.vacard h4 { font-size: 13.5px; font-weight: 800; color: var(--navy-dark); margin: 0; line-height: 1.35; }
.vatype { font-size: 11px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.vami { margin-left: auto; flex: 0 0 auto; font-size: 11px; font-weight: 800; color: var(--navy);
  background: var(--sky-soft); border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.vaaddr { font-size: 12px; color: var(--ink); margin-top: 9px; line-height: 1.5; }
.valinks { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 11px; }
.valinks a { font-size: 11.5px; font-weight: 800; color: var(--navy); text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px; }
.valinks a:hover { text-decoration: underline; }
.vanote { font-size: 10.5px; color: var(--muted); font-style: italic; line-height: 1.55; margin-top: 16px; }

/* Station FAQ. Visible on purpose: the FAQPage markup describes these exact
   questions, and marking up content a visitor cannot see is structured data spam. */
.faq { padding-top: 8px; padding-bottom: 44px; }
.faq > h2 { font-size: 22px; font-weight: 900; color: var(--navy-dark); letter-spacing: -.02em;
  margin: 0 0 18px; }
.faq-q { border-top: 1.5px solid var(--line); }
.faq-q summary { font-size: 15.5px; font-weight: 800; color: var(--navy-dark);
  padding: 16px 34px 16px 0; cursor: pointer; list-style: none; position: relative; }
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q summary::after { content: ''; position: absolute; right: 8px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px; border-right: 2.5px solid var(--navy);
  border-bottom: 2.5px solid var(--navy); transform: rotate(45deg);
  transition: transform .18s ease; }
.faq-q[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-q summary:hover { color: var(--navy); }
.faq-q summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.faq-q p { font-size: 14px; color: var(--ink); line-height: 1.65; margin: 0 0 18px;
  max-width: 78ch; }
@media (prefers-reduced-motion: reduce) { .faq-q summary::after { transition: none; } }

/* Official installation page and address, under the map */
.official { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.off-row { display: flex; gap: 9px; align-items: flex-start; padding: 8px 0;
  text-decoration: none; color: var(--navy); }
.off-row + .off-row { border-top: 1px solid var(--line); }
.off-row i { flex: 0 0 auto; margin-top: 2px; }
.off-row span { font-size: 11px; color: var(--muted); font-weight: 600; line-height: 1.45; }
.off-row b { display: block; font-size: 12.5px; color: var(--navy); font-weight: 800;
  margin-top: 1px; word-break: break-word; }
.off-row:hover b { text-decoration: underline; }
.off-src { font-size: 10px; color: var(--muted); font-style: italic; line-height: 1.5;
  margin-top: 9px; }
.off-src a { color: var(--muted); }

/* The map pin is the installation's mapped point, not its visitor gate */
.gatenote { font-size: 10.5px; color: var(--muted); line-height: 1.55; margin-top: 9px;
  padding-top: 9px; border-top: 1px solid var(--line); }

/* Exchange and MWR, grouped by the branch that runs them */
.svcgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-top: 16px; }
.svccard { border: 1.5px solid var(--line); border-radius: 13px; padding: 14px 16px; background: #fff; }
.svcbranch { font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px; }
.svclink { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700;
  color: var(--navy); text-decoration: none; padding: 7px 0; line-height: 1.35; }
.svclink + .svclink { border-top: 1px solid var(--line); }
.svclink:hover { text-decoration: underline; }
.svclink i { flex: 0 0 auto; }

/* Overseas Housing Allowance, shown only on OCONUS station guides */
.ohalist { margin: 14px 0 0; padding-left: 18px; }
.ohalist li { font-size: 13.5px; color: var(--ink); line-height: 1.6; margin-bottom: 10px; }
.ohalist b { color: var(--navy-dark); }
.ohanote { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-top: 14px;
  padding-top: 12px; border-top: 1px solid var(--line); }
.ohalinks { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 12px; }
.ohalinks a { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px;
  font-weight: 800; color: var(--navy); text-decoration: none; }
.ohalinks a:hover { text-decoration: underline; }

/* ── Share, on station guides ── */
.titlerow { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.titlerow h1 { flex: 1 1 auto; }
.sharewrap { position: relative; flex: 0 0 auto; margin-top: 6px; }
.sharebtn { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 13px;
  font-weight: 800; color: #fff; cursor: pointer; background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.34); border-radius: 999px; padding: 9px 16px; }
.sharebtn:hover { background: rgba(255,255,255,.2); }
.sharebtn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.sharemenu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 1200;
  background: #fff; border: 1.5px solid var(--line); border-radius: 13px; padding: 6px;
  box-shadow: 0 18px 44px -12px rgba(10,31,68,.4); min-width: 176px; }
.sharemenu[hidden] { display: none; }
.sharemenu button, .sharemenu a { display: flex; align-items: center; gap: 9px; width: 100%;
  font: inherit; font-size: 13px; font-weight: 700; color: var(--navy-dark); text-align: left;
  background: none; border: none; border-radius: 9px; padding: 10px 12px; cursor: pointer; }
.sharemenu button:hover, .sharemenu a:hover { background: var(--sky-soft); }

@media (max-width: 700px) {
  .titlerow { flex-direction: column; gap: 12px; }
  .sharewrap { margin-top: 0; }
  .sharemenu { right: auto; left: 0; }
  /* 44px minimum touch target; the desktop size measured 36px on a phone */
  .sharebtn { padding: 13px 20px; font-size: 14px; }
  .sharemenu button, .sharemenu a { padding: 13px 14px; }
}

/* ── Footer social, sitting with the brandmark rather than bolted beneath it ── */
.fbmark { width: 1em; height: 1em; flex: 0 0 auto; }
.ftr-brandcol { display: flex; align-items: center; gap: 16px; }
.ftr-icons { display: flex; gap: 8px; }
.ftr-icons a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px;
  color: rgba(255,255,255,.72); border: 1.5px solid rgba(255,255,255,.22); transition: all .15s; }
.ftr-icons a:hover { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.1); }
.ftr-icons .fbmark { width: 17px; height: 17px; }
.ftr-icons i, .ftr-icons svg { width: 17px; height: 17px; }
.ftr-in .links a.ftr-community { color: var(--orange); font-weight: 800; }
.ftr-in .links a.ftr-community:hover { color: #FFB25C; }
.sharemenu .fbmark { width: 14px; height: 14px; color: #1877F2; }

/* ---- PCS Toolkit showcase band (front page) ---- */
.tkband {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #1b4fa0 100%);
  color: #fff; position: relative; overflow: hidden;
  border-radius: 26px; margin: 64px 0 8px;
}
/* Fixed width like every other .star: the global img max-width clamp turns a
   percentage HEIGHT into a vertical stretch once the band outgrows the image. */
.tkband .star { position: absolute; right: -120px; top: 50%; transform: translateY(-50%); width: 520px; max-width: none; height: auto; opacity: .08; pointer-events: none; }
.tk-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; position: relative; padding: 56px; }
.tkband .k { color: var(--orange); }
.tkband h2 { color: #fff; font-size: 34px; letter-spacing: -.02em; margin: 10px 0 14px; text-wrap: balance; }
.tkband .lead { color: #cfe0f6; font-size: 16.5px; max-width: 46ch; margin-bottom: 22px; }
.tk-list { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px 18px; margin-bottom: 28px; }
.tk-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #e6eefb; }
.tk-item b { display: block; font-size: 14.5px; color: #fff; }
.tk-item .dot { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; margin-top: 1px; background: rgba(247,148,29,.18); border: 1px solid rgba(247,148,29,.45); display: grid; place-items: center; color: var(--orange); font-weight: 800; font-size: 12px; }
.tk-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.tk-ctas .btn-ghost { border: 1.5px solid rgba(255,255,255,.35); color: #fff; border-radius: 10px; padding: 12px 20px; font-weight: 700; font-size: 15px; }
.tk-ctas .btn-ghost:hover { border-color: rgba(255,255,255,.65); }
.tk-free { font-size: 12.5px; color: #9fb8dd; width: 100%; margin-top: 2px; }
/* No min-height here: with an aspect-ratio it would force the WIDTH past a
   narrow column and push the deck off a phone screen. */
.tk-deck { position: relative; aspect-ratio: 1024 / 760; }
.tk-card { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(4,14,32,.45); border: 1px solid rgba(255,255,255,.14); transition: transform .7s cubic-bezier(.22,.9,.3,1), opacity .7s; will-change: transform, opacity; }
.tk-chrome { height: 30px; background: #edf2f9; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid #dde5f1; }
.tk-chrome i { width: 9px; height: 9px; border-radius: 99px; background: #cdd8e8; }
.tk-chrome span { margin-left: 8px; font-size: 11px; font-weight: 600; color: #8296b3; background: #fff; border: 1px solid #e2e9f3; border-radius: 6px; padding: 4px 10px; }
.tk-card img { width: 100%; height: calc(100% - 30px); object-fit: cover; object-position: top; display: block; }
.tk-card.pos-0 { transform: translate(0,0) rotate(0deg); z-index: 3; opacity: 1; }
.tk-card.pos-1 { transform: translate(4.5%, 5.5%) rotate(2.5deg) scale(.96); z-index: 2; opacity: .9; }
.tk-card.pos-2 { transform: translate(-4.5%, 10%) rotate(-2.5deg) scale(.92); z-index: 1; opacity: .8; }
.tk-card.pos-out { transform: translate(-8%, -6%) rotate(-5deg) scale(1.02); opacity: 0; z-index: 4; }
.tk-caption { position: absolute; left: 14px; bottom: -18px; z-index: 5; background: var(--orange); color: #fff; font-weight: 800; font-size: 13px; border-radius: 999px; padding: 10px 16px; box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.tk-dots { position: absolute; right: 8px; bottom: -26px; display: flex; gap: 7px; }
.tk-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.35); }
.tk-dots button[aria-current="true"] { background: var(--orange); width: 22px; }
@media (max-width: 900px) {
  .tk-in { grid-template-columns: minmax(0,1fr); gap: 40px; padding: 38px 26px 48px; }
  .tkband { margin: 44px 0 0; }
  .tkband h2 { font-size: 27px; }
  /* explicit width: margin auto disables grid stretch, and a box of absolutely
     positioned cards has no content width of its own */
  .tk-deck { width: 100%; max-width: 520px; margin: 0 auto; }
  .tk-caption { left: 8px; }
}
@media (max-width: 560px) {
  .tk-list { grid-template-columns: minmax(0,1fr); }
  .tkband .star { width: 300px; right: -90px; opacity: .06; }
}
@media (prefers-reduced-motion: reduce) { .tk-card { transition: none; } }

/* Home button on the base map, matching the zoom control. Selector matches
   Leaflet's own .leaflet-bar a specificity, which otherwise wins and keeps the
   anchor display:block with the icon riding the text baseline. */
.leaflet-bar a.map-home { display: flex; align-items: center; justify-content: center; color: #123B7D; line-height: 1; }
.leaflet-bar a.map-home:hover { color: #0C2A5C; }

/* ---- Area Map tab on the station guides ---- */
.am-chip { border: 1.5px solid var(--line); background: #fff; color: var(--muted); font: 700 12.5px 'Inter', sans-serif; border-radius: 999px; padding: 7px 13px; cursor: pointer; }
.am-chip[aria-pressed="true"] { border-color: transparent; color: #fff; }
.am-chip[data-layer="health"][aria-pressed="true"] { background: #C1443C; }
.am-chip[data-layer="communities"][aria-pressed="true"] { background: #123B7D; }
.am-chip[data-layer="outdoors"][aria-pressed="true"] { background: #2E7D6E; }
.am-chip[data-layer="shopping"][aria-pressed="true"] { background: #C08A2D; }
.ampin { border-radius: 999px 999px 999px 0; transform: rotate(-45deg); width: 24px; height: 24px; border: 2.5px solid #fff; box-shadow: 0 3px 10px rgba(10,31,68,.35); display: flex; align-items: center; justify-content: center; }
.ampin span { transform: rotate(45deg); font-size: 11px; color: #fff; }
.commute-label { background: #0A1F44; color: #fff; font: 800 11px 'Inter', sans-serif; border-radius: 8px; padding: 4px 9px; box-shadow: 0 4px 12px rgba(0,0,0,.3); white-space: nowrap; }

/* Toolkit banner with guide screenshots sliding in at the corner */
.tkbanner { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); border-radius: 14px; color: #fff; padding: 20px 240px 20px 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 22px 0 28px; position: relative; overflow: hidden; min-height: 112px; }
.tkbanner .tk-star { position: absolute; right: 120px; top: 50%; transform: translateY(-50%); width: 230px; max-width: none; height: auto; opacity: .10; pointer-events: none; }
.tkbanner .t b { font-size: 14.5px; }
.tkbanner .t p { font-size: 12px; color: #C9DAF5; margin-top: 2px; }
.tkbanner .btn { margin-left: auto; }
.tk-peek { position: absolute; right: 14px; bottom: 0; width: 210px; height: 100%; pointer-events: none; }
.tk-peek img { position: absolute; right: 0; bottom: -4px; width: 205px; border-radius: 8px 8px 0 0; border: 2px solid rgba(255,255,255,.3); box-shadow: 0 -6px 24px rgba(4,14,32,.5); opacity: 0; transform: translateY(105%) rotate(3deg); animation: tkslide 12s infinite; }
.tk-peek img:nth-child(2) { animation-delay: 4s; }
.tk-peek img:nth-child(3) { animation-delay: 8s; }
@keyframes tkslide {
  0% { transform: translateY(105%) rotate(3deg); opacity: 0; }
  6% { transform: translateY(14%) rotate(0deg); opacity: 1; }
  30% { transform: translateY(10%) rotate(0deg); opacity: 1; }
  36% { transform: translateY(105%) rotate(-3deg); opacity: 0; }
  100% { transform: translateY(105%) rotate(3deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tk-peek img { animation: none; }
  .tk-peek img:first-child { opacity: 1; transform: translateY(12%); }
}
@media (max-width: 640px) { .tkbanner { padding-right: 22px; } .tk-peek, .tkbanner .tk-star { display: none; } }
.am-jump { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--sky-border); background: var(--sky-soft); color: var(--navy); font: 700 12px 'Inter', sans-serif; border-radius: 999px; padding: 6px 13px; cursor: pointer; margin-top: 12px; }
.am-jump:hover { border-color: var(--sky); }

/* Area map side list and shopping */
.am-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; }
#areamap { height: 540px; }
.am-list { border-left: 1px solid var(--line); max-height: 540px; overflow-y: auto; padding: 10px; }
.am-list-h { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); padding: 10px 8px 4px; }
.am-item { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: none; font: inherit; text-align: left; padding: 8px; border-radius: 8px; cursor: pointer; }
.am-item:hover { background: var(--sky-soft); }
.am-item .dot { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 99px; }
.am-item .nm { font-size: 12.5px; font-weight: 700; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.am-item .mi { margin-left: auto; font-size: 11px; color: var(--muted); white-space: nowrap; }
.shopgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px 18px; margin-top: 14px; }
.shoprow { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 7px 2px; border-bottom: 1px solid var(--line); }
.shoprow span { color: var(--muted); white-space: nowrap; }
.shopdiv { grid-column: 1 / -1; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-top: 8px; }
@media (max-width: 860px) {
  .am-body { grid-template-columns: 1fr; }
  #areamap { height: 420px; }
  .am-list { border-left: 0; border-top: 1px solid var(--line); max-height: 260px; }
}

/* Compact toolkit banner for the overview column */
.tk-compact { min-height: 0; padding: 14px 118px 14px 16px; margin-top: 18px; gap: 10px; }
.tk-compact .t b { font-size: 13px; }
.tk-compact .t p { font-size: 11px; }
.tk-compact .btn { font-size: 12px; padding: 8px 12px; width: 100%; justify-content: center; margin: 4px 0 0; }
.tk-compact .tk-star { width: 130px; right: 60px; opacity: .08; }
.tk-compact .tk-peek { width: 110px; right: 8px; }
.tk-compact .tk-peek img { width: 105px; }

/* Header dropdown */
.navdrop { position: relative; display: inline-block; }
.navdrop-btn { border: 0; background: none; font: inherit; font-size: inherit; font-weight: inherit; color: inherit; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 4px; }
.dropmenu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px -10px rgba(10,31,68,.28); padding: 8px; min-width: 170px; display: none; z-index: 60; }
.dropmenu a { display: block; padding: 9px 13px; border-radius: 8px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.dropmenu a:hover { background: var(--sky-soft); color: var(--navy); }
.navdrop.open .dropmenu, .navdrop:hover .dropmenu, .navdrop:focus-within .dropmenu { display: block; }
@media (max-width: 900px) {
  .navdrop-btn { display: none; }
  .navdrop, .dropmenu { display: contents; }
  /* keep the header row to one line: burger, brand, one compact button */
  .hdr nav a.btn { white-space: nowrap; padding: 9px 13px; font-size: 12.5px; }
}

/* Collapsible cards on the Health & Base Services tab */
details.card.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
details.card.acc summary::-webkit-details-marker { display: none; }
details.card.acc summary::after { content: "▾"; font-size: 14px; color: var(--muted); transition: transform .18s; }
details.card.acc[open] summary::after { transform: rotate(180deg); }
details.card.acc summary h2 { margin: 0; }
details.card.acc .acc-body { margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { details.card.acc summary::after { transition: none; } }

/* ── Weather tab ─────────────────────────────────────────────────────────── */
.wxchip { display:none; align-items:center; gap:7px; background:rgba(255,255,255,.14);
  border:1.5px solid rgba(255,255,255,.28); border-radius:999px; padding:6px 13px;
  color:#fff; font:700 12.5px Inter,sans-serif; backdrop-filter:blur(4px); cursor:pointer; }
.wxchip.show { display:inline-flex; }
.wxchip:hover { background:rgba(255,255,255,.24); }
.wxchip svg { width:15px; height:15px; }
.wxchip .t { font-weight:900; }
.wxcard { padding:0; overflow:hidden; }
.wxcard .inner { padding:22px 26px 24px; }
.wxsky { position:relative; height:240px; overflow:hidden; transition:background 1.2s; border-radius:16px 16px 0 0; }
.wxsky.sunny { background:linear-gradient(180deg,#3D8BE8,#7CB8F5 60%,#BFE0FB); }
.wxsky.cloudy { background:linear-gradient(180deg,#5F7896,#8CA3BC 60%,#C2D2E0); }
.wxsky.rain { background:linear-gradient(180deg,#33455E,#58718F 70%,#7B92AB); }
.wxsky.snow { background:linear-gradient(180deg,#6E86A3,#9FB3C8 60%,#D3DEE9); }
.wxsky.storm { background:linear-gradient(180deg,#1B2637,#33455E 70%,#4A607D); }
.wxsky canvas { position:absolute; inset:0; width:100%; height:100%; }
.wxsun { position:absolute; top:22px; right:36px; width:72px; height:72px; border-radius:50%;
  background:radial-gradient(circle,#FFE9A8 30%,#F7C64B 70%); box-shadow:0 0 54px 22px rgba(247,198,75,.5); opacity:0; transition:opacity 1s; }
.wxsky.sunny .wxsun { opacity:1; }
.wxcl { position:absolute; background:rgba(230,238,246,.9); border-radius:100px; filter:blur(1.5px); }
.wxcl::before { content:""; position:absolute; background:inherit; border-radius:50%; width:52px; height:52px; top:-24px; left:22px; }
.wxcl.k1 { width:130px; height:36px; top:42px; left:-150px; animation:wxdrift 34s linear infinite; }
.wxcl.k2 { width:92px; height:27px; top:118px; left:-110px; opacity:.75; animation:wxdrift 50s linear infinite 7s; }
.wxcl.k3 { width:70px; height:22px; top:70px; left:-90px; opacity:.55; animation:wxdrift 42s linear infinite 16s; }
@keyframes wxdrift { to { transform:translateX(1400px); } }
.wxnow { position:absolute; left:26px; bottom:20px; color:#fff; text-shadow:0 2px 12px rgba(10,20,40,.55); }
.wxnow .kick { font-size:11px; font-weight:800; letter-spacing:.12em; opacity:.9; }
.wxnow .t { font-size:46px; font-weight:900; line-height:1.05; }
.wxnow .c { font-size:14px; font-weight:700; margin-top:3px; }
.wxstats { position:absolute; right:26px; bottom:20px; display:flex; gap:22px; color:#fff; text-align:right;
  text-shadow:0 2px 10px rgba(10,20,40,.55); }
.wxstats b { display:block; font-size:17px; font-weight:900; }
.wxstats span { font-size:10.5px; font-weight:700; opacity:.85; }
.wxlegend { display:flex; flex-wrap:wrap; gap:14px; margin:12px 0 2px; }
.wxlegend span { display:inline-flex; align-items:center; gap:6px; font:700 11.5px Inter,sans-serif; color:var(--muted); }
.wxlegend i { display:inline-block; width:18px; height:11px; border-radius:3px; }
.wxb { fill:#57A8F2; opacity:.75; }
.wxb.snowb { fill:#C9D9EC; }
.wxseasons { display:grid; grid-template-columns:1fr; gap:10px; margin-top:16px; }
/* Always three across once the pane is two-column, so the row never orphans a card. */
@media (min-width:901px) { .wxseasons { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:900px) and (min-width:660px) { .wxseasons { grid-template-columns:repeat(3,minmax(0,1fr)); } }
.wxseason { border:1.5px solid var(--line); border-left-width:4px; border-radius:12px; padding:10px 14px; background:#fff; }
.wxseason .sk { display:block; font:800 9.5px Inter,sans-serif; letter-spacing:.1em; color:var(--muted); }
.wxseason .sv { display:block; font:900 14px Inter,sans-serif; color:var(--navy-ink); margin-top:2px; }
.wxseason .sd { display:block; font:600 11px Inter,sans-serif; color:var(--muted); margin-top:2px; line-height:1.45; }
.wxfaq { border-top:1.5px solid var(--line); padding:2px 0; }
.wxfaq:first-of-type { border-top:0; }
.wxfaq summary { cursor:pointer; font:700 13px Inter,sans-serif; color:var(--navy-ink); padding:9px 2px; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:10px; }
.wxfaq summary::-webkit-details-marker { display:none; }
.wxfaq summary::after { content:"+"; font-weight:900; color:var(--orange); font-size:16px; flex-shrink:0; }
.wxfaq[open] summary::after { content:"\2212"; }
.wxfaq p { font:600 12.5px/1.6 Inter,sans-serif; color:var(--muted); margin:0 0 10px; padding:0 2px; }
@media (max-width:700px) {
  .wxsky { height:200px; }
  .wxnow .t { font-size:36px; }
  .wxstats { display:none; }
}

/* Column balancing: the flexible piece in each left column absorbs leftover
   height so neither Overview nor Weather ends a column with dead space. */
#pane-overview .bgrid > div:first-child, #pane-weather .bgrid > div:first-child {
  display:flex; flex-direction:column; align-self:stretch; }
#pane-overview .bgrid > div:first-child .tk-compact { flex:1 0 auto; }
#pane-weather .wxcard { flex:1; display:flex; flex-direction:column; }
/* Leftover column height is shared: the sky takes a little (capped, since a big
   empty gradient reads as a mistake) and the season cards take the rest, which
   fills the space with content rather than blank card. */
#pane-weather .wxsky { flex:0 1 auto; height:auto; min-height:230px; max-height:300px; }
#pane-weather .wxcard .inner { flex:1 1 auto; display:flex; flex-direction:column; }
#pane-weather .wxseasons { flex:0 0 auto; }
/* The reading column ends with the FAQ; the action column's Toolkit banner is the
   piece that stretches, switching to its tall layout when it gets real height. */
#pane-weather .bgrid > div:last-child { display:flex; flex-direction:column; align-self:stretch; }
#pane-weather .bgrid > div:last-child .tk-compact { flex:0 0 auto; margin-top:22px; }
.wxfaqwrap { margin-top:22px; padding-top:18px; border-top:1.5px solid var(--line); }
.wxfaqwrap h2 { margin-top:0; }
@media (max-width:700px) {
  #pane-weather .wxsky { min-height:200px; max-height:220px; }
}

/* Tall form of the Toolkit banner. A compact banner stretched vertically leaves
   a void in the middle, so once there is real height the layout switches: copy
   on top, the screenshot deck becomes the centrepiece, button anchored below. */
.tkbanner.tk-tall { flex-direction: column; align-items: stretch; flex-wrap: nowrap;
  padding: 22px 24px 22px; gap: 0; }
.tk-tall .t { flex: 0 0 auto; }
.tk-tall .t b { font-size: 16px; }
.tk-tall .t p { font-size: 12.5px; max-width: 52ch; margin-top: 4px; }
.tk-tall .tk-star { right: auto; left: 50%; top: 58%; width: 300px; opacity: .07;
  transform: translate(-50%, -50%); }
.tk-tall .tk-peek { position: relative; right: auto; bottom: auto; order: 2;
  flex: 1 1 auto; width: 100%; min-height: 150px; margin: 14px 0 16px;
  display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tk-tall .tk-peek img { position: absolute; top: 50%; left: 50%; right: auto; bottom: auto;
  width: min(78%, 300px); height: auto; aspect-ratio: 1024 / 688; max-height: calc(100% - 8px);
  object-fit: cover; object-position: top center;
  border-radius: 10px; border-color: rgba(255,255,255,.34);
  box-shadow: 0 10px 30px rgba(4,14,32,.45); animation-name: tkslide-tall;
  transform: translate(-50%, -50%) scale(.92); }
.tk-tall .btn { order: 3; margin: 0; width: 100%; justify-content: center; }
@keyframes tkslide-tall {
  0%   { transform: translate(-50%, 26%)  rotate(3deg)  scale(.92); opacity: 0; }
  7%   { transform: translate(-50%, -50%) rotate(0deg)  scale(1);   opacity: 1; }
  30%  { transform: translate(-50%, -50%) rotate(0deg)  scale(1);   opacity: 1; }
  37%  { transform: translate(-50%, -118%) rotate(-3deg) scale(.92); opacity: 0; }
  100% { transform: translate(-50%, 26%)  rotate(3deg)  scale(.92); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tk-tall .tk-peek img:first-child { opacity: 1; transform: translate(-50%, -50%); }
}
@media (max-width: 640px) { .tkbanner.tk-tall .tk-peek { display: none; } }

/* "Show all N near ..." row on the map search, for place queries. */
.sugg-item.sugg-all { border-bottom: 1.5px solid var(--line); background: #FFF8EE; }
.sugg-item.sugg-all .sn { font-weight: 800; color: var(--navy-ink); }
.sugg-item.sugg-all .ss { color: var(--orange); font-weight: 800; }
.searchband { text-align: center; padding: 4px 16px 26px; }
.searchband h2 { font-size: clamp(23px, 3vw, 32px); color: #fff; margin: 0 0 6px; letter-spacing: -.02em; }
.searchband p { font-size: 14.5px; color: rgba(255,255,255,.78); margin: 0 0 18px; }
.searchband p b { color: #fff; }
.sb-form { display: flex; gap: 10px; max-width: 620px; margin: 0 auto; }
.sb-form .searchbox { flex: 1; background: #fff; border: 2px solid rgba(255,255,255,.22); border-radius: 14px; padding: 13px 16px; box-shadow: 0 18px 40px -18px rgba(4,14,32,.7); }
.sb-form .searchbox input { font-size: 16px; }
.sb-form .btn { padding: 13px 26px; font-size: 15px; border-radius: 14px; white-space: nowrap; }
.sb-try { display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.sb-try span { font-size: 12px; color: rgba(255,255,255,.6); font-weight: 700; }
.sb-try button { background: rgba(255,255,255,.10); border: 1.5px solid rgba(255,255,255,.24); color: #fff; font: 700 12.5px Inter, sans-serif; border-radius: 999px; padding: 6px 14px; cursor: pointer; transition: background .15s; }
.sb-try button:hover { background: rgba(255,255,255,.22); }
.feat-pro { border-color: var(--orange); border-width: 2px; }
.feat-pro .ic { background: #FFF1DF; color: var(--orange); }
@media (max-width: 640px) {
  .searchband { padding-bottom: 16px; }
  .searchband p { font-size: 13.5px; margin-bottom: 14px; }
  .sb-form { flex-direction: column; gap: 8px; }
  .sb-form .btn { width: 100%; justify-content: center; }
  /* One scrolling row instead of two wrapped ones, so the examples stay
     discoverable without pushing the map off the screen. */
  .sb-try { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
            margin-top: 10px; padding-bottom: 2px; scrollbar-width: none;
            -webkit-overflow-scrolling: touch; }
  .sb-try::-webkit-scrollbar { display: none; }
  .sb-try button { flex: 0 0 auto; padding: 5px 12px; font-size: 12px; }
  .sb-try span { flex: 0 0 auto; }
}
.feat-pro { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; }
.feat-pro .ic { flex-shrink: 0; margin: 0; }
.feat-pro .fp-t { flex: 1; }
.feat-pro h3 { margin-top: 0; }
.feat-pro p { margin-bottom: 0; }
.feat-pro .btn { flex-shrink: 0; }
@media (max-width: 720px) {
  .feat-pro { flex-direction: column; align-items: flex-start; gap: 14px; }
  .feat-pro .btn { width: 100%; justify-content: center; }
}

/* Branch and state filters collapse on phones, where they cost three rows
   above the map. The button reports what is filtered so nothing hides. */
.filt-toggle { display: none; align-items: center; gap: 8px; background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 14px; font: 700 13px Inter, sans-serif; color: var(--navy-ink); cursor: pointer; width: 100%; }
.filt-toggle .filt-caret { margin-left: auto; transition: transform .2s; }
.filt-toggle.open .filt-caret { transform: rotate(180deg); }
.filt-toggle.active { border-color: var(--orange); color: var(--orange); }
.filt-wrap { display: contents; }
@media (max-width: 640px) {
  .filt-toggle { display: flex; }
  .filt-wrap { display: none; width: 100%; flex-wrap: wrap; gap: 8px; }
  .filt-wrap.open { display: flex; }
  .hub-bar { gap: 8px; }
  .filt-wrap .statesel { width: 100%; }
}

/* Local time at the station, shown where it changes a decision: beside the
   phone numbers, on the weather card, and on overseas guides. */
.clockbar { display: flex; align-items: flex-start; gap: 9px; background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 13px; margin-bottom: 14px;
  font: 600 12.5px/1.5 Inter, sans-serif; color: var(--muted); }
.clockbar i, .clockbar svg { flex-shrink: 0; margin-top: 2px; color: var(--navy); }
.clockbar b { color: var(--navy-ink); font-weight: 900; font-variant-numeric: tabular-nums; }
.wxclock { display: flex; align-items: center; gap: 6px; margin-top: 7px;
  font: 800 13px Inter, sans-serif; color: #fff; opacity: .95; font-variant-numeric: tabular-nums; }
