/* ==========================================================================
   Radiant Engineering — Architectural Hardware
   Stylesheet

   1.  Design tokens
   2.  Base / reset
   3.  Utilities & shared components (container, eyebrow, buttons, headings)
   4.  Header & navigation
   5.  Hero
   6.  Product showcase
   7.  About
   8.  Mission & Vision
   9.  Stats
   10. Contact & form
   11. Footer
   12. Scroll reveal
   13. Responsive
   14. Reduced motion
   ========================================================================== */

/* 1. DESIGN TOKENS
   Change brand colours here — every component reads from these variables. */
:root {
  /* Brand */
  --burgundy: #8C1F2C;
  --burgundy-700: #6B1621;
  --burgundy-tint: rgba(140, 31, 44, 0.06);
  --orange: #EC741C;
  --orange-light: #FFB27A;        /* orange for small text on burgundy/dark (AA contrast) */

  /* Neutrals */
  --ink: #1B1718;                  /* headings */
  --body: #474142;                 /* body copy */
  --muted: #6B6466;                /* secondary copy (AA on white & stone) */
  --line: #E7E2DC;
  --line-strong: #D3CCC4;
  --white: #FFFFFF;
  --stone: #F6F3EF;                /* warm off-white section background */
  --stone-2: #EEEAE4;
  --photo: #D9D6CF;                /* matches the linen backdrop of product photos */
  --dark: #151112;                 /* footer / stats */
  --dark-2: #1E1819;

  /* Feedback */
  --error: #B42318;
  --error-bg: #FEF3F2;

  /* Typography */
  --font-display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 84px;
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Elevation */
  --shadow-md: 0 18px 40px -24px rgba(27, 23, 24, .35);
  --shadow-lg: 0 40px 80px -40px rgba(27, 23, 24, .45);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--burgundy); }
button { font: inherit; }
address { font-style: normal; }
[hidden] { display: none !important; }

/* All inline icons are line icons */
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
}

.sr-only {
  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: fixed;
  top: 12px; left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: none; }

/* 3. SHARED COMPONENTS */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 9vw, 128px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--burgundy);
}
.eyebrow::before {
  content: "";
  flex: 0 0 32px;
  height: 2px;
  background: var(--orange);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  flex: 0 0 32px;
  height: 2px;
  background: var(--orange);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--ink);
  text-wrap: balance;
}

.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 64px;
}
.section-head--split > div { max-width: 720px; }
.section-head--center { text-align: center; }

.section-lead {
  max-width: 420px;
  margin: 0;
  padding-left: 20px;
  border-left: 1px solid var(--line-strong);
  font-size: 1.0625rem;
  color: var(--muted);
}

/* Buttons */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 54px; padding: 0 30px; }
.btn__icon { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(4px); }

.btn--primary { background: var(--burgundy); color: var(--white); }
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--burgundy-700);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.btn--primary::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out) .05s;
}
.btn--primary:hover { box-shadow: 0 14px 28px -14px rgba(140, 31, 44, .7); }
.btn--primary:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--primary:hover::after { transform: scaleX(1); }

.btn--outline { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--burgundy); color: var(--burgundy); }

.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--orange); color: var(--ink); }

