/* Two Dudes Hauling. One stylesheet.
   The look (client, 2026-11-23): white and black for main, neon orange as the accent, one font (Archivo, which matches
   the wordmark), large capital headings, plain boxes. The signature is the orange box that fills in behind text on hover.
   Orange is a fill, or lettering on black; it is never text on white (3.05:1).
   Every animation sits inside @media (prefers-reduced-motion: no-preference). */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

/* ---------------------------------------------------------------- tokens */

:root {
  --c-ink: #0B0B0B;        /* the logo's black */
  --c-paper: #FFFFFF;
  --c-blaze: #FF5F00;      /* neon orange, the same as in the drawings */
  --c-dim: #B8B8B8;        /* quiet text on black */
  --c-line: #3A3A3A;       /* hairlines on black */

  /* the curb scene: shades of black behind, whites and grays for the pile */
  --c-far: #191919;        /* houses across the street */
  --c-far-2: #282828;
  --c-window: #303030;
  --c-street: #151515;
  --c-curb: #3C3C3C;
  --c-tire: #080808;
  --c-item: #D6D6D6;       /* things in the pile */
  --c-item-2: #8C8C8C;
  --c-item-3: #595959;

  --page: #FFFFFF;         /* literal values here: tests/contrast.test.js reads them */
  --ink: #0B0B0B;
  --ink-2: #4A4A4A;
  --error: #0B0B0B;
  --focus: #0B0B0B;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  --wrap: 1240px;
  --gutter: max(16px, 4vw);
  --band-y: clamp(72px, 9vw, 136px);
  --rule: 3px;
  --display: "Archivo", "Arial Narrow", sans-serif;
}

/* ---------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px;
  scrollbar-color: var(--c-ink) var(--c-paper); accent-color: var(--c-ink);
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--display);
  font-stretch: 100%;
  word-spacing: 0.03em;
  overflow-wrap: break-word;
  -webkit-tap-highlight-color: transparent;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
main:focus { outline: none; }
::selection { background: var(--c-blaze); color: var(--c-ink); }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; word-spacing: 0.04em; }
button { font: inherit; color: inherit; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 12px; top: 12px; z-index: 100;
  transform: translateY(calc(-100% - 16px));
  padding: 10px 14px; background: var(--c-blaze); color: var(--c-ink); font-weight: 700;
}
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* large capital headings */
.hero__h, .svc-hero__h, .h2, .svc__name, .cant__h, main > .wrap > h1, .policy-page h1 {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 86%;
  line-height: 0.93;
  letter-spacing: -0.02em;
  word-spacing: 0.1em; /* the heavy capitals close up the gaps between words */
  overflow-wrap: normal;
  text-transform: uppercase;
}
.h2 { font-size: clamp(2.7rem, 6.4vw, 5.3rem); margin-bottom: 0.4em; }
.band { padding-block: var(--band-y); position: relative; }
.band__lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); max-width: 60ch; margin-bottom: clamp(28px, 4vw, 48px); }
.band--white { background: var(--c-paper); color: var(--c-ink); }
.band--black, .site-header, .hero, .site-footer { background: var(--c-ink); color: var(--c-paper); --focus: var(--c-blaze); }
.menu__panel { --focus: var(--c-ink); }
/* two white sections in a row: a black rule between them */
.band--white + .band--white::before {
  content: ""; position: absolute; top: 0; left: 50%; height: var(--rule);
  width: min(100% - 2 * var(--gutter), var(--wrap)); translate: -50% 0; background: var(--c-ink);
}
.link { font-weight: 700; }
.btn, .chip, .nav a, .menu__panel a, .svc__kinds, .item, .spec dt, .faq__item summary, .quote__call, .svc-more, .link,
.field > label, .site-footer__tag, .site-footer__col p, .footer__nav a, mark.todo { word-spacing: 0.1em; }
.readout, .loader__h { word-spacing: 0.14em; }
.tel { white-space: nowrap; }

