/* =========================================================
   Signature Auto Glass – styles
   Colours taken from the flyer: deep navy/black + electric blue
   ========================================================= */
:root {
  color-scheme: dark;
  --bg: #04080f;
  --bg-2: #08142a;
  --bg-footer: #02050a;
  --panel: #0c1c38;
  --line: rgba(56, 160, 255, 0.28);
  --blue: #1e90ff;
  --blue-bright: #4db3ff;
  /* Button blues: dark enough for white text to pass WCAG AA (4.5:1) */
  --btn-top: #0b6fd6;
  --btn-bottom: #0050b8;
  --white: #ffffff;
  --text: #e6eefb;
  --muted: #a9bad6;
  --radius: 14px;
  --header-h: 68px;
  --slant: clamp(28px, 6vw, 72px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --font-head: "Exo 2", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent; /* no grey/blue flash on tap */
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-bright); }
[hidden] { display: none !important; }

/* Taps fire instantly (no double-tap-zoom wait) */
a, button, select, label, summary { touch-action: manipulation; }

/* Controls shouldn't select their text on long-press */
.btn, .nav-toggle {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

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

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--btn-top); color: var(--white); padding: 10px 16px;
  border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%; max-width: 1180px; margin: 0 auto;
  padding-left: max(20px, var(--safe-l));
  padding-right: max(20px, var(--safe-r));
}

.icon { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

/* ---------- Headings ---------- */
h1, h2, h3, .logo-text, .footer-brand {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(1.85rem, 7vw, 3.6rem); font-weight: 900; text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: 1.25rem; }

.accent {
  color: var(--blue-bright);
  background: linear-gradient(90deg, #6cc4ff, var(--blue));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px;
  padding: 0.7em 1.3em;
  border-radius: 10px;
  border: 2px solid transparent;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), box-shadow 200ms ease, background-color 200ms ease;
}
.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--btn-top), var(--btn-bottom));
  box-shadow: 0 6px 22px rgba(30, 144, 255, 0.35), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-outline {
  color: var(--white);
  border-color: var(--blue);
  background: rgba(30, 144, 255, 0.08);
}
.btn-lg { font-size: 1.15rem; padding: 0.85em 1.6em; min-height: 56px; }
.btn-block { width: 100%; }

/* Press feedback: responds the moment a finger lands */
.btn:active, .contact-list a:active, .nav-toggle:active {
  transform: scale(0.97);
}
.btn[disabled] { cursor: progress; opacity: .8; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(4, 8, 15, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.5); }
.header-inner {
  display: flex; align-items: center; gap: 12px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; min-height: 48px; text-decoration: none; margin-right: auto; min-width: 0; }
.logo-img { height: 48px; width: auto; max-width: 100%; object-fit: contain; }
/* Text logo, stacked like the flyer: SIGNATURE / AUTO GLASS */
.logo-text {
  display: flex; flex-direction: column;
  margin: 0; font-size: 1.3rem; font-weight: 900; line-height: 1; text-transform: uppercase;
  color: var(--white); white-space: nowrap;
}
.logo-text span { font-size: .62em; letter-spacing: .24em; margin-top: 3px; color: var(--blue-bright); }

/* Phones: round call button in the header (always one tap away) */
.header-call {
  flex: none;
  width: 48px; min-height: 48px; height: 48px; padding: 0;
  border-radius: 50%;
}
.header-call .icon { width: 22px; height: 22px; }
.header-call span { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  flex: none;
  width: 48px; height: 48px; padding: 12px;
  background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.nav-toggle .bar { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform 200ms var(--ease-out), opacity 200ms ease; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 30px rgba(0,0,0,.5);
  display: none;
}
/* Phone menu: slides down smoothly when opened */
.main-nav.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 200ms ease, transform 220ms var(--ease-out);
}
@starting-style {
  .main-nav.open { opacity: 0; transform: translateY(-8px); }
}
.main-nav ul { list-style: none; margin: 0; padding: 8px max(20px, var(--safe-r)) 16px max(20px, var(--safe-l)); }
.main-nav a {
  display: block; padding: 14px 4px;
  color: var(--white); text-decoration: none; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

/* ---------- Angled section edges (the flyer's blue slashes) ---------- */
.slant { position: relative; }
.slant::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: var(--slant);
  pointer-events: none;
  background: linear-gradient(to bottom right,
    transparent calc(50% - 2px),
    var(--blue-bright) calc(50% - 1.5px),
    var(--blue) calc(50% + 1.5px),
    var(--next, var(--bg)) calc(50% + 2px));
}
.hero          { --next: var(--bg); }
#services      { --next: var(--bg-2); }
#why-us        { --next: var(--bg); }
#service-area  { --next: var(--bg-2); }
#quote         { --next: var(--bg-footer); }

