/* ==========================================================
   Fast Wash Coweta — styles.css
   Brand: Express Lane
   ========================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Display";
  src: url("../fonts/archivo-italic-display.woff2") format("woff2");
  font-weight: 800 900;
  font-stretch: 100% 125%;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #0A2A66;
  --navy-deep: #071E4A;
  --red: #D11F28;
  --red-dark: #B01820;
  --sky: #1C6FB8;
  --lane: #FFC629;
  --ice: #F2F7FC;
  --ink: #0D1726;
  --muted: #3B4A5E;
  --line: #D6E0EC;
  --white: #FFFFFF;

  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Archivo Display", "Arial Black", "Helvetica Neue", Arial, sans-serif;

  --radius: 6px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --topbar-h: 40px;
  --navbar-h: 78px;
  --flow-h: 3px;
  --shadow: 0 6px 22px rgba(10, 42, 102, 0.14);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Brand accent for light sections: foam bubbles */
  --foam: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22260%22%20height%3D%22260%22%20viewBox%3D%220%200%20260%20260%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%231C6FB8%22%20stroke-opacity%3D%22.16%22%20stroke-width%3D%222%22%3E%3Ccircle%20cx%3D%2230%22%20cy%3D%2240%22%20r%3D%2218%22/%3E%3Ccircle%20cx%3D%2262%22%20cy%3D%2222%22%20r%3D%227%22/%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2270%22%20r%3D%2226%22/%3E%3Ccircle%20cx%3D%22196%22%20cy%3D%2234%22%20r%3D%2210%22/%3E%3Ccircle%20cx%3D%22230%22%20cy%3D%22150%22%20r%3D%2220%22/%3E%3Ccircle%20cx%3D%2290%22%20cy%3D%22150%22%20r%3D%2212%22/%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%22210%22%20r%3D%2224%22/%3E%3Ccircle%20cx%3D%22160%22%20cy%3D%22216%22%20r%3D%229%22/%3E%3Ccircle%20cx%3D%22120%22%20cy%3D%22110%22%20r%3D%225%22/%3E%3C/g%3E%3Cg%20fill%3D%22%231C6FB8%22%20fill-opacity%3D%22.10%22%3E%3Ccircle%20cx%3D%2270%22%20cy%3D%2290%22%20r%3D%224%22/%3E%3Ccircle%20cx%3D%22210%22%20cy%3D%2296%22%20r%3D%223%22/%3E%3Ccircle%20cx%3D%22118%22%20cy%3D%22240%22%20r%3D%224%22/%3E%3Ccircle%20cx%3D%22250%22%20cy%3D%22236%22%20r%3D%223%22/%3E%3C/g%3E%3Cg%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3E%3Ccircle%20cx%3D%2224%22%20cy%3D%2233%22%20r%3D%223%22/%3E%3Ccircle%20cx%3D%22142%22%20cy%3D%2260%22%20r%3D%224%22/%3E%3Ccircle%20cx%3D%2233%22%20cy%3D%22201%22%20r%3D%224%22/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--navbar-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--lane);
  outline-offset: 3px;
}

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

.visually-hidden {
  position: absolute !important;
  left: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--lane);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.ico {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(10, 42, 102, 0.25);
}

.btn--primary {
  background: var(--red);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--red-dark);
}

.btn--outline {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--white);
}

.btn--ghost-light {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid currentColor;
  border-radius: var(--radius);
  color: inherit;
}

/* ==========================================================
   Header
   ========================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  color: var(--white);
  transition: transform .3s var(--ease);
}

/* ---------- Top bar (transparent over hero) ---------- */
.topbar {
  height: var(--topbar-h);
  font-size: .9rem;
  font-weight: 600;
}

