/* ==========================================================================
   Shine On Auto Service Center
   --------------------------------------------------------------------------
   1. Tokens          5. Hero            9. Find us
   2. Base            6. The shop       10. Footer
   3. Shared pieces   7. Before you call 11. Phone quick bar
   4. Header & nav    8. Services/rates  12. Motion & print
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Night: warm blacks taken from the logo's black and the photo's asphalt */
  --night-950: #0b0808;
  --night-900: #120c0c;
  --night-800: #1a1112;
  --night-700: #241719;
  /* Oxblood: the logo's red paint, in shadow */
  --oxblood-900: #1f0b0e;
  --oxblood-800: #2e0f14;
  --oxblood-700: #47141b;
  /* Garage steel: a cooler dark for contrast between sections */
  --steel-900: #121416;
  --steel-800: #1a1d20;
  --steel-700: #25292d;

  --red: #d4202f;
  --red-hot: #ee3342;
  --red-soft: #ff8087;      /* red that stays readable as text on dark */
  --ember: #f3a44a;         /* the sunset; used only for light, never for UI */

  --chrome: #f1f2f4;
  --silver: #c5c9cf;
  --mute: #a2a4aa;          /* secondary text; 7:1 on night-900 */
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);

  --chrome-gradient: linear-gradient(178deg, #ffffff 8%, #d5d9df 38%, #8f96a0 52%, #eef0f3 62%, #b4bac3 92%);

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-verse: "Newsreader", Georgia, "Times New Roman", serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --header-h: 76px;

  /* Section seam: a faint highlight line with a soft shadow beneath it,
     like the edge of a panel. Used as the first background layer of each
     section after "The shop". */
  --seam:
    linear-gradient(90deg, transparent 8%, rgba(255, 255, 255, 0.07) 50%, transparent 92%) top / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent) top / 100% 2.5rem no-repeat;

  --shadow-raised: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 24px 60px -24px rgba(0, 0, 0, 0.8);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--night-950);
  color: var(--silver);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote, address { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-style: italic;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--chrome);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.4rem + 3.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 1.35rem + 2.1vw, 3rem); }
h3 {
  font-family: var(--font-display);
  font-stretch: 106%;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--chrome);
}
p { text-wrap: pretty; }

/* Sections receive focus after an in-page link; the move itself is the cue */
[tabindex="-1"]:focus { outline: none; }

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  border-radius: 6px;
}

/* 3. Shared pieces --------------------------------------------------------- */
.wrap {
  width: min(100% - 2 * var(--gutter), 1180px);
  margin-inline: auto;
}

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.icon {
  flex: none;
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--chrome);
  color: var(--night-950);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.lede {
  font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3rem);
  line-height: 1.55;
  color: var(--chrome);
}

.fine-print { font-size: 0.95rem; color: var(--mute); }

