/* Corpo Cleaners — approved visual system (style bible v1.0)
   Palette (exactly four colors): black #0B0B0C, red #C81E1E, silver #C8C3B8, off-white #F4F1EC.
   Headings: Cinzel. Body: Source Sans 3. Both self-hosted as Latin WOFF2 (see /fonts).
   Live logo: Crown Wordmark in images/logo.svg. Favicon is the battlement only. */
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cinzel-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cinzel-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-600.woff2") format("woff2");
}

:root {
  /* Official palette — use only these four hex values as brand colors. */
  --black: #0B0B0C;
  --red: #C81E1E;
  --silver: #C8C3B8;
  --off-white: #F4F1EC;

  --ink: var(--off-white);
  --ink-soft: var(--silver);
  --brand-deep: var(--off-white);
  --brand: var(--off-white);
  --accent: var(--red);
  --accent-fill: var(--red);
  --mint: var(--silver);
  --gold: var(--silver);
  --metal: var(--silver);
  --white: var(--off-white);
  --paper: var(--black);
  /* Near-black layout surfaces, not additional brand colors. */
  --foam: #161618;
  --surface: #161618;
  --surface-2: #1C1C1F;
  --line: #2A2A2C;
  --line-strong: #3A3A3C;
  --focus: var(--off-white);
  --error: var(--off-white);
  --error-bg: var(--surface);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.55);
  --wrap: 74rem;
  --header-h: 5.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", Calibri, Arial, sans-serif;
  --font-display: "Cinzel", "Times New Roman", Times, serif;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  animation: page-enter 0.45s var(--ease) both;
}

@keyframes page-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

body.is-leaving {
  opacity: 0;
  transition: opacity 0.18s ease;
}

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

a {
  color: var(--off-white);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--off-white);
  text-decoration-thickness: 2px;
}

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -5rem;
  z-index: 200;
  background: var(--accent-fill);
  color: var(--white);
  padding: 0.65rem 1rem;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

/* ---------- View Transitions ---------- */

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: vt-fade-out 0.22s ease-out both;
}

::view-transition-new(root) {
  animation: vt-fade-in 0.28s var(--ease) both;
}

@keyframes vt-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes vt-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Scroll reveal (JS-class guard: visible by default) ---------- */

html.js [data-reveal] {
  /* Transform-only reveal keeps text at full opacity so contrast never dips mid-animation. */
  transform: translateY(1.15rem);
  transition: transform 0.7s var(--ease);
}

html.js [data-reveal].is-revealed,
html.js.rm [data-reveal],
html.js-ready [data-reveal] {
  transform: none;
}

html.js [data-reveal="2"] { transition-delay: 0.08s; }
html.js [data-reveal="3"] { transition-delay: 0.16s; }
html.js [data-reveal="4"] { transition-delay: 0.24s; }
html.js [data-reveal="5"] { transition-delay: 0.32s; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--off-white);
  flex-shrink: 1;
  min-width: 0;
  transition: transform 0.25s var(--ease);
}

.logo img,
.footer-logo img {
  width: clamp(160px, 22vw, 220px);
  height: auto;
  border-radius: 0;
  transition: transform 0.35s var(--ease);
}

.logo:hover img,
.footer-logo:hover img {
  transform: scale(1.03);
}

.veteran-owned {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
}

.hero .veteran-owned {
  margin: 0 0 0.9rem;
}

.section .veteran-owned {
  margin: 0 0 0.85rem;
}

.site-footer .veteran-owned {
  margin: 0.7rem 0 0.75rem;
}

.nav-disclosure {
  position: relative;
}

.nav-disclosure summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--brand-deep);
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  line-height: 1;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav-disclosure summary::-webkit-details-marker { display: none; }

.nav-disclosure summary:hover {
  background: var(--foam);
  border-color: var(--accent);
}

.nav-disclosure summary::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.2rem;
  transition: transform 0.2s var(--ease);
}

.nav-disclosure[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.15rem;
}

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.primary-nav a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  min-height: 2.75rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: var(--foam);
  color: var(--brand-deep);
}

.primary-nav a[aria-current="page"] {
  box-shadow: inset 3px 0 0 var(--accent);
}

.btn-nav {
  background: var(--accent-fill) !important;
  color: var(--white) !important;
  text-align: center;
  box-shadow: none !important;
}