/* the "[to confirm: ...]" marks, plain black on white on whatever ground they sit */
mark.todo {
  padding: 0.14em 0.4em;
  background: var(--c-paper);
  color: var(--c-ink);
  box-shadow: inset 0 0 0 1.5px var(--c-ink);
  font: 650 max(0.82em, 0.78rem)/1.35 var(--display);
  letter-spacing: 0;
  display: inline-block; max-width: 100%;
}
.review-ribbon {
  margin: 0;
  padding: 8px var(--gutter);
  background: var(--c-paper);
  color: var(--c-ink);
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
}

/* ---------------------------------------------------------------- buttons */

.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  border: 2px solid currentColor;
  background: transparent; color: inherit;
  font: 750 1rem/1.1 var(--display);
  text-decoration: none; cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn--blaze { background: var(--c-blaze); border-color: var(--c-blaze); color: var(--c-ink); }
.btn--big { min-height: 56px; padding: 14px 26px; font-size: 1.15rem; }
.btn--small { padding: 8px 14px; font-size: 0.95rem; }
.btn--quiet { border-color: transparent; text-decoration: underline; }
@media (hover: hover) and (pointer: fine) {
  .btn--blaze:hover { background: var(--c-paper); border-color: var(--c-paper); }
  .btn--ghost:hover:not(:disabled) { background: var(--c-paper); color: var(--c-ink); border-color: var(--c-paper); }
}

/* ---------------------------------------------------------------- header */

.site-header { position: sticky; top: 0; z-index: 20; view-transition-name: site-header; }
.site-header__row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: block; color: var(--c-paper); flex: none; }
.brand .logo { width: clamp(150px, 17vw, 210px); height: auto; }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a {
  padding: 10px 8px; white-space: nowrap;
  font-weight: 650; font-size: 0.98rem; text-decoration: none; color: var(--c-paper);
  transition: background-color 160ms ease, color 160ms ease;
}
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--c-blaze); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { background: var(--c-blaze); color: var(--c-ink); } }
.site-header__act { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.menu { position: relative; }
.menu summary {
  list-style: none; display: grid; place-items: center;
  width: 44px; height: 44px; border: 2px solid var(--c-paper); cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }
.menu__bars, .menu__bars::before, .menu__bars::after {
  display: block; width: 20px; height: 2.5px; background: var(--c-paper); content: "";
}
.menu__bars { position: relative; }
.menu__bars::before { position: absolute; top: -7px; }
.menu__bars::after { position: absolute; top: 7px; }
.menu__panel {
  position: absolute; right: 0; top: calc(100% + 10px);
  display: grid; min-width: 240px;
  background: var(--c-paper); color: var(--c-ink);
  border: 2px solid var(--c-ink);
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.45);
  transform-origin: top right;
}
.menu__panel a { padding: 13px 18px; font-weight: 700; text-decoration: none; }
.menu__panel a + a { border-top: 1px solid var(--c-ink); }
.menu__panel a[aria-current="page"], .menu__panel a:active { background: var(--c-blaze); }
.menu__panel :focus-visible { outline-offset: -4px; }
@media (hover: hover) and (pointer: fine) { .menu__panel a:hover { background: var(--c-blaze); } }
@media (min-width: 1020px) {
  .nav { display: flex; }
  .nav + .site-header__act { margin-left: 8px; }
  .menu { display: none; }
}
@media (min-width: 1140px) { .nav a { padding-inline: 12px; } }
@media (min-width: 1020px) and (max-width: 1139px) { .site-header__row { gap: 14px; } .nav { gap: 2px; } }
@media (max-width: 640px) {
  .site-header__act > .tel { display: none; } /* it sits in the menu instead: beside the logo it pushed the menu off the screen */
}
@media (max-width: 420px) {
  .site-header__row { gap: 12px; min-height: 64px; }
  .brand .logo { width: 138px; }
  .site-header__act { gap: 8px; }
  .site-header__act .btn--blaze { min-height: 44px; padding-inline: 12px; font-size: 0.92rem; }
  .review-ribbon { font-size: 0.85rem; text-align: left; }
  .btn--big { padding-inline: 14px; font-size: 1.05rem; }
}
@media (max-width: 359px) {
  .site-header__row { gap: 8px; }
  .brand .logo { width: 112px; }
  .site-header__act { gap: 6px; }
  .site-header__act .btn--blaze { padding-inline: 8px; font-size: 0.88rem; }
}

