/* V2 Diesel · page styles. The engine (engine/scrollcraft.css) is the mechanism;
   everything here is this page. Grammar: rhythmic cutlist. Grounds are painted per
   section and meet on diagonal hard edges cut at the logo's slant. */

@font-face {
  font-family: "Saira";
  src: url("assets/fonts/saira-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 50% 125%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Saira";
  src: url("assets/fonts/saira-italic-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 50% 125%; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}

:root {
  --black: #0B0B0B;
  --char: #141311;
  --char-2: #1C1A17;
  --line: #34302B;
  --orange: #FF7A00;
  --orange-hi: #FF9433;
  --ink: #F4F1EC;
  --ink-soft: #B3AAA0;
  --ink-dim: #8A8178;
  --on-orange: #0B0B0B;
  --on-orange-soft: #2E1C0A;

  --sc-canvas: var(--black);
  --sc-surface: var(--char);
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--orange);
  --sc-accent-ink: var(--on-orange);
  --sc-font-display: "Saira", "Archivo", system-ui, sans-serif;
  --sc-font-text: "Archivo", system-ui, sans-serif;

  --slant: 5.5vw;                 /* rise of every diagonal section edge */
  --bar-h: 64px;
  --gut: clamp(16px, 4.4vw, 64px);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 12px); }
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--sc-font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: 0.005em;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--orange); color: var(--black); }

[hidden] { display: none !important; }

.sr {
  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 {
  position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px;
  background: var(--orange); color: var(--black); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 0; }
.on-orange :focus-visible { outline-color: var(--black); }

/* ------------------------------------------------------------ type ---- */
.display {
  font-family: var(--sc-font-display);
  font-style: italic;
  font-weight: 800;
  font-stretch: 118%;
  text-transform: uppercase;
  line-height: 0.96;
  letter-spacing: -0.012em;
  text-wrap: balance;
  margin: 0;
}
.d-xl { font-size: clamp(2.35rem, 0.9rem + 4.9vw, 6rem); }
.d-lg { font-size: clamp(2rem, 1rem + 3.4vw, 4.4rem); }
.d-md { font-size: clamp(1.6rem, 1rem + 2vw, 2.9rem); }
.lede { font-size: clamp(1.08rem, 1rem + 0.45vw, 1.35rem); line-height: 1.5; max-width: 38ch; text-wrap: pretty; margin: 0; }
.body { max-width: 60ch; text-wrap: pretty; margin: 0; color: var(--ink-soft); }
.kicker {
  font-family: var(--sc-font-display); font-style: italic; font-weight: 700; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.82rem; color: var(--orange); margin: 0;
}

/* ------------------------------------------------------------ buttons -- */
/* Parallelogram buttons: the skewed fill echoes the logo's cuts, the label stays upright,
   and the focus ring is drawn on the same skewed shape. */
.btn {
  --bg: var(--orange); --fg: var(--black); --bgh: var(--orange-hi);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0 1.6em;
  color: var(--fg); text-decoration: none; border: 0; background: none; cursor: pointer;
  font-family: var(--sc-font-display); font-style: italic; font-weight: 700; font-stretch: 110%;
  text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.98rem; white-space: nowrap;
  transition: transform 140ms var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--bg); transform: skewX(-14deg);
  transition: background-color 160ms var(--ease);
}
.btn:hover::before { background: var(--bgh); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn:focus-visible { outline: none; }
.btn:focus-visible::before { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn svg { width: 1.3em; height: 1.3em; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bgh: rgba(255, 255, 255, 0.08); }
.btn--ghost::before { box-shadow: inset 0 0 0 2px var(--ink); }
.btn--dark { --bg: var(--black); --fg: var(--ink); --bgh: #262320; }
.btn--lg { min-height: 64px; font-size: clamp(1.02rem, 0.9rem + 0.5vw, 1.25rem); padding: 0 2em; }
.on-orange .btn:focus-visible::before { outline-color: var(--black); }

/* ------------------------------------------------------------ bar ------ */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar-h);
  display: flex; align-items: center; gap: clamp(12px, 2vw, 28px);
  padding: 0 var(--gut);
  background: var(--black);
  border-bottom: 3px solid var(--orange);
}
.bar__logo { display: flex; align-items: center; height: 100%; flex: none; }
.bar__logo svg { height: 26px; width: auto; }
.bar__where {
  font-family: var(--sc-font-display); font-style: italic; font-weight: 600; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.76rem; color: var(--ink-soft);
  margin: 0 auto 0 8px; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 1640px) { .bar__where .loc { display: none; } }
.bar__where b { color: var(--orange); font-weight: 700; }
/* language switch: both flags always visible, a slanted thumb slides to the active one */
.lang {
  position: relative; flex: none; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  height: 40px; padding: 3px; background: #141311; border: 1px solid var(--line); cursor: pointer; overflow: hidden;
  font-family: var(--sc-font-display); font-weight: 700; font-stretch: 110%; font-size: 0.8rem; letter-spacing: 0.06em;
  transition: border-color 160ms var(--ease);
}
.lang:hover { border-color: var(--ink-dim); }
.lang__opt {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 0 10px; color: var(--ink-dim); opacity: 0.6; transition: opacity 180ms var(--ease), color 180ms var(--ease);
}
.lang__opt svg { flex: none; width: 22px; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,0.18); }
.lang[aria-checked="false"] .lang__opt[data-opt="es"],
.lang[aria-checked="true"] .lang__opt[data-opt="en"] { opacity: 1; color: var(--ink); }
.lang__thumb {
  position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px);
  background: rgba(255, 122, 0, 0.14); box-shadow: inset 0 0 0 1.5px var(--orange);
  transform: translateX(0) skewX(-12deg); transition: transform 240ms var(--ease);
}
.lang[aria-checked="true"] .lang__thumb { transform: translateX(100%) skewX(-12deg); }
.lang:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
/* WhatsApp in the bar: the logo alone, in its own colours, on a 44 px target */
.bar__wa { flex: none; display: grid; place-items: center; width: 44px; height: 44px; transition: transform 140ms var(--ease); }
.bar__wa svg { width: 34px; height: 34px; }
.bar__wa:hover { transform: scale(1.08); }
.bar__wa:active { transform: scale(0.96); }

