/* ==========================================================================
   DBM Legacy Paving & Landscaping — styles.css
   Mobile-first. All colors/sizes come from the tokens below.
   ========================================================================== */

/* ---------- 0. Fonts (self-hosted, latin subset, SIL Open Font License) ---------- */
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("../assets/fonts/cinzel.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../assets/fonts/lora.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 400; font-display: swap; src: url("../assets/fonts/lora-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("../assets/fonts/inter.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand (sampled from the logo file — see CLAUDE.md §2) */
  --green-950: #050902;
  --green-900: #0A2207;
  --green-800: #12270B;
  --green-700: #153D1F;
  --green-500: #405A43;
  --gold-500: #EEC05C;
  --gold-300: #EDD59A;
  --gold-700: #BA8E27;   /* gradient stop only — fails contrast as text */
  --gold-800: #7A5A12;   /* gold text on cream (5.5:1) */
  --tan-500: #B09768;
  --cream-100: #F8EED7;
  --cream-50: #FCF7EC;

  /* Roles */
  --ink: #1C2A17;               /* body text on cream */
  --ink-soft: #3E4B37;          /* secondary text on cream (8:1) */
  --on-dark: var(--cream-100);
  --on-dark-soft: #D9CFB6;      /* secondary text on green (≥9:1) */
  --rule-dark: rgba(238, 192, 92, .35);
  --rule-light: rgba(122, 90, 18, .25);

  --gold-metal: linear-gradient(180deg, var(--gold-300), var(--gold-500) 50%, var(--gold-700));

  /* Type */
  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body: "Lora", Georgia, "Times New Roman", serif;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-300: .875rem;
  --fs-400: 1.0625rem;
  --fs-500: clamp(1.125rem, 1.05rem + .35vw, 1.3rem);
  --fs-600: clamp(1.35rem, 1.2rem + .7vw, 1.75rem);
  --fs-700: clamp(1.75rem, 1.45rem + 1.4vw, 2.6rem);
  --fs-800: clamp(2.1rem, 1.6rem + 2.6vw, 3.75rem);

  /* Space & shape */
  --gutter: 1.25rem;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --container: 75rem;
  --radius: 6px;
  --radius-lg: 12px;
  --header-h: 72px;
  --sticky-bar-h: 64px;
  --shadow: 0 10px 30px -12px rgba(5, 9, 2, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Granite speckle: pre-rendered 480px tile (an SVG noise filter here cost ~0.7s of main-thread time) */
  --granite: url("../assets/textures/granite.webp");
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-400);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream-100);
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-800); }
h2 { font-size: var(--fs-700); }
h3 { font-size: var(--fs-500); font-weight: 600; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 2px;
}
.section--cream :focus-visible,
.section--paper :focus-visible,
.thanks :focus-visible,
.form-card :focus-visible { outline-color: var(--gold-800); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.visually-hidden {
  position: absolute !important;
  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: 1rem; top: -100px;
  z-index: 200;
  padding: .75rem 1rem;
  background: var(--gold-500);
  color: var(--green-950);
  font-family: var(--font-ui);
  font-weight: 600;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Placeholders: dashed gold outline — grep "PLACEHOLDER" to find them all */
.placeholder {
  display: inline;
  padding: .05em .35em;
  border: 2px dashed var(--gold-500);
  border-radius: 4px;
  background: rgba(238, 192, 92, .1);
  font-style: italic;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  overflow-wrap: break-word;
}
.section--cream .placeholder,
.section--paper .placeholder,
.thanks .placeholder,
.form-card .placeholder { border-color: var(--gold-700); background: rgba(186, 142, 39, .08); }

/* ---------- 3. Buttons, chips, links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .75rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: var(--gold-metal);
  color: var(--green-950);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 6px 18px -8px rgba(186, 142, 39, .8);
}
.btn--gold:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 24px -8px rgba(186, 142, 39, .9); }

.btn--outline { border-color: var(--gold-500); color: var(--cream-100); background: rgba(5, 9, 2, .25); }
.btn--outline:hover { background: rgba(238, 192, 92, .14); }

.btn--green { background: var(--green-700); color: var(--cream-100); }
.btn--green:hover { background: var(--green-800); }

.btn--outline-dark { border-color: var(--green-700); color: var(--green-800); background: transparent; }
.btn--outline-dark:hover { background: rgba(21, 61, 31, .08); }

.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .975rem;
  color: var(--gold-500);
}
.section--cream .text-link,
.section--paper .text-link { color: var(--gold-800); }

/* "Se habla español" chip → Spanish line */
.chip-es {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 32px;
  padding: .2rem .7rem;
  border: 1px solid var(--rule-dark);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--gold-300);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, border-color .2s;
}
.chip-es:hover { background: rgba(238, 192, 92, .12); border-color: var(--gold-500); }
.chip-es .icon { width: 1em; height: 1em; }
.section--cream .chip-es,
.section--paper .chip-es,
.thanks .chip-es,
.form-card .chip-es { color: var(--gold-800); border-color: var(--rule-light); }
.section--cream .chip-es:hover,
.section--paper .chip-es:hover,
.thanks .chip-es:hover,
.form-card .chip-es:hover { background: rgba(122, 90, 18, .08); border-color: var(--gold-800); }

/* ---------- 4. Section scaffolding ---------- */
.section { position: relative; padding-block: var(--section-y); }

.section--dark {
  background:
    radial-gradient(ellipse at 50% 40%, transparent 35%, rgba(5, 9, 2, .55) 100%),
    var(--green-800);
  color: var(--on-dark);
}
.section--deep { background: var(--green-900); color: var(--on-dark); }
.section--cream { background: var(--cream-100); color: var(--ink); }
.section--paper { background: var(--cream-50); color: var(--ink); }

/* Granite speckle in the corners, like the business card */
.granite { isolation: isolate; overflow: hidden; }
.granite::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--granite);
  background-size: 240px;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 50%, transparent 58%, #000 100%);
  mask-image: radial-gradient(ellipse 75% 85% at 50% 50%, transparent 58%, #000 100%);
  opacity: .9;
  pointer-events: none;
}

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: var(--fs-500); color: var(--ink-soft); }
.section--dark .section-head p,
.section--deep .section-head p { color: var(--on-dark-soft); }
.section--dark h2, .section--deep h2 { color: var(--cream-100); }
.section--cream h2, .section--paper h2 { color: var(--green-700); }