.btn-nav:hover {
  background: var(--red) !important;
  box-shadow: 0 0 0 1px var(--silver) !important;
  transform: translateY(-1px);
}

@media (max-width: 799px) {
  .nav-disclosure { margin-left: auto; }
  .primary-nav {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 16.5rem;
    padding: 0.45rem;
    z-index: 20;
  }
}

@media (min-width: 800px) {
  .nav-disclosure {
    flex-shrink: 0;
    width: max-content;
  }

  /* Newer Chrome keeps closed <details> content out of intrinsic sizing unless this is set. */
  .nav-disclosure::details-content {
    display: block;
    content-visibility: visible;
    overflow: visible;
    height: auto;
  }

  .nav-disclosure summary {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .nav-disclosure .primary-nav { display: block !important; width: auto; }

  .primary-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.1rem;
    padding: 0;
  }

  .primary-nav a { padding: 0.5rem 0.8rem; }
  .btn-nav {
    margin-left: 0.4rem;
    padding-inline: 1.05rem !important;
    border-radius: 999px !important;
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  min-height: 2.9rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent-fill);
  color: var(--white);
  border-color: var(--accent-fill);
  box-shadow: 0 8px 20px rgba(200, 30, 30, 0.28);
}

.btn-primary:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--off-white);
  box-shadow: 0 12px 24px rgba(200, 30, 30, 0.38);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: color-mix(in srgb, var(--white) 55%, transparent);
}

.btn-secondary:hover {
  background: color-mix(in srgb, var(--white) 12%, transparent);
  color: var(--white);
}

.btn-secondary-ink {
  background: var(--surface-2);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-secondary-ink:hover {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--accent);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn-row-flush { margin-top: 0; }

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

.hero {
  --hero-fg: var(--off-white);
  --hero-muted: var(--silver);
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(200, 30, 30, 0.14), transparent 55%),
    #0B0B0C;
  color: var(--hero-fg);
  padding: 4.25rem 0 4.5rem;
  overflow: clip;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--metal) 8%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--metal) 8%, transparent) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  mask-image: radial-gradient(ellipse 80% 80% at 70% 40%, #000 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--silver);
}

.hero .eyebrow {
  color: var(--mint);
}

.hero h1 {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 4.4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  font-weight: 400;
  max-width: 16.5em;
  text-wrap: balance;
}

.hero .lede {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--hero-muted);
  max-width: 38rem;
}

.hero-art {
  justify-self: center;
  width: min(100%, 16.5rem);
}

.hero-art svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.25));
}

@media (min-width: 860px) {
  .hero {
    padding: 6.5rem 0 6.75rem;
    min-height: min(88vh, 52rem);
    display: flex;
    align-items: center;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.7fr);
    gap: 3rem;
    width: min(100% - 2rem, var(--wrap));
    margin-inline: auto;
  }

  .hero-art { width: min(100%, 26rem); }
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: 3.25rem 0 1.5rem;
}

.page-hero h1,
.section h1,
.section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: var(--brand-deep);
}

.page-hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2rem, 4.8vw, 3.15rem);
  letter-spacing: 0.03em;
  max-width: 16em;
}

.page-hero p {
  margin: 0;
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

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

main { flex: 1; }

.section {
  padding: 4.25rem 0;
}

.section-alt {
  background: var(--surface);
}

.section-follow {
  padding-top: 1.75rem;
}

.section h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
}

.section-intro {
  max-width: 40rem;
  color: var(--ink-soft);
  margin: 0 0 2.25rem;
  font-size: 1.06rem;
}

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .card-grid.cols-5 {
    grid-template-columns: repeat(6, 1fr);
  }
  .card-grid.cols-5 > :nth-child(1) { grid-column: span 2; }
  .card-grid.cols-5 > :nth-child(2) { grid-column: span 2; }
  .card-grid.cols-5 > :nth-child(3) { grid-column: span 2; }
  .card-grid.cols-5 > :nth-child(4) { grid-column: 2 / span 2; }
  .card-grid.cols-5 > :nth-child(5) { grid-column: 4 / span 2; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.5rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

a.card.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

a.card.card-link:hover,
a.card.card-link:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: var(--shadow-hover);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.18rem;
  letter-spacing: 0.03em;
  color: var(--brand-deep);
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.card-icon {
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  color: var(--accent);
  background: var(--foam);
  border-radius: 10px;
  display: grid;
  place-items: center;
  padding: 0.45rem;
}

.card-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

/* ---------- Service blocks ---------- */

.service-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem 1.8rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.service-block:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: var(--shadow);
}