.topbar__in {
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar__item {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
}

.g-short {
  display: none;
}

a.topbar__item:hover span:not(.topbar__tag) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.topbar__chev {
  width: 30px;
  height: 12px;
  flex: none;
  fill: none;
  stroke: var(--lane);
  stroke-width: 4;
}

.topbar__tag {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 3px;
  background: var(--lane);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.2;
}

.topbar__promo .promo-long {
  text-decoration: underline;
  text-decoration-color: var(--lane);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.promo-short {
  display: none;
}

.topbar__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar__icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.topbar__icon:hover {
  background: rgba(255, 255, 255, .14);
}

/* ---------- Flowing color line (top bar edge) ---------- */
.flow-line {
  position: relative;
  height: var(--flow-h);
  overflow: hidden;
  background: var(--lane);
}

.flow-line span {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg,
    var(--lane) 0%,
    var(--sky) 16.66%,
    var(--red) 33.33%,
    var(--lane) 50%,
    var(--sky) 66.66%,
    var(--red) 83.33%,
    var(--lane) 100%);
  animation: flow 9s linear infinite;
  will-change: transform;
}

@keyframes flow {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- Nav bar ---------- */
.navbar {
  height: var(--navbar-h);
  transition: background-color .3s, box-shadow .3s;
}

.navbar__in {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  position: relative;
  display: block;
  width: 212px;
  flex: none;
}

.brand__img {
  width: 100%;
  height: auto;
  transition: opacity .25s;
}

.brand__img--dark {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.main-nav {
  margin: 0 auto;
}

.main-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 14px;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.main-nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 3px;
  border-radius: 2px;
  background: var(--lane);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}

.main-nav__link:hover::after,
.main-nav__link[aria-current="page"]::after,
.main-nav__toggle[aria-expanded="true"]::after {
  transform: scaleX(1);
}

.caret {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s;
}

.main-nav__toggle[aria-expanded="true"] .caret {
  transform: rotate(180deg);
}

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: -8px;
  min-width: 270px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--white);
  color: var(--ink);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(10, 42, 102, .22);
}

.dropdown a {
  display: block;
  padding: 11px 12px;
  border-radius: 4px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.dropdown a:hover,
.dropdown a:focus-visible {
  background: var(--ice);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar__call,
.burger {
  display: none;
}

/* ---------- Solid state (after the hero) ---------- */
.site-header.is-solid {
  transform: translateY(calc(-1 * (var(--topbar-h) + var(--flow-h))));
  color: var(--ink);
}

.site-header.is-solid .navbar {
  background: var(--white);
  box-shadow: var(--shadow);
}

.site-header.is-solid .flow-line {
  order: 3;
}

.site-header.is-solid .brand__img--light {
  opacity: 0;
}

.site-header.is-solid .brand__img--dark {
  opacity: 1;
}

.site-header.is-solid .main-nav__link::after {
  background: var(--red);
}

/* Header over an open mobile menu */
.site-header.menu-open {
  transform: none;
  color: var(--ink);
}

.site-header.menu-open .navbar {
  background: var(--white);
}

.site-header.menu-open .brand__img--light {
  opacity: 0;
}

.site-header.menu-open .brand__img--dark {
  opacity: 1;
}

/* ---------- Burger ---------- */
.burger {
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 2px solid currentColor;
  border-radius: var(--radius);
  background: none;
  color: inherit;
  cursor: pointer;
}

.burger__bars,
.burger__bars::before,
.burger__bars::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .22s var(--ease), background-color .2s;
}

.burger__bars {
  top: 50%;
  margin-top: -1.25px;
}

.burger__bars::before {
  left: 0;
  right: 0;
  top: -7px;
}

.burger__bars::after {
  left: 0;
  right: 0;
  top: 7px;
}

.burger[aria-expanded="true"] .burger__bars {
  background: transparent;
}

.burger[aria-expanded="true"] .burger__bars::before {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] .burger__bars::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: calc(var(--topbar-h) + var(--flow-h) + var(--navbar-h)) 0 0 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: 20px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--navy);
  color: var(--white);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu__list li {
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  opacity: 0;
  transform: translateY(10px);
  animation: menu-in .35s var(--ease) forwards;
  animation-delay: calc(var(--i) * 60ms);
}

@keyframes menu-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.mobile-menu__list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 118%;
  font-size: 1.45rem;
  line-height: 1.1;
  text-decoration: none;
}

.mobile-menu__num {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  font-size: .85rem;
  color: var(--lane);
}

.mobile-menu__foot {
  margin-top: auto;
  padding-top: 24px;
  display: grid;
  gap: 10px;
}