/* Eyebrow with the card's gold leaf sprig */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .9rem;
  font-family: var(--font-ui);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.eyebrow .icon { width: 28px; height: 16px; }
.section--cream .eyebrow, .section--paper .eyebrow { color: var(--gold-800); }

/* Thin gold rule */
.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--gold-500) 20%, var(--gold-500) 80%, transparent);
  opacity: .6;
}

/* CTA row that closes each section */
.section-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .75rem 1.25rem;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  text-align: center;
}
.section-cta--start { justify-content: flex-start; }
.section-cta__note { flex-basis: 100%; margin: 0; font-size: .95rem; color: var(--ink-soft); }
.section--dark .section-cta--start { justify-content: flex-start; }
.section-cta__note { color: var(--on-dark-soft); }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 34, 7, .97);
  color: var(--cream-100);
  border-bottom: 1px solid var(--rule-dark);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .6); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: var(--header-h);
  transition: min-height .25s var(--ease);
}
.site-header.is-scrolled .site-header__inner { min-height: 60px; }

.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-right: auto;
  text-decoration: none;
  min-width: 0;
}
.brand__logo {
  width: 52px;
  height: 52px;
  transition: width .25s var(--ease), height .25s var(--ease);
}
.site-header.is-scrolled .brand__logo { width: 44px; height: 44px; }
.brand__word {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .06em;
  color: var(--gold-500);
  white-space: nowrap;
}
.brand__tag {
  font-family: var(--font-ui);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  white-space: nowrap;
}

.nav-toggle,
.header-call--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  border: 1px solid var(--rule-dark);
  background: transparent;
  color: var(--gold-500);
  cursor: pointer;
}
.header-call--icon { background: var(--gold-metal); color: var(--green-950); border: 0; }
.nav-toggle .icon, .header-call--icon .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.header-call { display: none; }