/* ---------------------------------------------------------------- hero and the curb scene */

.hero { padding-top: clamp(24px, 2.4vw, 36px); overflow: clip; }
.hero__top { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
.hero__h { font-size: clamp(3rem, 7vw, 6rem); line-height: 0.9; color: var(--c-paper); }
.hero__amp { color: var(--c-blaze); }
.hero__side { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
.hero__lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; max-width: 62ch; margin: 0; text-wrap: balance; }
.hero__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }
.hero__call { font-weight: 650; }
@media (min-width: 960px) {
  .hero__side { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
}

.loader { margin-top: 12px; }
.curb { width: 100%; height: auto; }
/* the sidewalk and the street run past the drawing to both edges; phones get a closer crop in curb.js, already edge to edge */
@media (min-width: 641px) { .curb { overflow: visible; } }
@media (min-width: 960px) { .curb { max-width: min(1480px, 140svh); margin-inline: auto; } }
.dude path { fill: none; stroke: var(--c-paper); stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.dude path.dude__far { stroke: #A6A6A6; }
.dude circle { fill: var(--c-paper); }
.trailer__load use, .pile use, #carry { stroke: var(--c-ink); stroke-width: 1.5; stroke-linejoin: round; }
.curb__word { font: 900 10px var(--display); font-stretch: 86%; fill: var(--c-ink); stroke: none; }

.loader__panel { padding-block: 26px 32px; }
.loader:not(.is-live) .loader__panel { display: none; }
.loader__h { font: 800 clamp(1.35rem, 2.2vw, 1.75rem)/1.15 var(--display); letter-spacing: -0.02em; margin-bottom: 16px; color: var(--c-paper); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 46px; padding: 8px 16px;
  border: 0; background: var(--c-paper); color: var(--c-ink);
  font: 700 1rem/1 var(--display);
  cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 160ms ease;
}
.chip:active { transform: scale(0.95); }
.chip__count { font-weight: 900; font-variant-numeric: tabular-nums; }
.chip__count:empty { display: none; }
.chip:has(.chip__count:not(:empty)) { background: var(--c-blaze); } /* it is in the trailer */
@media (hover: hover) and (pointer: fine) { .chip:hover { background: var(--c-blaze); } }
.loader__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 22px; }
.readout { margin: 0; font: 800 clamp(1.3rem, 2.4vw, 1.9rem)/1.15 var(--display); letter-spacing: -0.02em; color: var(--c-paper); }
.readout[data-state="over"] { color: var(--c-blaze); }
.readout[data-state="empty"] { color: var(--c-dim); }
.loader__tools { display: flex; flex-wrap: wrap; gap: 10px; }
.loader__note { margin: 16px 0 0; font-size: 0.9rem; color: var(--c-dim); }

/* ---------------------------------------------------------------- the four services */

/* The orange box: a bar along the bottom at rest; on hover it fills in behind the words. */
.svcs { display: grid; gap: var(--rule); grid-template-columns: minmax(0, 1fr); margin: 0; padding: var(--rule); list-style: none; background: var(--c-ink); }
@media (min-width: 1120px) { .svcs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svcs__item { display: grid; }
.svc { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--c-paper); color: var(--c-ink); text-decoration: none; border-bottom: 10px solid var(--c-blaze); }
.svc__text { position: relative; isolation: isolate; display: grid; align-content: start; gap: 10px; padding: 26px 24px 28px; }
.svc__text::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-blaze);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 320ms var(--ease-out);
}
.svc__name { font-size: clamp(2.6rem, 4.3vw, 3.7rem); }
.svc__kinds { font-weight: 750; font-size: 1.1rem; line-height: 1.3; }
.svc__art { display: grid; place-items: center; order: -1; padding: 24px 24px 0; }
.svc__art img { width: 100%; max-width: 420px; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.svc__short { line-height: 1.45; }
@media (min-width: 560px) {
  .svc { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .svc__text { padding: 32px 26px 36px; }
  .svc__art { order: 0; padding: 20px 24px 20px 12px; }
}
@media (hover: hover) and (pointer: fine) { .svc:hover .svc__text::before { clip-path: inset(0); } }
.svc:focus-visible .svc__text::before, .svc:active .svc__text::before { clip-path: inset(0); }
.svc:focus-visible { outline-offset: -6px; }

/* ---------------------------------------------------------------- steps */

.steps__list { display: grid; gap: 44px; grid-template-columns: minmax(0, 1fr); margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; list-style: none; }
@media (min-width: 860px) { .steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; } }
.step { position: relative; }
.step__n {
  display: block; margin-bottom: 18px;
  font: 900 clamp(4.5rem, 8vw, 7rem)/0.8 var(--display); font-stretch: 86%; letter-spacing: -0.03em;
}
.step__h { font: 800 clamp(1.45rem, 2.2vw, 1.8rem)/1.1 var(--display); letter-spacing: -0.02em; margin-bottom: 8px; }
.step p { max-width: 36ch; }
.step__arrow { display: none; }
@media (min-width: 860px) {
  .step__arrow {
    display: block; position: absolute; top: 0; left: clamp(64px, 8vw, 104px); height: clamp(3.6rem, 6.4vw, 5.6rem); width: calc(100% - clamp(64px, 8vw, 104px));
    fill: none; stroke: var(--c-blaze); stroke-width: 6; stroke-linejoin: miter;
  }
}

/* ---------------------------------------------------------------- what we take */

.inventory__grid { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .inventory__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: end; } }
.items { display: grid; gap: 2px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 2px; list-style: none; }
@media (min-width: 640px) { .items { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.item {
  display: grid; align-items: center; min-height: 88px; padding: 16px 18px;
  outline: 2px solid var(--c-ink);
  font: 750 clamp(1.05rem, 1.5vw, 1.25rem)/1.2 var(--display); letter-spacing: -0.01em;
  transition: background-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) { .item:hover { background: var(--c-blaze); } }
.cant { padding: 32px 28px 30px; background: var(--c-ink); color: var(--c-paper); }
.cant__h { font-size: clamp(2rem, 3vw, 2.5rem); margin-bottom: 18px; }
.cant__check { margin: 0 0 14px; }
.cant ul { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; font-weight: 650; }
.cant li { position: relative; padding-left: 22px; }
.cant li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; background: var(--c-blaze); }
.cant > p:last-child { margin: 0; font-size: 0.97rem; }

/* ---------------------------------------------------------------- trailer rental */

.rental__grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 980px) { .rental__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.rental__copy p { max-width: 50ch; }
.spec { display: grid; gap: 0; margin: 28px 0; border-top: 2px solid var(--c-line); }
.spec div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 2px solid var(--c-line); }
.spec dt { font-weight: 800; }
.spec dd { margin: 0; }
.elevation { margin: 0; }
.elevation__ink { fill: none; stroke: var(--c-paper); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.elevation__dim { fill: none; stroke: var(--c-blaze); stroke-width: 2.5; stroke-linecap: round; }
.elevation__label { font: 800 24px var(--display); fill: var(--c-blaze); }
.elevation__label--small { font-size: 18px; }
@media (max-width: 640px) { .elevation__label { font-size: 32px; } .elevation__label--small { font-size: 28px; } }
.elevation figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--c-dim); }

