/* ==========================================================================
   Extreme Auto Design: site styles
   Palette and type are taken from the storefront on Woodward Avenue:
   charcoal sign panels with white block lettering, a gray center tower,
   the red brushstroke X, the yellow LINE-X oval, and the concrete lot.
   ========================================================================== */

:root {
  --fascia: #25282c;      /* sign-panel charcoal */
  --tower: #5d6166;       /* center tower gray */
  --concrete: #e7e7e3;    /* page background */
  --white: #ffffff;
  --red: #e1251b;         /* logo brushstroke */
  --red-ink: #b5170f;     /* red for text on light backgrounds */
  --yellow: #ffd100;      /* LINE-X */

  /* Context tokens (light by default, flipped inside .dark) */
  --bg: var(--concrete);
  --surface: var(--white);
  --text: #1d1f22;
  --muted: #55595f;
  --line: #cfd0cc;
  --link: var(--red-ink);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Type scale: perfect fourth (1.333) on an 18px base */
  --t-sm: .875rem;
  --t-base: 1.125rem;
  --t-md: 1.5rem;
  --t-lg: 2rem;
  --t-xl: clamp(2rem, 4.2vw, 2.66rem);
  --t-2xl: clamp(2.4rem, 5.6vw, 3.55rem);
}

.dark {
  --bg: var(--fascia);
  --surface: #2f3237;
  --text: #ffffff;
  --muted: #b8bbc0;
  --line: #3d4146;
  --link: #ff6a5f;
  background: var(--bg);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; }