.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .28); }
.btn--ghost-light:hover { border-color: var(--orange); color: var(--orange-light); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 700;
  color: var(--burgundy);
  text-decoration: none;
}
.text-link svg { width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
.text-link:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.text-link:hover svg { transform: translateX(4px); }

/* 4. HEADER & NAVIGATION */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -20px rgba(27, 23, 24, .35);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; margin-right: auto; flex-shrink: 0; }
.brand__logo { width: auto; height: 56px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: color .25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.nav__link:hover, .nav__link.is-active { color: var(--burgundy); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform .35s var(--ease-out), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) 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(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 90;
  background: rgba(21, 17, 18, .45);
  animation: fadeIn .3s var(--ease) both;
}

/* 5. HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(32px, 4.5vw, 64px));
  padding-bottom: clamp(56px, 6vw, 88px);
  background: linear-gradient(180deg, var(--white) 0%, var(--stone) 100%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(27, 23, 24, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 23, 24, .055) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 45%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 72% 45%, #000 15%, transparent 75%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
}
.hero__content > * { animation: riseIn .9s var(--ease-out) both; }
.hero__content > *:nth-child(2) { animation-delay: .08s; }
.hero__content > *:nth-child(3) { animation-delay: .16s; }
.hero__content > *:nth-child(4) { animation-delay: .24s; }
.hero__content > *:nth-child(5) { animation-delay: .32s; }

.hero__title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1rem + 3.9vw, 3.75rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.035em;
  color: var(--ink);
}
.hero__title-accent { display: block; color: var(--burgundy); }
.hero__title .dot { color: var(--orange); }

.hero__lead {
  max-width: 520px;
  margin: 0 0 32px;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  color: var(--body);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
}
.hero__points li { display: inline-flex; align-items: center; gap: 10px; }
.hero__points li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--orange);
  transform: rotate(45deg);
}

.hero__visual {
  position: relative;
  margin: 30px 0 24px 30px;
  animation: frameIn 1.1s var(--ease-out) .1s both;
}
.hero__visual::before {           /* offset architectural outline */
  content: "";
  position: absolute;
  top: -18px; right: -18px;
  width: 62%; height: 72%;
  border: 1px solid rgba(140, 31, 44, .35);
  pointer-events: none;
}
.hero__visual::after {            /* orange corner block */
  content: "";
  position: absolute;
  right: -18px; bottom: -18px;
  width: 64px; height: 64px;
  background: var(--orange);
  opacity: .9;
  z-index: 0;
}
.hero__frame {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1172 / 817;
  background: var(--photo);
  box-shadow: var(--shadow-lg);
}
.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.hero__visual:hover .hero__frame img { transform: scale(1.035); }

.hero__dims { position: absolute; color: var(--muted); opacity: .55; pointer-events: none; }
.hero__dims path { vector-effect: non-scaling-stroke; stroke-width: 1; }
.hero__dims--h { left: 0; top: -30px; width: 100%; height: 14px; }
.hero__dims--v { top: 0; left: -30px; width: 14px; height: 100%; }

.hero__badge {
  position: absolute;
  z-index: 2;
  left: -30px;
  bottom: -24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--burgundy);
  border-top: 3px solid var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.hero__badge-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}
.hero__badge-text {
  font-family: var(--font-display);
  font-size: .6875rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
}

/* 6. PRODUCT SHOWCASE */
.showcase {
  position: relative;
  background: var(--stone);
  border-top: 1px solid var(--line);
}

.showcase__layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 3vw, 48px);
}

.showcase__nav {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  min-width: 0;
}
.showcase__nav-label {
  margin: 0 0 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.cat-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 64px;
  padding: 12px 18px 12px 20px;
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: color .35s var(--ease), background-color .35s var(--ease);
}
.cat::before {                     /* burgundy fill that sweeps in when active */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--burgundy);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.cat::after {                      /* orange marker bar */
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--orange);
  transform: scaleY(0);
  transition: transform .45s var(--ease-out) .05s;
}
.cat:hover { background: var(--burgundy-tint); }
.cat:focus-visible { outline-offset: 2px; }

.cat__index {
  min-width: 22px;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--muted);
  transition: color .35s var(--ease);
}
.cat__body { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.cat__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
}
.cat__meta { font-size: .8125rem; color: var(--muted); transition: color .35s var(--ease); }
.cat__meta:empty { display: none; }
.cat__arrow {
  width: 18px; height: 18px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .35s var(--ease), transform .45s var(--ease-out);
}
.cat:hover .cat__arrow { opacity: .6; transform: none; }

.cat.is-active { color: var(--white); background: transparent; }
.cat.is-active::before { transform: scaleX(1); }
.cat.is-active::after { transform: scaleY(1); }
.cat.is-active .cat__index { color: var(--orange-light); }
.cat.is-active .cat__meta { color: rgba(255, 255, 255, .78); }
.cat.is-active .cat__arrow { opacity: 1; transform: none; color: var(--orange-light); }

.showcase__hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  font-size: .8125rem;
  color: var(--muted);
}
.showcase__hint svg { width: 18px; height: 18px; }

