/* TOKEN-GEN:START */
:root {
  /* Colors */
  --light-bg: #FEFDF7;
  --dark-bg: #35595D;
  --white-bg: #FFFFFF;
  --light-fill: #F7F5F1;
  --clean-fill: #CAD3D1;
  --aqua-fill: #23726E;
  --sheet-fill: #F6E58B;
  --tertiary-fill: #E3DFD7;
  --secondary-fill: #5A5856;
  --primary-fill: #17140D;
  --open-fill: #E5F6E6;
  --open-foreground: #26B62D;

  /* Font families */
  --ff-merriweather: 'Merriweather', serif;
  --ff-oswald: 'Oswald', sans-serif;
  --ff-roboto: 'Roboto', sans-serif;

  /* Font weights */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;

  /* Typography — font sizes */
  --fs-headline: 48px;
  --fs-free: 32px;
  --fs-title: 20px;
  --fs-body: 16px;
  --fs-caption: 14px;
  --fs-eyebrow: 12px;
  --fs-primary-button: 16px;
  --fs-secondary-button: 15px;

  /* Typography — line heights */
  --lh-headline: 1.1;
  --lh-free: 1.1;
  --lh-title: 1.1;
  --lh-body: normal;
  --lh-caption: normal;
  --lh-eyebrow: normal;
  --lh-primary-button: 1.1;
  --lh-secondary-button: normal;

  /* Typography — letter spacing */
  --ls-headline: -0.04em;
  --ls-free: -0.02em;
  --ls-title: -0.02em;
  --ls-body: 0;
  --ls-caption: 0;
  --ls-eyebrow: 0.08em;
  --ls-primary-button: 0.02em;
  --ls-secondary-button: 0;

  /* Spacing scale */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;

  /* Component tokens */
  --btn-height: 54px;
  --btn-padding-x: 24px;
  --btn-primary-min-width: 320px;
  --btn-margin-top: 32px;
  --btn-caption-margin-top: 16px;
  --eyebrow-padding: 4px;
  --eyebrow-margin-bottom: 16px;
  --divider-thickness: 1px;
  --divider-gap: 3px;
  --seal-stroke: 8px;
  --tile-grout: 4px;
}
/* TOKEN-GEN:END */

/* ── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--light-bg);
  color: var(--primary-fill);
  font-family: var(--ff-roboto);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
address { font-style: normal; }

/* ── Typography ────────────────────────────────────────────────────────────── */
.t-headline {
  font-family: var(--ff-merriweather);
  font-weight: var(--fw-bold);
  font-size: var(--fs-headline);
  line-height: var(--lh-headline);
  letter-spacing: var(--ls-headline);
}
.t-free {
  font-family: var(--ff-oswald);
  font-weight: var(--fw-bold);
  font-size: var(--fs-free);
  line-height: var(--lh-free);
  letter-spacing: var(--ls-free);
  text-transform: uppercase;
}
.t-title {
  font-family: var(--ff-oswald);
  font-weight: var(--fw-medium);
  font-size: var(--fs-title);
  line-height: var(--lh-title);
  letter-spacing: var(--ls-title);
  text-transform: uppercase;
}
.t-body {
  font-family: var(--ff-roboto);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
}
.t-caption {
  font-family: var(--ff-roboto);
  font-weight: var(--fw-regular);
  font-size: var(--fs-caption);
  line-height: var(--lh-caption);
  letter-spacing: var(--ls-caption);
}
.t-eyebrow {
  font-family: var(--ff-roboto);
  font-weight: var(--fw-medium);
  font-size: var(--fs-eyebrow);
  line-height: var(--lh-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
}
.t-primary-btn {
  font-family: var(--ff-oswald);
  font-weight: var(--fw-medium);
  font-size: var(--fs-primary-button);
  line-height: var(--lh-primary-button);
  letter-spacing: var(--ls-primary-button);
  text-transform: uppercase;
}
.t-secondary-btn {
  font-family: var(--ff-roboto);
  font-weight: var(--fw-regular);
  font-size: var(--fs-secondary-button);
  line-height: var(--lh-secondary-button);
  letter-spacing: var(--ls-secondary-button);
}

/* ── Site Header ───────────────────────────────────────────────────────────── */
.site-header {
  background: var(--light-bg);
  padding: var(--space-2) 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}
.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.header-nav a {
  font-family: var(--ff-roboto);
  font-size: var(--fs-caption);
  color: var(--primary-fill);
  text-decoration: none;
}
.header-nav a:hover { text-decoration: underline; }

/* ── Layout ────────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}
section { padding: var(--space-5) 0; }

/* ── Eyebrow ───────────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  padding: var(--eyebrow-padding);
  background: var(--clean-fill);
  color: var(--dark-bg);
  font-family: var(--ff-roboto);
  font-weight: var(--fw-medium);
  font-size: var(--fs-eyebrow);
  line-height: var(--lh-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  margin-bottom: var(--eyebrow-margin-bottom);
}

/* ── Divider ───────────────────────────────────────────────────────────────── */
.divider {
  border: none;
  height: calc(var(--divider-thickness) * 2 + var(--divider-gap));
  background:
    linear-gradient(
      to bottom,
      var(--clean-fill) 0,
      var(--clean-fill) var(--divider-thickness),
      transparent var(--divider-thickness),
      transparent calc(var(--divider-thickness) + var(--divider-gap)),
      var(--clean-fill) calc(var(--divider-thickness) + var(--divider-gap)),
      var(--clean-fill) calc(var(--divider-thickness) * 2 + var(--divider-gap))
    );
  width: 100%;
  margin: 0;
}
.divider-v {
  width: calc(var(--divider-thickness) * 2 + var(--divider-gap));
  height: 100%;
  background:
    linear-gradient(
      to right,
      var(--clean-fill) 0,
      var(--clean-fill) var(--divider-thickness),
      transparent var(--divider-thickness),
      transparent calc(var(--divider-thickness) + var(--divider-gap)),
      var(--clean-fill) calc(var(--divider-thickness) + var(--divider-gap)),
      var(--clean-fill) calc(var(--divider-thickness) * 2 + var(--divider-gap))
    );
  flex-shrink: 0;
  align-self: stretch;
}

/* ── Primary Button ────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-height);
  min-width: var(--btn-primary-min-width);
  padding: 0 var(--btn-padding-x);
  background: var(--dark-bg);
  color: var(--light-bg);
  font-family: var(--ff-oswald);
  font-weight: var(--fw-medium);
  font-size: var(--fs-primary-button);
  line-height: var(--lh-primary-button);
  letter-spacing: var(--ls-primary-button);
  text-transform: uppercase;
  border: none;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-primary:hover { background: color-mix(in srgb, var(--dark-bg) 93%, #fff 7%); }
.btn-primary--alt {
  background: var(--sheet-fill);
  color: var(--primary-fill);
}
.btn-primary--alt:hover { background: color-mix(in srgb, var(--sheet-fill) 93%, #fff 7%); }

/* ── Secondary Button ──────────────────────────────────────────────────────── */
.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--btn-height);
  padding: 0 var(--btn-padding-x);
  background: var(--light-fill);
  color: var(--primary-fill);
  font-family: var(--ff-roboto);
  font-weight: var(--fw-regular);
  font-size: var(--fs-secondary-button);
  line-height: var(--lh-secondary-button);
  letter-spacing: var(--ls-secondary-button);
  border: none;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-secondary:hover { background: var(--tertiary-fill); }

/* ── Seal ──────────────────────────────────────────────────────────────────── */
.seal {
  width: 120px;
  height: 120px;
  position: absolute;
  z-index: 2;
}

/* ── Tile Pattern ──────────────────────────────────────────────────────────── */
.tile-pattern {
  height: 52px;
  overflow: hidden;
  position: relative;
}
.tile-pattern--to-white { background: var(--white-bg); }
.tile-pattern--to-light { background: var(--light-bg); }
.tile-pattern--to-dark  { background: var(--dark-bg);  }

.tile-pattern .tile-row {
  display: flex;
  gap: var(--tile-grout);
  height: 100%;
  padding: 0 var(--tile-grout);
}
.tile-pattern .tile {
  flex: 1;
  background: var(--light-bg);
  min-width: 48px;
  height: calc(100% - var(--tile-grout));
  margin-top: var(--tile-grout);
}
.tile-pattern--to-white .tile { background: var(--light-bg); }
.tile-pattern--to-light .tile { background: var(--white-bg); }
.tile-pattern--to-dark  .tile { background: var(--light-bg); }

