/* ============================================================
   Evan's Mobile Auto Detailing — "Torque & Sheen"
   Tokens sourced from DESIGN.md — do not hardcode values that
   already have a token below.
   ============================================================ */

:root {
  /* Colors */
  --steel-mist: #F4F6F8;
  --steel-mist-dim: #E7EBEE;
  --graphite-ink: #12181F;
  --graphite-ink-soft: #4A5560;
  --graphite-ink-faint: #7A8590;
  --gloss-black: #10151B;
  --gloss-black-panel: #171E27;
  --on-dark: #EEF1F4;
  --on-dark-soft: #AAB4BE;
  --on-dark-faint: #8996A2;
  --accent-steel: #3E7CA6;
  --accent-steel-deep: #2C5F80;
  --accent-bright: #7FC3E8;
  --hairline: #D8DEE3;
  --hairline-on-dark: rgba(238, 241, 244, 0.14);
  --sweep-highlight: rgba(255, 255, 255, 0.55);
  --hero-text-shadow: rgba(0, 0, 0, 0.5);

  /* Type */
  --font-display: "Big Shoulders Display", sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --text-xs: 12px;
  --text-sm: 14px;
  --text-ui: 15px;
  --text-base: 16.5px;
  --text-md: 18px;
  --text-lg: 22px;
  --text-xl: 28px;

  --text-display: clamp(40px, 6.4vw, 76px);
  --text-display-mobile: clamp(36px, 10.5vw, 42px);
  --text-headline: clamp(28px, 3.8vw, 44px);
  --text-title: 21px;
  --text-figure: clamp(36px, 4.4vw, 48px);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --chamfer-size: 14px;

  /* Spacing */
  --section-y: clamp(64px, 9vw, 120px);
  --section-x: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   Reset
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--steel-mist);
  color: var(--graphite-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.62;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; }
input, textarea { font: inherit; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--gloss-black);
  color: var(--on-dark);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--accent-steel);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.section-inverted :focus-visible,
.hero :focus-visible,
.footer :focus-visible,
.nav :focus-visible {
  outline-color: var(--accent-bright);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-steel-deep);
}
.section-inverted .eyebrow,
.hero .eyebrow,
.footer .eyebrow {
  color: var(--accent-bright);
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--section-x);
}

.section {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--hairline);
}
.section-inverted {
  background: var(--gloss-black);
  color: var(--on-dark);
  border-top-color: var(--hairline-on-dark);
}
.section-dim {
  background: var(--steel-mist-dim);
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head .eyebrow { margin-bottom: 12px; }
.h2 {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: var(--text-headline);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--graphite-ink);
}
.section-inverted .h2 { color: var(--on-dark); }
.section-note {
  margin-top: 12px;
  font-size: var(--text-md);
  color: var(--graphite-ink-soft);
  max-width: 52ch;
}
.section-inverted .section-note { color: var(--on-dark-soft); }

/* ============================================================
   Shapes: chamfer
   ============================================================ */

