/* ==========================================================================
   K & H Auto, RV & Marine Detailing — Eldon, MO
   Palette derived from the logo: electric royal blue + silver on white.
   ========================================================================== */

:root {
  /* Brand — straight off the logo */
  --blue: #1111eb;
  --blue-deep: #0d0da8;
  --blue-bright: #3b3bff;
  --silver: #b4b4b7;
  --silver-light: #dcdce0;

  /* Neutrals — cool-shifted so they sit under the blue */
  --ink: #0a0c1a;
  --ink-soft: #141833;
  --slate: #4a4f6a;
  --mist: #f4f5fa;
  --line: #e2e4ef;
  --white: #ffffff;

  --gold: #d4a018; /* award badges only */

  --shell: min(1240px, 92vw);
  --radius: 4px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0;
}

h1 { font-size: clamp(3.4rem, 8.5vw, 7rem); }
h2 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }

p { margin: 0; }

.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

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

/* --- Eyebrow / label type ------------------------------------------------ */

.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1.1rem;
}
.eyebrow-invert { color: var(--silver); }

/* --- Buttons ------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 220ms var(--ease), color 220ms var(--ease),
    border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms var(--ease);
}
.button:hover svg { transform: translateX(4px); }

.button-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 22px rgba(17, 17, 235, 0.28);
}
.button-primary:hover {
  background: var(--blue-deep);
  box-shadow: 0 10px 30px rgba(17, 17, 235, 0.38);
}

.button-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.button-ghost:hover { border-color: var(--blue); color: var(--blue); }

.button-onblue {
  background: #fff;
  color: var(--blue);
}
.button-onblue:hover { background: var(--silver-light); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--blue);
  border-bottom: 2px solid transparent;
  transition: border-color 200ms var(--ease);
}
.text-link svg {
  width: 17px; height: 17px;
  fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 200ms var(--ease);
}
.text-link:hover { border-color: currentColor; }
.text-link:hover svg { transform: translateX(4px); }

/* --- Utility bar --------------------------------------------------------- */

.utility-bar {
  background: var(--ink);
  color: var(--silver);
  font-family: 'Space Mono', monospace;
  font-size: 0.73rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0;
}
.utility-inner a { color: #fff; text-decoration: none; }
.utility-inner a:hover { color: var(--blue-bright); }
.utility-center { color: var(--silver); }
.utility-center i {
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--blue-bright);
  border-radius: 50%;
  margin: 0 0.6rem;
  vertical-align: middle;
}

@media (max-width: 900px) {
  .utility-center { display: none; }
}

/* --- Header -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.7rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand img { height: 52px; width: auto; }

.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-words strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--blue);
}
.brand-words em {
  font-family: 'Space Mono', monospace;
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 3px;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  gap: 2rem;
}
.desktop-nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.desktop-nav a:hover { color: var(--blue); border-color: var(--blue); }

.header-cta { padding: 0.8rem 1.4rem; font-size: 1rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 10px;
  background: var(--ink);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  transition: transform 250ms var(--ease), opacity 200ms var(--ease);
}
.menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 4vw 2rem;
  background: var(--ink);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.85rem 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.mobile-menu a span {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  color: var(--blue-bright);
}
.mobile-menu .button { justify-content: center; margin-top: 1rem; }
.mobile-menu .button span { color: inherit; font-family: inherit; font-size: inherit; }

@media (max-width: 420px) {
  .brand-words em { display: none; }
}

@media (max-width: 980px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }
  .brand img { height: 44px; }
  .brand-words strong { font-size: 1.3rem; }
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 60%;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 12, 26, 0.93) 0%,
    rgba(10, 12, 26, 0.82) 40%,
    rgba(10, 12, 26, 0.42) 66%,
    rgba(10, 12, 26, 0.22) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3.5rem, 7vw, 6rem);
  max-width: 760px;
}

.award-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1.1rem 0.55rem 0.6rem;
  margin-bottom: 1.6rem;
  background: rgba(10, 12, 26, 0.55);
  border: 1px solid rgba(233, 185, 58, 0.75);
  backdrop-filter: blur(4px);
  border-radius: 100px;
}
.award-chip svg {
  width: 20px; height: 20px;
  flex: none;
  fill: #e9b93a;
}
.award-chip-text {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  line-height: 1.45;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #fff;
}
.award-chip-text b { color: #e9b93a; font-weight: 700; }

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em {
  font-style: normal;
  color: var(--blue-bright);
}

.hero-intro {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--silver-light);
  max-width: 54ch;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}
.hero-actions .text-link { color: #fff; }

.hero-strip {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-strip div {
  flex: 1 1 190px;
  padding: 1.15rem 1.4rem;
  background: var(--ink);
}
.hero-strip strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}
.hero-strip span {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
}

/* --- Ticker -------------------------------------------------------------- */

