/* ==========================================================================
   T.A.D Plumbing & Heating — Wolverhampton · concept preview
   Dev2Production · mobile-first · motion gated behind prefers-reduced-motion
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy-950: #071829;
  --navy-900: #0B2239;
  --navy-800: #12314F;
  --amber-400: #FBBF24;
  --amber-500: #F59E0B;
  --amber-600: #D97706;
  --amber-700: #B45309;
  --paper: #FFFFFF;
  --mist: #F4F7FB;
  --ink: #33475B;          /* body text on white  */
  --ink-strong: #0B2239;   /* headings on white   */
  --muted: #5B6B7F;        /* secondary on white  */
  --muted-dark: #A9B8C9;   /* secondary on navy   */
  --body-dark: #C7D3E0;    /* body text on navy   */
  --line: #DFE6EF;
  --line-dark: rgba(255, 255, 255, 0.14);
  --font-display: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 14px;
  --shadow-1: 0 16px 32px rgba(7, 24, 41, 0.10);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink-strong);
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 0.75rem; }

::selection { background: var(--amber-500); color: var(--navy-950); }

:focus { outline: 3px solid var(--amber-600); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 3px solid var(--amber-600); outline-offset: 3px; }

/* ---------- Utilities ---------- */
.container {
  max-width: 68rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  background: var(--navy-950);
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
}
.skip-link:focus { top: 0; color: var(--amber-400); }

.section { padding-block: clamp(3.75rem, 9vw, 6.25rem); }

.section-head { max-width: 42rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head h2 {
  font-size: clamp(1.65rem, 2.4vw + 0.95rem, 2.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
}
.h2-light { color: #fff; }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 56ch; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-700);
  margin: 0 0 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--amber-500);
  flex: none;
}
.eyebrow-light { color: var(--amber-400); }

.generic-tag {
  display: inline-block;
  vertical-align: middle;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--amber-700);
  background: #FFF7E8;
  border: 1px dashed #E3B25E;
  border-radius: 6px;
  padding: 0.22rem 0.5rem;
  margin-left: 0.35rem;
  transform: translateY(-0.35em);
  cursor: help;
}

.text-link {
  color: var(--amber-700);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}
.text-link:hover { color: var(--navy-900); }

.accent { color: var(--amber-400); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.btn-lg { padding: 0.9rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--amber-500); color: var(--navy-950); }
.btn-primary:hover {
  background: var(--amber-400);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.35);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }

/* ---------- Top concept banner ---------- */
.top-banner {
  background: var(--amber-500);
  color: var(--navy-950);
}
.top-banner p {
  padding: 0.45rem 1rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.wordmark-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--navy-900);
  display: grid;
  place-items: center;
  flex: none;
}
.wordmark-mark svg { width: 22px; height: 22px; }
.wordmark-text { display: grid; line-height: 1; }
.wordmark-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--navy-950);
}
.wordmark-sub {
  margin-top: 0.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
}
.amp { color: var(--amber-700); }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  gap: 4px;
  width: 48px;
  height: 48px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 28px rgba(7, 24, 41, 0.10);
}
.site-nav.is-open { display: block; }
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem clamp(1.25rem, 4vw, 2rem) 1rem;
}
.nav-list a {
  display: block;
  padding: 0.95rem 0.25rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink-strong);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav-list li:last-child a { border-bottom: 0; }

.header-cta { display: none; }

@media (min-width: 60rem) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: block;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .nav-list { display: flex; gap: clamp(0.9rem, 2vw, 1.6rem); padding: 0; }
  .nav-list a {
    display: inline-block;
    position: relative;
    padding: 0.5rem 0.1rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 0;
  }
  .nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--amber-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }
  .nav-list a:hover::after { transform: scaleX(1); }
  .header-cta { display: inline-flex; min-height: 44px; padding: 0.5rem 1.2rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-950);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--amber-500), rgba(245, 158, 11, 0));
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 24, 41, 0.86) 0%, rgba(7, 24, 41, 0.62) 50%, rgba(7, 24, 41, 0.92) 100%);
}
@media (min-width: 48rem) {
  .hero::before {
    background: linear-gradient(96deg, rgba(7, 24, 41, 0.96) 0%, rgba(7, 24, 41, 0.84) 44%, rgba(7, 24, 41, 0.42) 100%);
  }
}
.hero-inner {
  position: relative;
  padding-block: clamp(4rem, 10vw, 6.5rem);
  max-width: 46rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.05rem, 5.1vw + 1rem, 3.45rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 26ch;
}
.hero-sub {
  margin-top: 1.1rem;
  color: var(--body-dark);
  font-size: 1.08rem;
  max-width: 54ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}