/* Stage (slider) */
.stage {
  min-width: 0;
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 40px 70px -50px rgba(27, 23, 24, .45);
}
.stage__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 20px;
}
.stage__heading { min-width: 0; }
.stage__heading.is-switching { animation: headIn .55s var(--ease-out) both; }
.stage__eyebrow {
  margin: 0;
  font-family: var(--font-display);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.stage__title {
  margin: 4px 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
}
.stage__desc { max-width: 480px; margin: 0; font-size: .9375rem; color: var(--muted); }

.stage__counter {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--muted);
}
.stage__counter-current {
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink);
}
.stage__counter-sep { font-size: 1.25rem; color: var(--orange); }
.stage__counter-total { font-size: 1rem; font-weight: 600; }

.stage__viewport {
  position: relative;
  overflow: hidden;
  aspect-ratio: 10 / 7;
  background: var(--photo);
  border-radius: var(--radius);
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.stage__viewport:focus-visible { outline-offset: 4px; }

.stage__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;             /* never crop or distort product photos */
  opacity: 0;
  transform: translate3d(var(--shift, 0px), 0, 0) scale(1.015);
  transition: opacity .6s var(--ease), transform .9s var(--ease-out);
  -webkit-user-drag: none;
}
.stage__img.is-active { z-index: 1; opacity: 1; transform: none; }
.stage__img.no-transition { transition: none; }

@media (hover: hover) and (pointer: fine) {
  .stage__viewport:hover .stage__img.is-active { transform: scale(1.035); }
}

.stage__loader {
  position: absolute;
  top: 0; left: 0;
  z-index: 3;
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0;
  transform: translateX(-100%);
  pointer-events: none;
}
.stage.is-loading .stage__loader { opacity: 1; animation: sweep 1.1s linear infinite; }

.stage__placeholder {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  background: repeating-linear-gradient(135deg, var(--stone) 0 14px, var(--stone-2) 14px 28px);
}
.stage__placeholder svg { width: 44px; height: 44px; stroke-width: 1.2; margin-bottom: 12px; }
.stage__placeholder-title { margin: 0 0 4px; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.stage__placeholder-text { max-width: 420px; margin: 0; font-size: .8125rem; overflow-wrap: anywhere; }

.stage__corner {
  position: absolute;
  z-index: 2;
  width: 22px; height: 22px;
  border: 0 solid var(--burgundy);
  opacity: .7;
  pointer-events: none;
}
.stage__corner--tl { top: 14px; left: 14px; border-top-width: 1.5px; border-left-width: 1.5px; }
.stage__corner--br { right: 14px; bottom: 14px; border-right-width: 1.5px; border-bottom-width: 1.5px; }

.stage__label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 6px 12px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--font-display);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  pointer-events: none;
}

.stage__controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 3vw, 32px);
  margin-top: 20px;
}

.slider-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 52px;
  min-height: 52px;
  padding: 0 22px;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .2s var(--ease);
}
.slider-btn svg { width: 20px; height: 20px; transition: transform .35s var(--ease-out); }
.slider-btn:hover { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }
.slider-btn--prev:hover svg { transform: translateX(-4px); }
.slider-btn--next:hover svg { transform: translateX(4px); }
.slider-btn:active { transform: scale(.97); }
.slider-btn:disabled { opacity: .35; cursor: not-allowed; background: var(--white); border-color: var(--ink); color: var(--ink); }

.stage__progress { position: relative; height: 2px; overflow: hidden; background: var(--line); }
.stage__progress-bar {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--burgundy), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease-out);
}

.stage__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 12px;
}
.stage__swipe-hint { margin: 0; font-size: .8125rem; color: var(--muted); visibility: hidden; }
@media (hover: none) and (pointer: coarse) {
  .stage__swipe-hint { visibility: visible; }
}

.noscript-note { margin: 24px 0 0; font-weight: 600; color: var(--burgundy); }

/* 7. ABOUT */
.about { background: var(--white); }
.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
}
.about__media { position: relative; padding: 0 12% 16% 24px; }
.about__img { margin: 0; overflow: hidden; background: var(--photo); }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.about__img:hover img { transform: scale(1.04); }
.about__img--main { aspect-ratio: 1180 / 835; }
.about__img--inset {
  position: absolute;
  right: 0; bottom: 0;
  width: 50%;
  aspect-ratio: 1148 / 814;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.about__rule {
  position: absolute;
  left: 0; top: 12%;
  width: 2px; height: 46%;
  background: linear-gradient(180deg, var(--orange), rgba(236, 116, 28, 0));
}

.about__content > p { margin: 0 0 18px; font-size: 1.0625rem; }
.about__content .section-title { margin-bottom: 24px; }

.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
  margin: 36px 0 32px;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.pillar { display: flex; gap: 14px; }
.pillar__icon { width: 28px; height: 28px; margin-top: 2px; color: var(--burgundy); stroke-width: 1.4; }
.pillar__title { margin: 0 0 4px; font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--ink); }
.pillar p { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--muted); }