/* Mobile nav panel */
.site-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  background: var(--green-900);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
}
.site-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .2s, transform .2s var(--ease), visibility 0s;
}
.site-header.is-scrolled .site-nav { inset-block-start: 60px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li + li { border-top: 1px solid rgba(238, 192, 92, .15); }
.site-nav ul a {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--cream-100);
}
.site-nav ul a:hover, .site-nav ul a[aria-current="page"], .site-nav ul a.is-active { color: var(--gold-500); }
.site-nav__ctas { display: grid; gap: .75rem; }
.site-nav__ctas .chip-es { justify-self: start; }
.site-nav__ctas .btn { min-height: 52px; }

body.nav-open { overflow: hidden; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(82svh, 760px);
  display: flex;
  align-items: flex-end;
  color: var(--cream-100);
  background: var(--green-900);
  overflow: hidden;
}

.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease, visibility 0s 1.1s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease, visibility 0s; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: no-preference) {
  .hero__slide.is-active img { animation: hero-drift 12s ease-out both; }
}
@keyframes hero-drift { from { transform: scale(1.06); } to { transform: scale(1); } }

/* Vignette + legibility overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 9, 2, .55) 0%, rgba(5, 9, 2, .15) 30%, rgba(5, 9, 2, .7) 72%, rgba(5, 9, 2, .9) 100%),
    radial-gradient(ellipse at 50% 45%, transparent 40%, rgba(5, 9, 2, .55) 100%);
}

.hero__arc {
  position: absolute;
  right: -40px;
  bottom: -40px;
  z-index: -1;
  width: min(60vw, 520px);
  height: auto;
  color: var(--gold-500);
  opacity: .55;
  pointer-events: none;
}

.hero__content { padding-block: 3.5rem 5.5rem; }
@media (max-width: 479px) { .hero .chip-es__num { display: none; } }
.hero__eyebrow { color: var(--gold-300); }
.hero h1 { max-width: 15ch; margin-bottom: .4em; color: var(--cream-100); text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.hero h1 .accent { color: var(--gold-500); }
.hero__sub { max-width: 36rem; font-size: var(--fs-500); color: var(--cream-100); text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }

.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero__ctas .btn { flex: 1 1 auto; padding-inline: 1rem; }
.hero__sub-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; margin-top: 1rem; }
.hero__sub-ctas .text-link { color: var(--gold-300); }

.hero__controls {
  position: absolute;
  right: var(--gutter);
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(238, 192, 92, .5);
  border-radius: 50%;
  background: rgba(5, 9, 2, .45);
  color: var(--gold-300);
  cursor: pointer;
  transition: background-color .2s;
}
.hero__btn:hover { background: rgba(5, 9, 2, .75); }
.hero__btn .icon { width: 20px; height: 20px; }
.hero__btn .icon-play { display: none; }
.hero__btn[aria-pressed="true"] .icon-pause { display: none; }
.hero__btn[aria-pressed="true"] .icon-play { display: block; }

.hero__dots { display: flex; gap: 0; margin-inline: .15rem; }
.hero__dot {
  width: 28px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.hero__dot::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: auto;
  border: 1.5px solid var(--gold-300);
  border-radius: 50%;
  transition: background-color .2s, transform .2s;
}
.hero__dot[aria-current="true"]::before { background: var(--gold-500); border-color: var(--gold-500); transform: scale(1.2); }

.stock-note {
  position: absolute;
  right: var(--gutter);
  top: 1rem;
  margin: 0;
  font-family: var(--font-ui);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  opacity: .85;
}

/* ---------- 7. Trust strip ---------- */
.trust {
  background: var(--green-700);
  color: var(--cream-100);
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}
.trust__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem .75rem;
  margin: 0;
  padding: 1.5rem 0;
  list-style: none;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-ui);
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.3;
}
.trust__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.trust__item .placeholder { font-size: .85em; }

/* Circular gold icon badge (card motif) */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-metal);
  color: var(--green-800);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 2px 6px rgba(0, 0, 0, .25);
}
.badge .icon { width: 22px; height: 22px; }
.badge--lg { width: 60px; height: 60px; }
.badge--lg .icon { width: 28px; height: 28px; }