.mobile-menu__foot p {
  margin: 6px 0 0;
  font-size: .95rem;
  line-height: 1.45;
}

body.menu-locked {
  overflow: hidden;
}

body.menu-locked .mobile-bar {
  display: none !important;
}

.site-header.menu-open .topbar {
  background: var(--navy);
  color: var(--white);
}

/* ---------- Sticky mobile bar ---------- */
.mobile-bar {
  display: none;
}

/* ==========================================================
   Hero: Photo first with plan bar
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  max-height: 980px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: var(--navy);
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
  z-index: -2;
  filter: saturate(.92) contrast(1.06);
}

/* Soft fade at the top so the white header reads over the light sky */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 190px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 30, 74, .62), rgba(7, 30, 74, 0));
}

.hero__in {
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--topbar-h) + var(--flow-h) + var(--navbar-h) + 32px) 24px 28px;
}

/* Compact card over the driveway, clear of the tower lettering */
.hero__card {
  max-width: 380px;
  padding: 24px 26px;
  background: var(--navy);
  border-top: 5px solid var(--lane);
}

.hero__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 122%;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  line-height: 1;
}

.hero__lead {
  margin: 0 0 20px;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.5;
}

.btn--light {
  background: var(--white);
  color: var(--navy);
}

/* ---------- Plan bar ---------- */
.planbar {
  background: var(--white);
  color: var(--ink);
  border-top: 4px solid var(--red);
}

.planbar__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.planbar__label {
  margin: 0 8px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 115%;
  font-size: 1.25rem;
  line-height: 1.1;
  color: var(--navy);
}

.planbar__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan {
  display: flex;
  flex-direction: column;
  min-width: 124px;
  padding: 10px 14px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .15s, transform .15s var(--ease);
}

.plan:hover {
  border-color: var(--sky);
  transform: translateY(-2px);
}

.plan__name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
}

.plan__price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.planbar__cta {
  margin-left: auto;
}

/* ==========================================================
   Review strip: one line
   ========================================================== */
.review-line {
  background: var(--navy);
  color: var(--white);
}

.review-line__in {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.review-line__score {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
}

.review-line__score b {
  font-size: 1.2rem;
}

.ico--g {
  width: 22px;
  height: 22px;
}

.review-line__quote {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex: 1;
  min-width: 0;
  margin: 0;
  padding-left: 24px;
  border-left: 2px solid var(--lane);
}

.review-line__quote blockquote {
  margin: 0;
  font-weight: 600;
}

.review-line__quote figcaption {
  font-size: .9rem;
  font-weight: 700;
  color: var(--lane);
  white-space: nowrap;
}

.review-line__link {
  font-weight: 700;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: var(--lane);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ==========================================================
   Photo belt (slow loop, pause button, still for reduced motion)
   ========================================================== */
.photo-belt {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  background: var(--navy);
  border-bottom: 3px solid var(--lane);
}

.photo-belt__track {
  display: flex;
  width: max-content;
  animation: belt 70s linear infinite;
}

.photo-belt:hover .photo-belt__track,
.photo-belt:focus-within .photo-belt__track,
.photo-belt.is-paused .photo-belt__track {
  animation-play-state: paused;
}

@keyframes belt {
  to {
    transform: translateX(-50%);
  }
}

.photo-belt__set {
  display: flex;
  gap: 6px;
  padding-right: 6px;
}

.photo-belt__item {
  position: relative;
  width: 260px;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
}

.photo-belt__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-belt__item--ba {
  width: 420px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--lane);
}

.photo-belt__half {
  position: relative;
  overflow: hidden;
}

.photo-belt__tag {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--red);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
}

.photo-belt__tag--after {
  background: #15803D;
}

.photo-belt__item figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 10px;
  background: var(--navy);
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  border-top: 3px solid var(--lane);
}

.photo-belt__toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}

.photo-belt__icon {
  width: 12px;
  height: 12px;
  border-left: 4px solid var(--navy);
  border-right: 4px solid var(--navy);
}

.photo-belt.is-paused .photo-belt__icon {
  width: 0;
  height: 0;
  border: 0;
  border-left: 11px solid var(--navy);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

/* ==========================================================
   Shared section type
   ========================================================== */
.section-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 118%;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1;
  color: var(--navy);
}