.service-block h2 {
  font-size: 1.55rem;
  margin: 0 0 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-block .lead {
  margin: 0 0 0.95rem;
  color: var(--ink-soft);
}

.service-block .lead + .lead,
.lead-follow {
  margin-top: 0.95rem;
}

.service-block ul {
  margin: 0;
  padding-left: 1.15rem;
}

.service-block li { margin: 0.35rem 0; }

.service-icon {
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
  color: var(--accent);
  background: var(--foam);
  border-radius: 8px;
  display: grid;
  place-items: center;
  padding: 0.35rem;
}

.service-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.4rem 1.4rem 1.5rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: var(--red);
  color: var(--off-white);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  letter-spacing: 0.02em;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: var(--brand-deep);
}

.step p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- Towns ---------- */

.town-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fill, minmax(11.25rem, 1fr));
}

.town-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-weight: 600;
  color: var(--brand-deep);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.town-list li:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.town-list li .tag {
  display: block;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(200, 30, 30, 0.12), transparent 50%),
    #0B0B0C;
  color: var(--white);
  padding: 4rem 0;
}

.cta-band h2 {
  margin: 0 0 0.6rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  letter-spacing: 0.03em;
}

.cta-band p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 38rem;
}

/* ---------- Forms ---------- */

.form-layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 880px) {
  .form-layout {
    grid-template-columns: 1fr 18.5rem;
    align-items: start;
  }
}

.quote-form,
.contact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.45rem 1.65rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.panel-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  color: var(--brand-deep);
}

.form-grid {
  display: grid;
  gap: 1.05rem;
}

@media (min-width: 600px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}

.field label,
.field .label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--brand-deep);
}

.req {
  color: var(--silver);
  font-weight: 600;
}

.hint {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 400;
  margin-top: 0.3rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  min-height: 2.8rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

textarea { min-height: 8rem; resize: vertical; }

input:hover,
select:hover,
textarea:hover {
  border-color: var(--silver);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-color: var(--focus);
  background: var(--surface);
}

::placeholder {
  color: var(--ink-soft);
  opacity: 1;
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0.75rem 0 0;
}

.contact-dl { margin: 0; }
.contact-dl div { margin: 0 0 1.05rem; }
.contact-dl dt {
  font-weight: 600;
  color: var(--brand-deep);
  margin-bottom: 0.15rem;
}
.contact-dl dd {
  margin: 0;
  color: var(--ink-soft);
}

.placeholder-val {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", Menlo, monospace;
  font-size: 0.95em;
  background: var(--surface-2);
  padding: 0.12rem 0.4rem;
  border-radius: 5px;
  color: var(--ink);
  border: 1px solid var(--line);
}

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

.site-footer {
  background: var(--black);
  color: var(--ink-soft);
  padding: 3.25rem 0 1.75rem;
  margin-top: auto;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

.site-footer h2 {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
}

.site-footer p,
.site-footer li { margin: 0 0 0.45rem; }

.site-footer a {
  color: var(--off-white);
  text-decoration: none;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

.site-footer a:hover {
  color: var(--off-white);
  text-decoration: underline;
  text-decoration-color: var(--red);
}

.footer-logo {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 0.15rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.1rem;
  padding-top: 1.2rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.legal p { margin: 0 0 0.35rem; }

.legal-plain {
  border: 0;
  margin: 0;
  padding-top: 0;
}

/* ---------- Simple pages ---------- */

.simple-page {
  padding: 5rem 0 5.5rem;
  text-align: left;
  max-width: 40rem;
}

.simple-page h1 {
  margin: 0 0 0.85rem;
  color: var(--brand-deep);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.03em;
  font-size: clamp(2rem, 4.8vw, 2.85rem);
}

/* ---------- Reduced motion ---------- */

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

  @view-transition {
    navigation: none;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  html.js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  body,
  body.is-leaving {
    opacity: 1 !important;
  }

  .btn:hover,
  .step:hover,
  a.card.card-link:hover,
  .town-list li:hover,
  .logo:hover img {
    transform: none;
  }
}