/* ------------------------------------------------------------ cuts ----- */
/* Every section is a cut: its own opaque ground, a diagonal top edge that bites into the
   section above, no pins. */
.cut {
  position: relative; z-index: 1; isolation: isolate;
  background: var(--g, var(--black));
  margin-top: calc(-1 * var(--slant));
  padding-top: var(--slant);
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
}
.cut--flip { clip-path: polygon(0 0, 100% var(--slant), 100% 100%, 0 100%); }
.cut:first-of-type, .hero { margin-top: 0; clip-path: none; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gut); }
.on-orange { --g: var(--orange); color: var(--on-orange); }
.on-orange .body { color: var(--on-orange-soft); }
.on-orange .kicker { color: var(--on-orange); }
.on-light { --g: #FFFFFF; color: var(--black); }
.on-light .kicker { color: var(--black); }      /* orange on white is too faint for small type */

/* arrival: text lands whole, once, and stays (latched in site.js). Hidden only when JS runs. */
.js .arrive { opacity: 0; transform: translate3d(0, 16px, 0); }
.js .arrive.is-in { opacity: 1; transform: none; transition: opacity 560ms var(--ease), transform 620ms var(--ease); transition-delay: var(--d, 0ms); }

/* ------------------------------------------------------------ hero ----- */
.hero {
  position: relative; z-index: 1; min-height: 100svh; min-height: max(100svh, 560px);
  display: flex; align-items: flex-end;
  background: var(--black); overflow: hidden;
}
.hero__media, .hero__media video, .hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__media img { z-index: 0; }
.hero__media video { z-index: 1; opacity: 0; transition: opacity 500ms var(--ease); }
.hero__media video.is-playing { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to right, rgba(11,11,11,0.88) 0%, rgba(11,11,11,0.82) 38%, rgba(11,11,11,0.62) 58%, rgba(11,11,11,0.25) 72%, rgba(11,11,11,0) 84%),
    linear-gradient(to top, rgba(11,11,11,0.85) 0%, rgba(11,11,11,0.3) 24%, rgba(11,11,11,0) 46%);
}
.hero__copy {
  position: relative; z-index: 3; width: 100%;
  padding: calc(var(--bar-h) + 40px) var(--gut) clamp(56px, 9vh, 104px);
  max-width: 1360px; margin: 0 auto;
}
.hero h1 { max-width: 19ch; font-size: clamp(2.2rem, 0.8rem + 4.1vw, 5.1rem); }
.hero .lede { margin-top: clamp(16px, 2.2vh, 26px); color: #E6E0D8; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: clamp(22px, 3.4vh, 36px); padding-left: 8px; }
.hero__cuts {                          /* the four conditions, as a quiet progress rail */
  position: absolute; z-index: 3; right: var(--gut); bottom: clamp(56px, 9vh, 104px);
  display: flex; gap: 6px;
}
.hero__cuts i { display: block; width: 28px; height: 3px; background: rgba(244,241,236,0.28); transform: skewX(-20deg); }
.hero__cuts i.on { background: var(--orange); }
@keyframes land { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
.js .hero__copy > * { animation: land 700ms var(--ease) both; }
.js .hero__copy > :nth-child(2) { animation-delay: 90ms; }
.js .hero__copy > :nth-child(3) { animation-delay: 170ms; }

/* ------------------------------------------------------------ bands ---- */
.band { --g: var(--black); padding-bottom: clamp(40px, 7vh, 72px); }
.band__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; padding-top: clamp(28px, 5vh, 56px); }
.band__hint { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.on-orange .band__hint { color: var(--on-orange-soft); }
.marquee {
  position: relative; overflow: hidden; margin-top: clamp(22px, 3.6vh, 36px);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 22px); padding-right: clamp(10px, 1.6vw, 22px); }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

.brand {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: clamp(76px, 9vw, 104px); padding: 0 clamp(18px, 2.2vw, 32px);
  color: var(--ink);
}

.brand__mark {
  display: block; height: var(--h, 40px); aspect-ratio: var(--ar, 3);
  background: currentColor;
  -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat;
}
.brand__word {
  font-family: var(--sc-font-display); font-style: italic; font-weight: 800; font-stretch: 116%;
  text-transform: uppercase; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.7rem); letter-spacing: 0.01em; line-height: 1;
}