/* ── Business Card ─────────────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0;
  background: var(--white-bg);
  border-top: 1px solid var(--tertiary-fill);
  border-left: 1px solid var(--tertiary-fill);
}
.business-card {
  position: relative;
  background: var(--white-bg);
  border-right: 1px solid var(--tertiary-fill);
  border-bottom: 1px solid var(--tertiary-fill);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.business-card .card-name-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-1);
}
.business-card .hours-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  background: var(--open-fill);
  color: var(--open-foreground);
  font-family: var(--ff-roboto);
  font-weight: var(--fw-medium);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 6px;
}
.business-card .business-name {
  font-family: var(--ff-oswald);
  font-weight: var(--fw-medium);
  font-size: var(--fs-title);
  line-height: var(--lh-title);
  letter-spacing: var(--ls-title);
  text-transform: uppercase;
}
.business-card .btn-secondary { height: 48px; }
.business-card .business-location {
  font-family: var(--ff-roboto);
  font-size: var(--fs-caption);
  color: var(--secondary-fill);
  margin-bottom: 4px;
}
.business-card .business-rating {
  font-family: var(--ff-roboto);
  font-size: 13px;
  color: var(--secondary-fill);
}
.business-card .review-count { color: var(--secondary-fill); }
.business-card .business-description {
  font-family: var(--ff-roboto);
  font-size: var(--fs-caption);
  color: var(--primary-fill);
  line-height: 1.5;
  flex: 1;
}
.business-card .btn-secondary { margin-top: var(--space-1); }

/* ── Quote / Contact Modal ─────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 20, 13, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: var(--space-3);
}
.modal {
  background: var(--white-bg);
  width: 100%;
  max-width: 480px;
  padding: var(--space-4);
  position: relative;
}
.modal-close {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  font-size: 24px;
  color: var(--secondary-fill);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 4px var(--space-1);
}
.modal-close:hover { color: var(--primary-fill); text-decoration: underline; }
.modal-title {
  font-family: var(--ff-oswald);
  font-weight: var(--fw-medium);
  font-size: var(--fs-title);
  line-height: var(--lh-title);
  letter-spacing: var(--ls-title);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.modal-subtitle {
  font-family: var(--ff-roboto);
  font-size: var(--fs-caption);
  color: var(--secondary-fill);
  margin-bottom: var(--space-3);
}
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.modal-actions .btn-primary { width: 100%; min-width: unset; }

/* ── Form inputs ───────────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: var(--space-1); margin-bottom: var(--space-2); }
.form-group label {
  font-family: var(--ff-roboto);
  font-size: 13px;
  font-weight: var(--fw-medium);
  color: var(--secondary-fill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px var(--space-2);
  border: 1px solid var(--tertiary-fill);
  background: var(--white-bg);
  font-family: var(--ff-roboto);
  font-size: var(--fs-secondary-button);
  color: var(--primary-fill);
  outline: none;
  transition: border-color 0.15s;
}
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus { border-color: var(--dark-bg); }
textarea { resize: vertical; min-height: 80px; }

/* ── Quiz ──────────────────────────────────────────────────────────────────── */
.quiz-container {
  background: var(--light-bg);
  padding: var(--space-4) 0 var(--space-4) var(--space-4);
}
.quiz-step { display: flex; flex-direction: column; }
.quiz-step.hidden { display: none; }
.quiz-question {
  font-family: var(--ff-oswald);
  font-weight: var(--fw-medium);
  font-size: var(--fs-title);
  line-height: var(--lh-title);
  letter-spacing: var(--ls-title);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.quiz-options { display: flex; flex-direction: column; gap: var(--space-1); margin-bottom: var(--space-3); }
.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px var(--space-2);
  border: 1px solid var(--tertiary-fill);
  background: var(--light-bg);
  cursor: pointer;
  font-family: var(--ff-roboto);
  font-size: var(--fs-secondary-button);
  transition: border-color 0.15s, background 0.15s;
}
.quiz-option:hover { border-color: var(--dark-bg); }
.quiz-option input[type="radio"] { accent-color: var(--dark-bg); flex-shrink: 0; }
.quiz-option.selected { border-color: var(--dark-bg); background: var(--light-fill); }
.quiz-other-wrap { margin-bottom: var(--space-3); }
.quiz-other-wrap.hidden { display: none; }
.autocomplete-wrap { position: relative; margin-bottom: 0; }
.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white-bg);
  border: 1px solid var(--dark-bg);
  border-top: none;
  max-height: 220px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 200;
}
.autocomplete-list li {
  padding: 10px 12px;
  font-family: var(--ff-roboto);
  font-size: var(--fs-caption);
  color: var(--primary-fill);
  cursor: pointer;
}
.autocomplete-list li:hover,
.autocomplete-list li.ac-highlighted { background: var(--light-bg); }
.contact-reveal { margin-bottom: var(--space-2); }
.contact-reveal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-roboto);
  font-size: var(--fs-secondary-button);
  cursor: pointer;
}
.contact-reveal input[type="checkbox"] { accent-color: var(--dark-bg); }
.contact-fields { margin-top: var(--space-2); display: flex; flex-direction: column; gap: var(--space-1); }
.contact-fields.hidden { display: none; }
.quiz-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
  margin-top: var(--btn-margin-top);
}
.quiz-nav .btn-primary {
  width: 100%;
  min-width: 0;
  margin-top: 0;
}
.quiz-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-height);
  width: 100%;
  min-width: 0;
  padding: 0 var(--btn-padding-x);
  background: var(--sheet-fill);
  color: var(--primary-fill);
  font-family: var(--ff-oswald);
  font-weight: var(--fw-medium);
  font-size: var(--fs-primary-button);
  line-height: var(--lh-primary-button);
  letter-spacing: var(--ls-primary-button);
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.quiz-back:hover { background: color-mix(in srgb, var(--sheet-fill) 93%, #000 7%); }
.quiz-step .btn-primary { margin-top: var(--btn-margin-top); margin-bottom: 0; }
.quiz-caption {
  font-family: var(--ff-roboto);
  font-size: 13px;
  color: var(--secondary-fill);
  margin-top: var(--btn-caption-margin-top);
  text-align: center;
}
.quiz-progress {
  margin-bottom: var(--space-3);
}
.quiz-step-label {
  display: block;
  font-family: var(--ff-roboto);
  font-weight: var(--fw-medium);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--secondary-fill);
  margin-bottom: var(--space-1);
}
.quiz-progress-track {
  height: 2px;
  background: var(--tertiary-fill);
  width: 100%;
  margin-bottom: var(--space-3);
}
.quiz-progress-fill {
  height: 100%;
  background: var(--dark-bg);
  transition: width 0.3s ease;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--light-bg);
  padding: 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
}
.hero-divider-v {
  align-self: stretch;
  margin: 0 var(--space-5);
}
.hero-left { padding-top: var(--space-5); padding-bottom: var(--space-6); }
.hero-right { padding-top: var(--space-5); }
.hero-headline { margin-bottom: var(--space-2); }
.hero-headline .accent { color: var(--aqua-fill); }
.hero-body {
  font-family: var(--ff-roboto);
  font-size: var(--fs-body);
  color: var(--primary-fill);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}