.ticker {
  background: var(--blue);
  color: #fff;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0;
  font-family: 'Space Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.ticker-track::-webkit-scrollbar { display: none; }
.ticker-track i {
  flex: none;
  width: 5px; height: 5px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
}

/* --- Sections ------------------------------------------------------------ */

.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.section-mist { background: var(--mist); }
.section-ink { background: var(--ink); color: #fff; }

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.section-head h2 { margin-bottom: 1.1rem; }
/* Barlow Condensed has no true italic here — force upright everywhere so
   browsers don't synthesise a slanted oblique. */
h1 em, h2 em, h3 em { font-style: normal; }
.section-head h2 em { color: var(--blue); }
.section-ink .section-head h2 em { color: var(--blue-bright); }
.section-ink h2 em { color: var(--blue-bright); }
.section-head p { color: var(--slate); font-size: 1.08rem; }
.section-ink .section-head p { color: var(--silver-light); }

/* --- What we detail (4 vehicle types) ------------------------------------ */

.fleet {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.fleet-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.8rem, 2.6vw, 2.5rem);
  background: var(--white);
  transition: background 260ms var(--ease);
}
.fleet-card:hover { background: var(--mist); }

.fleet-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--silver);
}

.fleet-icon {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fleet-card h3 { color: var(--ink); }
.fleet-card p { color: var(--slate); font-size: 0.98rem; }

.fleet-list {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.fleet-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.92rem;
  color: var(--slate);
}
.fleet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

/* --- Mobile vs shop ------------------------------------------------------ */

.choice {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.choice-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.9rem, 3vw, 2.8rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
}
.choice-card.is-featured {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.choice-tag {
  align-self: flex-start;
  padding: 0.35rem 0.8rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 100px;
  background: var(--mist);
  color: var(--blue);
}
.choice-card.is-featured .choice-tag {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.choice-card h3 { color: inherit; }
.choice-card p { color: var(--slate); }
.choice-card.is-featured p { color: rgba(255, 255, 255, 0.9); }
.choice-card .button { align-self: flex-start; margin-top: auto; }

.choice-meta {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
}
.choice-card.is-featured .choice-meta { color: rgba(255, 255, 255, 0.75); }

/* --- Before / after ------------------------------------------------------ */

.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.ba-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.ba-item img {
  width: 100%;
  height: clamp(300px, 42vw, 460px);
  object-fit: cover;
}
.ba-item figcaption {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.9rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 100px;
  background: rgba(10, 12, 26, 0.82);
  color: #fff;
  backdrop-filter: blur(6px);
}
.ba-item.is-after figcaption { background: var(--blue); }

.ba-note {
  margin-top: 1.5rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}
.section-ink .ba-note { color: var(--silver); }

/* --- Awards -------------------------------------------------------------- */

.awards-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 880px) {
  .awards-layout { grid-template-columns: 1fr; }
}

.awards-photo {
  border-radius: var(--radius);
  overflow: hidden;
}
.awards-photo img {
  width: 100%;
  height: clamp(320px, 40vw, 480px);
  object-fit: cover;
  object-position: center 32%;
}

.awards-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.75rem 0 0;
}

.badge-card {
  flex: 1 1 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 1.4rem 1rem;
  text-align: center;
  border: 1px solid rgba(212, 160, 24, 0.45);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}
.badge-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 50%;
}
.badge-card .badge-year {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--gold);
}
.badge-card .badge-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--silver);
}