.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.8rem 0 0;
  padding: 0;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--body-dark);
}
.hero-trust svg {
  width: 15px;
  height: 15px;
  color: var(--amber-400);
  flex: none;
}

/* Hero entrance: fade-and-rise, 0.1s stagger (motion-gated — see below) */
@keyframes rise-in {
  from { opacity: 0; translate: 0 26px; }
  to   { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .anim { animation: rise-in 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
  .d1 { animation-delay: 0s; }
  .d2 { animation-delay: 0.1s; }
  .d3 { animation-delay: 0.2s; }
  .d4 { animation-delay: 0.3s; }
  .d5 { animation-delay: 0.4s; }
}

/* ---------- Services ---------- */
.section-services { background: var(--mist); }

.cards {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 48rem) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  box-shadow: var(--shadow-1);
  border-color: #C4D2E4;
}
.card-media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (prefers-reduced-motion: no-preference) {
  .card-media img { transition: transform 0.45s ease; }
  .card:hover .card-media img { transform: scale(1.04); }
}
.card-body {
  padding: clamp(1.25rem, 3vw, 1.7rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.card p { color: var(--ink); }

.card-urgent {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-800));
  border-color: var(--navy-800);
}
.card-urgent:hover { border-color: var(--amber-600); }
.card-urgent h3 { color: #fff; }
.card-urgent p { color: var(--body-dark); }
.badge-24 {
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--navy-950);
  background: var(--amber-500);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.card-link {
  margin-top: auto;
  padding-top: 1.1rem;
  color: var(--amber-400);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}
.card-link:hover { color: #fff; }

.icon-chip {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #FFF1D6;
  color: var(--amber-700);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.icon-chip svg { width: 22px; height: 22px; }
.card-tags {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* ---------- Why us ---------- */
.section-why {
  background-color: var(--navy-900);
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.4px);
  background-size: 22px 22px;
  color: var(--body-dark);
}
.why-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 48rem) {
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 2.25rem; }
}
.why-grid li {
  border-top: 1px solid var(--line-dark);
  padding-top: 1.4rem;
}
.num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--amber-500);
  margin-bottom: 0.7rem;
}
@supports (-webkit-text-stroke: 1px #000) {
  .num { color: transparent; -webkit-text-stroke: 1.4px var(--amber-400); }
}
.why-grid h3 {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.why-grid p { color: var(--body-dark); max-width: 52ch; }

/* ---------- How it works ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
}
@media (min-width: 48rem) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}
.steps li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.steps li:hover { box-shadow: var(--shadow-1); border-color: #C4D2E4; }
.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--amber-400);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 1.05rem;
}
.steps h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}
.steps-note {
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Service area ---------- */
.section-areas { background: var(--mist); }
.areas-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 48rem) {
  .areas-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; }
}
.areas-copy h2 {
  font-size: clamp(1.65rem, 2.4vw + 0.95rem, 2.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 0.9rem;
}
.areas-copy p { max-width: 52ch; }
.areas-copy .text-link { display: inline-block; margin-top: 1.2rem; }

.areas-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 24rem;
  margin-inline: auto;
  width: 100%;
}
.ring {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 1.5px dashed #AFBFD3;
  background: rgba(255, 255, 255, 0.35);
}
.ring.r2 { inset: 15%; background: rgba(255, 255, 255, 0.55); }
.ring.r3 { inset: 30%; background: rgba(255, 255, 255, 0.8); }
.pin {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--amber-500);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(7, 24, 41, 0.25);
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes pin-pulse {
    0%   { box-shadow: 0 2px 8px rgba(7, 24, 41, 0.25), 0 0 0 0 rgba(245, 158, 11, 0.45); }
    70%  { box-shadow: 0 2px 8px rgba(7, 24, 41, 0.25), 0 0 0 18px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 2px 8px rgba(7, 24, 41, 0.25), 0 0 0 0 rgba(245, 158, 11, 0); }
  }
  .pin { animation: pin-pulse 2.4s ease-out infinite; }
}
.pin-label {
  position: absolute;
  left: 50%;
  top: calc(50% + 22px);
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-800);
  white-space: nowrap;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 0.8rem;
  max-width: 46rem;
}
.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq-list details[open] {
  border-color: #C4D2E4;
  box-shadow: 0 8px 24px rgba(7, 24, 41, 0.06);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  min-height: 48px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink-strong);
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-plus {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FFF1D6;
  color: var(--amber-700);
  display: grid;
  place-items: center;
  transition: rotate 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.faq-plus svg { width: 14px; height: 14px; }
.faq-list details[open] .faq-plus {
  rotate: 45deg;
  background: var(--amber-500);
  color: var(--navy-950);
}
.faq-body {
  padding: 0 1.2rem 1.25rem;
  color: var(--ink);
  max-width: 64ch;
}

/* ---------- Contact ---------- */
.section-contact {
  background-color: var(--navy-950);
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1.4px);
  background-size: 22px 22px;
  color: var(--body-dark);
}
.contact-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 48rem) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: start; }
}
.contact-lede { margin-top: 1rem; max-width: 44ch; }
.email-card {
  margin-top: 1.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}