.hero-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--clean-fill);
  overflow: visible;
}
.hero-photo-wrap .photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--clean-fill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-roboto);
  font-size: 13px;
  color: var(--secondary-fill);
}
.hero-seal {
  bottom: -24px;
  right: -24px;
}

/* ── FAQ ───────────────────────────────────────────────────────────────────── */
.faq-section {
  background: var(--white-bg);
  padding: var(--space-5) 0;
}
.faq-intro {
  font-family: var(--ff-roboto);
  font-size: var(--fs-body);
  color: var(--secondary-fill);
  max-width: 640px;
  margin-bottom: var(--space-5);
}
.faq-list { max-width: 800px; display: flex; flex-direction: column; gap: 0; }
.faq-item { border-top: var(--divider-thickness) solid var(--tertiary-fill); }
.faq-item:last-child { border-bottom: var(--divider-thickness) solid var(--tertiary-fill); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-family: var(--ff-oswald);
  font-weight: var(--fw-medium);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--primary-fill);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.faq-question:hover { color: var(--dark-bg); }
.faq-question .faq-icon { flex-shrink: 0; font-size: 20px; color: var(--secondary-fill); text-decoration: none; display: inline-block; }
.faq-answer {
  font-family: var(--ff-roboto);
  font-size: var(--fs-secondary-button);
  line-height: 1.6;
  color: var(--primary-fill);
  padding-bottom: 20px;
  max-width: 680px;
  display: none;
}
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.2s; }

/* ── Marquee Banner ────────────────────────────────────────────────────────── */
.marquee-banner {
  background: var(--dark-bg);
  overflow: hidden;
  padding: var(--space-2) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 35s linear infinite;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-family: var(--ff-roboto);
  font-size: var(--fs-caption);
  color: var(--white-bg);
  opacity: 0.8;
  flex-shrink: 0;
  padding: 0 var(--space-2);
}
.marquee-sep {
  color: var(--white-bg);
  opacity: 0.3;
  flex-shrink: 0;
  padding: 0 2px;
}