p { margin: 0 0 1em; max-width: 68ch; }
h1, h2, h3, h4 {
  font-family: var(--font);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.012em;
  margin: 0 0 .45em;
  text-wrap: balance;
}
h1 { font-size: var(--t-2xl); }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-md); line-height: 1.2; }
h4 { font-size: var(--t-base); }
sup { font-size: .5em; vertical-align: super; line-height: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--white); color: #000; padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.lead { font-size: 1.25rem; color: var(--muted); max-width: 58ch; }
.note { font-size: var(--t-sm); color: var(--muted); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  background: var(--red); color: #fff;
  font-family: var(--font); font-weight: 700; font-size: 1.05rem; font-stretch: 105%;
  text-decoration: none; border: 2px solid var(--red); border-radius: 3px;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: #c61d14; border-color: #c61d14; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-ghost { background: transparent; color: var(--text); border-color: currentColor; }
.btn-ghost:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn-yellow { background: var(--yellow); border-color: var(--yellow); color: #111; }
.btn-yellow:hover { background: #ffdd3d; border-color: #ffdd3d; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.topbar { background: #1b1d20; color: #b8bbc0; font-size: var(--t-sm); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-items { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-items span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; color: var(--red); }
@media (max-width: 720px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--fascia); color: #fff;
  border-bottom: 1px solid #383b40;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 50px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav li { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 12px; background: none; border: 0; color: #fff; cursor: pointer;
  font: 600 1rem/1 var(--font); text-decoration: none; white-space: nowrap;
}
.nav-link:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .4em; }
.nav-link[aria-current="page"], .nav li.is-current > .nav-link {
  text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: .4em;
}
.nav-link .chev { width: 12px; height: 12px; transition: transform .2s; }
.nav .sub {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  list-style: none; margin: 0; padding: 6px;
  background: #fff; color: var(--text); border-radius: 3px;
  box-shadow: 0 14px 30px rgba(0,0,0,.28);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s, transform .15s var(--ease), visibility .15s;
}
.nav li:hover > .sub, .nav li:focus-within > .sub, .nav li.open > .sub { opacity: 1; visibility: visible; transform: none; }
.nav li:hover > .nav-link .chev { transform: rotate(180deg); }
.sub a { display: block; padding: 9px 12px; text-decoration: none; color: #1d1f22; font-weight: 500; border-radius: 2px; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--concrete); }
.header-cta { display: flex; gap: 14px; align-items: center; }
.header-phone { color: #fff; text-decoration: none; font-weight: 700; font-stretch: 110%; font-size: 1.1rem; white-space: nowrap; }
.header-phone:hover { text-decoration: underline; }
.header-phone small { display: none; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid #4a4e54; background: transparent;
  color: #fff; border-radius: 3px; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1140px) { .header-phone { display: none; } }
@media (max-width: 1020px) {
  :root { --header-h: 64px; }
  .brand img { height: 42px; }
  .menu-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    display: block; overflow-y: auto; padding: 8px var(--gutter) 40px;
    background: var(--fascia);
    transform: translateX(100%); transition: transform .25s var(--ease); visibility: hidden;
  }
  body.nav-open .nav { transform: none; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid #3d4146; }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 2px; font-size: 1.25rem; font-stretch: 110%; }
  .nav .sub {
    position: static; opacity: 1; visibility: visible; transform: none; display: none;
    box-shadow: none; background: transparent; padding: 0 0 12px 6px;
  }
  .nav li.open > .sub { display: block; }
  .nav li.open > .nav-link .chev { transform: rotate(180deg); }
  .nav li:hover > .nav-link .chev { transform: none; }
  .nav li.open:hover > .nav-link .chev { transform: rotate(180deg); }
  .sub a { color: #d6d8db; font-size: 1.05rem; }
  .sub a:hover, .sub a[aria-current="page"] { background: #33363b; color: #fff; }
  .nav-mobile-cta { display: grid !important; gap: 12px; margin-top: 24px; }
  .nav-mobile-cta .btn-ghost { color: #fff; }
}
.nav-mobile-cta { display: none !important; }

/* ==========================================================================
   The storefront sign (home hero)
   Three panels like the building: a charcoal panel on each side with white
   block lettering, and a taller gray tower in the middle carrying the logo
   and the LINE-X oval. Each line of lettering links to that department.
   ========================================================================== */
.storefront { background: var(--concrete); padding-top: clamp(20px, 4vw, 48px); }
.sign {
  display: grid; grid-template-columns: 1fr minmax(220px, 300px) 1fr; align-items: end;
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
}
.sign-panel {
  background: var(--fascia); color: #fff;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .1em;
  padding: clamp(22px, 3vw, 40px) clamp(18px, 3vw, 44px);
  min-height: clamp(200px, 22vw, 290px); text-align: center;
  box-shadow: inset 0 -6px 0 rgba(0,0,0,.25);
}
.sign-line {
  display: block; color: #fff; text-decoration: none;
  font-weight: 700; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(1rem, 1.62vw, 1.6rem); line-height: 1.22; letter-spacing: .03em; white-space: nowrap;
}
.sign-line:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 4px; text-underline-offset: .18em; }
.sign-line em { font-style: italic; }
.sign-tower {
  background: var(--tower); align-self: stretch;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 18px;
  padding: 26px 18px 22px; margin-top: -24px;
  box-shadow: inset 0 -6px 0 rgba(0,0,0,.2);
}
.sign-tower img { width: min(100%, 230px); }
.linex-oval {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--yellow); color: #111; border: 3px solid #111; border-radius: 50%;
  padding: 10px 26px; text-decoration: none; line-height: 1;
  box-shadow: 0 0 0 3px var(--yellow);
}
.linex-oval strong { font-weight: 900; font-stretch: 125%; font-size: 1.55rem; letter-spacing: .02em; }
.linex-oval small { font-weight: 700; font-size: .55rem; letter-spacing: .06em; margin-top: 4px; text-transform: uppercase; }
.linex-oval:hover { background: #ffe14d; }

/* The photo sits directly under the sign at the same width, like trucks parked
   in front of the building, and keeps the photo's own 2.5:1 proportions. */
.storefront-photo { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.storefront-photo img { width: 100%; aspect-ratio: 1920 / 772; object-fit: cover; background: #000; }

/* The sign switches on once at page load */
@media (prefers-reduced-motion: no-preference) {
  .sign-line, .linex-oval { animation: sign-on .9s linear both; }
  .sign-panel.left .sign-line:nth-child(1) { animation-delay: .15s; }
  .sign-panel.left .sign-line:nth-child(2) { animation-delay: .3s; }
  .sign-panel.left .sign-line:nth-child(3) { animation-delay: .45s; }
  .sign-panel.left .sign-line:nth-child(4) { animation-delay: .6s; }
  .linex-oval { animation-delay: .75s; }
  .sign-panel.right .sign-line:nth-child(1) { animation-delay: .9s; }
  .sign-panel.right .sign-line:nth-child(2) { animation-delay: 1.05s; }
  .sign-panel.right .sign-line:nth-child(3) { animation-delay: 1.3s; }
  @keyframes sign-on {
    0%, 20% { opacity: .1; }
    25% { opacity: 1; }
    35% { opacity: .3; }
    45%, 100% { opacity: 1; }
  }
}

@media (max-width: 760px) {
  .storefront-photo { padding: 0; }
  .storefront-photo img { aspect-ratio: 16 / 10; object-position: 45% center; }
  .sign { grid-template-columns: 1fr; padding: 0; }
  .sign-tower { order: -1; margin: 0; flex-direction: row; justify-content: center; padding: 18px; }
  .sign-tower img { width: 150px; }
  .sign-panel { min-height: 0; padding: 18px 16px; }
  .sign-panel.left { border-bottom: 1px solid #383b40; }
  .sign-line { font-size: 1.15rem; white-space: normal; }
  .linex-oval { padding: 8px 18px; }
  .linex-oval strong { font-size: 1.2rem; }
}

/* Intro under the photo */
.intro { padding: clamp(44px, 6vw, 80px) 0; }
.intro .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.visit-card { background: var(--surface); border-top: 6px solid var(--red); padding: 26px 26px 28px; }
.visit-card h2 { font-size: var(--t-md); margin-bottom: .6em; }
.visit-card dl { margin: 0 0 22px; display: grid; gap: 12px; }
.visit-card dt { font-size: var(--t-sm); color: var(--muted); }
.visit-card dd { margin: 0; font-weight: 600; }
.visit-card dd a { color: var(--text); text-decoration: none; }
.visit-card dd a:hover { text-decoration: underline; }
@media (max-width: 860px) { .intro .wrap { grid-template-columns: 1fr; } }

/* Departments: rows, not identical cards */
.departments { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--text); }
.department {
  display: grid; grid-template-columns: minmax(200px, 340px) 1fr auto; gap: clamp(20px, 3vw, 40px);
  align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line);
}
.department img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.department h3 { font-size: var(--t-lg); margin-bottom: .25em; }
.department h3 a { color: var(--text); text-decoration: none; }
.department h3 a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.department p { color: var(--muted); margin-bottom: .5em; }
.department .includes { font-size: var(--t-sm); color: var(--muted); margin: 0; }
.department.linex h3 a { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 5px; text-underline-offset: .2em; }
@media (max-width: 860px) {
  .department { grid-template-columns: 1fr; gap: 14px; }
  .department .btn { justify-self: start; }
}

/* ---------- Inner page header ---------- */
.page-hero { display: grid; grid-template-columns: 1.15fr 1fr; min-height: clamp(300px, 34vw, 440px); }
.page-hero-text { padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(40px, 6vw, 72px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); align-self: center; }
.page-hero h1 { margin-bottom: .3em; }
.page-hero .lead { color: #d6d8db; }
.page-hero .btn-row { margin-top: 26px; }
.page-hero .btn-ghost { color: #fff; }
.page-hero .btn-ghost:hover { background: #fff; color: var(--fascia); border-color: #fff; }
.page-hero-media { position: relative; overflow: hidden; background: #000; }
.page-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero.no-img { grid-template-columns: 1fr; min-height: 0; }
.page-hero.linex-page { box-shadow: inset 0 -8px 0 var(--yellow); }
.crumbs { font-size: var(--t-sm); color: #9da1a7; margin-bottom: 18px; }
.crumbs a { color: #d6d8db; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 8px; }
@media (max-width: 860px) {
  .page-hero { grid-template-columns: 1fr; min-height: 0; }
  .page-hero-media { order: -1; height: 200px; }
  .page-hero-text { padding: 32px var(--gutter) 40px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-alt { background: var(--white); }
.section-alt .card, .section-alt .quote-panel, .section-alt .info-item, .section-alt .chip, .section-alt .tier, .section-alt .review { background: var(--concrete); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(26px, 3.5vw, 44px); }
.section-head > div { max-width: 720px; }
.section-head h2 { margin-bottom: .25em; }
.section-head p { color: var(--muted); margin: 0; }
.section-head.center { justify-content: center; text-align: center; }
.section-head.center p { margin-inline: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split[style] { grid-template-columns: 1fr !important; } .split.reverse > :first-child { order: 0; } }
.split-media img { width: 100%; }
.split-media img.fill { aspect-ratio: 4 / 3; object-fit: cover; }
.prose p { color: var(--muted); }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.1em; color: var(--muted); }
.prose li { margin-bottom: .35em; }
.prose strong { color: var(--text); }

.checks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 8px 28px; }
.checks.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .checks.cols-2 { grid-template-columns: 1fr; } }
.checks li { position: relative; padding-left: 26px; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px;
  border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg);
}

/* ---------- Grids, cards, tiles ---------- */
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .grid-4:has(> .card) { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .grid-4 { grid-template-columns: 1fr 1fr; gap: 10px; } }

.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); text-decoration: none; color: var(--text);
  border-bottom: 4px solid transparent;
}
a.card:hover { border-bottom-color: var(--red); }
a.card:hover h3 { text-decoration: underline; text-decoration-color: var(--red); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.3rem; margin-bottom: .3em; }
.card-body p { color: var(--muted); font-size: 1rem; margin-bottom: 12px; }
.card-body .more { margin-top: auto; font-weight: 700; color: var(--link); font-size: 1rem; }
.card-body .more svg { display: none; }
.card-tag {
  position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 9px;
  background: var(--fascia); color: #fff; font-weight: 600; font-size: .8rem;
}

.tile {
  position: relative; display: block; overflow: hidden; background: #000;
  text-decoration: none; aspect-ratio: 1 / 1; color: #fff;
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,22,25,.92) 0%, rgba(20,22,25,0) 52%); }
.tile-label {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1;
  font-weight: 800; font-stretch: 110%; font-size: 1.15rem; line-height: 1.15;
}
.tile-label small { display: block; font-weight: 400; font-stretch: 100%; color: #cfd1d4; font-size: .85rem; margin-top: 3px; }
a.tile:hover .tile-label, button.tile:hover .tile-label { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; }
button.tile { padding: 0; border: 0; cursor: pointer; width: 100%; font: inherit; text-align: left; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.feature { padding: 20px 0 4px; border-top: 3px solid var(--text); }
.feature svg { width: 28px; height: 28px; color: var(--red); margin-bottom: 12px; }
.feature h3 { font-size: 1.25rem; margin-bottom: .35em; }
.feature p { color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* Brand list (static) */
.brand-list { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0; padding: 0; list-style: none; }
.brand-list li { font-weight: 800; font-stretch: 118%; font-size: 1.25rem; color: var(--muted); }

/* CTA band: sign-panel charcoal */
.cta-band { padding: clamp(48px, 6vw, 76px) 0; border-top: 6px solid var(--red); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .2em; }
.cta-band p { margin: 0; color: var(--muted); font-size: 1.15rem; }
.cta-band .btn-ghost { color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--fascia); border-color: #fff; }

/* Panels */
.quote-panel { background: var(--surface); padding: clamp(20px, 3vw, 30px); }
.quote-panel h3 { margin-bottom: .3em; }
.quote-panel > p { color: var(--muted); }
button.quote-panel { border: 0; border-left: 5px solid var(--red); }
button.quote-panel:hover h3 { text-decoration: underline; text-decoration-color: var(--red); }
button.quote-panel h3 svg { display: none; }

/* LINE-X tiers */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tiers { grid-template-columns: 1fr; } }
.tier { background: var(--surface); display: flex; flex-direction: column; border-top: 5px solid var(--fascia); }
.tier-img { aspect-ratio: 1170 / 402; overflow: hidden; }
.tier-img img { width: 100%; height: 100%; object-fit: cover; }
.tier-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.tier-body h3 { margin-bottom: .15em; }
.tier-body h3 small { display: block; font-size: .95rem; font-weight: 600; font-stretch: 100%; color: var(--muted); margin-top: 6px; letter-spacing: 0; }
.tier-body p { color: var(--muted); font-size: 1rem; }
.tier.featured { border-top-color: var(--yellow); }

/* Info cards */
.info-list { display: grid; gap: 12px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: var(--surface); }
.info-item svg { width: 24px; height: 24px; color: var(--red); flex: none; margin-top: 3px; }
.info-item h3 { font-size: 1.1rem; margin-bottom: .2em; }
.info-item p, .info-item a { margin: 0; color: var(--muted); text-decoration: none; }
.info-item a:hover { color: var(--text); text-decoration: underline; }
.info-item strong { color: var(--text); font-weight: 700; }

.map-frame { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* Reviews */
.reviews { columns: 3 320px; column-gap: 16px; }
.review { break-inside: avoid; margin: 0 0 16px; padding: 24px; background: var(--surface); }
.grid > .review { margin: 0; }
.stars { color: var(--red); letter-spacing: 2px; font-size: 1rem; margin-bottom: 10px; }
.review blockquote { margin: 0 0 14px; font-size: 1.08rem; }
.review cite { font-style: normal; font-weight: 700; }
.review cite small { display: block; font-weight: 400; color: var(--muted); font-size: var(--t-sm); }

/* Form embed */
.form-shell { background: var(--white); border: 1px solid var(--line); color: #1d1f22; }
.form-shell-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid #cfd0cc; }
.form-shell-head h3 { margin: 0; font-size: 1.2rem; }
.form-shell .btn-ghost { color: #1d1f22; }
.form-shell iframe { display: block; width: 100%; height: 900px; border: 0; background: #fff; }
.form-fallback { padding: 30px 24px; text-align: center; }
.form-fallback p { color: #55595f; max-width: 46ch; margin: 0 auto 18px; }
.form-fallback .btn-row { justify-content: center; }

.quote-picker { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
.quote-picker nav { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 4px; }
.quote-picker nav h3 { font-size: var(--t-sm); font-stretch: 100%; font-weight: 600; color: var(--muted); margin: 16px 0 4px; letter-spacing: 0; }
.quote-picker nav h3:first-child { margin-top: 0; }
.quote-picker nav button {
  text-align: left; padding: 10px 14px; background: transparent; color: var(--text);
  border: 0; border-left: 4px solid transparent; cursor: pointer; font: 500 1rem var(--font);
}
.quote-picker nav button:hover { background: var(--surface); }
.quote-picker nav button[aria-pressed="true"] { background: var(--surface); border-left-color: var(--red); font-weight: 700; }
@media (max-width: 900px) {
  .quote-picker { grid-template-columns: 1fr; }
  .quote-picker nav { position: static; grid-template-columns: 1fr 1fr; }
  .quote-picker nav h3 { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .quote-picker nav { grid-template-columns: 1fr; } }

/* Modal */
.modal { width: min(820px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; background: var(--white); color: #1d1f22; }
.modal::backdrop { background: rgba(20,22,25,.7); }
.modal .form-shell { border: 0; }
.modal .form-shell iframe { height: min(78vh, 900px); }
.modal-close { width: 40px; height: 40px; border: 1px solid #cfd0cc; background: transparent; color: #1d1f22; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.modal-close:hover { border-color: #1d1f22; }
.modal-close svg { width: 18px; height: 18px; }

/* Tint shades */
.shades { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 20px 0 24px; }
.shade { padding: 46px 8px 10px; text-align: center; font-weight: 800; font-stretch: 115%; font-size: 1.3rem;
  background: linear-gradient(135deg, #8aa5b8, #d9e3ea); position: relative; overflow: hidden; }
.shade::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--o); }
.shade span { position: relative; z-index: 1; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.shade small { display: block; position: relative; z-index: 1; font-weight: 500; font-stretch: 100%; font-size: .75rem; color: #f2f2f2; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 12px; background: var(--surface); font-size: .95rem; border: 1px solid var(--line); }

/* Footer */
.site-footer { padding: 64px 0 0; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: 1rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; color: var(--muted); }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); }
.footer-bottom { margin-top: 52px; border-top: 1px solid var(--line); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--t-sm); color: var(--muted); }
.footer-bottom a { color: var(--muted); }

/* Mobile action bar */
.action-bar { display: none; }
@media (max-width: 720px) {
  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--fascia); padding-bottom: env(safe-area-inset-bottom);
  }
  .action-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; text-decoration: none;
    font-weight: 700; color: #fff;
  }
  .action-bar a:last-child { background: var(--red); }
  .action-bar svg { width: 18px; height: 18px; }
  body { padding-bottom: 56px; }
}

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; background: var(--surface); }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
th { font-weight: 700; }
td { color: var(--muted); }