/* ---------- Hero ---------- */
.hero {
  overflow: hidden;
  padding: 44px 0 calc(48px + var(--slant));
  background:
    radial-gradient(ellipse 70% 60% at 85% 10%, rgba(30,144,255,.28), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 85%, rgba(0,88,196,.22), transparent 60%),
    linear-gradient(180deg, #060d1c 0%, var(--bg) 100%);
}
/* subtle hex pattern, like the flyer */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64v33' fill='none' stroke='%231e90ff' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 97px;
  -webkit-mask-image: linear-gradient(110deg, #000 0%, transparent 55%);
          mask-image: linear-gradient(110deg, #000 0%, transparent 55%);
}
.hero-inner { position: relative; display: grid; gap: 36px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 18px;
  padding: 7px 14px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: rgba(30,144,255,.12);
  font-family: var(--font-head); font-style: italic; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--white);
}
.eyebrow .icon { color: var(--blue-bright); }
.tagline {
  margin: 0 0 28px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .85rem;
}
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--white); }
.hero-points .icon { color: var(--blue-bright); }

/* One entrance on page load: headline group arrives in a quick sequence */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.hero-copy > * { animation: rise-in 520ms var(--ease-out) both; }
.hero-copy > :nth-child(1) { animation-delay: 0ms; }
.hero-copy > :nth-child(2) { animation-delay: 50ms; }
.hero-copy > :nth-child(3) { animation-delay: 120ms; }
.hero-copy > :nth-child(4) { animation-delay: 170ms; }
.hero-copy > :nth-child(5) { animation-delay: 240ms; }
.hero-photo { animation: fade-in 600ms ease 150ms both; }

.hero-photo { margin: 0; }
.hero-photo img {
  width: 100%;
  border-radius: var(--radius);
  border: 2px solid var(--blue);
  box-shadow: 0 0 0 6px rgba(30,144,255,.12), 0 20px 50px rgba(0,0,0,.6);
  aspect-ratio: 16 / 10.5; object-fit: cover;
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.slant { padding-bottom: calc(56px + var(--slant)); }
.section-alt {
  background:
    radial-gradient(ellipse 60% 70% at 0% 100%, rgba(30,144,255,.10), transparent 60%),
    var(--bg-2);
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head h2 { position: relative; padding-bottom: 14px; }
.section-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%) skewX(-20deg);
  width: 64px; height: 4px; background: var(--blue); box-shadow: 0 0 12px var(--blue);
}
.section-head p { color: var(--muted); margin: 0; }
.section-head h2 + p { margin-top: 4px; }

/* Services cards (informational, not clickable, so no hover effect) */
.card-grid { display: grid; gap: 18px; }
.card {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel), #071225);
  border: 1px solid var(--line);
}
.card-icon { width: 56px; height: 56px; color: var(--blue-bright); margin-bottom: 14px; filter: drop-shadow(0 0 8px rgba(30,144,255,.55)); }
.card h3 { text-transform: uppercase; }
.card p { margin: 0; color: var(--muted); }

/* Why us */
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.why-grid li {
  display: flex; gap: 16px; align-items: center;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: rgba(4, 8, 15, .55);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  min-width: 0;
}
.why-grid li > div { min-width: 0; }
.why-icon { width: 44px; height: 44px; flex: none; color: var(--blue-bright); }
.why-grid h3 { font-size: 1.1rem; text-transform: uppercase; margin-bottom: 2px; }
.why-grid p { margin: 0; color: var(--muted); }

/* Gallery */
.gallery-grid { display: grid; gap: 16px; }
.gallery-grid figure { margin: 0; }
.gallery-grid img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
}