.about__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.chip:hover { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }

/* 8. MISSION & VISION */
.purpose { background: var(--stone); border-top: 1px solid var(--line); }
.purpose__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }

.purpose-card {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 4.5vw, 56px);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--burgundy);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.purpose-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--burgundy), var(--orange));
  transform: scaleX(.2);
  transform-origin: left;
  transition: transform .8s var(--ease-out);
}
.purpose-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.purpose-card:hover::before { transform: scaleX(1); }

.purpose-card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 40px; }
.purpose-card__icon { width: 56px; height: 56px; stroke-width: 1.2; }
.purpose-card__num {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 2.5rem + 2.5vw, 4.5rem);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
}
.purpose-card__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}
.purpose-card__text {
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin: 0;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  line-height: 1.75;
  color: var(--body);
}
.purpose-card__lines {          /* fine architectural hatching in the corner */
  position: absolute;
  right: 0; bottom: 0;
  width: 220px; height: 220px;
  background-image: repeating-linear-gradient(135deg, currentColor 0 1px, transparent 1px 14px);
  opacity: .09;
  -webkit-mask-image: linear-gradient(135deg, transparent 45%, #000 100%);
  mask-image: linear-gradient(135deg, transparent 45%, #000 100%);
  pointer-events: none;
}

.purpose-card--vision { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }
.purpose-card--vision::before { background: linear-gradient(90deg, var(--orange), var(--orange-light)); }
.purpose-card--vision .purpose-card__icon { color: var(--orange-light); }
.purpose-card--vision .purpose-card__num { -webkit-text-stroke-color: rgba(255, 255, 255, .3); }
.purpose-card--vision .purpose-card__title { color: var(--white); }
.purpose-card--vision .purpose-card__text { color: rgba(255, 255, 255, .9); }
.purpose-card--vision :focus-visible { outline-color: var(--orange-light); }

/* 9. STATS */
.stats {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 104px);
  background: var(--dark);
  color: var(--white);
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 50%, rgba(140, 31, 44, .55), transparent 45%),
    linear-gradient(to right, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 100% 100%, 88px 100%;
  pointer-events: none;
}
.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px clamp(16px, 3vw, 40px);
  border-left: 1px solid rgba(255, 255, 255, .12);
}
.stat:first-child { padding-left: 0; border-left: 0; }
.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.2rem + 4vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--white);
}
.stat__suffix { color: var(--orange); }
.stat__label {
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}
.stat__label::before {
  content: "";
  display: block;
  width: 24px; height: 2px;
  margin-bottom: 12px;
  background: var(--orange);
}

/* 10. CONTACT & FORM */
.contact { background: var(--white); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: stretch;
  gap: clamp(20px, 3vw, 32px);
}

.contact-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--dark-2);
  color: rgba(255, 255, 255, .82);
}
.contact-card::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(140, 31, 44, .6), transparent 70%);
  pointer-events: none;
}
.contact-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 72px; height: 3px;
  background: var(--orange);
}
.contact-card > * { position: relative; }
.contact-card :focus-visible { outline-color: var(--orange); }

.contact-card__person {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.contact-card__avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--burgundy);
  box-shadow: 0 0 0 4px rgba(236, 116, 28, .28);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--white);
}
.contact-card__name { margin: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--white); }
.contact-card__role { margin: 0; font-size: .875rem; color: rgba(255, 255, 255, .62); }

.contact-list { display: flex; flex-direction: column; gap: 24px; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 16px; min-width: 0; }
.contact-list li > div { min-width: 0; }
.contact-list__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, .16);
  color: var(--orange);
}
.contact-list__icon svg { width: 20px; height: 20px; }
.contact-list__label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .56);
}
.contact-list a {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  overflow-wrap: anywhere;
  background-image: linear-gradient(var(--orange), var(--orange));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size .45s var(--ease-out);
}
.contact-list a:hover { background-size: 100% 1px; }
.contact-list address { line-height: 1.7; color: rgba(255, 255, 255, .86); }
.contact-card__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }

.form-card {
  padding: clamp(24px, 4vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.contact-form { position: relative; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-size: .875rem; font-weight: 700; color: var(--ink); }
.req { color: var(--burgundy); }

.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  font: inherit;
  font-size: 1rem;           /* 16px prevents iOS zoom on focus */
  color: var(--ink);
  background: var(--stone);
  border: 1.5px solid transparent;
  border-bottom-color: var(--line-strong);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover { border-bottom-color: var(--muted); }
.field input:focus, .field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--burgundy);
  box-shadow: 0 0 0 4px rgba(140, 31, 44, .14);
}
.field__hint { margin: 0; font-size: .8125rem; color: var(--muted); }
.field__error { display: none; margin: 0; font-size: .8125rem; font-weight: 500; color: var(--error); }
.field.is-invalid input,
.field.is-invalid textarea { border-color: var(--error); background: var(--error-bg); }
.field.is-invalid .field__error { display: block; }
.field.is-invalid .field__hint { display: none; }

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

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}
.form-note { margin: 0; font-size: .8125rem; color: var(--muted); }
.form-submit .spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.form-submit.is-loading { cursor: progress; }
.form-submit.is-loading .spinner { display: inline-block; }
.form-submit.is-loading .btn__icon { display: none; }
.form-submit:disabled { opacity: .92; }

.form-status {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 3px solid;
  font-size: .9375rem;
  line-height: 1.6;
}
.form-status:focus { outline: none; }
.form-status strong { display: block; margin-bottom: 2px; font-family: var(--font-display); }
.form-status p { margin: 0; }
.form-status a { color: inherit; font-weight: 700; }
.form-status--success { background: #ECFDF3; border-color: #12B76A; color: #05603A; }
.form-status--error { background: var(--error-bg); border-color: #D92D20; color: #912018; }
.form-status--info { background: #FFF6ED; border-color: var(--orange); color: #7A2E0E; }

/* 11. FOOTER */
.site-footer {
  position: relative;
  padding-top: clamp(64px, 8vw, 96px);
  background: var(--dark);
  color: rgba(255, 255, 255, .7);
  font-size: .9375rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--burgundy) 0%, var(--burgundy) 60%, var(--orange) 100%);
}
.site-footer :focus-visible { outline-color: var(--orange); }

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1.4fr);
  gap: 40px 48px;
  padding-bottom: 56px;
}
.footer__logo {
  display: inline-block;
  margin-bottom: 24px;
  padding: 14px 18px;
  background: var(--white);       /* light plate keeps the logo's burgundy wordmark legible */
  border-radius: var(--radius);
}
.footer__logo img { width: auto; height: 52px; }
.footer__brand p { max-width: 380px; margin: 0 0 16px; line-height: 1.7; }
.footer__brand .footer__tagline,
.footer__tagline {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
}

.footer__heading {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 14px;
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
}
.footer__heading::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 24px; height: 2px;
  background: var(--orange);
}
.footer__col ul { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.footer__col a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: rgba(255, 255, 255, .74);
  text-decoration: none;
  transition: color .25s var(--ease), transform .35s var(--ease-out);
}
.footer__col a:hover { color: var(--white); transform: translateX(4px); }