.section-lead {
  max-width: 56ch;
  margin: 0 0 28px;
  font-size: 1.1rem;
}

/* Temporary marker for facts the client still has to confirm. Remove before launch. */
.confirm-tag {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 3px;
  background: #FFF3C4;
  color: #6B4E00;
  font-size: .75rem;
  font-weight: 700;
  vertical-align: 1px;
}

/* ==========================================================
   Membership: savings calculator
   ========================================================== */
.membership {
  padding: 72px 0;
  background: var(--foam) 0 0 / 260px 260px, var(--ice);
}

.membership__in {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

.calc {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
}

.calc__label {
  font-weight: 700;
}

.calc__label output {
  font-size: 1.3rem;
  color: var(--red);
}

.calc__range {
  width: 100%;
  height: 28px;
  accent-color: var(--red);
}

.calc__tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.calc__tiers legend {
  margin-bottom: 8px;
  padding: 0;
  font-weight: 700;
}

.calc__tiers label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
}

.calc__tiers label:has(input:checked) {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.calc__tiers label:has(input:focus-visible) {
  outline: 3px solid var(--lane);
  outline-offset: 2px;
}

.calc__out {
  display: grid;
  gap: 6px;
}

.calc__out p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.calc__save {
  font-size: 1.15rem;
  border-bottom: 0 !important;
}

.calc__save b {
  color: #15803D;
}

.calc__save.is-negative b {
  color: var(--muted);
}

.membership__info {
  padding-top: 8px;
}

.membership__info h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: var(--navy);
}

.membership__steps {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding-left: 20px;
}

.rules {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules li {
  padding-left: 16px;
  border-left: 3px solid var(--lane);
  line-height: 1.5;
}

/* ==========================================================
   Wash packages: compare grid
   ========================================================== */
.compare {
  padding: 72px 0;
  background: var(--foam) 130px 90px / 260px 260px, var(--white);
}

.compare__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.compare__switch {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 3px;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
}

.compare__switch button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}

.compare__switch button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--white);
}

.compare__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

/* position: relative keeps visually-hidden cell text inside the scroller */
.compare__scroll {
  position: relative;
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
}

.compare__table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  table-layout: fixed;
}

.compare__table tr > :first-child {
  width: 30%;
}

.compare__table th,
.compare__table td {
  padding: 11px 14px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.compare__table tbody th {
  text-align: left;
  font-weight: 600;
}

.compare__table thead th {
  vertical-align: bottom;
  background: var(--navy);
  color: var(--white);
  border-left: 2px solid var(--white);
}

.compare__table thead th:last-child {
  background: var(--sky);
}

.compare__name {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 112%;
  font-size: 1.15rem;
}

.compare__price {
  display: block;
  font-weight: 700;
  color: var(--lane);
}

.compare__price small {
  margin-left: 2px;
  font-size: .8em;
  font-weight: 600;
}

.check-ico {
  width: 20px;
  height: 20px;
  margin: 0 auto;
  fill: none;
  stroke: #15803D;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.compare__dash {
  display: block;
  width: 14px;
  height: 2px;
  margin: 0 auto;
  background: #B9C6D6;
}

.compare__cta td {
  padding: 16px 10px;
  border-bottom: 0;
}

.compare__btn {
  width: 100%;
  padding: 0 10px;
}

.compare__photo {
  position: sticky;
  top: calc(var(--navbar-h) + 24px);
  margin: 0;
}

.compare__photo img {
  width: 100%;
  border-radius: var(--radius);
  border-bottom: 5px solid var(--lane);
}

.compare__photo figcaption {
  margin-top: 10px;
  font-weight: 600;
}

.compare__addons {
  margin: 18px 0 0;
}

/* ==========================================================
   Visit: photo panel, hours, map
   ========================================================== */
.visit {
  background: var(--navy);
  color: var(--white);
}

.visit__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.visit__photo {
  min-height: 440px;
  margin: 0;
}

.visit__photo picture,
.visit__photo img {
  width: 100%;
  height: 100%;
}

.visit__photo img {
  object-fit: cover;
}

.visit__info {
  padding: 44px clamp(20px, 4vw, 56px);
  border-left: 6px solid var(--lane);
}

.visit__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 115%;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1;
}