.chrome-text {
  background: var(--chrome-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* italics overhang their box; keep the last letter from being clipped */
  padding-right: 0.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.link {
  color: var(--chrome);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--red-hot);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
  transition: text-decoration-color 0.15s, color 0.15s;
}
.link:hover { color: #fff; text-decoration-color: #fff; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding-inline: 1.7rem; font-size: 1.0625rem; }

.btn-primary {
  background: linear-gradient(180deg, #d82735 0%, #b01522 100%);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 10px 26px -10px rgba(212, 32, 47, 0.75);
}
.btn-primary:hover { background: linear-gradient(180deg, #e23240 0%, #bd1826 100%); }

.btn-chrome {
  background: linear-gradient(180deg, #ffffff 0%, #cfd3d9 100%);
  color: #17100f;
  box-shadow: 0 1px 0 #fff inset, 0 10px 26px -14px rgba(0, 0, 0, 0.9);
}
.btn-chrome:hover { background: linear-gradient(180deg, #ffffff 0%, #e6e8ec 100%); }

.btn-quiet {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--chrome);
}
.btn-quiet:hover { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.09); }

/* Wordmark used in header and footer */
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-stretch: 118%;
  font-style: italic;
  font-weight: 900;
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--chrome);
}
.brand-sub {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--silver);
}

/* 4. Header & nav ---------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(11, 8, 8, 0.78), rgba(11, 8, 8, 0));
  transition: background-color 0.25s, box-shadow 0.25s;
}
.site-header.is-open { background: #0f0a0a; }
.site-header.is-solid {
  background: rgba(15, 10, 10, 0.92);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line), 0 14px 30px -18px #000;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.brand-badge {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); }
.site-nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.site-nav li a {
  position: relative;
  display: block;
  padding: 0.6rem 0.1rem;
  color: var(--chrome);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}
.site-nav li a::after {
  content: "";
  position: absolute;
  inset: auto 0 0.3rem 0;
  height: 2px;
  border-radius: 2px;
  background: var(--red-hot);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease-out;
}
.site-nav li a:hover::after,
.site-nav li a[aria-current]::after { transform: scaleX(1); }
.nav-actions { display: flex; gap: 0.75rem; }
.nav-directions { display: none; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(15, 10, 10, 0.55);
  color: var(--chrome);
  font-weight: 700;
  cursor: pointer;
}
.menu-toggle-bars { display: grid; gap: 6px; width: 20px; }
.menu-toggle-bars span {
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 899px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: inline-flex; }
  .brand-badge { width: 46px; height: 46px; }

  .site-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 0.5rem var(--gutter) 1.75rem;
    background: #0f0a0a;
    box-shadow: 0 1px 0 var(--line), 0 30px 50px -20px #000;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav li a {
    padding: 1rem 0.25rem;
    font-family: var(--font-display);
    font-stretch: 108%;
    font-size: 1.3rem;
    font-weight: 700;
  }
  .site-nav li a::after { display: none; }
  .site-nav li a[aria-current] { color: var(--red-soft); }
  .nav-actions { flex-direction: column; }
  .nav-actions .btn { min-height: 54px; }
  .nav-directions { display: inline-flex; }
}

@media (max-width: 399px) {
  .header-bar { gap: 0.75rem; }
  .brand { gap: 0.5rem; }
  .brand-badge { width: 40px; height: 40px; }
  .site-header .brand-name { font-size: 1.15rem; }
  .site-header .brand-sub { font-size: 0.7rem; letter-spacing: 0.02em; }
  .menu-toggle { padding: 0 0.9rem; gap: 0.5rem; }
}

/* 5. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(600px, 100svh, min(860px, 54vw));
  padding: calc(var(--header-h) + 2rem) 0 clamp(3.5rem, 7vw, 6rem);
  background: var(--night-900);
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { position: absolute; max-width: none; }

/* A blurred copy of the photo fills the frame so the sharp copy can sit
   to the right and dissolve into its own colours. */
.hero-glow {
  inset: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  object-position: 0% 40%;
  filter: blur(48px) brightness(0.62) saturate(1.1);
}
.hero-photo {
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  min-width: 68%;
  object-fit: cover;
  object-position: 100% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 24%);
}
/* Scrims: one for the copy on the left, one to hand off to the next section */
.hero-media::before,
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-media::before {
  background: linear-gradient(90deg, rgba(13, 8, 8, 0.8) 0%, rgba(13, 8, 8, 0.52) 30%, rgba(13, 8, 8, 0.1) 54%, transparent 68%);
}
.hero-media::after {
  background: linear-gradient(180deg, transparent 74%, rgba(18, 12, 12, 0.6) 90%, var(--night-900) 100%);
}

.hero-copy { max-width: 35rem; }
.hero-place {
  margin-bottom: 1rem;
  font-weight: 600;
  color: #ffd9a8;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
}
.hero h1 { text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45); }
.hero h1 .chrome-text { text-shadow: none; filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.55)); }
.hero-lede {
  max-width: 27rem;
  margin-top: 1.4rem;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.55;
  color: #eceef0;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.1rem; }
.hero-address {
  margin-top: 1.4rem;
  font-size: 1rem;
  color: var(--silver);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}

/* Below 1180px the photo fills the whole hero and the copy sits at the
   bottom, over the dark road, with a scrim rising behind it. On phones the
   hero buttons give way to the fixed call/directions bar, which is always
   on screen there, so the car stays visible above the headline. */
@media (max-width: 1179px) {
  .hero {
    align-items: flex-end;
    min-height: max(560px, calc(100svh - var(--quick-bar-h, 0px)));
    padding: calc(var(--header-h) + 2rem) 0 clamp(2.25rem, 6vw, 4rem);
  }
  .hero-glow { display: none; }
  .hero-photo {
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    object-position: 42% 50%;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-media::before {
    background: linear-gradient(180deg, rgba(13, 8, 8, 0.6) 0, transparent 140px);
  }
  .hero-media::after {
    background: linear-gradient(180deg,
      transparent 34%,
      rgba(13, 8, 8, 0.5) 50%,
      rgba(13, 8, 8, 0.84) 68%,
      var(--night-900) 100%);
  }
  .hero-copy { max-width: 40rem; }
  .hero-lede { max-width: 34rem; }
}
@media (max-width: 699px) {
  .hero-actions, .hero-address { display: none; }
  .hero-media::after {
    background: linear-gradient(180deg,
      transparent 30%,
      rgba(13, 8, 8, 0.6) 44%,
      rgba(13, 8, 8, 0.9) 64%,
      var(--night-900) 100%);
  }
}

/* Section glows sit on their own layer and fade out toward the section's
   top and bottom, so a glow never ends in a hard line at a section edge. */
.shop, .guide { position: relative; isolation: isolate; }
.shop::before,
.guide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--glow);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 28%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 28%, #000 72%, transparent 100%);
}