/* ---------------------------------------------------------------- crew */

.crew__grid { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .crew__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 72px; } }
.crew .h2 { margin-bottom: 0; }
.crew__copy p { max-width: 56ch; font-size: 1.15rem; }
.crew__copy p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- faq */

.faq__list { border-top: var(--rule) solid var(--c-ink); }
.faq__item { border-bottom: 2px solid var(--c-ink); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 18px; cursor: pointer; list-style: none;
  font: 800 clamp(1.2rem, 2vw, 1.55rem)/1.2 var(--display); letter-spacing: -0.015em;
  transition: background-color 160ms ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 20px; height: 20px;
  background: linear-gradient(currentColor, currentColor) center / 100% 4px no-repeat, linear-gradient(currentColor, currentColor) center / 4px 100% no-repeat;
  transition: transform 200ms var(--ease-out);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .faq__item summary:hover { background: var(--c-blaze); } }
.faq__item summary:focus-visible { outline-offset: -4px; }
.faq__item p { max-width: 70ch; margin: 0; padding: 4px 18px 28px; font-size: 1.08rem; }
.svc-more { margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 600; }

/* ---------------------------------------------------------------- quote: orange beside white */

.quote { padding-block: 0; overflow: clip; border-top: var(--rule) solid var(--c-ink); }
.quote__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.quote__side { position: relative; isolation: isolate; padding-block: clamp(56px, 8vw, 104px) 48px; }
.quote__side::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: -1; background: var(--c-blaze); }
.quote__side p { font-size: 1.15rem; max-width: 40ch; }
.quote__call { font-weight: 700; }
.team-lift { width: 180px; margin-top: 28px; color: var(--c-ink); }
.quote__form { padding-block: 48px var(--band-y); }
@media (max-width: 959px) {
  .quote__side { padding-block: 40px 32px; }
  .quote__side p { margin-bottom: 0.7em; }
  .quote__side .team-lift { width: 104px; margin-top: 12px; }
  .quote__form { padding-top: 32px; }
}
@media (min-width: 960px) {
  .quote__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .quote__side { display: flex; flex-direction: column; align-items: flex-start; padding: var(--band-y) 48px var(--band-y) 0; }
  .quote__side::before { inset: 0 0 0 auto; width: 100vw; }
  .quote__side .team-lift { width: min(300px, 80%); margin-top: auto; }
  .quote__form { padding: var(--band-y) 0 var(--band-y) 72px; }
}