/* ── CTA Banner ────────────────────────────────────────────────────────────── */
.cta-banner {
  background: var(--dark-bg);
  padding: var(--space-6) 0;
}
.cta-banner-inner { text-align: center; }
.cta-banner .t-headline { color: #fff; margin-bottom: var(--space-2); }
.cta-banner .cta-body {
  font-family: var(--ff-roboto);
  font-size: var(--fs-body);
  color: var(--clean-fill);
  margin-bottom: var(--space-4);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn-primary { margin: 0 auto; }
.cta-banner .btn-caption {
  font-family: var(--ff-roboto);
  font-size: 13px;
  color: var(--clean-fill);
  margin-top: var(--btn-caption-margin-top);
}

/* ── Directory ─────────────────────────────────────────────────────────────── */
.directory-section { padding: var(--space-5) 0; }
.directory-section--grid { background: var(--white-bg); }
.directory-section h1 { margin-bottom: var(--space-3); }
.directory-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.directory-count {
  font-family: var(--ff-roboto);
  font-size: var(--fs-caption);
  color: var(--secondary-fill);
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}
.filter-bar .filter-label {
  font-family: var(--ff-roboto);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--secondary-fill);
  align-self: center;
  margin-right: var(--space-1);
}
.filter-link {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 var(--space-2);
  border: 1px solid var(--tertiary-fill);
  background: var(--white-bg);
  font-family: var(--ff-roboto);
  font-size: 13px;
  color: var(--primary-fill);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.filter-link:hover { border-color: var(--dark-bg); }
.filter-link.active { background: var(--dark-bg); color: #fff; border-color: var(--dark-bg); }
.filter-btn {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 var(--space-2);
  border: 1px solid var(--tertiary-fill);
  background: var(--white-bg);
  font-family: var(--ff-roboto);
  font-size: 13px;
  color: var(--primary-fill);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.filter-btn:hover { border-color: var(--dark-bg); }
.filter-btn.active { background: var(--dark-bg); color: #fff; border-color: var(--dark-bg); }
.filter-select {
  font-family: var(--ff-roboto);
  font-size: var(--fs-caption);
  color: var(--primary-fill);
  background: var(--white-bg);
  border: 1px solid var(--tertiary-fill);
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
  height: 36px;
}
.no-results {
  font-family: var(--ff-roboto);
  font-size: var(--fs-secondary-button);
  color: var(--secondary-fill);
  padding: var(--space-5) var(--space-3);
  text-align: center;
  grid-column: 1 / -1;
}

/* ── Pagination ────────────────────────────────────────────────────────────── */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  justify-content: center;
  margin-top: var(--space-5);
}
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-width: 40px;
  padding: 0 var(--space-2);
  background: var(--white-bg);
  border: 1px solid var(--tertiary-fill);
  font-family: var(--ff-oswald);
  font-weight: var(--fw-medium);
  font-size: var(--fs-secondary-button);
  letter-spacing: 0.04em;
  color: var(--primary-fill);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.page-link:not(.disabled):not(.active):hover { border-color: var(--dark-bg); }
.page-link--arrow { min-width: 40px; padding: 0; }
.page-link.active {
  background: var(--dark-bg);
  color: var(--light-bg);
  border-color: var(--dark-bg);
}
.page-link.disabled {
  color: var(--tertiary-fill);
  border-color: var(--light-fill);
  background: var(--white-bg);
  pointer-events: none;
  cursor: default;
}

/* ── Results page ──────────────────────────────────────────────────────────── */
/* ── Results page ──────────────────────────────────────────────────────────── */
.results-header-section {
  padding: var(--space-5) 0;
  background: var(--white-bg);
}
.results-header-section--matched { background: var(--light-bg); }
.results-header-section h1 { margin-bottom: var(--space-3); }
#top-picks-wrap { margin-top: var(--space-4); }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark-bg);
  padding: var(--space-5) 0;
  color: var(--white-bg);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-4);
}
.wordmark {
  font-family: var(--ff-oswald);
  font-weight: var(--fw-medium);
  font-size: var(--fs-title);
  line-height: var(--lh-title);
  letter-spacing: var(--ls-title);
  text-transform: uppercase;
  color: var(--dark-bg);
  text-decoration: none;
}
.wordmark:hover { text-decoration: underline; }
.site-footer .wordmark { color: var(--white-bg); }
.footer-nav {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-nav a,
.footer-nav button {
  font-family: var(--ff-roboto);
  font-size: var(--fs-caption);
  color: var(--white-bg);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.footer-nav a:hover,
.footer-nav button:hover { text-decoration: underline; color: #fff; }
.footer-right {
  font-family: var(--ff-roboto);
  font-size: 13px;
  color: var(--white-bg);
  text-align: right;
}

/* ── Static pages (privacy, terms) ────────────────────────────────────────── */
.static-page { padding: var(--space-6) 0; }
.static-page h1 {
  font-family: var(--ff-merriweather);
  font-weight: var(--fw-bold);
  font-style: italic;
  font-size: 40px;
  line-height: var(--lh-headline);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-1);
}
.static-page .page-meta {
  font-family: var(--ff-roboto);
  font-size: 13px;
  color: var(--secondary-fill);
  margin-bottom: var(--space-5);
}
.static-page h2 {
  font-family: var(--ff-oswald);
  font-weight: var(--fw-medium);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: var(--space-4) 0 12px;
}
.static-page p, .static-page li {
  font-family: var(--ff-roboto);
  font-size: var(--fs-secondary-button);
  line-height: 1.7;
  color: var(--primary-fill);
  margin-bottom: 12px;
  max-width: 720px;
}
.static-page ul { padding-left: 20px; list-style: disc; }
.static-page a { color: var(--dark-bg); text-decoration: underline; }

/* ── 404 ───────────────────────────────────────────────────────────────────── */
.not-found {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-6) var(--space-3);
}
.not-found-code {
  font-family: var(--ff-oswald);
  font-weight: var(--fw-bold);
  font-size: 96px;
  line-height: 1;
  letter-spacing: var(--ls-headline);
  color: var(--clean-fill);
  margin-bottom: var(--space-3);
}
.not-found h1 {
  font-family: var(--ff-merriweather);
  font-weight: var(--fw-bold);
  font-style: italic;
  font-size: var(--space-4);
  margin-bottom: var(--space-2);
}
.not-found p {
  font-family: var(--ff-roboto);
  font-size: var(--fs-body);
  color: var(--secondary-fill);
  margin-bottom: var(--space-4);
}
.not-found .btn-primary { margin: 0 auto; }

/* ── Back link ─────────────────────────────────────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--ff-roboto);
  font-size: var(--fs-caption);
  color: var(--secondary-fill);
  text-decoration: none;
  margin-bottom: var(--space-4);
}
.back-link:hover { color: var(--primary-fill); text-decoration: underline; }

/* ── Focus ─────────────────────────────────────────────────────────────────── */
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--dark-bg);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Skip navigation ───────────────────────────────────────────────────────── */
.skip-nav {
  position: absolute;
  width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-nav:focus-visible {
  position: fixed;
  top: var(--space-2);
  left: var(--space-2);
  width: auto; height: auto;
  padding: var(--space-1) var(--space-2);
  margin: 0; overflow: visible; clip: auto; white-space: normal;
  background: var(--dark-bg);
  color: var(--white-bg);
  font-family: var(--ff-oswald);
  font-weight: var(--fw-medium);
  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 2px;
  z-index: 9999;
  outline: 2px solid var(--sheet-fill);
  outline-offset: 2px;
}

/* ── Utility ───────────────────────────────────────────────────────────────── */
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.color-aqua { color: var(--aqua-fill); }
.color-secondary { color: var(--secondary-fill); }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .t-headline { font-size: var(--space-4); }
  .t-free { font-size: var(--space-3); }
  section { padding: var(--space-4) 0; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero-divider-v { display: none; }
  .hero-left { padding-top: var(--space-4); padding-bottom: var(--space-3); }
  .hero-right { padding-top: 0; }
  .hero-photo-wrap { display: none; }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-right { text-align: center; }

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

  .btn-primary { min-width: 0; width: 100%; }
  .quiz-container { padding: var(--space-3) var(--space-2); }

  .directory-header { flex-direction: column; align-items: flex-start; }
  .filter-bar { flex-direction: column; }
  .filter-label { margin-bottom: 4px; }

  .static-page h1 { font-size: 28px; }
  .not-found-code { font-size: var(--space-6); }
}

@media (max-width: 480px) {
  .pagination { gap: 2px; }
  .page-link { min-width: var(--space-4); height: var(--space-4); font-size: 13px; }
}