.email-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-400);
}
.email-icon { width: 18px; height: 18px; flex: none; }
.email-link {
  display: inline-block;
  margin-top: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--amber-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}
.email-link:hover { color: var(--amber-400); }
.email-note { margin-top: 0.55rem; font-size: 0.9rem; color: var(--muted-dark); }

.quote-form {
  background: var(--paper);
  border-radius: 16px;
  padding: clamp(1.5rem, 3.5vw, 2.1rem);
  color: var(--ink);
}
.quote-form h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}
.form-hint {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink-strong);
  margin-bottom: 0.45rem;
}
.label-optional { font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--ink-strong);
  background: var(--paper);
  border: 1.5px solid #C6D2E0;
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: auto; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber-600);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.28);
}
.form-note {
  margin-top: 1.2rem;
  padding: 0.95rem 1.1rem;
  background: #FFF7E8;
  border: 1px solid #E3B25E;
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--ink);
}
.form-note a {
  color: var(--amber-700);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.form-note a:hover { text-decoration: none; color: var(--navy-900); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--muted-dark);
  padding: 3rem 0 calc(3rem + 5.5rem); /* clears the sticky mobile CTA bar */
}
@media (min-width: 60rem) {
  .site-footer { padding-bottom: 3rem; }
}
.footer-top { margin-bottom: 2rem; }
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.footer-tagline { margin-top: 0.4rem; font-size: 0.95rem; }
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  margin: 0 0 2rem;
  padding: 0;
}
.footer-nav a {
  color: #E4EDF6;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.footer-nav a:hover { color: var(--amber-400); text-decoration-color: var(--amber-400); }
.footer-meta {
  border-top: 1px solid var(--line-dark);
  padding-top: 1.5rem;
  display: grid;
  gap: 0.45rem;
}
.footer-meta p { font-size: 0.82rem; }
.footer-meta .disclaimer { color: #D9E3EE; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem max(1rem, env(safe-area-inset-left)) calc(0.65rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-right));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 26px rgba(7, 24, 41, 0.12);
  transition: translate 0.25s ease;
}
.sticky-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy-900);
  line-height: 1.3;
}
.sticky-cta .btn { min-height: 46px; padding: 0.55rem 1.35rem; flex: none; }
.at-contact .sticky-cta { translate: 0 115%; pointer-events: none; }
@media (min-width: 60rem) {
  .sticky-cta { display: none; }
}

/* ---------- Scroll reveals (IntersectionObserver, one-time) ----------
   Hidden state exists only when JS is on AND motion is allowed;
   the reveal itself runs as an *animation* so it never fights the
   hover `transition`s on cards, steps or buttons.                      */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; }
  html.js .reveal.in-view {
    opacity: 1;
    animation: rise-in 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) both;
    animation-delay: var(--d, 0s);
  }
  html.js .stagger > *:nth-child(2) { --d: 0.1s; }
  html.js .stagger > *:nth-child(3) { --d: 0.2s; }
  html.js .stagger > *:nth-child(4) { --d: 0.3s; }
}

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