/* ============================================================
   Carnelyoung Transports LLC — site styles
   Brand tokens are all in :root. Change them in one place.
   ============================================================ */

:root {
  color-scheme: only light;

  --black: #0b0b0b;
  --charcoal: #171717;
  --charcoal-2: #212121;
  --red: #e10600;
  --red-dark: #a90400;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f2f2f2;
  --gray-200: #e5e5e5;
  --gray-400: #b9b9b9;
  --gray-500: #8a8a8a;
  --gray-700: #4c4c4c;

  --ink: var(--black);
  --ink-soft: #3a3a3a;

  --shell: min(1240px, 100% - 2.5rem);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7.5rem);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(11, 11, 11, .06), 0 2px 8px rgba(11, 11, 11, .05);
  --shadow-md: 0 12px 28px rgba(11, 11, 11, .10);

  --ease: cubic-bezier(.2, .7, .3, 1);

  /* Brand mark used to fill image panels until real photography is added. */
  --truck-img: url("assets/truck.webp");
}

/* Force the brand palette even if the OS/viewer is in dark mode. */
:root:not([data-theme="light"]) { --ink: var(--black); }
:root[data-theme="dark"] { --ink: var(--black); }

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--black); color: #fff; padding: .85rem 1.25rem; font-weight: 700;
}
.skip-link:focus { left: 0; }

.shell { width: var(--shell); margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.02;
  letter-spacing: -.015em;
  margin: 0;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.2rem, 1.2rem + 3.1vw, 3.6rem); }
h2 { font-size: clamp(1.85rem, 1.15rem + 2.6vw, 2.9rem); }
h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); letter-spacing: -.005em; }
h4 { font-size: 1rem; letter-spacing: 0; }

p { margin: 0 0 1.1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

.lede { font-size: clamp(1.06rem, 1rem + .5vw, 1.3rem); color: var(--ink-soft); line-height: 1.6; }
.muted { color: var(--gray-700); }

/* The red lane stripe used as a section marker instead of a caps label. */
.stripe {
  width: 68px; height: 6px; background: var(--red);
  display: block; margin-bottom: 1.6rem;
}
.stripe--light { background: var(--red); }

/* Placeholder chips the owner replaces before launch. */
.ph {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .92em;
  color: var(--red-dark);
  background: rgba(225, 6, 0, .07);
  border: 1px dashed rgba(225, 6, 0, .45);
  padding: .05em .45em;
  border-radius: 2px;
  white-space: nowrap;
}
.on-dark .ph, .ph--dark {
  color: #ff8a85;
  background: rgba(225, 6, 0, .14);
  border-color: rgba(255, 138, 133, .5);
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px;
  padding: .9rem 1.6rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--btn-bg);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn:active { transform: translateY(1px); }

.btn--dark { --btn-bg: var(--black); }
.btn--dark:hover { background: var(--charcoal-2); border-color: var(--charcoal-2); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--black); border-color: var(--black); }
.btn--ghost:hover { background: var(--black); border-color: var(--black); color: #fff; }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost-light:hover { background: #fff; border-color: #fff; color: var(--black); }

.btn--sm { min-height: 44px; padding: .65rem 1.15rem; font-size: .85rem; }
.btn--block { width: 100%; }

.textlink {
  display: inline-block;
  font-weight: 700; font-size: .92rem; letter-spacing: .02em; text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--red);
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.textlink:hover { color: var(--red); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 6px 18px rgba(11,11,11,.09); border-color: transparent; }

.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 84px; }
@media (max-width: 800px) { .header-inner { height: 70px; } }

.brand { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand img { width: auto; height: 54px; }
@media (max-width: 800px) { .brand img { height: 42px; } }

.nav { margin-left: auto; display: flex; align-items: center; gap: 2rem; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .4rem 0; position: relative; color: var(--ink);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .2s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { font-weight: 700; }

.header-cta { margin-left: .5rem; }

.nav-toggle {
  margin-left: auto; display: none;
  width: 48px; height: 48px; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--gray-200); border-radius: 2px; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--black); transition: transform .2s var(--ease), opacity .15s var(--ease);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 70px 0 auto 0;
    margin: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--gray-200);
    padding: .5rem var(--gutter) 1.75rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .22s var(--ease), opacity .22s var(--ease);
    max-height: calc(100dvh - 70px); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 1rem 0; border-bottom: 1px solid var(--gray-200); font-size: 1.05rem; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--red); }
  .header-cta { margin: 1.25rem 0 0; }
}