/* 6. The shop -------------------------------------------------------------- */
.shop {
  --glow: radial-gradient(48rem 30rem at 10% 38%, rgba(212, 32, 47, 0.16), transparent 68%);
  padding: var(--section-y) 0;
  background: linear-gradient(180deg, var(--night-900) 0%, #181011 22%, #181011 100%);
}

.shop-intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: start;
  gap: clamp(1.5rem, 6vw, 5.5rem);
}
.shop-copy > * + * { margin-top: 1.25rem; }
.shop-links { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; padding-top: 0.5rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3.5rem);
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.1rem;
  align-content: start;
}
.step-num {
  grid-row: span 2;
  font-family: var(--font-display);
  font-stretch: 118%;
  font-style: italic;
  font-weight: 900;
  font-size: 3.4rem;
  line-height: 0.9;
  background: var(--chrome-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.1em;
}
.steps h3 { margin-bottom: 0.4rem; }
.steps p { font-size: 1rem; line-height: 1.6; }

@media (max-width: 899px) {
  .shop { padding-top: clamp(2rem, 6vw, 4rem); }
  .shop-intro { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* 7. Before you call ------------------------------------------------------- */
.guide {
  --glow: radial-gradient(52rem 30rem at 88% 42%, rgba(238, 51, 66, 0.2), transparent 70%);
  padding: var(--section-y) 0;
  background: var(--seam), linear-gradient(180deg, #201013 0, #280f13 8rem, var(--oxblood-800) 45%, #250e12 100%);
}

.guide-head { max-width: 44rem; }
.guide-head .lede { margin-top: 1.1rem; }

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 21rem) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
}

.guide-tabs { display: grid; gap: 0.5rem; }
.guide-tab {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 76px;
  padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--silver);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.guide-tab .icon { width: 1.6rem; height: 1.6rem; color: var(--mute); transition: color 0.15s; }
.guide-tab-text { display: grid; gap: 0.1rem; line-height: 1.3; }
.guide-tab-text strong {
  font-family: var(--font-display);
  font-stretch: 106%;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--chrome);
}
.guide-tab-text span { font-size: 0.95rem; }
.guide-tab:hover { background: rgba(255, 255, 255, 0.05); }
.guide-tab[aria-selected="true"] {
  border-color: rgba(255, 128, 135, 0.35);
  background: linear-gradient(90deg, rgba(212, 32, 47, 0.34), rgba(212, 32, 47, 0.1));
  box-shadow: inset 4px 0 0 var(--red-hot);
  color: #f0dcdd;
}
.guide-tab[aria-selected="true"] .icon { color: #fff; }

/* The pad: a dark shop notepad with ruled prompts */
.guide-pad {
  position: relative;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(20, 13, 14, 0.92), rgba(14, 9, 10, 0.92));
  box-shadow: var(--shadow-raised), 0 0 0 1px var(--line);
}
.guide-panel:focus-visible { outline-offset: 8px; border-radius: var(--radius-sm); }
.js .guide-panel[hidden] { display: none; }
/* Without JavaScript: a solid header, no dead menu button (the call and
   directions bar still shows), and every guide panel one after another */
html:not(.js) .site-header { background: rgba(15, 10, 10, 0.94); }
html:not(.js) .menu-toggle { display: none; }
html:not(.js) .guide-tabs { display: none; }
html:not(.js) .guide-layout { grid-template-columns: 1fr; }
html:not(.js) .guide-panel + .guide-panel { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }

.guide-panel h3 {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
  font-style: italic;
  font-weight: 800;
  font-stretch: 110%;
}
.guide-intro { margin-top: 0.5rem; color: var(--silver); }

.prompts { counter-reset: prompt; margin-top: 1.5rem; border-top: 1px solid var(--line); }
.prompts li {
  counter-increment: prompt;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  align-items: baseline;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.45;
  color: var(--chrome);
}
.prompts li::before {
  content: counter(prompt);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 1.15em;
  color: var(--red-soft);
}

.guide-files { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.guide-files-note { flex-basis: 100%; font-size: 0.95rem; color: var(--mute); }
.guide-ready {
  margin-top: 1.75rem;
  padding-top: 1.4rem;
  border-top: 1px dashed var(--line-strong);
  color: var(--silver);
}
.guide-ready strong { color: var(--chrome); }

.guide-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.guide-foot .fine-print { max-width: 40rem; color: #c3b4b6; }

@media (max-width: 899px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-tab { min-height: 64px; padding: 0.75rem 0.9rem; gap: 0.7rem; }
  .guide-tab-text span { display: none; }
  .guide-tab-text strong { font-size: 1.0625rem; }
  .guide-tab[aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--red-hot); }
  .guide-foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 359px) {
  .guide-tab .icon { display: none; }
}

/* 8. Services & rates ------------------------------------------------------ */
.rates {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: var(--seam), linear-gradient(180deg, #211719 0, #1b1d20 8rem, #16181b 100%);
}
.rates-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.rates-copy > * + * { margin-top: 1.25rem; }

.rate-board {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--steel-700), #1b1e21);
  box-shadow: var(--shadow-raised), 0 0 0 1px var(--line);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, transparent, #dfe2e6 20%, #8f96a0 50%, #dfe2e6 80%, transparent) 1;
  border-image-slice: 1 0 0 0;
}
.rate-board-title {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-style: italic;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--chrome);
}
.rate-list { margin-top: 1rem; }
.rate-row {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}
.rate-row dt { font-weight: 600; color: var(--chrome); }
.rate-row dt small { display: block; font-size: 0.9rem; font-weight: 400; color: var(--mute); }
/* dotted leader between name and price, like a shop price board */
.rate-row::before {
  content: "";
  order: 1;
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 2px dotted rgba(255, 255, 255, 0.24);
  transform: translateY(-0.3em);
}
.rate-row dt { order: 0; }
.rate-row dd {
  order: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #fff;
  text-align: right;
}
.rate-row.is-pending dd { font-family: var(--font-body); font-weight: 500; color: var(--silver); }
.rate-board-foot {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}

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

/* 9. Find us --------------------------------------------------------------- */
/* One "destination" block: address and directions lead, phone and hours
   follow as two rows, and the map sits alongside on wide screens. */
.visit {
  --glow: radial-gradient(44rem 30rem at 78% 55%, rgba(243, 164, 74, 0.1), transparent 70%);
  position: relative;
  isolation: isolate;
  padding: var(--section-y) 0;
  background: var(--seam), linear-gradient(180deg, #151314 0, #130d0d 8rem, #0f0a0a 100%);
}
.visit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--glow);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 28%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 28%, #000 72%, transparent 100%);
}