/* ---------- 8. Services ---------- */
.services__intro-actions { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1rem; }

.tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }

.tile { margin: 0; }
.tile__link {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--green-700);
  color: var(--cream-100);
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(5, 9, 2, .12);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tile__link picture { position: absolute; inset: 0; }
.tile__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile__link::before {          /* legibility gradient */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(5, 9, 2, .55) 65%, rgba(5, 9, 2, .92) 100%);
}
.tile__link::after {           /* gold bar that draws in on hover */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  height: 4px;
  background: var(--gold-metal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.tile__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: .9rem .9rem 1rem; }
.tile__tag {
  display: block;
  font-family: var(--font-ui);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.tile__title {
  margin: .2rem 0 .35rem;
  font-family: var(--font-display);
  font-size: clamp(.875rem, .8rem + .45vw, 1.15rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cream-100);
}
.tile__cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--font-ui);
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold-500);
}
.tile__cta .icon { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.tile__link:hover, .tile__link:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile__link:hover img, .tile__link:focus-visible img { transform: scale(1.07); }
.tile__link:hover::after, .tile__link:focus-visible::after { transform: scaleX(1); }
.tile__link:hover .tile__cta .icon, .tile__link:focus-visible .tile__cta .icon { transform: translateX(4px); }
.hero__slide picture { height: 100%; }

/* ---------- 9. Styled placeholder blocks (before/after, team) ---------- */
.ph-block {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 1rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(5, 9, 2, .55) 100%),
    linear-gradient(150deg, var(--green-700), var(--green-900));
  color: var(--cream-100);
  text-align: center;
}
.ph-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--granite);
  background-size: 240px;
  opacity: .35;
  pointer-events: none;
}
.ph-block > * { position: relative; }
.ph-block::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(238, 192, 92, .45);
  border-radius: 4px;
  pointer-events: none;
}
.ph-block--gold {
  background:
    radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(60, 40, 5, .45) 100%),
    linear-gradient(150deg, #8F6E25, #4E3A0E);
}
.ph-block__label {
  max-width: 22ch;
  font-family: var(--font-ui);
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .02em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}
.ph-block__label .icon { margin: 0 auto .5rem; width: 28px; height: 28px; color: var(--gold-300); }

/* ---------- 10. Before / After — the signature interaction ---------- */
.work__layout { display: grid; gap: 1.5rem; }

.ba { margin: 0; }
.ba__frame {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule-dark);
  background: var(--green-900);
  box-shadow: var(--shadow);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}
.ba--featured .ba__frame { aspect-ratio: 16 / 10; }
.ba__layer { position: absolute; inset: 0; }
.ba__layer img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__layer--after { clip-path: inset(0 0 0 var(--pos)); }
.ba__layer--before .ph-block { justify-items: start; padding-left: 9%; }
.ba__layer--after .ph-block { justify-items: end; padding-right: 9%; }
.ba__layer .ph-block__label { max-width: 34%; }
.ba:not(.ba--featured) .ph-block__label { font-size: .8rem; }

.ba__tag {
  position: absolute;
  top: .75rem;
  z-index: 2;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba__tag--before { left: .75rem; background: rgba(5, 9, 2, .78); color: var(--cream-100); border: 1px solid rgba(248, 238, 215, .35); }
.ba__tag--after { right: .75rem; background: var(--gold-metal); color: var(--green-950); }

.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 3;
  width: 48px;
  margin-left: -24px;
  display: flex;
  justify-content: center;
  cursor: ew-resize;
  outline: none;
}
.ba__handle::before {
  content: "";
  width: 3px;
  height: 100%;
  background: var(--gold-metal);
  box-shadow: 0 0 10px rgba(0, 0, 0, .45);
}
.ba__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: var(--gold-metal);
  color: var(--green-900);
  border: 2px solid var(--green-900);
  box-shadow: 0 0 0 2px var(--gold-500), 0 6px 16px rgba(0, 0, 0, .45);
  transition: transform .2s var(--ease);
}
.ba__knob .icon { width: 18px; height: 18px; margin: 0 -3px; }
.ba__frame:hover .ba__knob,
.ba__frame.is-dragging .ba__knob { transform: scale(1.08); }
.ba__handle:focus-visible .ba__knob { box-shadow: 0 0 0 2px var(--gold-500), 0 0 0 6px var(--cream-100), 0 6px 16px rgba(0, 0, 0, .45); }

