:root {
  --ink: #102d47;
  --muted: #65717a;
  --paper: #f3e6cd;
  --surface: #fff9ee;
  --line: #d8bf91;
  --red: #a41920;
  --red-dark: #741015;
  --steel: #12314d;
  --steel-dark: #071a2b;
  --gold: #bd8440;
  --shadow: 0 24px 60px rgba(16, 45, 71, 0.16);
  --soft-shadow: 0 14px 36px rgba(16, 45, 71, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(164, 25, 32, 0.08) 0 12%, transparent 12% 100%),
    linear-gradient(300deg, rgba(189, 132, 64, 0.14) 0 14%, transparent 14% 100%),
    repeating-linear-gradient(0deg, rgba(16, 45, 71, 0.035) 0 1px, transparent 1px 78px),
    repeating-linear-gradient(90deg, rgba(16, 45, 71, 0.025) 0 1px, transparent 1px 78px),
    linear-gradient(180deg, #fffdf8 0%, var(--paper) 62%, #eadabb 100%);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(118deg, transparent 0 38%, rgba(255, 255, 255, 0.5) 46%, transparent 56%),
    repeating-linear-gradient(135deg, rgba(38, 57, 69, 0.045) 0 1px, transparent 1px 22px);
  opacity: 0.42;
  pointer-events: none;
  animation: background-drift 18s ease-in-out infinite alternate;
}

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(255, 249, 238, 0.96), rgba(243, 230, 205, 0.88)),
    repeating-linear-gradient(90deg, rgba(16, 45, 71, 0.05) 0 1px, transparent 1px 80px);
  border-bottom: 2px solid rgba(164, 25, 32, 0.18);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(29, 37, 44, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: clamp(210px, 27vw, 350px);
  height: auto;
  max-height: 66px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(16, 45, 71, 0.12));
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  font-size: 26px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  padding: 10px 11px;
  color: var(--steel);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 11px;
  bottom: 5px;
  left: 11px;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav a[aria-current="page"] {
  color: var(--red-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(17, 25, 31, 0.94), rgba(17, 25, 31, 0.58) 48%, rgba(17, 25, 31, 0.22)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 96px),
    url("assets/shop-engine-service.webp") center / cover;
  transform: scale(1.04);
  animation: hero-pan 18s ease-in-out infinite alternate;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 48%;
  content: "";
  background:
    linear-gradient(180deg, transparent, rgba(17, 25, 31, 0.9)),
    linear-gradient(112deg, transparent 0 44%, rgba(213, 159, 52, 0.18) 50%, transparent 58%);
  pointer-events: none;
}

.page-hero {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: end;
  padding: clamp(72px, 12vw, 130px) clamp(18px, 7vw, 88px) clamp(48px, 8vw, 86px);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(17, 25, 31, 0.96), rgba(17, 25, 31, 0.68) 48%, rgba(17, 25, 31, 0.28)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 104px),
    var(--page-hero-image, url("assets/shop-engine-service.webp")) center / cover;
  transform: scale(1.04);
  animation: hero-pan 18s ease-in-out infinite alternate;
}

.page-hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 42%;
  content: "";
  background:
    linear-gradient(180deg, transparent, rgba(17, 25, 31, 0.74)),
    linear-gradient(115deg, transparent 0 38%, rgba(213, 159, 52, 0.2) 46%, transparent 56%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 22px);
  pointer-events: none;
  animation: sheen-slide 8s ease-in-out infinite alternate;
}

.page-hero div,
.hero-content {
  position: relative;
}

.page-hero div::before,
.hero-content::before {
  position: absolute;
  top: -28px;
  left: -22px;
  width: 88px;
  height: 6px;
  content: "";
  background: var(--red);
  box-shadow: 104px 0 0 var(--gold);
}

.services-hero {
  --page-hero-image: url("assets/shop-engine-service.webp");
}

.bg-hero {
  --page-hero-image: url("assets/bg-services-hero.svg");
}

.walnut-hero {
  --page-hero-image: url("assets/walnut-valves-hero.svg");
}

.programming-hero {
  --page-hero-image: url("assets/programming-hero.svg");
}

.contact-hero {
  --page-hero-image: url("assets/contact-hero.svg");
}

