/* Rebel Off-Road Recovery
   Palette pulled from the real rig: olive body, charcoal, rescue red, warm vinyl white. */

@font-face {
  font-family: "Rebel Display";
  src: url("assets/font-display.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #121310;
  --char: #1a1c16;
  --olive-900: #23271a;
  --olive-800: #2c3121;
  --olive-600: #4a5136;
  --sand: #d3c49b;
  --warm: #f4ecdb;
  --warm-dim: #cdc4b0;
  --muted: #aaa391;
  --red: #b81c19;
  --red-deep: #8f1512;
  --red-hi: #ff5a48;
  --focus: #ffd36b;
  --line: rgba(244, 236, 219, 0.16);

  --display: "Rebel Display", "Arial Narrow", "Liberation Sans Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(1.1rem, 4.5vw, 3.5rem);
  --word: clamp(5.4rem, 30vw, 25rem);
  --mark-w: clamp(96px, 27vw, 168px);
  --callbar-h: 0px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--warm);
  font-family: var(--body);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.55;
  padding-bottom: var(--callbar-h);
}

img,
video { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
  margin: 0;
  text-wrap: balance;
}

h2 { font-size: clamp(2.4rem, 1.4rem + 5vw, 5.2rem); }
h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }

p { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--pad);
  top: -100px;
  z-index: 100;
  background: var(--warm);
  color: var(--ink);
  padding: 0.75rem 1rem;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

.kicker,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
}

/* ---------- header ---------- */

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.25rem;
  padding: 0.75rem var(--pad) 0.5rem;
  overflow-x: clip;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  text-decoration: none;
}

.brand-rig {
  display: block;
  width: var(--mark-w);
}
/* trim the transparent air above/below the convoy without clipping its motion */
.brand-rig .rig-move { margin-block: calc(var(--mark-w) * -0.07); }
.brand-rig img { width: 100%; aspect-ratio: 1600 / 600; }

.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-rebel {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.05rem;
  line-height: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.brand-sub {
  margin-top: 0.3rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--sand);
}

.site-nav { width: 100%; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav li:last-child { margin-left: auto; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.5rem 0.65rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--warm-dim);
}
.site-nav li:first-child a { padding-left: 0; }
.site-nav a:hover { color: var(--warm); text-decoration: underline; text-underline-offset: 0.3em; }
.site-nav .nav-call {
  background: var(--red);
  color: #fff;
  border-radius: 3px;
  padding: 0.5rem 0.95rem;
}
.site-nav .nav-call:hover { background: var(--red-deep); color: #fff; text-decoration: none; }

@media (min-width: 600px) {
  .site-nav { width: auto; }
  .site-nav li:last-child { margin-left: 0.5rem; }
  .site-nav li:first-child a { padding-left: 0.65rem; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow-x: clip;
  padding-bottom: clamp(2.5rem, 7vw, 4rem);
}

.hero-head { padding: clamp(1.25rem, 5vw, 2.5rem) var(--pad) clamp(1.25rem, 4vw, 2rem); }

.eyebrow .icon { color: var(--red-hi); }

/* "NOT ON YOUR OWN." is ~8.25em wide in the display face; size so each line holds */
.hero h1 {
  font-size: clamp(2rem, 10.8vw, 4.8rem);
  line-height: 0.88;
}
.hero h1 span { display: block; }
.h1-a { color: var(--sand); }
.h1-b { color: var(--warm); }

.hero-photo {
  position: relative;
  height: clamp(260px, 50svh, 540px);
  overflow: hidden;
  background: var(--olive-900);
  clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
}

.signature {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--word) * -0.5);
  padding-inline: var(--pad);
}

.sig-word {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--word);
  line-height: 0.78;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  color: var(--warm);
  transform: scaleY(1.16);
  transform-origin: 0 100%;
  user-select: none;
}