/* ---------------------------------------------------------------- service, about, contact */

.svc-hero { padding-block: clamp(36px, 5.4vw, 80px); }
.svc-hero--short { padding-block: clamp(24px, 4vw, 56px); }
.svc-hero__grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 960px) { .svc-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 64px; } }
.svc-hero__h { font-size: clamp(2.8rem, 6.2vw, 5.4rem); margin-bottom: 0.3em; max-width: 16ch; }
.svc-hero .hero__acts { margin-top: 26px; }
.crumbs { font-size: 0.95rem; color: var(--c-dim); margin-bottom: 18px; }
.crumbs a { color: var(--c-paper); }
.svc-card { display: grid; width: 100%; max-width: 460px; background: var(--c-paper); color: var(--c-ink); justify-self: end; border-bottom: 10px solid var(--c-blaze); }
.svc-card .svc__text { padding: 24px 24px 26px; }
.svc-card .svc__art { padding: 28px 28px 8px; }
.about__label { justify-self: center; }
.about__label .team-lift { width: min(360px, 70vw); color: var(--c-paper); margin: 0; }
.prose p { max-width: 60ch; }
.rules { display: grid; gap: 40px 56px; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rules li { padding-top: 20px; border-top: var(--rule) solid var(--c-ink); }
.rules h3 { font: 800 clamp(1.45rem, 2.2vw, 1.8rem)/1.1 var(--display); letter-spacing: -0.02em; margin-bottom: 8px; }
.rules p { max-width: 50ch; margin: 0; }

/* ---------------------------------------------------------------- footer */

.site-footer { padding-bottom: 32px; }
.site-footer__grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); padding-block: 72px 44px; }
@media (min-width: 860px) { .site-footer__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.8fr); } }
.site-footer__brand .logo { width: min(320px, 80%); }
.site-footer__tag { margin-top: 22px; max-width: 20ch; font: 800 1.4rem/1.2 var(--display); letter-spacing: -0.015em; color: var(--c-blaze); }
.site-footer__h { font: 700 0.95rem/1.3 var(--display); color: var(--c-dim); margin: 0 0 4px; }
.site-footer__col p { margin-bottom: 18px; font-weight: 650; }
.footer__nav { display: grid; align-content: start; justify-items: start; gap: 2px; }
.footer__nav a { padding: 8px 10px; margin-left: -10px; font-weight: 650; text-decoration: none; transition: background-color 160ms ease, color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .footer__nav a:hover { background: var(--c-blaze); color: var(--c-ink); } }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 24px; border-top: 1px solid var(--c-line); font-size: 0.9rem; color: var(--c-dim); }
.site-footer__legal p { margin: 0; }
.site-footer__legal a { margin-right: 14px; }