/* Service area */
.area-grid {
  list-style: none; margin: 0 auto; padding: 0;
  display: grid; gap: 14px; max-width: 900px;
}
.area-grid li {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 26px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--blue);
  background: linear-gradient(160deg, rgba(30,144,255,.16), rgba(30,144,255,.03));
  font-family: var(--font-head); font-style: italic; font-weight: 900;
  font-size: 1.6rem; text-transform: uppercase; color: var(--white);
}
.area-grid .icon { width: 1.1em; height: 1.1em; color: var(--blue-bright); }
.workshop {
  display: grid; gap: 18px; max-width: 900px; margin: 22px auto 0;
  padding: 22px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel), #071225);
  border: 1px solid var(--line);
}
.workshop h3 { text-transform: uppercase; margin: 0 0 10px; }
.workshop-addr { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; font-size: 1.15rem; font-weight: 700; color: var(--white); }
.workshop-addr .icon { width: 1.2em; height: 1.2em; flex: none; margin-top: .15em; color: var(--blue-bright); }
.workshop-note { color: var(--muted); margin: 0 0 16px; }
.workshop-map { width: 100%; height: 260px; border: 1px solid var(--line); border-radius: 10px; display: block; }
@media (min-width: 760px) {
  .workshop { grid-template-columns: 1fr 1.2fr; align-items: center; padding: 28px; }
  .workshop-map { height: 100%; min-height: 260px; }
}
.area-note { text-align: center; color: var(--muted); margin: 26px 0 0; }
.area-note a { font-weight: 700; white-space: nowrap; }

/* Quote */
.quote-inner { display: grid; gap: 36px; }
.quote-intro { min-width: 0; }
.quote-intro p { color: var(--muted); }
.contact-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.contact-list a {
  display: flex; align-items: center; gap: 12px;
  min-height: 52px;
  padding: 12px 16px; border-radius: 10px;
  background: rgba(4,8,15,.6); border: 1px solid var(--line);
  color: var(--white); text-decoration: none; font-weight: 700;
  transition: transform 160ms var(--ease-out), border-color 200ms ease;
}
.contact-list .icon { color: var(--blue-bright); }

.quote-form {
  min-width: 0;
  padding: 24px 20px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; gap: 0 14px; }
fieldset.field-row { border: 0; padding: 0; margin: 0 0 4px; min-width: 0; }
legend {
  padding: 0; margin-bottom: 8px;
  font-weight: 700; color: var(--white);
}
label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .95rem; color: var(--white); }
fieldset label { font-weight: 500; color: var(--muted); }
.req { color: var(--blue-bright); }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px; /* 16px minimum stops iPhones zooming in on focus */
  color: var(--white);
  background: var(--bg-2);
  border: 1px solid #2a4370;
  border-radius: 10px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
textarea { resize: vertical; min-height: 110px; }
select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%234db3ff' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px;
  text-overflow: ellipsis;
}
select option { background: var(--bg-2); color: var(--white); }
::placeholder { color: #7f92b3; opacity: 1; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(30,144,255,.3);
}
.form-note { font-size: .85rem; color: var(--muted); margin: 0 0 14px; }

/* Autofill (saved details from the phone/browser): stop the browser painting
   the box white/yellow. An inset shadow covers its background with our blue. */
input:-webkit-autofill,
input:-webkit-autofill:hover,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--white);
  caret-color: var(--white);
  -webkit-box-shadow: 0 0 0 1000px var(--bg-2) inset;
          box-shadow: 0 0 0 1000px var(--bg-2) inset;
  border-color: #2a4370;
  transition: background-color 600000s 0s, color 600000s 0s;
}
input:-webkit-autofill:focus,
textarea:-webkit-autofill:focus,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--bg-2) inset, 0 0 0 3px rgba(30,144,255,.3);
          box-shadow: 0 0 0 1000px var(--bg-2) inset, 0 0 0 3px rgba(30,144,255,.3);
  border-color: var(--blue-bright);
}
input:autofill, textarea:autofill, select:autofill {
  box-shadow: 0 0 0 1000px var(--bg-2) inset;
  -webkit-text-fill-color: var(--white);
}
input:autofill:focus, textarea:autofill:focus, select:autofill:focus {
  box-shadow: 0 0 0 1000px var(--bg-2) inset, 0 0 0 3px rgba(30,144,255,.3);
}