.live-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-weight: 700;
}

.live-status__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8A96A8;
}

.live-status.is-open .live-status__dot {
  background: #22C55E;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .25);
}

.live-status.is-closed .live-status__dot {
  background: var(--red);
}

.hours {
  max-width: 440px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.hours li.is-today {
  border-radius: 4px;
  background: var(--lane);
  color: var(--navy);
  font-weight: 700;
}

.visit__address {
  margin: 0 0 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
}

.visit__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.visit__map {
  border-top: 4px solid var(--lane);
  background: var(--ice);
}

.visit__map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

/* ==========================================================
   FAQ: topic tabs, answers always visible
   ========================================================== */
.faq {
  padding: 64px 0 72px;
  background: var(--foam) 60px 30px / 260px 260px, var(--ice);
}

.faq__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.faq__top .section-title {
  margin: 0;
}

.gbp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .15s;
}

.gbp-btn:hover {
  border-color: var(--sky);
}

.faq__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 22px;
}

.faq__tabs button {
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}

.faq__tabs button[aria-selected="true"] {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.faq__panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
}

.faq__panel[hidden] {
  display: none;
}

/* FAQ as a text exchange: question from the driver, answer from Fast Wash */
.faq__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq__q {
  align-self: flex-end;
  max-width: 88%;
  margin: 0;
  padding: 12px 16px;
  border-radius: 16px 16px 4px 16px;
  background: var(--navy);
  color: var(--white);
  font-size: 1.02rem;
  line-height: 1.35;
}

.faq__a {
  align-self: flex-start;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  max-width: 92%;
}

.faq__a img {
  width: 34px;
  height: 34px;
  flex: none;
  padding: 3px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 2px var(--line);
}

.faq__a p {
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px 16px 16px 4px;
  background: var(--white);
  line-height: 1.55;
}

.faq__a a {
  font-weight: 700;
}

/* ==========================================================
   Footer: animated wave (rebuilt from 21st.dev Animated Wave Footer, Spectrum UI)
   ========================================================== */
.site-footer {
  position: relative;
  background: var(--navy);
  color: var(--white);
}

.site-footer a {
  color: var(--white);
}

.site-footer__waves {
  position: relative;
  height: 90px;
  overflow: hidden;
  background: var(--foam) 60px 30px / 260px 260px, var(--ice);
}

.site-footer__wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 200%;
  max-width: none;
  height: 100%;
}

.site-footer__wave--back {
  fill: var(--sky);
  fill-opacity: .55;
  animation: wave-roll 16s linear infinite;
}

.site-footer__wave--front {
  fill: var(--navy);
  animation: wave-roll 10s linear infinite;
}

@keyframes wave-roll {
  to {
    transform: translateX(-50%);
  }
}

.site-footer__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.site-footer__cta p {
  margin: 0;
}

.site-footer__cta-title {
  margin: 0 0 6px !important;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 118%;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-top: 52px;
  padding-bottom: 40px;
}

.site-footer__logo {
  display: block;
  width: 220px;
  margin-bottom: 14px;
}

.site-footer__brand p {
  max-width: 38ch;
  margin: 0 0 14px;
  line-height: 1.55;
}

.site-footer__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-footer__rating:hover span {
  text-decoration: underline;
}

.site-footer__social {
  display: flex;
  gap: 10px;
}

.site-footer__social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.site-footer__social a:hover {
  background: rgba(255, 255, 255, .22);
}

.site-footer__col h2 {
  margin: 0 0 14px;
  font-size: 1rem;
  color: var(--lane);
}

.site-footer__col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__col a {
  text-decoration: none;
}

.site-footer__col a:hover {
  text-decoration: underline;
  text-decoration-color: var(--lane);
  text-underline-offset: 4px;
}

.site-footer__col address {
  margin-bottom: 10px;
  font-style: normal;
  line-height: 1.5;
}

.site-footer__col p {
  margin: 0 0 10px;
  line-height: 1.5;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: .92rem;
}

.site-footer__legal p {
  margin: 0;
}

.site-footer__legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}