.ba__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem 1rem;
  margin-top: .75rem;
  font-size: .975rem;
  color: var(--on-dark-soft);
}
.ba__caption strong { font-family: var(--font-display); font-weight: 600; color: var(--cream-100); letter-spacing: .02em; }

/* Small comparisons: swipeable carousel on mobile, grid on desktop */
.ba-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  padding-bottom: .5rem;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.ba-rail::-webkit-scrollbar { display: none; }
.ba-rail > .ba { scroll-snap-align: start; }

.ba-rail__nav { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: .75rem; }
.ba-rail__count { min-width: 4.5ch; text-align: center; font-family: var(--font-ui); font-size: .9rem; color: var(--on-dark-soft); }
.ba-hint { margin: 0 0 1.25rem; font-family: var(--font-ui); font-size: .9rem; color: var(--gold-300); display: flex; align-items: center; gap: .5rem; }

/* ---------- 15. Quote form ---------- */
.quote { display: grid; gap: 2rem; align-items: start; }
.quote__pitch p { color: var(--ink-soft); font-size: var(--fs-500); }

.quick-steps { display: grid; gap: .9rem; margin: 1.5rem 0 0; padding: 0; list-style: none; position: relative; }
.quick-steps::before {          /* connecting line, draws down when revealed */
  content: "";
  position: absolute;
  left: 19px; top: 20px; bottom: 20px;
  width: 2px;
  background: linear-gradient(var(--gold-500), var(--gold-700));
  transform-origin: top;
}
.quick-steps li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: .9rem; align-items: center; color: var(--ink); font-size: 1rem; line-height: 1.45; }
.quick-steps strong { font-family: var(--font-display); font-weight: 700; color: var(--green-700); }
.quick-steps__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--gold-500);
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 0 0 3px var(--cream-50), 0 0 0 4px var(--gold-700);
}
.quote__alt { display: grid; gap: .75rem; margin-top: 1.5rem; }
.quote__alt .btn { justify-content: flex-start; }