.visit-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: stretch;
}

.visit-kicker {
  font-size: 1.25rem;
  font-stretch: 108%;
  letter-spacing: 0;
  color: var(--red-soft);
}
.visit-address {
  margin-top: 0.8rem;
  font-family: var(--font-display);
  font-stretch: 114%;
  font-style: italic;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.visit-address .chrome-text {
  display: block;
  width: fit-content;
  font-size: clamp(2.2rem, 1.1rem + 3.4vw, 3.9rem);
  text-wrap: balance;
}
.visit-city {
  display: block;
  margin-top: 0.5rem;
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.9rem);
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -0.01em;
  color: var(--silver);
}

.visit-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.copy-address.is-done { border-color: rgba(255, 128, 135, 0.6); }
.visit-alt { margin-top: 1rem; font-size: 1rem; color: var(--silver); }

.visit-facts { margin-top: 2.25rem; border-top: 1px solid var(--line); }
.fact {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.25rem 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.fact dt {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  height: fit-content;
  padding-top: 0.45rem;
  font-weight: 700;
  color: var(--silver);
}
.fact dt .icon { color: var(--red-soft); }
.fact dd { margin: 0; }
.fact dd p { font-size: 1rem; line-height: 1.6; }
.fact dd > * + * { margin-top: 0.5rem; }
.visit-phone,
.visit-hours {
  display: inline-block;
  font-family: var(--font-display);
  font-stretch: 110%;
  font-weight: 800;
  font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.85rem) !important;
  line-height: 1.25 !important;
  color: var(--chrome);
}
.visit-phone {
  text-decoration: underline;
  text-decoration-color: var(--red-hot);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.22em;
  white-space: nowrap;
}
.visit-phone:hover { color: #fff; text-decoration-color: #fff; }
.save-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--chrome);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 0.25em;
}
.save-contact .icon { color: var(--red-soft); }
.save-contact:hover { text-decoration-color: #fff; }

/* Map: a placeholder until the visitor loads Google's map */
.map { display: flex; }
.map-frame {
  position: relative;
  flex: 1;
  min-height: 26rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(26rem 18rem at 50% 38%, rgba(212, 32, 47, 0.18), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48.5' viewBox='0 0 28 48.5'%3E%3Cpath d='M14 0v8.1L0 16.2v16.1l14 8.1v8.1M14 8.1l14 8.1v16.1l-14 8.1' fill='none' stroke='%23fff' stroke-opacity='.06' stroke-width='1.1'/%3E%3C/svg%3E") 0 0 / 28px 48.5px,
    linear-gradient(180deg, var(--steel-800), #141618);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-raised);
}
.map-frame:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
}
.map-copy {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.6rem;
  padding: 2rem 1.5rem 1rem;
  text-align: center;
}
.map-pin {
  width: 3rem; height: 3rem;
  fill: none; stroke: var(--red-soft); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 6px 16px rgba(212, 32, 47, 0.5));
}
.map-title {
  font-family: var(--font-display);
  font-stretch: 110%;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
  color: var(--chrome);
}
.map-note { max-width: 24rem; font-size: 1rem; color: var(--silver); }
.map-load { margin-top: 0.5rem; }

/* the highway: asphalt band, amber centre line, fading at both ends */
.map-road {
  position: relative;
  height: 5.5rem;
  margin-bottom: 2.25rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.32) 18%, rgba(0, 0, 0, 0.32) 82%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.map-road::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 4px;
  margin-top: -2px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, rgba(243, 164, 74, 0.8) 0 40px, transparent 40px 72px);
}
.map-road span {
  position: absolute;
  left: 50%;
  bottom: 0.45rem;
  transform: translateX(-50%);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--mute);
}