.page-hero div {
  max-width: 820px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.hero-content {
  width: auto;
  max-width: 760px;
  margin: 0 clamp(18px, 7vw, 88px) clamp(52px, 8vw, 96px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.split-copy h2,
.appointment-band h2 {
  margin: 0;
  line-height: 1.05;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 72px);
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  isolation: isolate;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.button.primary {
  color: #fff;
  background:
    linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 14px 30px rgba(183, 38, 45, 0.24);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.56);
}

.button.light {
  color: var(--red-dark);
  background: #fff;
}

.facebook-button {
  color: var(--red-dark);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 40px rgba(16, 45, 71, 0.18);
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 8px 12px 8px 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.brand-badge strong {
  display: grid;
  width: 54px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 6px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.brand-badge span {
  color: var(--steel);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-badge.compact {
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.brand-badge.compact span {
  color: #fff;
}

.partner-logo {
  display: block;
  width: min(156px, 42vw);
  margin-bottom: 22px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.partner-logo.compact {
  width: 126px;
  margin-bottom: 18px;
  background: #fff;
  box-shadow: none;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--steel);
  color: #fff;
}

.quick-info div {
  min-height: 112px;
  padding: 24px clamp(18px, 4vw, 46px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.quick-info span {
  display: block;
  margin-bottom: 5px;
  color: #cfd8dd;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.quick-info strong {
  font-size: 18px;
}

.quick-info small {
  display: block;
  margin-top: 6px;
  color: #dce4e8;
  font-size: 16px;
  font-weight: 700;
}

.section {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 9vw, 110px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 243, 237, 0.9)),
    repeating-linear-gradient(90deg, rgba(29, 37, 44, 0.04) 0 1px, transparent 1px 90px);
}

.section::before {
  position: absolute;
  top: 0;
  right: clamp(18px, 6vw, 90px);
  width: 1px;
  height: 100%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(183, 38, 45, 0.18), transparent);
  pointer-events: none;
}

.section::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(130deg, transparent 0 68%, rgba(38, 57, 69, 0.06) 68% 80%, transparent 80%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0 1px, transparent 1px 28px);
  opacity: 0.5;
  pointer-events: none;
}

.section > * {
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.section-heading h2,
.split-copy h2,
.appointment-band h2 {
  color: var(--ink);
  font-size: clamp(32px, 5vw, 52px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 248, 243, 0.94)),
    linear-gradient(135deg, rgba(183, 38, 45, 0.06), transparent 34%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  isolation: isolate;
}

.service-card::before,
.detail-grid article::before,
.feature-card::before,
.system-grid article::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(135deg, rgba(183, 38, 45, 0.12), transparent 34%),
    linear-gradient(315deg, rgba(213, 159, 52, 0.12), transparent 42%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.service-card:hover::before,
.detail-grid article:hover::before,
.feature-card:hover::before,
.system-grid article:hover::before {
  opacity: 1;
}

a.service-card {
  display: block;
  min-height: 240px;
  padding: 24px;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

a.service-card:hover {
  border-color: rgba(183, 38, 45, 0.45);
  box-shadow: 0 18px 40px rgba(29, 37, 44, 0.12);
  transform: translateY(-2px);
}

.service-card,
.detail-grid article,
.content-columns > div,
.process-list div,
.feature-card,
.video-card,
.faq details {
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.detail-grid article:hover,
.content-columns > div:hover,
.process-list div:hover,
.feature-card:hover,
.video-card:hover,
.faq details:hover {
  border-color: rgba(183, 38, 45, 0.34);
  box-shadow: 0 18px 42px rgba(29, 37, 44, 0.11);
  transform: translateY(-3px);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 38px;
  color: #fff;
  background: var(--red);
  border-radius: 6px;
  font-weight: 800;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card h3 {
  margin: 22px 22px 8px;
  font-size: 22px;
  line-height: 1.15;
}

a.service-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.service-card p {
  margin: 0 22px 24px;
  color: var(--muted);
}

a.service-card p {
  margin: 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.detail-grid article,
.content-columns > div,
.process-list div {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 248, 243, 0.94));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  isolation: isolate;
}

.detail-grid article {
  padding: 28px;
}

.detail-grid .card-number {
  margin-bottom: 30px;
}

.detail-grid h2,
.content-columns h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.1;
}

.detail-grid p,
.content-columns p {
  margin: 0;
  color: var(--muted);
}

.content-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: 18px;
}

.content-columns > div:first-child {
  padding: 30px;
}

.content-columns p + p {
  margin-top: 16px;
}

.process-list {
  display: grid;
  gap: 12px;
}

.process-list div {
  padding: 22px;
  border-left: 5px solid var(--red);
  background:
    linear-gradient(90deg, rgba(183, 38, 45, 0.07), transparent 32%),
    linear-gradient(180deg, #fff, #faf8f3);
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  font-size: 18px;
}

.process-list span {
  margin-top: 4px;
  color: var(--muted);
}

.bg-systems {
  background:
    linear-gradient(120deg, rgba(183, 38, 45, 0.08) 0 18%, transparent 18%),
    linear-gradient(300deg, rgba(213, 159, 52, 0.18) 0 22%, transparent 22%),
    repeating-linear-gradient(90deg, rgba(29, 37, 44, 0.045) 0 1px, transparent 1px 78px),
    linear-gradient(180deg, #fff, #f1ece3);
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.system-grid article {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 240, 232, 0.96));
  border: 1px solid var(--line);
  border-radius: 8px;
  border-top: 5px solid var(--red);
  box-shadow: var(--soft-shadow);
  isolation: isolate;
}

.system-grid strong,
.system-grid span {
  display: block;
}

.system-grid strong {
  color: var(--ink);
  font-size: 18px;
}

.system-grid span {
  margin-top: 8px;
  color: var(--muted);
}

.repair-overview {
  color: #fff;
  background:
    linear-gradient(115deg, rgba(183, 38, 45, 0.24) 0 17%, transparent 17% 100%),
    linear-gradient(300deg, rgba(213, 159, 52, 0.18) 0 14%, transparent 14% 100%),
    linear-gradient(135deg, rgba(17, 25, 31, 0.98), rgba(38, 57, 69, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 92px);
}

.repair-overview .detail-grid article {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 236, 227, 0.94));
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.16);
}

.repair-overview .section-heading h2,
.repair-overview .section-heading p:not(.eyebrow) {
  color: #fff;
}

.specialty {
  background: #fff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 240, 232, 0.96));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  isolation: isolate;
}

.feature-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--red);
  border-radius: 6px;
  font-weight: 800;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.1;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.feature-card ul {
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--steel);
}

.feature-card li + li {
  margin-top: 8px;
}

.split-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  padding: clamp(58px, 9vw, 100px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(118deg, #fff 0 62%, #f0e9dc 62% 100%),
    repeating-linear-gradient(90deg, rgba(29, 37, 44, 0.04) 0 1px, transparent 1px 88px);
  overflow: hidden;
}

.split-section::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(130deg, transparent 0 42%, rgba(183, 38, 45, 0.08) 42% 44%, transparent 44%),
    repeating-linear-gradient(135deg, rgba(38, 57, 69, 0.04) 0 1px, transparent 1px 26px);
  pointer-events: none;
}

.split-section > * {
  position: relative;
  z-index: 1;
}

.split-copy p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.trust-list {
  display: grid;
  gap: 12px;
}

.trust-list div {
  position: relative;
  overflow: hidden;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 240, 232, 0.96));
  border-left: 5px solid var(--red);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.trust-list strong,
.trust-list span {
  display: block;
}

.trust-list strong {
  font-size: 19px;
}

.trust-list span {
  margin-top: 4px;
  color: var(--muted);
}

.service-area {
  background:
    linear-gradient(120deg, rgba(38, 57, 69, 0.12) 0 20%, transparent 20%),
    linear-gradient(180deg, #f8f6f1, #ede7dc);
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 980px;
}

.area-list span {
  padding: 10px 13px;
  color: var(--steel);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}

.faq {
  background:
    linear-gradient(180deg, #fff, #f5f1e9),
    repeating-linear-gradient(90deg, rgba(29, 37, 44, 0.035) 0 1px, transparent 1px 84px);
}

.faq-grid {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.faq details {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 240, 232, 0.96));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.faq summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.faq details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.bg-service-timing {
  color: #fff;
  background:
    linear-gradient(115deg, rgba(183, 38, 45, 0.22) 0 18%, transparent 18%),
    linear-gradient(300deg, rgba(213, 159, 52, 0.16) 0 18%, transparent 18%),
    linear-gradient(135deg, rgba(17, 25, 31, 0.98), rgba(38, 57, 69, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 92px);
  border-top: 6px solid var(--red);
}

.bg-service-timing .section-heading h2 {
  color: #fff;
}

.bg-service-timing .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.bg-service-timing .area-list span {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.bg-footnote {
  padding-top: 24px;
  padding-bottom: 28px;
  color: var(--muted);
  background: #f6f3ed;
  border-top: 1px solid rgba(216, 191, 145, 0.55);
}

.bg-footnote p {
  max-width: 920px;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.media-showcase {
  background:
    linear-gradient(300deg, rgba(183, 38, 45, 0.09) 0 20%, transparent 20%),
    linear-gradient(120deg, rgba(213, 159, 52, 0.13) 0 18%, transparent 18%),
    repeating-linear-gradient(90deg, rgba(29, 37, 44, 0.04) 0 1px, transparent 1px 88px),
    linear-gradient(180deg, #fff, #f1ece3);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.media-card {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 26px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(17, 25, 31, 0.12), rgba(17, 25, 31, 0.9)),
    linear-gradient(115deg, rgba(183, 38, 45, 0.2) 0 16%, transparent 16%),
    url("assets/walnut-before.svg") center / cover;
  border: 1px solid rgba(29, 37, 44, 0.16);
  border-radius: 8px;
  box-shadow: 0 20px 46px rgba(29, 37, 44, 0.14);
}

.media-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.18), transparent 28%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 16px);
  pointer-events: none;
}

.media-card span,
.media-card h3 {
  position: relative;
}

.media-card span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.media-card h3 {
  max-width: 360px;
  margin: 8px 0 0;
  font-size: 30px;
  line-height: 1.05;
}

.valve-before {
  background-image:
    linear-gradient(180deg, rgba(17, 25, 31, 0.04), rgba(17, 25, 31, 0.9)),
    linear-gradient(115deg, rgba(183, 38, 45, 0.22) 0 16%, transparent 16%),
    url("assets/walnut-before.svg");
}

.valve-cleaning {
  background-image:
    linear-gradient(180deg, rgba(17, 25, 31, 0.08), rgba(17, 25, 31, 0.92)),
    linear-gradient(300deg, rgba(213, 159, 52, 0.26) 0 18%, transparent 18%),
    url("assets/walnut-cleaning.svg");
}

.injector-service {
  background-image:
    linear-gradient(180deg, rgba(17, 25, 31, 0.04), rgba(17, 25, 31, 0.9)),
    linear-gradient(115deg, rgba(130, 200, 223, 0.22) 0 18%, transparent 18%),
    url("assets/fuel-injector-service.svg");
}

.demo-section {
  background:
    linear-gradient(135deg, rgba(246, 243, 237, 0.98), rgba(255, 255, 255, 0.92)),
    repeating-linear-gradient(90deg, rgba(29, 37, 44, 0.05) 0 1px, transparent 1px 92px);
}

.walnut-results {
  background:
    linear-gradient(115deg, rgba(183, 38, 45, 0.2) 0 18%, transparent 18%),
    linear-gradient(300deg, rgba(213, 159, 52, 0.18) 0 18%, transparent 18%),
    linear-gradient(180deg, #0d1216, #263945);
}

.walnut-page .hero-media,
.walnut-page .page-hero::before,
.walnut-page .page-hero::after,
.walnut-page::before,
.walnut-page .reveal-on-scroll,
.walnut-page .walnut-story-panel,
.walnut-page .media-card::before {
  animation: none;
  transition: none;
  transform: none;
}

.walnut-page .reveal-on-scroll {
  opacity: 1;
}

.walnut-results .section-heading h2 {
  color: #fff;
}

.walnut-results .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.walnut-story {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.34);
  background: #050708;
  margin: 0;
}

.walnut-photo-strip {
  width: 100%;
  height: auto;
  display: block;
}

.walnut-story-panel {
  position: relative;
  min-height: clamp(250px, 30vw, 360px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(28px, 5vw, 64px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.48) 38%, rgba(0, 0, 0, 0.08)),
    url("assets/walnut-before.svg") center / cover;
  border-bottom: 2px solid rgba(255, 255, 255, 0.78);
  isolation: isolate;
}

.walnut-story-panel:last-child {
  border-bottom: 0;
}

.walnut-story-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 75% 44%, rgba(255, 255, 255, 0.28), transparent 22%),
    linear-gradient(115deg, transparent 0 52%, rgba(255, 255, 255, 0.12) 62%, transparent 76%);
  opacity: 0.8;
  mix-blend-mode: screen;
}

.walnut-story-panel div {
  max-width: 440px;
}

.walnut-story-panel span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.walnut-story-panel h3 {
  margin: 0;
  font-size: clamp(44px, 7vw, 86px);
  font-style: italic;
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.walnut-story-panel p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1.12;
  text-transform: uppercase;
}

.walnut-story-panel p strong {
  color: #ff7a16;
}

.walnut-story-panel time {
  position: absolute;
  bottom: 14px;
  left: clamp(18px, 3vw, 32px);
  display: inline-grid;
  min-width: 76px;
  min-height: 36px;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.48);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  line-height: 1;
}

.carbon-cleaning h3 {
  color: #fff;
}

.walnut-blast {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.42) 38%, rgba(0, 0, 0, 0.06)),
    url("assets/walnut-cleaning.svg");
}