.badge-medal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(212, 160, 24, 0.1);
}
.badge-medal svg { width: 42px; height: 42px; fill: var(--gold); }

/* --- Gallery (206px native tiles — never upscaled) ----------------------- */

.gallery {
  display: grid;
  /* 206px is the native size of these photos — never scale them up past it. */
  grid-template-columns: repeat(auto-fill, minmax(150px, 206px));
  justify-content: center;
  gap: 12px;
  max-width: 1090px;
  margin-inline: auto;
}

.gallery figure {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mist);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease);
}
.gallery figure:hover img { transform: scale(1.06); }

.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem 0.75rem 0.6rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(transparent, rgba(10, 12, 26, 0.88));
  opacity: 0;
  transition: opacity 260ms var(--ease);
}
.gallery figure:hover figcaption,
.gallery figure:focus-within figcaption { opacity: 1; }

/* --- Service area -------------------------------------------------------- */

.area-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.town-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.town-list li {
  padding: 0.55rem 1.1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  color: #fff;
}
.town-list li.is-home {
  background: var(--blue);
  border-color: var(--blue);
}

/* --- Contact ------------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}

.contact-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.contact-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.contact-row dt {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0;
}
.contact-row dd {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: right;
  color: var(--ink);
}
a.contact-row dd { color: var(--blue); transition: color 200ms var(--ease); }
a.contact-row:hover dd { color: var(--blue-deep); }

.contact-cta {
  padding: clamp(1.9rem, 3vw, 2.6rem);
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
}
.contact-cta h3 { margin-bottom: 0.9rem; }
.contact-cta p { color: rgba(255, 255, 255, 0.9); margin-bottom: 1.7rem; }
.contact-cta .button { width: 100%; justify-content: center; }
.contact-cta .button + .button { margin-top: 0.75rem; }
.button-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.button-outline-white:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

/* --- Footer -------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--silver);
  padding: 3.5rem 0 2rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-top img { height: 66px; width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
}
.footer-nav a:hover { color: var(--blue-bright); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-bottom a { color: var(--silver); }

/* --- Reveal animation ---------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: 130ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   AGENCY PREVIEW REMINDER — NOT part of the client's site.
   Delete this block (and the matching markup + script) once K&H signs.
   ========================================================================== */

.agency-pop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(10, 12, 26, 0.72);
  backdrop-filter: blur(5px);
}
.agency-pop.is-open { display: flex; }

.agency-card {
  position: relative;
  width: min(470px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.25rem 1.9rem 1.9rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
  text-align: center;
}
.agency-card img { height: 66px; width: auto; margin: 0 auto 1.2rem; }
.agency-card h2 {
  font-size: 1.9rem;
  color: var(--ink);
  margin-bottom: 0.9rem;
}
.agency-card p {
  font-size: 0.97rem;
  color: var(--slate);
  margin-bottom: 0.9rem;
}
.agency-card .agency-note {
  font-size: 0.87rem;
  color: var(--slate);
  background: var(--mist);
  border-left: 3px solid var(--blue);
  padding: 0.8rem 1rem;
  text-align: left;
  margin-bottom: 1.4rem;
}
.agency-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.agency-actions .button { flex: 1 1 150px; justify-content: center; }
.agency-actions .button-ghost { color: var(--ink); border-color: var(--line); }
.agency-dismiss {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: var(--slate);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
}
.agency-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 38px;
  height: 38px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--slate);
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background 200ms var(--ease);
}
.agency-close:hover { background: var(--mist); }