/* Email address: shrinks slightly on narrow phones to stay on one line;
   on the very smallest screens it breaks neatly after the @ */
.email-link span { font-size: clamp(0.8rem, 3.9vw, 1rem); min-width: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-footer);
  padding: 40px 0 calc(20px + var(--safe-b));
  color: var(--muted);
}
.footer-inner { display: grid; gap: 28px; }
.footer-inner > div { min-width: 0; }
.footer-brand { font-size: 1.5rem; font-weight: 900; text-transform: uppercase; margin-bottom: 6px; }
.footer-brand span { color: var(--blue-bright); }
.footer-tag { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
.site-footer p { margin: 0 0 6px; }
.footer-h {
  font-size: 1rem; text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 6px; color: var(--white);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 2px; }
.site-footer li:not(:has(a)) { padding: 4px 0; }
.site-footer a {
  display: inline-flex; align-items: center; min-height: 44px; /* thumb-sized tap target */
  color: var(--text); text-decoration: none; font-weight: 600;
}
.footer-bottom {
  margin-top: 28px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .85rem; text-align: center;
}

/* ---------- Hover effects: only on devices with a real mouse
   (stops hover "sticking" after a tap on phones) ---------- */
@media (hover: hover) and (pointer: fine) {
  a:hover { color: var(--white); }
  .btn-primary:hover { color: var(--white); box-shadow: 0 8px 28px rgba(30, 144, 255, 0.55), inset 0 1px 0 rgba(255,255,255,.25); }
  .btn-outline:hover { color: var(--white); background: rgba(30, 144, 255, 0.2); }
  .main-nav a:hover { color: var(--blue-bright); }
  .contact-list a:hover { color: var(--white); border-color: var(--blue); }
  .site-footer a:hover { color: var(--blue-bright); text-decoration: underline; }
}

/* =========================================================
   Larger screens
   ========================================================= */
@media (min-width: 560px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .field-row { grid-template-columns: repeat(2, 1fr); }
  .field-row.three { grid-template-columns: 1fr 1fr 0.7fr; }
  .quote-form { padding: 32px; }
}

@media (max-width: 380px) {
  .area-grid li { font-size: 1.4rem; }
  .contact-list a { padding: 12px; gap: 10px; }
}
@media (max-width: 340px) {
  .contact-list a { padding: 12px 10px; gap: 8px; }
}

@media (min-width: 900px) {
  :root { --header-h: 80px; }
  .nav-toggle { display: none; }
  .main-nav, .main-nav.open {
    position: static; display: block;
    background: none; border: 0; box-shadow: none;
    opacity: 1; transform: none; transition: none;
  }
  .main-nav ul { display: flex; gap: 4px; padding: 0; }
  .main-nav a { border: 0; padding: 10px 14px; border-radius: 8px; }
  .header-call { width: auto; height: auto; min-height: 48px; padding: 0.7em 1.3em; border-radius: 10px; margin-left: 10px; font-size: 1.1rem; }
  .header-call .icon { width: 1.15em; height: 1.15em; }
  .header-call span { display: inline; }
  .logo-img { height: 58px; max-width: 220px; }
  .logo-text { font-size: 1.55rem; }

  .hero { padding: 88px 0 calc(88px + var(--slant)); }
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
  .hero-inner:not(:has(.hero-photo)) { grid-template-columns: 1fr; max-width: 860px; }

  .section { padding: 88px 0; }
  .section.slant { padding-bottom: calc(72px + var(--slant)); }
  .card-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .quote-inner { grid-template-columns: 0.85fr 1.15fr; align-items: start; gap: 56px; }
  .quote-intro { position: sticky; top: calc(var(--header-h) + 24px); }
  .footer-inner { grid-template-columns: 1.2fr 1.4fr 0.8fr; }
  .contact-list .email-link span { font-size: 0.95rem; }
}

@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .main-nav a:hover { background: rgba(30,144,255,.12); color: var(--white); }
}

/* Reduced motion: gentler, not zero. Keep fades, drop movement. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy > *, .hero-photo { animation: fade-in 250ms ease both; animation-delay: 0ms !important; }
  .btn:active, .contact-list a:active, .nav-toggle:active { transform: none; }
  .main-nav.open { transition: opacity 150ms ease; transform: none; }
  @starting-style { .main-nav.open { transform: none; } }
}