.sig-rig {
  position: relative;
  margin: calc(var(--word) * -0.46) calc(var(--pad) * -0.5) 0 auto;
  width: calc(100% + var(--pad) * 0.5);
}
.sig-rig img { width: 100%; aspect-ratio: 1600 / 600; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45)); }
.sig-rig figcaption {
  margin-top: -0.35rem;
  padding-right: calc(var(--pad) * 0.5);
  text-align: right;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.rig-move {
  display: block;
  transform-origin: 50% 75%;
  will-change: transform;
}

.hero-body { padding: clamp(1rem, 4vw, 1.5rem) var(--pad) 0; max-width: 40rem; }

.lede {
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  line-height: 1.5;
  color: var(--warm);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin: 1.5rem 0 0.9rem;
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 64px;
  padding: 0.75rem 1.5rem 0.75rem 1.2rem;
  background: var(--red);
  color: #fff;
  border-radius: 3px;
  text-decoration: none;
  box-shadow: 0 10px 30px -12px rgba(184, 28, 25, 0.9);
}
.btn-call .icon { width: 1.7rem; height: 1.7rem; }
.btn-call:hover { background: var(--red-deep); }
.btn-call-text {
  display: flex;
  flex-direction: column;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 0.95;
  text-transform: uppercase;
}
.btn-call-num {
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.btn-quiet {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  text-underline-offset: 0.35em;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--red-hi);
}

.hero-note { font-size: 0.95rem; color: var(--muted); }

@media (min-width: 960px) {
  :root { --word: clamp(12rem, 25vw, 25rem); }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-areas:
      "head photo"
      "body photo"
      "sig  sig";
    column-gap: clamp(1.5rem, 3vw, 3rem);
  }
  .hero-head { grid-area: head; align-self: end; padding: 3rem 0 1.5rem var(--pad); }
  .hero h1 { font-size: clamp(3.4rem, 4.9vw, 6.2rem); }
  .hero-body {
    grid-area: body;
    padding: 0 0 calc(var(--word) * 0.86) var(--pad);
  }
  .hero-photo {
    grid-area: photo;
    height: clamp(600px, 88vh, 900px);
    clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%);
  }
  .signature {
    grid-area: sig;
    margin-top: calc(var(--word) * -0.66);
  }
  .sig-rig {
    width: min(64%, 1000px);
    margin: calc(var(--word) * -0.5) 0 0 auto;
  }
  .sig-rig figcaption { padding-right: 0; }
}

/* ---------- shared section rhythm ---------- */

.services,
.story,
.first-call,
.call,
.faq,
.follow {
  padding: clamp(4rem, 11vw, 8.5rem) var(--pad);
}

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }

.photo-frame { overflow: hidden; background: var(--olive-900); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

figcaption {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ---------- services ---------- */

.services { background: var(--char); }

.service-list { margin: 0; padding: 0; list-style: none; counter-reset: none; }

.service {
  display: grid;
  grid-template-columns: clamp(3.4rem, 12vw, 5.5rem) minmax(0, 1fr);
  grid-template-areas:
    "num icon"
    "num text";
  column-gap: clamp(0.75rem, 3vw, 1.75rem);
  padding: clamp(1.5rem, 4vw, 2.25rem) 0;
  border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }

.service-num {
  grid-area: num;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.8rem, 10vw, 4.6rem);
  line-height: 0.8;
  color: var(--red-hi);
}
.service-icon { grid-area: icon; width: 2rem; height: 2rem; color: var(--sand); margin-bottom: 0.6rem; }
.service-text { grid-area: text; max-width: 36rem; }
.service-text h3 { margin-bottom: 0.6rem; }
.service-text p { margin: 0; color: var(--warm-dim); }

.services-photo { margin: clamp(2.5rem, 7vw, 4rem) 0 0 auto; width: min(100%, 30rem); }
.services-photo .photo-frame { aspect-ratio: 3 / 4; }

@media (min-width: 960px) {
  .services {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas: "head photo" "list photo";
    grid-template-rows: auto 1fr;
    column-gap: clamp(3rem, 6vw, 6rem);
  }
  .section-head { grid-area: head; }
  .service-list { grid-area: list; }
  .services-photo {
    grid-area: photo;
    align-self: start;
    position: sticky;
    top: 2rem;
    margin: 4rem 0 0;
    width: 100%;
  }
}

/* ---------- first aid band ---------- */

.aid {
  background: var(--olive-800);
  border-top: 6px solid var(--red);
  padding: clamp(3rem, 8vw, 5.5rem) var(--pad);
}
.aid-inner {
  display: grid;
  gap: 1.5rem;
  max-width: 68rem;
}
.aid-icons { display: flex; gap: 1rem; color: var(--red-hi); }
.aid-icons .icon { width: 2.75rem; height: 2.75rem; stroke-width: 1.75; }
.aid-text h2 { font-size: clamp(2.2rem, 1.3rem + 4.4vw, 4.4rem); margin-bottom: 1.25rem; }
.aid-text p { max-width: 40rem; }
.aid-911 {
  margin-top: 1.5rem;
  padding: 0.9rem 1rem 0.9rem 1.1rem;
  border-left: 4px solid var(--red-hi);
  background: rgba(18, 19, 16, 0.45);
  color: var(--warm);
}

@media (min-width: 760px) {
  .aid-inner { grid-template-columns: auto minmax(0, 1fr); gap: 2.5rem; align-items: start; }
  .aid-icons { flex-direction: column; padding-top: 0.4rem; }
}

/* ---------- story ---------- */

.story { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.story-photo { margin: 0 calc(var(--pad) * -1); }
.story-photo .photo-frame { aspect-ratio: 4 / 3; }
.story-text { max-width: 36rem; }
.story-text h2 { margin-bottom: 1.5rem; }
.story-text p:not(.kicker) { color: var(--warm-dim); }
.story-text p:last-child { color: var(--warm); font-weight: 700; }

@media (min-width: 960px) {
  .story { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
  .story-photo { margin: 0 0 0 calc(var(--pad) * -1); }
}

/* ---------- first customer ---------- */

.first-call {
  background: var(--char);
  display: grid;
  gap: clamp(2rem, 6vw, 3.5rem);
}
.fc-text { max-width: 38rem; }
.fc-text h2 { margin-bottom: 1.5rem; }
.fc-text p:not(.kicker) { color: var(--warm-dim); }
.fc-note {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.975rem;
}

/* two stacked portrait videos: the edited story first, the original tow clip second */
.fc-videos { display: grid; gap: clamp(2rem, 5vw, 2.75rem); width: min(100%, 23rem); }
.fc-video { margin: 0; width: 100%; }
.fc-video video {
  width: 100%;
  height: auto;
  aspect-ratio: 464 / 832;
  object-fit: contain;
  background: #000;
  border-radius: 3px;
}
.fc-video--story video { aspect-ratio: 1080 / 1920; }

.fc-group { margin: 0; }
.fc-group img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fc-pair { margin: 0 0 0 auto; width: min(72%, 20rem); }
.fc-pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

@media (min-width: 960px) {
  .first-call {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 3vw, 2.5rem);
    row-gap: 3.5rem;
    align-items: start;
  }
  .fc-text { grid-column: 1 / 7; grid-row: 1; }
  .fc-videos { grid-column: 8 / 12; grid-row: 1 / 4; width: 100%; max-width: 26rem; }
  .fc-group { grid-column: 1 / 7; grid-row: 2; }
  /* the taller two-video column fills the right side, so the pair photo sits under the group shot */
  .fc-pair { grid-column: 3 / 7; grid-row: 3; width: 100%; max-width: 20rem; margin: 0 0 0 auto; }
}

/* ---------- call ---------- */

.call {
  background: var(--red);
  color: #fff;
  display: grid;
  gap: clamp(2rem, 6vw, 4rem);
}
.call :focus-visible { outline-color: #fff; }
.call .kicker { color: #ffe9c7; }
.call h2 { margin-bottom: 0.5rem; }
.call-number {
  display: inline-block;
  margin: 0.25rem 0 2rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3rem, 15vw, 9.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-decoration: underline;
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.12em;
  white-space: nowrap;
}
.call-number:hover { text-decoration-color: var(--ink); }
.call-list-title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); margin-bottom: 1rem; }
.call-list { margin: 0; padding: 0; list-style: none; max-width: 36rem; }
.call-list li {
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}
/* donation card: sits under the call checklist so the phone number stays first */
.donate {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  padding: clamp(1.1rem, 4vw, 1.6rem);
  max-width: 44rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
}
.donate-title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); margin-bottom: 0.6rem; }
.donate-text p { margin: 0 0 0.75rem; }
.donate-text p:last-child { margin-bottom: 0; }
.donate-recipient { color: #ffe9c7; }
.donate-options { display: grid; gap: 1rem; }
.donate-option {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}
.donate-option-title { margin: 0; font-size: 1.2rem; letter-spacing: 0.04em; text-transform: uppercase; }
.donate-option p { margin: 0; }
.donate-handle { font-weight: 700; color: #fff; font-size: 1.1rem; overflow-wrap: anywhere; }
.donate-how { color: #ffe9c7; }
.donate-copy-status:empty { display: none; }
.donate-copy-status { color: #fff; font-weight: 700; }
.btn-donate {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 0.25rem;
  padding: 0.6rem 1.2rem;
  border: 2px solid #fff;
  border-radius: 3px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}
.btn-donate[hidden] { display: none; }
.btn-donate:hover { background: #fff; color: var(--red-deep); }
.donate-qr { display: grid; gap: 0.4rem; text-decoration: none; color: #ffe9c7; }
.donate-qr img {
  width: min(100%, 11.5rem);
  height: auto;
  padding: 0.5rem;
  background: #fff;
  border-radius: 3px;
}
/* the Cash App code is the supplied phone screenshot, shown whole and unaltered */
.donate-qr-tall img { width: min(100%, 10rem); padding: 0; }
.donate-qr-label { font-size: 0.9rem; text-decoration: underline; text-underline-offset: 0.2em; }
@media (min-width: 620px) {
  .donate-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}

.call-badge { margin: 0; width: min(100%, 22rem); }
.call-badge img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; }
.call-badge figcaption { color: #ffe9c7; }

@media (min-width: 960px) {
  .call { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: center; }
  .call-badge { justify-self: end; transform: rotate(2deg); }
}

/* ---------- faq ---------- */

.faq { max-width: 60rem; }
.faq h2 { margin-bottom: 2rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
  padding: 0.75rem 0;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--red-hi); transition: transform 0.2s ease; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.25rem; max-width: 42rem; color: var(--warm-dim); }

/* ---------- follow ---------- */

.follow { padding-top: 0; }
.follow h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); margin-bottom: 0.75rem; }
.follow > p { color: var(--warm-dim); }
.social { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.social-link {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  align-items: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.6rem 1.1rem;
  border: 1px dashed rgba(244, 236, 219, 0.4);
  border-radius: 3px;
  color: var(--warm-dim);
  font-weight: 700;
  text-decoration: none;
}
.social-link[aria-disabled="true"] { cursor: not-allowed; }
.social-status {
  overflow-wrap: anywhere;
  max-width: 100%;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.social-link[href] { border-style: solid; color: var(--warm); }
.social-link[href]:hover { border-color: var(--warm); }
.social li { min-width: 0; max-width: 100%; }

/* ---------- footer ---------- */

.site-footer {
  display: grid;
  gap: 1.5rem;
  padding: clamp(3rem, 8vw, 5rem) var(--pad) clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--line);
  background: var(--olive-900);
}
.footer-brand p { margin: 0; }
.footer-identity { display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 1.75rem); min-width: 0; }
.footer-badge { display: block; flex: 0 0 clamp(94px, 12vw, 168px); perspective: 700px; }
.footer-badge span { display: block; transform-origin: 50% 55%; }
.footer-badge img { display: block; width: 100%; height: auto; }
.footer-tagline { margin-top: 0.9rem !important; color: var(--warm-dim); font-size: 0.875rem; }
.footer-rebel {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.9rem, 6vw, 5rem);
  line-height: 0.8;
  text-transform: uppercase;
}
.footer-sub {
  margin-top: 0.5rem !important;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
}
.footer-info p { margin: 0 0 0.5rem; color: var(--warm-dim); }
.footer-info a { font-weight: 700; color: var(--warm); display: inline-block; padding: 0.4rem 0; }
.footer-small { font-size: 0.875rem; color: var(--muted) !important; }

@media (min-width: 760px) {
  .site-footer { grid-template-columns: auto minmax(0, 1fr); gap: 3rem; align-items: end; }
}

/* ---------- privacy page ---------- */

.legal {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) var(--pad) clamp(3rem, 8vw, 5rem);
  overflow-wrap: anywhere;
}
.legal h1 { font-size: clamp(3.2rem, 2rem + 6vw, 6rem); margin-bottom: 1.25rem; }
.legal h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); margin: 2.75rem 0 1rem; }
.legal p,
.legal li { color: var(--warm-dim); }
.legal .legal-lede { font-size: 1.15em; color: var(--warm); }
.legal .legal-date { font-size: 0.875rem; color: var(--muted); }
.legal ul { margin: 0 0 1em; padding-left: 1.25rem; }
.legal li { margin-bottom: 0.5rem; }
.legal a { font-weight: 700; color: var(--warm); text-underline-offset: 0.2em; }
.legal code { font-size: 0.92em; color: var(--warm); }
.legal-settings {
  min-height: 48px;
  padding: 0.6rem 1.1rem;
  font: inherit;
  font-weight: 700;
  color: var(--warm);
  background: none;
  border: 2px solid var(--warm);
  border-radius: 3px;
  cursor: pointer;
}
.legal-settings:hover { background: var(--warm); color: var(--ink); }