.footer__contact li { display: flex; flex-direction: column; margin-bottom: 14px; color: rgba(255, 255, 255, .86); }
.footer__contact a { min-height: 0; overflow-wrap: anywhere; color: rgba(255, 255, 255, .86); }
.footer__contact a:hover { transform: none; color: var(--orange-light); }
.footer__contact address { line-height: 1.7; }
.footer__label {
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .875rem;
}
.footer__bottom p { margin: 0; }
.footer__bottom-tag { color: rgba(255, 255, 255, .55); }
.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
}
.footer__top svg { width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
.footer__top:hover { color: var(--orange-light); }
.footer__top:hover svg { transform: translateY(-3px); }

/* 12. SCROLL REVEAL (only when JS is running, so content never stays hidden) */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes frameIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes headIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* 13. RESPONSIVE */
@media (max-width: 1180px) {
  .nav { gap: 16px; }
  .nav__link { padding: 0 10px; }
  .nav__link::after { left: 10px; right: 10px; }
  .showcase__layout { grid-template-columns: 250px minmax(0, 1fr); }
  .cat { min-height: 58px; padding: 10px 14px 10px 16px; gap: 12px; }
  .footer__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand p { max-width: 560px; }
}

/* Tablet / mobile navigation */
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand__logo { height: 46px; }
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    z-index: 95;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 12px var(--gutter) 32px;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 30px 40px -24px rgba(21, 17, 18, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .4s var(--ease-out), visibility 0s linear .4s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .3s var(--ease), transform .4s var(--ease-out), visibility 0s;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    display: flex;
    min-height: 56px;
    padding: 0 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.125rem;
  }
  .nav__link::after { left: 4px; right: auto; bottom: -1px; width: 40px; }
  .nav__cta { width: 100%; min-height: 54px; }

  /* Without JS the menu simply stays visible */
  .no-js .nav-toggle { display: none; }
  .no-js .nav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; }
  .no-js .header__inner { flex-wrap: wrap; height: auto; padding-block: 12px; }

  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__content { max-width: 640px; }
  .hero__visual { max-width: 720px; }

  .about__inner { grid-template-columns: minmax(0, 1fr); }
  .about__media { max-width: 640px; }

  .contact__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Showcase: categories become horizontal tabs */
@media (max-width: 900px) {
  .showcase__layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .showcase__nav { position: relative; top: auto; }
  .showcase__nav-label, .showcase__hint { display: none; }

  .cat-list {
    flex-direction: row;
    gap: 8px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .cat-list::-webkit-scrollbar { display: none; }

  .cat {
    flex: 0 0 auto;
    width: auto;
    min-height: 48px;
    gap: 10px;
    padding: 10px 18px;
    background: var(--white);
    border: 1px solid var(--line-strong);
    scroll-snap-align: start;
  }
  .cat:hover { background: var(--white); border-color: var(--burgundy); }
  .cat.is-active { border-color: var(--burgundy); }
  .cat::after, .cat__arrow, .cat__meta { display: none; }
  .cat__index { min-width: 0; font-size: .6875rem; }
  .cat__name { font-size: .9375rem; white-space: nowrap; }
}

@media (max-width: 767px) {
  .section-lead { padding-left: 16px; }
  .purpose__grid { grid-template-columns: minmax(0, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .hero__visual { margin: 26px 12px 20px 0; }
  .hero__dims--v { display: none; }
  .hero__visual::before { right: -12px; top: -12px; }
  .hero__visual::after { right: -12px; bottom: -12px; width: 44px; height: 44px; }
  .hero__badge { left: 12px; bottom: -20px; padding: 12px 16px; }
  .hero__badge-num { font-size: 1.75rem; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { flex: 1 1 auto; padding: 0 18px; }
  .hero__points { margin-top: 28px; gap: 8px 20px; }

  .stage { padding: 14px; margin-inline: calc(var(--gutter) * -0.5); }
  .stage__desc { font-size: .875rem; }
  .stage__label { left: 10px; bottom: 10px; padding: 5px 9px; font-size: .625rem; }
  .stage__corner { width: 16px; height: 16px; }
  .stage__corner--tl { top: 10px; left: 10px; }
  .stage__corner--br { right: 10px; bottom: 10px; }
  .stage__controls { margin-top: 14px; }

  .about__media { padding: 0 8% 18% 16px; }
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 22px; }

  .form-footer { flex-direction: column-reverse; align-items: stretch; }
  .form-submit { width: 100%; }
  .contact-card__actions .btn { flex: 1 1 auto; }

  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Very small phones: icon-only slider buttons */
@media (max-width: 480px) {
  .slider-btn { padding: 0; width: 52px; }
  .slider-btn__text {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .brand__logo { height: 42px; }
  .eyebrow { letter-spacing: .14em; }
  .eyebrow::before, .eyebrow--center::after { flex-basis: 20px; }
  .stage__counter-current { font-size: 1.5rem; }
}

/* 14. REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .stage__img { transform: none !important; }
}

/* 15. reCAPTCHA
   Google allows hiding the floating badge when this notice is shown near the form. */
.grecaptcha-badge { visibility: hidden !important; }
.form-legal { margin: 18px 0 0; font-size: .75rem; line-height: 1.6; color: var(--muted); }
.form-legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.form-legal a:hover { color: var(--burgundy); }