/* ---------- sections ---------- */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section--gray { background: var(--gray-100); }
.section--dark { background: var(--black); color: #fff; }
.section--dark p { color: rgba(255,255,255,.76); }
.section--dark .muted { color: rgba(255,255,255,.62); }

.on-dark { color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; background: #fff; overflow: hidden; }
.hero-inner {
  padding-block: clamp(2.25rem, 4.5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.hero-logo { width: clamp(170px, 20vw, 250px); height: auto; margin-bottom: clamp(1.25rem, 2.5vw, 1.9rem); }
.hero h1 { max-width: 17ch; }
.hero-copy { margin-top: 1.4rem; max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

.hero-road {
  position: relative;
  background: var(--black);
  padding: clamp(2rem, 3.5vw, 3rem) clamp(1rem, 2vw, 1.75rem) clamp(2.5rem, 4vw, 3.25rem);
  overflow: hidden;
  display: flex; align-items: center;
  margin-right: calc(50% - 50vw);
  padding-right: max(clamp(1rem, 2vw, 1.75rem), calc(50vw - 50%));
}
.hero-road::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--red);
}
.hero-truck { width: 100%; filter: drop-shadow(0 22px 30px rgba(0,0,0,.55)); }
.lane {
  position: absolute; left: 0; right: 0; bottom: clamp(16px, 2.4vw, 30px); height: 5px;
  background: repeating-linear-gradient(to right, rgba(255,255,255,.5) 0 42px, transparent 42px 84px);
}

/* Real photograph variant: fills the panel edge-to-edge instead of sitting
   on padding, with a slight darken so the red top rule stays legible. */
.hero-road--photo { padding: 0; }
.hero-road--photo::before { z-index: 2; }
.hero-truck--photo {
  width: 100%; height: 100%; object-fit: cover; filter: none;
  min-height: clamp(280px, 34vw, 460px);
}
.hero-road--photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,11,.08), rgba(11,11,11,.3));
  pointer-events: none;
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 0; gap: clamp(2rem, 5vw, 2.5rem); }
  .hero-road {
    width: 100vw; margin-left: calc(50% - 50vw);
    padding-inline: var(--gutter);
    justify-content: center;
  }
  .hero-road--photo { padding-inline: 0; }
  .hero-truck { max-width: 620px; }
  .hero-truck--photo { max-width: none; }
}

/* ---------- key facts strip ---------- */
.facts {
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,.08);
  color: #fff;
}
.facts-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,.1);
}
.fact { background: var(--charcoal); padding: 1.6rem clamp(1rem, 2vw, 2rem); }
.fact dt { font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--gray-400); margin-bottom: .45rem; font-weight: 600; }
.fact dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
@media (max-width: 760px) { .facts-grid { grid-template-columns: 1fr; } }

/* ---------- generic layout helpers ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5.5rem); align-items: start;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2.25rem; } }

.section-head { max-width: 60ch; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head p { margin-top: 1rem; }

/* ---------- service cards ---------- */
.cards {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--black);
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column;
  transition: border-top-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card:hover { border-top-color: var(--red); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card h3 { margin-bottom: .75rem; }
.card p { font-size: .97rem; color: var(--ink-soft); }
.card .textlink { margin-top: auto; padding-top: 1.25rem; align-self: flex-start; }
.card-icon { color: var(--red); margin-bottom: 1.25rem; }
.card-icon svg { width: 34px; height: 34px; }

/* ---------- value list (dark) ---------- */
.values { display: grid; gap: 1px; background: rgba(255,255,255,.12); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.value { background: var(--black); padding: 2.25rem 1.75rem 2.5rem; }
.value h3 { color: #fff; margin-bottom: .7rem; }
.value p { font-size: .97rem; margin: 0; }
.value .rule { display: block; width: 40px; height: 4px; background: var(--red); margin-bottom: 1.5rem; }

/* ---------- photo frames -----------------------------------
   Drop a real photo in by setting --img on the element, e.g.
   <div class="photo" style="--img:url('assets/highway.jpg')">
   Without --img it renders as a designed brand panel.
   ----------------------------------------------------------- */
.photo {
  position: relative;
  background-color: var(--charcoal);
  background-image: var(--img, none);
  background-size: cover;
  background-position: center;
  min-height: clamp(260px, 42vw, 460px);
  overflow: hidden;
}
.photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, rgba(11,11,11,.25), rgba(11,11,11,.72));
  pointer-events: none;
}
.photo--mark::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background-image: var(--truck-img);
  background-repeat: no-repeat;
  background-position: 115% 78%;
  background-size: 128% auto;
  opacity: .5;
}