.walnut-blast h3 {
  color: #fff;
}

.hard-carbon h3,
.gentle-carbon h3,
.restore-performance h3 strong {
  color: #ff7a16;
}

.hard-carbon {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.46) 38%, rgba(0, 0, 0, 0.08)),
    url("assets/walnut-cleaning.svg");
}

.gentle-carbon {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.1)),
    url("assets/walnut-valves-hero.svg");
}

.restore-performance {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.5) 38%, rgba(0, 0, 0, 0.08)),
    url("assets/walnut-valves-hero.svg");
}

.restore-performance h3 {
  color: #fff;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.video-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(29, 37, 44, 0.08);
  cursor: pointer;
}

.video-frame {
  position: relative;
  min-height: 160px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(21, 29, 35, 0.94), rgba(38, 57, 69, 0.86)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 14px);
}

.demo-reel {
  isolation: isolate;
  overflow: hidden;
}

.demo-reel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 26% 22%, rgba(213, 159, 52, 0.26), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(130, 200, 223, 0.16), transparent 34%);
  animation: reel-light 4.8s ease-in-out infinite alternate;
}

.demo-reel::after {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 48px;
  height: 20px;
  content: "LIVE";
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(183, 38, 45, 0.92);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.demo-card.is-paused .demo-reel *,
.demo-card.is-paused .demo-reel::before {
  animation-play-state: paused;
}

.demo-card.is-paused .demo-reel::after {
  content: "PAUSED";
  width: 66px;
  background: rgba(29, 37, 44, 0.82);
}

.demo-generator {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 20px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(21, 29, 35, 0.98), rgba(38, 57, 69, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 78px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(29, 37, 44, 0.16);
}

.generator-copy {
  padding: 24px;
  color: #fff;
}

.generator-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.06;
}

.generator-copy p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.generator-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.generator-controls button {
  min-height: 42px;
  padding: 10px 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.generator-controls button:hover,
.generator-controls button.is-active {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.generated-reel {
  min-height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.generated-reel > span {
  display: none;
}

.generated-reel.inspect-reel .scan-line,
.generated-reel.inspect-reel .port,
.generated-reel.protect-reel .tape-strip,
.generated-reel.protect-reel .closed-valve,
.generated-reel.blast-reel .blast-nozzle,
.generated-reel.blast-reel .media-stream,
.generated-reel.blast-reel .clean-valve,
.generated-reel.verify-reel .gauge-ring,
.generated-reel.verify-reel .signal-line,
.generated-reel.verify-reel .check-mark {
  display: block;
}

.port {
  width: 58px;
  height: 86px;
  background: radial-gradient(circle at 50% 42%, #14110d 0 30%, #4a3827 31% 58%, #11191f 59%);
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.72);
  animation: port-pulse 2.8s ease-in-out infinite;
}

.inspect-reel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.inspect-reel .port:nth-of-type(3) {
  animation-delay: 0.18s;
}

.inspect-reel .port:nth-of-type(4) {
  animation-delay: 0.36s;
}

.scan-line {
  position: absolute;
  top: 22%;
  left: 10%;
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #82c8df, transparent);
  box-shadow: 0 0 18px rgba(130, 200, 223, 0.84);
  animation: scan-sweep 2.4s ease-in-out infinite;
}

.protect-reel {
  display: grid;
  place-items: center;
}

.tape-strip {
  position: absolute;
  width: 74%;
  height: 20px;
  background: repeating-linear-gradient(90deg, #d7a84a 0 18px, #11191f 18px 30px);
  border-radius: 4px;
  transform: rotate(-11deg);
  animation: tape-set 3.2s ease-in-out infinite;
}

.tape-strip:nth-child(2) {
  width: 56%;
  transform: translateY(42px) rotate(9deg);
  animation-delay: 0.35s;
}

.closed-valve,
.clean-valve {
  width: 86px;
  height: 86px;
  background: radial-gradient(circle at 50% 45%, #657985, #182129 68%);
  border: 4px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.closed-valve {
  box-shadow: 0 0 0 18px rgba(183, 38, 45, 0.16);
  animation: valve-lock 2.8s ease-in-out infinite;
}

.blast-reel {
  display: grid;
  place-items: center;
}

.blast-nozzle {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 128px;
  height: 18px;
  background: #d7a84a;
  border-radius: 999px;
  transform: rotate(-34deg);
  transform-origin: right center;
  animation: nozzle-move 2.8s ease-in-out infinite;
}

.media-stream {
  position: absolute;
  top: 54px;
  right: 106px;
  width: 170px;
  height: 80px;
  background:
    radial-gradient(circle, rgba(215, 168, 74, 0.94) 0 3px, transparent 4px) 0 0 / 24px 20px;
  transform: rotate(-28deg);
  animation: media-flow 0.7s linear infinite;
}

.clean-valve {
  box-shadow:
    0 0 0 26px rgba(130, 200, 223, 0.08),
    inset 0 -18px 28px rgba(215, 168, 74, 0.2);
  animation: clean-reveal 3s ease-in-out infinite;
}

.verify-reel {
  display: grid;
  place-items: center;
}

.gauge-ring {
  width: 112px;
  height: 112px;
  border: 10px solid rgba(255, 255, 255, 0.18);
  border-top-color: #d7a84a;
  border-right-color: #82c8df;
  border-radius: 50%;
  animation: gauge-spin 3.8s ease-in-out infinite;
}

.signal-line {
  position: absolute;
  left: 18%;
  bottom: 48px;
  width: 64%;
  height: 38px;
  background:
    linear-gradient(90deg, transparent, rgba(130, 200, 223, 0.38), transparent),
    repeating-linear-gradient(90deg, #82c8df 0 5px, transparent 5px 24px);
  clip-path: polygon(0 55%, 14% 55%, 21% 22%, 29% 82%, 38% 42%, 48% 56%, 100% 56%, 100% 100%, 0 100%);
  animation: signal-read 2.3s ease-in-out infinite;
}

.check-mark {
  position: absolute;
  width: 58px;
  height: 32px;
  border-left: 8px solid #d7a84a;
  border-bottom: 8px solid #d7a84a;
  transform: rotate(-45deg) scale(0.8);
  opacity: 0;
  animation: check-pop 3.2s ease-in-out infinite;
}

.play-icon {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  background: var(--red);
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.play-icon::after {
  position: absolute;
  top: 17px;
  left: 22px;
  width: 0;
  height: 0;
  content: "";
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 16px solid #fff;
}

.video-frame strong {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.video-card h3 {
  margin: 18px 18px 8px;
  font-size: 21px;
  line-height: 1.1;
}

.video-card p {
  margin: 0 18px 20px;
  color: var(--muted);
}

.injector-cleaning {
  background:
    linear-gradient(120deg, rgba(130, 200, 223, 0.16) 0 19%, transparent 19%),
    linear-gradient(300deg, rgba(213, 159, 52, 0.12) 0 17%, transparent 17%),
    repeating-linear-gradient(90deg, rgba(29, 37, 44, 0.04) 0 1px, transparent 1px 84px),
    linear-gradient(180deg, #fff, #f3eee5);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

@keyframes background-drift {
  from {
    transform: translate3d(-1.5%, -1%, 0);
  }
  to {
    transform: translate3d(1.5%, 1%, 0);
  }
}

@keyframes hero-pan {
  from {
    transform: scale(1.04) translate3d(-0.8%, -0.6%, 0);
  }
  to {
    transform: scale(1.09) translate3d(1%, 0.8%, 0);
  }
}

@keyframes sheen-slide {
  from {
    background-position: 0 0, -220px 0, 0 0;
  }
  to {
    background-position: 0 0, 220px 0, 0 0;
  }
}

@keyframes reel-light {
  from {
    opacity: 0.7;
    transform: translateX(-2%);
  }
  to {
    opacity: 1;
    transform: translateX(2%);
  }
}

@keyframes port-pulse {
  0%,
  100% {
    filter: brightness(0.9);
    transform: translateY(0) scale(1);
  }
  50% {
    filter: brightness(1.16);
    transform: translateY(-4px) scale(1.04);
  }
}

@keyframes scan-sweep {
  0% {
    transform: translateY(-46px);
    opacity: 0;
  }
  20%,
  80% {
    opacity: 1;
  }
  100% {
    transform: translateY(84px);
    opacity: 0;
  }
}

@keyframes tape-set {
  0% {
    opacity: 0;
    translate: -80px 0;
  }
  30%,
  78% {
    opacity: 1;
    translate: 0 0;
  }
  100% {
    opacity: 0;
    translate: 70px 0;
  }
}

@keyframes valve-lock {
  0%,
  100% {
    transform: scale(0.92);
  }
  50% {
    transform: scale(1.06);
  }
}

@keyframes nozzle-move {
  0%,
  100% {
    transform: rotate(-38deg) translateX(0);
  }
  50% {
    transform: rotate(-26deg) translateX(-20px);
  }
}

@keyframes media-flow {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -48px 40px;
  }
}

@keyframes clean-reveal {
  0% {
    filter: brightness(0.72) saturate(0.8);
    transform: scale(0.95);
  }
  55% {
    filter: brightness(1.28) saturate(1.1);
    transform: scale(1.05);
  }
  100% {
    filter: brightness(0.9) saturate(0.9);
    transform: scale(0.98);
  }
}

@keyframes gauge-spin {
  0% {
    transform: rotate(-20deg);
  }
  55% {
    transform: rotate(220deg);
  }
  100% {
    transform: rotate(340deg);
  }
}

@keyframes signal-read {
  0%,
  100% {
    opacity: 0.42;
    transform: scaleX(0.84);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes check-pop {
  0%,
  58% {
    opacity: 0;
    transform: rotate(-45deg) scale(0.55);
  }
  70%,
  92% {
    opacity: 1;
    transform: rotate(-45deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: rotate(-45deg) scale(0.8);
  }
}

.appointment-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(34px, 6vw, 60px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(112deg, rgba(183, 38, 45, 0.98) 0 36%, rgba(129, 22, 28, 0.96) 36% 62%, rgba(17, 25, 31, 0.96) 62% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 92px);
}

.appointment-band::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(130deg, transparent 0 44%, rgba(213, 159, 52, 0.22) 44% 46%, transparent 46%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 26px);
  pointer-events: none;
}

.appointment-band > * {
  position: relative;
  z-index: 1;
}

.appointment-band .eyebrow,
.appointment-band h2 {
  color: #fff;
}

.appointment-band h2 {
  max-width: 760px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(320px, 1.3fr);
  gap: 18px;
}

.contact-details {
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 25, 31, 0.98), rgba(38, 57, 69, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 80px);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-details p {
  margin: 0 0 24px;
}

.contact-details p:last-child {
  margin-bottom: 0;
}

.contact-details strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  text-transform: uppercase;
}

iframe {
  width: 100%;
  min-height: 380px;
  border: 1px solid rgba(29, 37, 44, 0.14);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: #dce4e8;
  background:
    linear-gradient(135deg, #11191f, #1d252c),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 92px);
}

.site-footer p {
  margin: 0;
}

.footer-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-follow-label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-facebook {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(216, 191, 145, 0.42);
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.footer-facebook span {
  display: none;
}

.footer-facebook:hover {
  color: #fff;
  background: var(--red);
  border-color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 840px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px;
  }

  .quick-info,
  .service-grid,
  .feature-grid,
  .media-grid,
  .video-grid,
  .demo-generator,
  .walnut-story,
  .detail-grid,
  .content-columns,
  .system-grid,
  .split-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .quick-info div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .appointment-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: min(220px, 62vw);
    max-height: 58px;
  }

  .brand strong {
    max-width: 176px;
    font-size: 15px;
    line-height: 1.1;
  }

  .hero {
    min-height: 720px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .hero p:not(.eyebrow) {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}

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

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