.form-card {
  padding: clamp(1.25rem, 1rem + 2vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  border-top: 4px solid var(--gold-500);
  box-shadow: 0 24px 60px -28px rgba(5, 9, 2, .45);
}
.form-card h3 { color: var(--green-700); font-size: var(--fs-600); margin-bottom: .25rem; }
.form-card__lead { color: var(--ink-soft); margin-bottom: 1.25rem; font-size: .975rem; }

.form-grid { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label,
.field legend {
  font-family: var(--font-ui);
  font-size: .9rem;
  font-weight: 600;
  color: var(--green-800);
}
.field .req { color: #8A2A12; }
.field .opt { font-weight: 500; color: var(--ink-soft); }
.field input:not([type="radio"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: .7rem .85rem;
  border: 1.5px solid #9DA595;
  border-radius: var(--radius);
  background: #fff;
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23153D1F' d='M7 9.5 12 14.5 17 9.5z'/%3E%3C/svg%3E") no-repeat right .6rem center / 1.4rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(238, 192, 92, .7);
}
.field [aria-invalid="true"] { border-color: #A33A1E; background-color: #FFF8F5; }
.field__error {
  min-height: 0;
  margin: 0;
  font-family: var(--font-ui);
  font-size: .85rem;
  font-weight: 500;
  color: #A33A1E;
}
.field__error:empty { display: none; }

fieldset.field { margin: 0; padding: 0; border: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.radio {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .4rem .9rem;
  border: 1.5px solid #9DA595;
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-ui);
  font-size: .95rem;
  cursor: pointer;
}
.radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--green-700); }
.radio:has(input:checked) { border-color: var(--green-700); background: rgba(21, 61, 31, .07); }
.radio:has(input:focus-visible) { outline: 3px solid var(--gold-800); outline-offset: 2px; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  margin: 0;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: .925rem;
}
.form-status:empty { display: none; }
.form-status.is-error { background: #FBE9E3; color: #7E2A13; border: 1px solid #E3B2A3; }
.form-status.is-info { background: #F3EBD4; color: var(--ink); border: 1px solid var(--rule-light); }

.form-submit { margin-top: .25rem; }
.form-submit[disabled] { opacity: .7; cursor: progress; transform: none; }
.form-note { margin-top: 1rem; font-size: .925rem; color: var(--ink-soft); text-align: center; }
.form-note a { font-weight: 600; color: var(--green-700); white-space: nowrap; }

/* ---------- 16. CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-inline: auto; max-width: 22ch; }
.cta-band p { margin-inline: auto; max-width: 40rem; font-size: var(--fs-500); color: var(--on-dark-soft); }
.cta-band .section-cta { margin-top: 1.75rem; }

/* ---------- 17. Footer ---------- */
.site-footer {
  position: relative;
  background: var(--green-950);
  color: var(--on-dark-soft);
  padding-block: 3.5rem calc(2rem + var(--sticky-bar-h) + env(safe-area-inset-bottom));
  font-size: .975rem;
}
.site-footer::before { opacity: .6; }
.footer__arc { position: absolute; right: -80px; top: -60px; width: 380px; transform: scaleX(-1); color: var(--gold-500); opacity: .35; pointer-events: none; z-index: -1; }
.footer-grid { display: grid; gap: 2.25rem; }
.footer-brand img { width: 96px; height: 96px; margin-bottom: 1rem; }
.footer-brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--gold-500); margin-bottom: .35rem; letter-spacing: .04em; }
.site-footer h2 {
  margin-bottom: 1rem;
  font-family: var(--font-ui);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.footer-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.footer-list a {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 40px;
  text-decoration: none;
  color: var(--cream-100);
}
.footer-list a:hover { color: var(--gold-500); text-decoration: underline; }
.footer-list .icon { color: var(--gold-500); width: 1.1em; height: 1.1em; }
.footer-list .lang { color: var(--on-dark-soft); font-size: .9em; }
.footer-text { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .75rem; }
.footer-text .icon { color: var(--gold-500); margin-top: .25em; width: 1.1em; height: 1.1em; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(238, 192, 92, .2);
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }

/* ---------- 18. Mobile sticky bar ---------- */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--green-950);
  border-top: 1px solid var(--gold-700);
  box-shadow: 0 -8px 24px -10px rgba(0, 0, 0, .55);
  transition: transform .3s var(--ease);
}
.sticky-bar.is-hidden { transform: translateY(110%); }
.sticky-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  min-height: var(--sticky-bar-h);
  font-family: var(--font-ui);
  font-size: .8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--cream-100);
  background: var(--green-800);
}
.sticky-bar a .icon { width: 22px; height: 22px; color: var(--gold-500); }
.sticky-bar a.sticky-bar__quote { background: var(--gold-metal); color: var(--green-950); }
.sticky-bar a.sticky-bar__quote .icon { color: var(--green-900); }

/* ---------- 19. About / thank-you / 404 ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 6rem);
  text-align: center;
}
.page-hero h1 { color: var(--cream-100); }
.page-hero h1 .accent { color: var(--gold-500); }
.page-hero p { max-width: 40rem; margin-inline: auto; font-size: var(--fs-500); color: var(--on-dark-soft); }

.team { display: grid; gap: 2rem; align-items: center; }
.team__photo { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.owners { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.owner {
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--gold-700);
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.owner__name { margin: 0 0 .2rem; font-size: 1.15rem; color: var(--green-800); }
.owner__role { margin: 0; color: var(--ink-soft); }

.story { max-width: 44rem; margin-inline: auto; font-size: var(--fs-500); }
.story p { margin-bottom: 1.25em; }

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

.thanks {
  max-width: 40rem;
  margin-inline: auto;
  padding: clamp(1.75rem, 1.25rem + 3vw, 3rem);
  border-radius: var(--radius-lg);
  background: var(--cream-50);
  color: var(--ink);
  text-align: center;
  border-top: 4px solid var(--gold-500);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
}
.thanks .badge { margin: 0 auto 1.25rem; }
.thanks h1 { font-size: var(--fs-700); color: var(--green-700); }
.thanks p { font-size: var(--fs-500); color: var(--ink-soft); }
.thanks .section-cta { margin-top: 1.5rem; }

/* ---------- 20. Breakpoints ---------- */
@media (min-width: 480px) {
  .hero__ctas .btn { flex: 0 1 auto; padding-inline: 1.35rem; }
  .hero__content { padding-block: 6rem 5.5rem; }
  .trust__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust__item:last-child:nth-child(odd) { grid-column: auto; }
}