.footer-links { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.footer-settings {
  padding: 0.4rem 0;
  font: inherit;
  font-weight: 700;
  color: var(--warm);
  background: none;
  border: 0;
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- analytics choice (shown only when analytics is configured) ---------- */

.consent {
  position: fixed;
  left: 0.5rem;
  right: 0.5rem;
  bottom: calc(var(--callbar-h) + 0.5rem);
  z-index: 60;
  max-width: 36rem;
  max-height: calc(100vh - var(--callbar-h) - 1rem);
  max-height: calc(100dvh - var(--callbar-h) - 1rem);
  margin: 0 auto;
  overflow-y: auto;
  padding: 1.1rem 1.1rem 0.75rem;
  font-size: 1rem;
  color: var(--warm);
  background: var(--char);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 4px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.85);
  overflow-wrap: anywhere;
}
.consent[hidden] { display: none; }
.consent-title { font-size: 1.7rem; margin: 0 0 0.6rem; }
.consent-text { margin: 0 0 0.6rem; color: var(--warm-dim); }
.consent-status { margin: 0 0 0.75rem; font-weight: 700; }
.consent-status:empty { display: none; }
.consent-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0.6rem; }
.consent-actions[hidden] { display: none; }
.consent-btn {
  min-height: 48px;
  padding: 0.6rem 1rem;
  font: inherit;
  font-weight: 700;
  color: var(--warm);
  background: var(--olive-900);
  border: 2px solid var(--warm);
  border-radius: 3px;
  cursor: pointer;
}
.consent-btn:hover { background: var(--warm); color: var(--ink); }
.consent-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1rem;
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
}
.consent-links a { display: inline-block; padding: 0.5rem 0; font-weight: 700; color: var(--warm); }
.consent-close {
  min-height: 44px;
  padding: 0 0.25rem;
  font: inherit;
  font-weight: 700;
  color: var(--warm);
  background: none;
  border: 0;
  text-decoration: underline;
  cursor: pointer;
}