/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .main-nav,
  .topbar__chev {
    display: none;
  }

  .navbar__actions {
    margin-left: auto;
  }

  .navbar__call,
  .burger {
    display: inline-grid;
  }

  .topbar__phone,
  .topbar__open {
    display: none;
  }
}

/* Hero stacks (photo on top, card below) on phones and portrait tablets */
@media (max-width: 900px), (orientation: portrait) and (max-width: 1100px) {
  .hero {
    min-height: 0;
    max-height: none;
  }

  .hero__media {
    height: 48vh;
    object-position: 45% 40%;
  }

  .hero__in {
    padding: calc(48vh - 8px) 0 0;
  }

  .hero__card {
    width: 100%;
    max-width: none;
    padding: 22px var(--gutter) 26px;
  }

  .planbar__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .plan {
    min-width: 0;
  }

  .planbar__label {
    width: 100%;
  }

  .planbar__cta {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 1000px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .visit__panel {
    grid-template-columns: 1fr;
  }

  .visit__photo {
    min-height: 260px;
  }

  .visit__info {
    border-left: 0;
    border-top: 6px solid var(--lane);
  }

  .compare__layout {
    grid-template-columns: 1fr;
  }

  .compare__photo {
    position: static;
    order: -1;
    width: 100%;
    max-width: 600px;
  }

  .compare__photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 50% 40%;
  }
}

@media (max-width: 900px) {
  .membership__in {
    grid-template-columns: 1fr;
  }

  .review-line__in {
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .review-line__quote {
    flex-basis: 100%;
    order: 3;
    padding-left: 12px;
  }

  .review-line__link {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .faq__panel {
    grid-template-columns: 1fr;
  }

  .faq {
    padding: 52px 0;
  }

  .visit__map iframe {
    height: 320px;
  }

  .compare {
    padding: 52px 0;
  }

  /* Phones: the same compare grid, compacted to fit with no sideways scrolling */
  .compare__table {
    min-width: 0;
    font-size: .82rem;
  }

  .compare__table tr > :first-child {
    width: 32%;
  }

  .compare__table th,
  .compare__table td {
    padding: 8px 4px;
  }

  .compare__table tbody th {
    padding-left: 10px;
    line-height: 1.25;
  }

  .compare__table thead th {
    border-left-width: 1px;
    padding: 10px 2px;
  }

  .compare__name {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 700;
    font-size: .78rem;
    line-height: 1.15;
  }

  .compare__price {
    margin-top: 4px;
    font-size: .82rem;
  }

  .compare__price small {
    display: block;
    margin: 0;
  }

  .check-ico {
    width: 17px;
    height: 17px;
  }

  .compare__cta td {
    padding: 12px 3px;
  }

  .compare__btn {
    min-height: 44px;
    padding: 0 2px;
    font-size: .8rem;
    white-space: normal;
    line-height: 1.1;
  }

  .compare__switch {
    width: 100%;
  }

  .compare__switch button {
    flex: 1;
  }

  .compare__photo {
    max-width: none;
  }

  .compare__photo img {
    aspect-ratio: 1 / 1;
    object-position: 50% 35%;
  }

  .photo-belt__item {
    width: 200px;
  }

  .photo-belt__item--ba {
    width: 330px;
  }

  .membership {
    padding: 52px 0;
  }

  :root {
    --navbar-h: 68px;
    --topbar-h: 36px;
  }

  .topbar {
    font-size: .82rem;
  }

  .topbar__open {
    display: none;
  }

  .promo-long {
    display: none;
  }

  .promo-short {
    display: inline;
  }

  .brand {
    width: 170px;
  }

  .navbar__cta {
    display: none;
  }


  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(10, 42, 102, .12);
  }

  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    font-weight: 700;
    text-decoration: none;
    color: var(--navy);
  }

  .mobile-bar__join {
    background: var(--red);
    color: var(--white) !important;
  }

  body {
    padding-bottom: 56px;
  }
}

@media (max-width: 400px) {
  .topbar__in {
    gap: 10px;
  }

  .g-long {
    display: none;
  }

  .g-short {
    display: inline;
  }

  .brand {
    width: 150px;
  }
}

@media (max-width: 380px) {
  .topbar__right {
    display: none;
  }
}