@media (min-width: 640px) {
  :root { --gutter: 1.75rem; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid .field--full { grid-column: 1 / -1; }
  .quote__alt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ba-rail { grid-auto-columns: 60%; }
  .tile-grid { gap: 1rem; }
  .tile__link { aspect-ratio: 4 / 3; }
}

@media (min-width: 769px) {
  .site-footer { padding-bottom: 2rem; }
  .sticky-bar { display: none; }
  .ba-hint--touch { display: none; }
}

@media (min-width: 900px) {
  .ba-rail { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .ba-rail__nav { display: none; }
  .trust__list { grid-template-columns: repeat(5, auto); justify-content: space-between; }
  .quote { grid-template-columns: .9fr 1.1fr; gap: 3.5rem; }
  .quote__alt { grid-template-columns: 1fr; max-width: 22rem; }
  .tile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
  .tile__link { aspect-ratio: 4 / 5; }
  .footer-grid { grid-template-columns: 1.4fr 1.3fr .8fr; }
  .team { grid-template-columns: 1.1fr .9fr; gap: 3rem; }
}

@media (min-width: 1080px) {
  :root { --header-h: 84px; }
  .nav-toggle, .header-call--icon { display: none; }
  .site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    background: none;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .site-nav ul { display: flex; gap: 1.35rem; }
  .site-nav li + li { border: 0; }
  .site-nav ul a {
    min-height: 44px;
    font-family: var(--font-ui);
    font-size: .9375rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--cream-100);
    position: relative;
  }
  .site-nav ul a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 8px;
    height: 2px;
    background: var(--gold-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .site-nav ul a:hover::after,
  .site-nav ul a[aria-current="page"]::after,
  .site-nav ul a.is-active::after { transform: scaleX(1); }
  /* Section currently on screen (scroll-spy in main.js) */
  .site-nav ul a.is-active { color: var(--gold-500); }
  /* About Us: gold outlined tab, a sibling to the solid gold Call button */
  .site-nav ul a.site-nav__about {
    min-height: 40px;
    margin-left: .25rem;
    padding: .4rem 1rem;
    border: 2px solid var(--gold-500);
    border-radius: var(--radius);
    color: var(--gold-500);
    font-weight: 600;
    transition: background-color .2s, color .2s;
  }
  .site-nav ul a.site-nav__about:hover { background: rgba(238, 192, 92, .14); }
  .site-nav ul a.site-nav__about::after { bottom: -10px; }
  .site-nav ul a.site-nav__about[aria-current="page"] { background: rgba(238, 192, 92, .14); }
  .site-nav__ctas { display: none; }
  .header-call {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    margin-left: .5rem;
  }
  .header-call .btn { min-height: 44px; padding: .55rem 1rem; font-size: .95rem; white-space: nowrap; }
  .header-call .chip-es { min-height: 24px; padding: .05rem .6rem; font-size: .75rem; }
  .brand__logo { width: 60px; height: 60px; }
  .brand__name { font-size: 1.3rem; }
  .brand__tag { font-size: .7rem; }
  .hero__content { padding-block: 8rem 7rem; }
  .stock-note { top: auto; right: auto; left: var(--gutter); bottom: 1.6rem; }
  .ba-hint--touch { display: none; }
  .work__layout { grid-template-columns: 1fr; }
}

@media (min-width: 1280px) {
  .site-nav ul { gap: 1.75rem; }
}

/* ---------- 21. Motion ----------
   Everything here is opt-in: hidden "before" states only apply when JS is running
   (html.js) AND the visitor hasn't asked for reduced motion. */

/* Gold sheen across gold buttons on hover; the hero CTA also glints on its own every few seconds */
.btn--gold { position: relative; overflow: hidden; isolation: isolate; }
.btn--gold::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 45%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg) translateX(0);
  pointer-events: none;
}