html:not(.js) .map { display: none; }
html:not(.js) .visit-layout { grid-template-columns: 1fr; }

@media (max-width: 1023px) {
  .visit-layout { grid-template-columns: 1fr; }
  .map-frame { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 599px) {
  .map-frame { aspect-ratio: 1 / 1; }
  .fact { grid-template-columns: 1fr; }
  .fact dt { padding-top: 0; }
  .visit-actions .btn { flex: 1 1 100%; }
}

/* 10. Footer --------------------------------------------------------------- */
.site-footer {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.5rem;
  background: var(--seam), var(--night-950);
}
.signoff {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
/* the logo sits on a honeycomb mesh lifted from the badge itself */
.signoff-logo { position: relative; isolation: isolate; }
.signoff-logo::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48.5' viewBox='0 0 28 48.5'%3E%3Cpath d='M14 0v8.1L0 16.2v16.1l14 8.1v8.1M14 8.1l14 8.1v16.1l-14 8.1' fill='none' stroke='%23fff' stroke-opacity='.14' stroke-width='1.1'/%3E%3C/svg%3E");
  background-size: 28px 48.5px;
  -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 25%, transparent 100%);
}
.signoff-logo img {
  width: 300px;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.7));
}
.verse { position: relative; isolation: isolate; }
.verse::before {
  /* a low sun behind the words */
  content: "";
  position: absolute;
  z-index: -1;
  left: 30%;
  top: 50%;
  width: min(40rem, 120%);
  aspect-ratio: 3 / 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(243, 164, 74, 0.18), rgba(212, 32, 47, 0.07) 55%, transparent);
}
.verse blockquote p {
  font-family: var(--font-verse);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.9rem);
  line-height: 1.2;
  color: #fbf3ea;
  text-wrap: balance;
}
.verse figcaption {
  margin-top: 0.9rem;
  font-weight: 600;
  color: var(--red-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem clamp(2rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.footer-nav, .footer-contact { display: grid; gap: 0.35rem; align-content: start; justify-items: start; }
.footer-nav a, .footer-contact a {
  padding: 0.3rem 0;
  color: var(--silver);
  text-decoration: none;
  line-height: 1.5;
}
.footer-nav a:hover, .footer-contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.25em; }
.footer-contact a:first-child { font-weight: 700; font-size: 1.15rem; color: var(--chrome); }
.footer-legal { margin-top: 2.5rem; font-size: 0.95rem; color: var(--mute); }

@media (max-width: 699px) {
  .signoff { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .signoff-logo img { width: 240px; }
  .verse::before { left: 50%; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* 11. Phone & tablet quick bar ------------------------------------------------------ */
.quick-bar { display: none; }

@media (max-width: 899px) {
  :root { --quick-bar-h: calc(72px + env(safe-area-inset-bottom)); }
  body { padding-bottom: var(--quick-bar-h); }
  /* keep keyboard focus from landing behind the bar */
  html { scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .quick-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    padding: 0.6rem max(0.75rem, env(safe-area-inset-left)) calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(13, 9, 9, 0.94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 -1px 0 var(--line);
  }
  .quick-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 52px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
  }
  .quick-call { background: linear-gradient(180deg, #d82735, #b01522); color: #fff; }
  .quick-directions { background: linear-gradient(180deg, #fff, #cfd3d9); color: #17100f; }
}

/* 12. Motion & print ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Print: plain black on white, decoration removed, every guide panel shown */
@media print {
  @page { margin: 15mm; }

  .skip-link, .site-header, .quick-bar, .hero-media, .guide-tabs,
  .menu-toggle, .map, .visit-actions, .visit-alt, .save-contact, .guide-files { display: none !important; }

  *, *::before, *::after {
    background: transparent !important;
    color: #000 !important;
    border-color: #bbb !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  .signoff-logo::before, .verse::before { content: none !important; }

  body { padding: 0; font-size: 11pt; line-height: 1.5; }
  .wrap { width: 100%; }
  section, .site-footer { padding: 0 0 8mm !important; }
  .hero { display: block; min-height: 0; padding: 0 0 6mm !important; }

  h1 { font-size: 24pt; }
  h2 { font-size: 18pt; }
  .visit-address .chrome-text { font-size: 22pt; }
  .visit-city { font-size: 14pt; }
  .step-num { font-size: 20pt; }

  .link, .visit-phone { text-decoration-color: #000; }
  .btn {
    min-height: 0;
    padding: 1.5mm 4mm;
    border: 0.3mm solid #000 !important;
    font-size: 10pt;
  }

  .shop { padding-top: 4mm !important; }
  .hero-actions, .hero-address { display: flex !important; }
  .shop-intro { grid-template-columns: 1fr; gap: 3mm; }
  .signoff { grid-template-columns: 30mm 1fr; gap: 8mm; padding-bottom: 4mm; text-align: left; justify-items: start; }
  .signoff-logo img { width: 30mm; }
  .steps { margin-top: 6mm; padding-top: 4mm; }

  .guide-layout { display: block; margin-top: 4mm; }
  .guide-pad, .rate-board { padding: 0; border: 0; border-radius: 0; }
  .rate-board { border-image: none; }
  .guide-panel, .guide-panel[hidden] { display: block !important; break-inside: avoid; margin-top: 6mm; }
  .prompts li { padding: 2mm 0; }

  .visit-layout { display: block; }
  .visit-facts { margin-top: 4mm; }
  .fact { grid-template-columns: 30mm 1fr; padding: 3mm 0; }
  .visit-phone, .visit-hours { font-size: 14pt !important; }

  .verse { padding-bottom: 6mm; }
  .verse blockquote p { font-size: 16pt; }
  .footer-grid { display: none !important; }
  .footer-grid { grid-template-columns: 1fr; padding-top: 4mm; }
  .footer-legal { margin-top: 4mm; }

  /* keep headings with what follows them */
  h1, h2, h3, .guide-head { break-after: avoid; break-inside: avoid; }
}