.photo--band { min-height: clamp(320px, 46vw, 520px); display: grid; align-items: center; }
.photo-content { position: relative; z-index: 1; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.photo-content h2 { color: #fff; max-width: 18ch; }
.photo-content p { color: rgba(255,255,255,.8); margin-top: 1rem; }
.photo-content .hero-actions { margin-top: 1.9rem; }

.photo-mark {
  position: absolute; z-index: 1; right: clamp(-40px, -2vw, 0px); bottom: 0;
  width: min(760px, 88%); opacity: .95;
  filter: drop-shadow(0 20px 26px rgba(0,0,0,.5));
}

/* ---------- process ---------- */
.steps { counter-reset: step; display: grid; gap: 1px; background: var(--gray-200); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { counter-increment: step; background: #fff; padding: 2.25rem 1.75rem 2.5rem; position: relative; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: var(--gray-200); display: block; margin-bottom: 1rem;
}
.step h3 { margin-bottom: .6rem; }
.step p { font-size: .95rem; color: var(--ink-soft); }
.section--gray .step { background: var(--gray-50); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--black); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--red); }
.cta-inner { padding-block: clamp(3.5rem, 7vw, 6rem); display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 2.5rem; align-items: center; }
.cta-inner h2 { color: #fff; max-width: 16ch; }
.cta-inner p { margin-top: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: flex-end; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }

/* ---------- service rows ---------- */
.srow { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1.75rem, 5vw, 4rem); align-items: center; }
.srow + .srow { margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--gray-200); }
.srow .photo { min-height: clamp(240px, 32vw, 380px); }
.srow--flip .srow-media { order: 2; }
@media (max-width: 860px) {
  .srow { grid-template-columns: 1fr; }
  .srow--flip .srow-media { order: 0; }
}
.srow h2 { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem); margin-bottom: 1rem; }
.srow .stripe { width: 52px; height: 5px; margin-bottom: 1.2rem; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--black); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--red); }
.page-hero-inner { padding-block: clamp(3.25rem, 8vw, 6rem); position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero p { margin-top: 1.25rem; color: rgba(255,255,255,.78); }
.page-hero-truck {
  position: absolute; right: -6%; bottom: -8%; width: min(680px, 62%); opacity: .5;
  pointer-events: none;
}
@media (max-width: 900px) { .page-hero-truck { display: none; } }

.crumbs { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 1.5rem; }
.crumbs a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.crumbs a:hover { color: #fff; border-color: var(--red); }

/* ---------- values / about ---------- */
.stack-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.stack-list li { padding-left: 1.5rem; border-left: 4px solid var(--red); }
.stack-list h3 { margin-bottom: .45rem; }
.stack-list p { font-size: .97rem; color: var(--ink-soft); margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 74ch; border-top: 1px solid var(--gray-200); }
.faq details { border-bottom: 1px solid var(--gray-200); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.35rem 2.5rem 1.35rem 0; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; text-transform: uppercase; letter-spacing: -.005em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .5rem; top: 50%; width: 14px; height: 2px; background: var(--red);
  transition: transform .2s var(--ease);
}
.faq summary::before {
  content: ""; position: absolute; right: 1.25rem; top: 50%; margin-top: -7px; width: 2px; height: 14px; background: var(--red);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.faq details[open] summary::before { opacity: 0; }
.faq details p { padding-bottom: 1.45rem; font-size: .97rem; color: var(--ink-soft); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; } }

.info-block + .info-block { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--gray-200); }
.info-block h3 { margin-bottom: .7rem; }
.info-block p { font-size: .98rem; margin: 0; }
.info-block dl { margin: 0; display: grid; gap: .55rem; }
.info-block dt { font-size: .82rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--gray-500); }
.info-block dd { margin: 0 0 .5rem; font-weight: 600; }

/* ---------- form ---------- */
.form-wrap { background: var(--gray-50); border: 1px solid var(--gray-200); padding: clamp(1.5rem, 3vw, 2.5rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; }
.field label { font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .5rem; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem;
  padding: .85rem .9rem; min-height: 52px;
  border: 1px solid var(--gray-400); border-radius: 2px; background: #fff; color: var(--ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(11,11,11,.12);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(225,6,0,.12);
}
.field .hint { font-size: .82rem; color: var(--gray-700); margin-top: .4rem; }
.error {
  font-size: .85rem; font-weight: 600; color: var(--red-dark); margin-top: .45rem;
  display: none;
}
.error.is-visible { display: block; }

.form-foot { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-foot .btn { min-width: 220px; }
.form-note { font-size: .85rem; color: var(--gray-700); max-width: 42ch; }

.btn[aria-busy="true"] { pointer-events: none; opacity: .85; }
.spinner {
  width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  border-radius: 50%; animation: spin .7s linear infinite; display: none;
}
.btn[aria-busy="true"] .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { margin-top: 1.5rem; }
.alert { border-left: 5px solid; padding: 1.15rem 1.25rem; font-size: .96rem; }
.alert h3 { margin-bottom: .4rem; }
.alert p { margin: 0; font-size: .96rem; }
.alert--ok { border-color: #1a7f37; background: #eef7f0; }
.alert--warn { border-color: var(--red); background: #fdf0ef; }
.alert--info { border-color: var(--gray-500); background: var(--gray-100); }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,.72); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, .8fr)); gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo-plate {
  display: inline-block; background: #fff; padding: 1rem 1.25rem; border-radius: 2px; margin-bottom: 1.5rem;
}
.footer-logo-plate img { width: 210px; height: auto; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.site-footer a { text-decoration: none; }
.site-footer nav a:hover, .site-footer li a:hover { color: #fff; }
.site-footer p { font-size: .95rem; }

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between;
  font-size: .86rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* ---------- one orchestrated page-load reveal (hero only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal > * { opacity: 0; transform: translateY(14px); animation: rise .7s var(--ease) forwards; }
  .reveal > *:nth-child(1) { animation-delay: .05s; }
  .reveal > *:nth-child(2) { animation-delay: .13s; }
  .reveal > *:nth-child(3) { animation-delay: .21s; }
  .reveal > *:nth-child(4) { animation-delay: .29s; }
  .reveal > *:nth-child(5) { animation-delay: .37s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }

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

@media print {
  .site-header, .cta-band, .site-footer { display: none; }
}