/* plain pages (privacy, terms, 404) inherit a readable column */
main > section.wrap { padding-block: var(--band-y); max-width: 72ch; }
.policy-page { padding-block: clamp(56px, 8vw, 112px); min-height: 46vh; }
main > .wrap > h1, .policy-page h1 { font-size: clamp(2.7rem, 6.4vw, 5.3rem); margin-bottom: 0.4em; }

/* ---------------------------------------------------------------- forms */

.form, .form__step, .field, .form__thanks { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.form__step, .field--choices { min-width: 0; margin: 0; padding: 0; border: 0; }
.form__step > legend, .field--choices > legend { padding: 0; font-weight: 600; overflow-wrap: anywhere; }
.field { gap: 6px; }
.field--choices { gap: 8px; }
.field > label, .field > legend { font-weight: 750; }
.field > input, .field > select, .field > textarea {
  width: 100%; min-height: 50px; padding: 10px 12px;
  font: inherit; font-size: 1rem; color: var(--c-ink);
  background: var(--c-paper); border: 2px solid var(--c-ink); border-radius: 0; caret-color: var(--c-ink);
}
.field > select { appearance: none; padding-right: 44px; background: var(--c-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M2 2l8 8 8-8' fill='none' stroke='%230B0B0B' stroke-width='3'/%3E%3C/svg%3E") right 14px center / 16px auto no-repeat; }
.field > input:focus, .field > select:focus, .field > textarea:focus { outline: 4px solid var(--c-blaze); outline-offset: 0; }
.field > textarea { min-height: 8rem; resize: vertical; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 32px; }
.field__optional, .field__hint, .form__note, .form__progress { color: var(--ink-2); }
.field__optional { font-weight: 500; }
.field__hint { margin: 0; font-size: 0.95rem; }
.field > input[aria-invalid="true"], .field > select[aria-invalid="true"], .field > textarea[aria-invalid="true"] { border-width: 4px; padding: 8px 10px; }
.field > select[aria-invalid="true"] { padding-right: 42px; }
.field__error { margin: 0; padding: 6px 12px; background: var(--c-blaze); color: var(--error); font-weight: 700; }
.form__status:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.form .btn:not(.btn--quiet) { background: var(--c-ink); color: var(--c-paper); border-color: var(--c-ink); min-height: 56px; padding-inline: 28px; font-size: 1.1rem; }
@media (hover: hover) and (pointer: fine) { .form .btn:not(.btn--quiet):hover:not(:disabled) { background: var(--c-blaze); color: var(--c-ink); border-color: var(--c-blaze); } }
.form__thanks:focus { outline: none; }
@media (max-width: 331px) { .cf-turnstile { margin-inline: -6px; } }
.hp { display: none; }

/* ---------------------------------------------------------------- the orange box behind links, for the mouse and the keyboard */

:is(.nav a, .footer__nav a, .menu__panel a, .chip, .faq__item summary):focus-visible { background: var(--c-blaze); color: var(--c-ink); }
@media (hover: hover) and (pointer: fine) {
  :is(.link, .crumbs a, .site-footer__col p a, .site-footer__legal a, .policy-page a, main > section.wrap a):hover { background: var(--c-blaze); color: var(--c-ink); }
  .quote__side a:hover { background: var(--c-ink); color: var(--c-paper); }
}

/* ---------------------------------------------------------------- motion */

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; animation-timing-function: var(--ease-out); }

  .menu[open] .menu__panel { animation: menu-in 180ms var(--ease-out); }
  @keyframes menu-in { from { opacity: 0; transform: scale(0.96) translateY(-4px); } }

  /* the step arrows draw themselves as they come into view */
  @supports (animation-timeline: view()) {
    .step__arrow path {
      stroke-dasharray: 1; stroke-dashoffset: 1;
      animation: draw linear both;
      animation-timeline: view();
      animation-range: entry 40% cover 45%;
    }
    @keyframes draw { to { stroke-dashoffset: 0; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .chip, .svc__text::before, .faq__item summary::after { transition: none; }
}