@media (min-width: 760px) {
  .consent { left: auto; right: var(--pad); bottom: 1.25rem; max-width: 26rem; }
}

/* ---------- mobile call bar ---------- */

.callbar { display: none; }

@media (max-width: 759.98px) {
  :root { --callbar-h: calc(76px + env(safe-area-inset-bottom, 0px)); }

  .callbar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding: 0.55rem var(--pad) calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: rgba(18, 19, 16, 0.94);
    border-top: 1px solid var(--line);
  }
  .callbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 54px;
    padding: 0 1rem;
    background: var(--red);
    color: #fff;
    border-radius: 3px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.55rem;
    text-transform: uppercase;
    text-decoration: none;
  }
  .callbar .icon { width: 1.4rem; height: 1.4rem; }
  .callbar-num {
    font-family: var(--body);
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: none;
  }
}

@media (max-width: 359.98px) {
  .callbar-num { display: none; }
  .site-nav a { padding-inline: 0.45rem; font-size: 0.82rem; letter-spacing: 0.05em; }
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-parallax] { transform: scale(1.1); will-change: transform; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  [data-rig],
  [data-parallax] { transform: none !important; will-change: auto; }
}

@media (forced-colors: active) {
  .btn-call,
  .nav-call,
  .callbar a { border: 2px solid ButtonText; }
}

/* ---------- voluntary shout-out ---------- */
.shoutout {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  padding: clamp(3.5rem, 8vw, 7rem) var(--pad);
  background: var(--warm);
  color: var(--ink);
  overflow-wrap: anywhere;
}
.shoutout-credit, .shoutout-offers { min-width: 0; }
.shoutout h2 { max-width: 11ch; font-size: clamp(2.8rem, 6.4vw, 6.8rem); }
.shoutout-credit p { margin: 1.5rem 0 0; font-size: 0.9375rem; }
.shoutout-offer + .shoutout-offer { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(18, 19, 16, 0.3); }
.shoutout h3 { font-size: clamp(1.8rem, 2.8vw, 2.7rem); line-height: 1.05; }
.shoutout-offer p { margin: 1rem 0 0.5rem; max-width: 46ch; }
.shoutout-offer a { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 48px; padding: 0.5rem 0; font-weight: 700; text-underline-offset: 0.22em; }
.shoutout-offer a:hover { color: var(--red-deep); }
.shoutout :focus-visible { outline-color: var(--red); }
@media (min-width: 900px) {
  .shoutout { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: start; }
}