.on-orange .brand { color: var(--black); }

/* ------------------------------------------------------------ lines ---- */
.line { padding: clamp(40px, 8vh, 96px) 0 clamp(56px, 10vh, 120px); }
.line__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.line--r .line__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
/* the parts sit on the section ground itself: transparent cut-outs with a baked contact shadow, no frame */
.line__media {
  position: relative; margin: 0; aspect-ratio: 14 / 11; display: grid; place-items: center;
}
.line__media picture { display: contents; }
.line__media img { width: 100%; height: 100%; object-fit: contain; }
.line--r .line__media { order: 2; }      /* alternate: text left, part right */   /* the contact shadow is baked into the image */

.line__text { display: grid; gap: 18px; justify-items: start; }

/* ------------------------------------------------------------ hush ----- */
.hush { --g: #080808; min-height: 86vh; display: flex; align-items: center; }
.hush p {
  font-family: var(--sc-font-display); font-style: italic; font-weight: 800; font-stretch: 118%;
  text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.95; text-wrap: balance;
  font-size: clamp(2.5rem, 1rem + 5.4vw, 6.4rem); color: var(--ink); margin: 0; max-width: 14ch;
}

/* ------------------------------------------------------------ peak ----- */
/* The run is transparent: the fixed windshield underneath shows through it. The sections
   before and after are opaque, so they act as curtains over the held frame. */
.peak { position: relative; z-index: 0; height: 330vh; margin-top: calc(-1 * var(--slant)); }
.windshield {
  position: fixed; inset: 0; z-index: 0; background: #000; overflow: hidden;
  visibility: hidden;
}
.windshield.is-live { visibility: visible; }
.windshield:not(.is-live) .peak__line { opacity: 0 !important; }
.windshield picture, .windshield img, .windshield video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.windshield .sc-stage__poster { transition: opacity 380ms var(--ease); }

.windshield__band {
  position: absolute; inset: auto 0 0 0; height: 62%; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.93) 0%, rgba(0,0,0,0.86) 38%, rgba(0,0,0,0.45) 66%, rgba(0,0,0,0) 100%);
}

.peak__line {
  position: absolute; left: 0; right: 0; bottom: clamp(56px, 11vh, 120px);
  width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gut);
}
.peak__line p { max-width: 17ch; width: fit-content; }