@media (max-width: 340px) {
  .topbar__google {
    display: none;
  }

  .compare__table tr > :first-child {
    width: 28%;
  }

  .compare__name {
    font-size: .7rem;
  }

  .compare__table tbody th {
    padding-left: 6px;
    font-size: .76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .flow-line span {
    transform: none;
  }

  .mobile-menu__list li {
    opacity: 1;
    transform: none;
  }

  .photo-belt {
    overflow-x: auto;
  }

  .site-footer__wave {
    animation: none;
  }

  .photo-belt__set[aria-hidden="true"],
  .photo-belt__toggle {
    display: none;
  }
}

/* ==========================================================
   Side tabs and slide-out panels
   Slim vertical tabs on the screen edges. Clicking slides a full-height
   panel out from that edge, and the tab hides until the panel closes.
   ========================================================== */
:root {
  --panel-w: 360px;
}

.side-tab {
  position: fixed;
  top: 50%;
  z-index: 140;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  border: 0;
  font: 700 .82rem var(--font-body);
  letter-spacing: .02em;
  cursor: pointer;
  writing-mode: vertical-rl;
  box-shadow: 0 6px 16px rgba(10, 42, 102, .25);
  transform: translateY(-50%);
  transition: padding .2s;
}

.side-tab .ico {
  width: 18px;
  height: 18px;
  flex: none;
  writing-mode: horizontal-tb;
}

.side-tab--left {
  left: 0;
  border-radius: 0 10px 10px 0;
  background: var(--navy);
  color: var(--white);
}

.side-tab--right {
  right: 0;
  border-radius: 10px 0 0 10px;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
  border-right: 0;
}

.side-tab:hover,
.side-tab:focus-visible {
  padding-left: 11px;
  padding-right: 11px;
}

/* The tab disappears while its panel is open */
body.panel-left-open .side-tab--left,
body.panel-right-open .side-tab--right {
  display: none;
}

.ico--a11y {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ico--a11y circle {
  fill: currentColor;
  stroke: none;
}

/* Star rating drawn as one SVG row so the fill lines up exactly (4.1 = 82%) */
.rating-stars {
  position: relative;
  display: block;
  width: 110px;
  height: 22px;
}

.rating-stars svg {
  display: block;
  width: 110px;
  max-width: none;
  height: 22px;
}

.rating-stars__bg {
  fill: #D6DDE6;
}

.rating-stars__fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
}

.rating-stars__fill svg {
  fill: #FBBC05;
}

/* ---------- Panels ---------- */
.side-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 135;
  display: flex;
  flex-direction: column;
  width: var(--panel-w);
  max-width: 100vw;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 0 40px rgba(10, 42, 102, .25);
  animation: panel-in-right .32s var(--ease);
}

.side-panel[hidden] {
  display: none;
}

.side-panel--left {
  left: 0;
  animation-name: panel-in-left;
}

.side-panel--right {
  right: 0;
}

@keyframes panel-in-right {
  from {
    transform: translateX(100%);
  }
}

@keyframes panel-in-left {
  from {
    transform: translateX(-100%);
  }
}

.side-scrim {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(7, 30, 74, .35);
  animation: scrim-in .25s ease;
}

.side-scrim[hidden] {
  display: none;
}

@keyframes scrim-in {
  from {
    opacity: 0;
  }
}

body.drawer-open {
  overflow: hidden;
}

.side-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.side-panel__head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 1.1rem;
  color: var(--navy);
}

.side-panel__head .ico {
  width: 20px;
  height: 20px;
}

.side-panel__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--ice);
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.side-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  overscroll-behavior: contain;
}

.side-panel__lead {
  margin: 0 0 10px;
  font-size: .9rem;
  color: var(--muted);
}

.side-panel__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: .9rem;
}

.side-panel__foot a:not(.btn) {
  color: var(--sky);
  font-weight: 700;
}

.side-panel__foot .btn {
  min-height: 42px;
  padding: 0 16px;
}

.side-panel__reset {
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--red);
  font: 700 .9rem var(--font-body);
  cursor: pointer;
}

/* ---------- Accessibility switches ---------- */
.sw-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sw-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
  font-weight: 600;
}