.chamfer {
  clip-path: polygon(
    0 0,
    calc(100% - var(--chamfer-size)) 0,
    100% var(--chamfer-size),
    100% 100%,
    0 100%
  );
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  min-height: 50px;
  padding: 0 26px;
  overflow: hidden;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-primary {
  background: var(--accent-bright);
  color: var(--gloss-black);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -30%;
  width: 22%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 0%, var(--sweep-highlight) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  transition: left 0.42s var(--ease);
  pointer-events: none;
}
.btn-primary:hover::after,
.btn-primary:focus-visible::after {
  left: 130%;
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary::after {
    left: 40%;
    transition: none;
  }
  .btn-primary:hover::after,
  .btn-primary:focus-visible::after {
    left: 40%;
  }
}
.btn-outline {
  background: transparent;
  color: var(--on-dark);
  border: 1.5px solid var(--hairline-on-dark);
}
.hero .btn-outline { border-color: var(--hairline-on-dark); }
.btn-outline:hover { background: rgba(238, 241, 244, 0.08); }
.section:not(.section-inverted) .btn-outline {
  color: var(--graphite-ink);
  border-color: var(--hairline);
}
.section:not(.section-inverted) .btn-outline:hover { background: var(--steel-mist-dim); }

/* ============================================================
   Phone chip
   ============================================================ */

.phone-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  background: var(--accent-bright);
  color: var(--gloss-black);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.phone-chip svg { width: 16px; height: 16px; }
.phone-chip:hover { transform: translateY(-1px); }
.phone-chip-large {
  min-height: 56px;
  padding: 0 26px;
  font-size: var(--text-md);
  margin-bottom: 24px;
}
.phone-chip-large svg { width: 20px; height: 20px; }

/* ============================================================
   Nav
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: var(--gloss-black);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--hairline-on-dark);
  box-shadow: 0 8px 24px rgba(16, 21, 27, 0.28);
}
.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px var(--section-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav.is-scrolled .nav-inner { padding-top: 13px; padding-bottom: 13px; }

.logo-mark { display: flex; align-items: center; }
.logo-image {
  display: block;
  height: 34px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 32px);
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--on-dark-soft);
  transition: color 0.2s var(--ease);
  padding: 6px 2px;
}
.nav-link:hover { color: var(--accent-bright); }

.phone-chip-desktop { flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  color: var(--on-dark);
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-panel { display: none; }

@media (max-width: 780px) {
  .nav-links-desktop, .phone-chip-desktop { display: none; }
  .nav-toggle { display: block; }
  .nav-panel {
    position: fixed;
    inset: 0;
    padding: 90px 24px 32px;
    background: var(--gloss-black);
    display: none;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
  }
  .nav-panel.is-open { display: flex; }
  .nav-panel .nav-link {
    color: var(--on-dark-soft);
    font-size: var(--text-md);
    padding: 14px 0;
    border-bottom: 1px solid var(--hairline-on-dark);
  }
  .nav-panel .phone-chip {
    margin-top: 16px;
    justify-content: center;
    min-height: 48px;
  }
  .nav-toggle.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gloss-black);
  color: var(--on-dark);
  overflow: hidden;
}
.hero-photo-frame {
  position: absolute;
  inset: 0;
}
.hero-photo-frame::after {
  content: "";
  position: absolute;
  top: -10%;
  left: -14%;
  width: 3%;
  height: 120%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 0%, var(--sweep-highlight) 50%, rgba(255, 255, 255, 0) 100%);
  opacity: 0.55;
  transform: skewX(-20deg);
  filter: blur(16px);
  animation: hero-sweep 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hero-sweep {
  0%, 20% { left: -14%; }
  55%, 100% { left: 108%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo-frame::after { animation: none; left: 45%; }
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(16, 21, 27, 0.78) 0%,
    rgba(16, 21, 27, 0.3) 32%,
    rgba(16, 21, 27, 0.3) 52%,
    rgba(16, 21, 27, 0.85) 100%
  );
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  text-align: center;
  padding: clamp(120px, 18vw, 168px) var(--section-x) clamp(60px, 10vw, 120px);
}
.hero-content .eyebrow { margin-bottom: 18px; }
.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--on-dark);
  text-shadow: 0 2px 24px var(--hero-text-shadow);
}
@media (max-width: 640px) {
  .hero-headline { font-size: var(--text-display-mobile); }
}
.hero-sub {
  margin: 18px auto 0;
  font-size: var(--text-md);
  color: var(--on-dark-soft);
  max-width: 48ch;
  text-shadow: 0 1px 12px var(--hero-text-shadow);
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ============================================================
   Services (two pillars)
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
}
@media (max-width: 780px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service-card {
  background: var(--steel-mist);
  border: 1px solid var(--hairline);
  padding: clamp(28px, 3.4vw, 44px);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.service-card-accent {
  background: var(--gloss-black-panel);
  color: var(--on-dark);
  border-color: var(--hairline-on-dark);
}
.service-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.service-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-steel);
}
.service-card-accent .service-icon { color: var(--accent-bright); }
.service-title {
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: var(--text-title);
  font-weight: 600;
  color: var(--graphite-ink);
}
.service-card-accent .service-title { color: var(--on-dark); }
.service-desc {
  color: var(--graphite-ink-soft);
  font-size: var(--text-base);
}
.service-card-accent .service-desc { color: var(--on-dark-soft); }
.service-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--graphite-ink-soft);
}
.service-card-accent .service-list li { color: var(--on-dark-soft); }
.service-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  background: var(--accent-steel);
}
.service-card-accent .service-list li::before { background: var(--accent-bright); }

/* ============================================================
   Pricing
   ============================================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.pricing-card {
  background: var(--gloss-black-panel);
  border: 1px solid var(--hairline-on-dark);
  padding: clamp(28px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.pricing-card-featured {
  background: var(--gloss-black-panel);
  border-color: var(--accent-steel);
}
.pricing-figure {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: var(--text-figure);
  font-weight: 600;
  color: var(--on-dark);
}
.pricing-title {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: var(--text-title);
  font-weight: 600;
  color: var(--on-dark);
}
.pricing-title em { font-style: normal; color: var(--accent-bright); }
.pricing-desc {
  margin-top: 10px;
  color: var(--on-dark-soft);
  font-size: var(--text-ui);
}

/* ============================================================
   Work / Gallery (before/after pairs)
   ============================================================ */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr; }
}
.work-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.work-half {
  position: relative;
  align-items: flex-end;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.work-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.work-half:first-child {
  border-right: 1px solid var(--hairline);
}
.work-half-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite-ink-soft);
  background: rgba(244, 246, 248, 0.85);
}
.work-pair-caption {
  grid-column: 1 / -1;
  padding: 12px 14px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--graphite-ink);
  background: var(--steel-mist);
  border-top: 1px solid var(--hairline);
}