/* without script the run cannot drive anything: one still screen, the truck and the logo */
html:not(.js) .peak { height: auto; margin-top: 0; }
html:not(.js) .windshield { position: relative; height: 100vh; height: 100svh; visibility: visible; }

html:not(.js) .peak__line { opacity: 1; }

/* ------------------------------------------------------------ reach ---- */
.reach { --g: var(--char); padding: calc(var(--slant) + clamp(56px, 10vh, 120px)) 0 clamp(64px, 12vh, 140px); }
.reach__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.reach__text { display: grid; gap: 20px; justify-items: start; }
.map { position: relative; width: 100%; max-width: 620px; justify-self: end; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map .land { fill: #2C2824; stroke: #7A6F64; stroke-width: 1.6; stroke-linejoin: round; }
.map .dot { fill: var(--orange); }
.map .ring { fill: none; stroke: var(--orange); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 2.6s var(--ease) infinite; }
.map .ring:nth-of-type(2) { animation-delay: 1.3s; }
.map text { font-family: var(--sc-font-display); font-style: italic; font-weight: 700; font-stretch: 112%; font-size: 26px; fill: var(--ink); letter-spacing: 0.04em; text-transform: uppercase; }
@keyframes ring { from { transform: scale(0.4); opacity: 0.9; } to { transform: scale(3.2); opacity: 0; } }

/* couriers: quiet, monochrome, no background */
.couriers { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 6px; }
.couriers__label {
  margin: 0; font-family: var(--sc-font-display); font-style: italic; font-weight: 700; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.74rem; color: var(--ink-dim);
}
.couriers__list { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.courier { display: block; color: var(--ink-soft); opacity: 0.85; }
.courier__mark {
  display: block; height: var(--h, 26px); aspect-ratio: var(--ar, 3); background: currentColor;
  -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat;
}
.courier__word { font-family: var(--sc-font-display); font-style: italic; font-weight: 800; font-stretch: 116%; font-size: 1.3rem; text-transform: uppercase; }

/* ------------------------------------------------------------ wholesale  */
.mayor { --g: var(--black); padding: clamp(64px, 12vh, 140px) 0; }
.mayor__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.mayor__text { display: grid; gap: 20px; justify-items: start; position: sticky; top: calc(var(--bar-h) + 40px); }
.mayor__mail { font-weight: 600; color: var(--ink); text-decoration-color: var(--orange); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
.field label small { font-weight: 400; color: var(--ink-dim); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  background: var(--char); color: var(--ink); border: 1px solid var(--line); border-radius: 0;
  font: inherit; font-size: 1rem; caret-color: var(--orange);
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #807870; }
.field input:hover, .field textarea:hover { border-color: #504943; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #1a1815; box-shadow: 0 0 0 1px var(--orange); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #FF5A4A; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; padding-left: 8px; }
.form__status { margin: 0; font-size: 0.95rem; color: var(--ink-soft); min-height: 1.6em; }
.form__status.is-ok { color: #9BE39B; }
.form__status.is-err { color: #FF8A7A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------ close ---- */
.close { --g: var(--orange); color: var(--on-orange); padding: clamp(80px, 14vh, 160px) 0 0; min-height: 100svh; display: flex; flex-direction: column; }
.close__main { flex: 1; display: grid; align-content: center; gap: 24px; justify-items: start; padding-bottom: clamp(56px, 10vh, 110px); }
.close h2 { max-width: 13ch; }
.close .lede { color: var(--on-orange-soft); }

.close__ctas { display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; margin-top: 8px; padding-left: 10px; }
.close__ig { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; min-height: 48px; }
.close__ig svg { width: 24px; height: 24px; }
/* the footer is a white band under the orange close: both logos in their own colours */
.foot { background: #FFFFFF; color: var(--black); padding: 30px 0 calc(24px + env(safe-area-inset-bottom)); }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 28px; font-size: 0.92rem; }
.foot__logo { height: 32px; width: auto; }
.foot a { text-underline-offset: 3px; }
.foot p { margin: 0; }
.foot__base { margin-top: 20px; padding-top: 14px; border-top: 1px solid #E2DED8; font-size: 0.84rem; color: #47423C; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 0 24px; list-style: none; margin: 0; padding: 0; }
.foot__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font-size: inherit; text-decoration: underline; text-underline-offset: 3px;
}
.foot__link:hover { color: var(--black); }
.credit a { display: inline-flex; align-items: center; gap: 0.55em; min-height: 44px; font-size: 0.8rem; text-decoration: none; }
.credit__mark { height: 15px; width: auto; }

/* ------------------------------------------------------------ legal ---- */
/* Privacy and terms: a white sheet over a dimmed page. The dialog itself scrolls, under a sticky title. */
.legal {
  width: min(720px, calc(100vw - 2 * var(--gut))); max-width: none;
  max-height: min(86vh, 860px); max-height: min(86dvh, 860px);
  padding: 0; border: 0; border-top: 4px solid var(--orange);
  background: #FFFFFF; color: var(--black); color-scheme: light;
  overflow: auto; overscroll-behavior: contain;
}
.legal::backdrop { background: rgba(11, 11, 11, 0.74); }
.legal__head {
  position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(18px, 4vw, 36px); background: #FFFFFF; border-bottom: 1px solid #E2DED8;
}
.legal__head h2 { font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); }
.legal__x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; cursor: pointer; }
.legal__x svg { width: 24px; height: 24px; }
.legal__x:hover { color: var(--orange); }
.legal :focus-visible { outline-color: var(--black); }
.legal__body { padding: 18px clamp(18px, 4vw, 36px) 34px; font-size: 0.98rem; }
.legal__body p { margin: 0 0 10px; max-width: 64ch; text-wrap: pretty; }
.legal__body h3 { margin: 22px 0 6px; font-family: var(--sc-font-text); font-size: 1rem; font-weight: 700; line-height: 1.3; }
.legal__id { font-weight: 600; }
.legal__body .legal__meta { color: #5C564F; font-size: 0.86rem; margin-bottom: 0; }
html.is-modal { overflow: hidden; }               /* the page behind stays put while a sheet is open */


/* ------------------------------------------------------------ phone ---- */
@media (max-width: 1200px) {
  .bar__where { display: none; }
  .bar__logo { margin-right: auto; }
}
@media (max-width: 860px) {
  :root { --bar-h: 58px; --slant: 9vw; }
  .bar { gap: 10px; }
  .bar__logo svg { height: 20px; }
  .bar__wa svg { width: 32px; height: 32px; }
  .lang { height: 42px; }
  .lang__code { display: none; }
  .lang__opt { padding: 0 7px; }
  .lang__opt svg { width: 20px; }
  .hero__copy { padding-bottom: 64px; }
  .btn--lg { min-height: 56px; padding: 0 1.05em; font-size: 0.92rem; }
  .hero__cuts { display: none; }
  .hero__scrim { background: linear-gradient(to top, rgba(11,11,11,0.95) 0%, rgba(11,11,11,0.86) 40%, rgba(11,11,11,0.4) 60%, rgba(11,11,11,0) 76%); }
  .line__grid, .line--r .line__grid, .reach__grid, .mayor__grid { grid-template-columns: 1fr; }
  .line--r .line__media { order: 0; }
  .line__media { aspect-ratio: 16 / 12; max-width: 520px; justify-self: center; width: 100%; }
  .map { justify-self: stretch; max-width: none; }
  .mayor__text { position: static; }
  .form { grid-template-columns: 1fr; }
  .peak { height: 290vh; }
  .brand__mark { height: calc(var(--h) * 0.8); }
  .foot__row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .foot__logo { height: 26px; margin-bottom: 8px; }
  .foot__base { gap: 0; }
}
@media (max-width: 380px) {
  .bar { gap: 8px; }
  .bar__logo svg { height: 17px; }
  .bar__wa { width: 42px; }
  .lang__opt { padding: 0 5px; }
}

/* ------------------------------------------------------------ reduced -- */
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; width: auto; }
  .marquee__set { flex-wrap: wrap; justify-content: center; padding: 0; }
  .marquee__set[aria-hidden="true"] { display: none; }
  .js .arrive, .js .arrive.is-in { opacity: 1; transform: none; transition: none; }
  .js .hero__copy > * { animation: none; }
  .map .ring { animation: none; opacity: 0; }
  .btn, .btn::before, .bar__wa, .lang__thumb, .lang__opt { transition: none; }
}