/* Gold rule under section headings (draws in when revealed) */
.section-head h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: .55em;
  border-radius: 2px;
  background: var(--gold-metal);
  transform-origin: left;
}
.section-head--center h2::after { margin-inline: auto; transform-origin: center; }

@media (prefers-reduced-motion: no-preference) {
  .btn--gold:hover::after { animation: sheen .8s var(--ease); }
  .btn--glint::after { animation: sheen 1s var(--ease) 2.2s, glint 7s var(--ease) 3.2s infinite; }
  @keyframes sheen { from { left: -60%; } to { left: 120%; } }
  @keyframes glint { 0%, 85% { left: -60%; } 100% { left: 120%; } }

  /* Hero: headline words rise in, then the supporting lines follow */
  .js .hero .rise {
    display: inline-block;
    animation: rise .9s var(--ease) both;
  }
  .js .hero .rise:nth-child(1) { animation-delay: .10s; }
  .js .hero .rise:nth-child(2) { animation-delay: .18s; }
  .js .hero .rise:nth-child(3) { animation-delay: .26s; }
  .js .hero .rise:nth-child(4) { animation-delay: .42s; }
  .js .hero .rise:nth-child(5) { animation-delay: .50s; }
  .js .hero .rise:nth-child(6) { animation-delay: .58s; }
  .js .hero__eyebrow { animation: fade-up .8s var(--ease) both; }
  .js .hero__sub { animation: fade-up .8s var(--ease) .75s both; }
  .js .hero__ctas { animation: fade-up .8s var(--ease) .9s both; }
  .js .hero__sub-ctas { animation: fade-up .8s var(--ease) 1.05s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(.55em) rotate(2deg); } to { opacity: 1; transform: none; } }
  @keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

  /* Scroll reveal: fade + rise; groups stagger via --i (set in main.js) */
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .js [data-reveal].is-revealed { opacity: 1; transform: none; }
  .js .tile[data-reveal] { transform: translateY(36px) scale(.97); }
  .js .tile[data-reveal].is-revealed { transform: none; }

  .js .section-head h2::after { transform: scaleX(0); transition: transform .9s var(--ease) .35s; }
  .js .section-head.is-revealed h2::after { transform: scaleX(1); }

  /* Trust strip badges pop in one after another */
  .js .trust__item .badge { transform: scale(.4); opacity: 0; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), opacity .3s; transition-delay: calc(var(--i, 0) * 110ms + .15s); }
  .js .trust__item.is-revealed .badge { transform: none; opacity: 1; }

  /* Quote steps light up in sequence */
  .js .quick-steps::before { transform: scaleY(0); transition: transform 1.1s var(--ease) .2s; }
  .js .quick-steps.is-revealed::before { transform: scaleY(1); }
  .js .quick-steps li { opacity: .35; transition: opacity .5s var(--ease); }
  .js .quick-steps__num { transform: scale(.6); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), background-color .4s, color .4s; }
  .js .quick-steps.is-revealed li { opacity: 1; }
  .js .quick-steps.is-revealed .quick-steps__num { transform: none; background: var(--gold-metal); color: var(--green-900); }
  .js .quick-steps li:nth-child(1), .js .quick-steps li:nth-child(1) .quick-steps__num { transition-delay: .25s; }
  .js .quick-steps li:nth-child(2), .js .quick-steps li:nth-child(2) .quick-steps__num { transition-delay: .65s; }
  .js .quick-steps li:nth-child(3), .js .quick-steps li:nth-child(3) .quick-steps__num { transition-delay: 1.05s; }

  /* Mobile sticky bar slides up once the visitor starts scrolling */
  .js .sticky-bar:not(.is-ready) { transform: translateY(110%); }
}

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