/* ============================================================
   How It Works
   ============================================================ */

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}
@media (max-width: 780px) {
  .process-list { grid-template-columns: 1fr; }
}
.process-step {
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.process-index {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-steel-deep);
}
.process-title {
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-size: var(--text-title);
  font-weight: 600;
  color: var(--graphite-ink);
}
.process-desc {
  color: var(--graphite-ink-soft);
  font-size: var(--text-base);
}

/* ============================================================
   Service Area
   ============================================================ */

.area-section .section-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  justify-content: space-between;
}
.area-copy { max-width: 420px; }
.area-copy .h2 { font-size: var(--text-headline); }
.area-towns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 560px;
}
.area-tag {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent-steel-deep);
  background: rgba(62, 124, 166, 0.08);
  border: 1px solid rgba(62, 124, 166, 0.24);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
}

/* ============================================================
   About
   ============================================================ */

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 780px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-copy p {
  font-size: var(--text-md);
  color: var(--on-dark-soft);
  max-width: 52ch;
}
.about-copy p + p { margin-top: 16px; }
.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.about-badge {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--accent-bright);
  border: 1px solid rgba(127, 195, 232, 0.32);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}

/* ============================================================
   Contact
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--hairline-on-dark);
}
.contact-detail:last-child { border-bottom: 1px solid var(--hairline-on-dark); }
.contact-detail-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}
.contact-detail-value {
  font-size: var(--text-md);
  color: var(--on-dark);
}
.contact-detail-value a:hover { color: var(--accent-bright); }

.form-panel {
  background: var(--gloss-black-panel);
  border: 1px solid var(--hairline-on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-row { margin-bottom: 18px; }
.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) {
  .form-row-split { grid-template-columns: 1fr; }
}
.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--on-dark-soft);
  margin-bottom: 8px;
}
.form-input, .form-textarea {
  width: 100%;
  background: var(--gloss-black);
  border: 1px solid var(--hairline-on-dark);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-size: 16px;
  color: var(--on-dark);
  transition: border-color 0.2s var(--ease);
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--accent-steel);
}
.form-textarea { resize: vertical; min-height: 96px; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--on-dark-faint); }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { width: 100%; justify-content: center; margin-top: 4px; }
.form-error {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--accent-bright);
  border-radius: var(--radius-sm);
  color: var(--accent-bright);
  font-size: var(--text-sm);
}
.form-error.is-visible { display: block; }
.form-success {
  display: none;
  min-height: 260px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 10px;
}
.form-success.is-visible { display: flex; }
.form-success-title {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--on-dark);
}
.form-success-desc { color: var(--on-dark-soft); font-size: var(--text-base); max-width: 36ch; }
.form-body.is-hidden { display: none; }

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: var(--gloss-black);
  color: var(--on-dark-soft);
  padding: 56px 0 96px;
  border-top: 1px solid var(--hairline-on-dark);
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--section-x);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hairline-on-dark);
}
.footer-logo-image {
  display: block;
  height: 30px;
  width: auto;
}
.footer-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: var(--text-sm);
  color: var(--on-dark-soft);
}
.footer-links a:hover { color: var(--accent-bright); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: var(--text-xs);
  color: var(--on-dark-faint);
}

/* ============================================================
   Mobile persistent call bar
   ============================================================ */

.mobile-call-bar {
  display: none;
}
@media (max-width: 780px) {
  .mobile-call-bar {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 600;
    padding: 12px var(--section-x);
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    background: var(--gloss-black);
    border-top: 1px solid var(--hairline-on-dark);
  }
  .mobile-call-bar-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    background: var(--accent-bright);
    color: var(--gloss-black);
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-pill);
  }
  .mobile-call-bar-link svg { width: 18px; height: 18px; }
  /* Body padding so the fixed bar never covers the final section's content */
  .footer { padding-bottom: 96px; }
}

/* ============================================================
   Reveal on scroll
   ============================================================ */

.js-reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