.sw-row__lbl {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sw-ico {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sw {
  position: relative;
  width: 44px;
  height: 26px;
  flex: none;
  border: 0;
  border-radius: 999px;
  background: #A8B4C4;
  cursor: pointer;
  transition: background-color .15s;
}

.sw::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  transition: transform .15s;
}

.sw[aria-checked="true"] {
  background: var(--navy);
}

.sw[aria-checked="true"]::after {
  transform: translateX(18px);
}

.sw-step {
  display: flex;
  align-items: center;
  gap: 4px;
}

.sw-step button {
  width: 36px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  font: 700 .85rem var(--font-body);
  cursor: pointer;
}

.sw-step output {
  min-width: 44px;
  text-align: center;
  font-size: .85rem;
  font-weight: 700;
}

/* ---------- Reviews ---------- */
.rev-sum {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.rev-sum__score {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
}

.rev-sum__meta p {
  margin: 6px 0 0;
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
}

.rev-items {
  display: grid;
  align-content: start;
  gap: 10px;
  margin: 0;
  list-style: none;
}

.rev-item {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--ice);
}

.rev-item__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.rev-item__av {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
}

.rev-item__name {
  font-weight: 700;
  color: var(--navy);
}

.rev-item__src {
  margin-left: auto;
}

.rev-item__src .ico {
  width: 16px;
  height: 16px;
}

.rev-item p {
  margin: 0;
  font-size: .93rem;
  line-height: 1.55;
}

body.menu-locked .fw-widgets {
  display: none;
}

/* Phones: pills slimmer, panels fill most of the screen */
@media (max-width: 720px) {
  :root {
    --panel-w: min(340px, 90vw);
  }

  .side-tab {
    padding: 10px 6px;
    font-size: .74rem;
  }
}

/* ==========================================================
   Accessibility modes (set by the accessibility panel)
   ========================================================== */
html {
  font-size: calc(100% * var(--a11y-scale, 1));
}

/* High contrast: darker text, stronger borders, sharper page */
html.a11y-contrast {
  --muted: #1F2937;
  --line: #6B7280;
  --sky: #0B4A87;
}

html.a11y-contrast main,
html.a11y-contrast .site-footer,
html.a11y-contrast .topbar {
  filter: contrast(1.25);
}

html.a11y-contrast main p,
html.a11y-contrast main li {
  color: #000;
}

/* Highlight links */
html.a11y-links a {
  outline: 2px solid var(--red) !important;
  outline-offset: 2px;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  background-color: #FFF3C4 !important;
  color: #0A2A66 !important;
}

/* Readable font: plain sans, no italic display */
html.a11y-font body,
html.a11y-font body * {
  font-family: Verdana, Tahoma, "Segoe UI", Arial, sans-serif !important;
  font-style: normal !important;
  font-stretch: 100% !important;
}

/* Text spacing: WCAG 1.4.12 values */
html.a11y-spacing body * {
  line-height: 1.8 !important;
  letter-spacing: .12em !important;
  word-spacing: .16em !important;
}

html.a11y-spacing p {
  margin-bottom: 2em;
}

/* Stop animations */
html.a11y-still *,
html.a11y-still *::before,
html.a11y-still *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

/* Big cursor */
html.a11y-cursor,
html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 9-7 2-3 8z' fill='%23000' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 4 2, auto !important;
}

/* Reading guide */
.reading-guide {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 130;
  height: 14px;
  background: rgba(255, 198, 41, .45);
  border-top: 3px solid var(--navy);
  border-bottom: 3px solid var(--navy);
  pointer-events: none;
}

/* Big text or wide spacing: let everything wrap instead of pushing the page sideways (WCAG 1.4.10, 1.4.12) */
html.a11y-big body *:not(svg):not(path):not(circle) {
  min-width: 0;
  overflow-wrap: anywhere;
}

html.a11y-big .review-line__score,
html.a11y-big .topbar__item,
html.a11y-big .btn,
html.a11y-big .main-nav__link,
html.a11y-big .review-line__quote figcaption,
html.a11y-big .planbar__label,
html.a11y-big .gbp-btn {
  white-space: normal;
}

html.a11y-big .review-line__quote {
  flex-wrap: wrap;
}
