/* Direction B · The Big Picture. Photographs edge to edge carry the page, each with one short bold sentence;
   the white sections between them stay quiet. Archivo Bold, a little wide like the logo, in sentence case.
   Orange marks the buttons and one solid block: the planning service. */

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

:root {
  --paper: #FFFFFF;
  --ink: #2B2F33;                     /* brand graphite */
  --ink-2: #545B62;                   /* secondary text, 6.9:1 on white */
  --ink-3: #666C73;                   /* quiet notes, 5.3:1 on white */
  --signal: #F26A21;
  --on-signal: #1B1E21;               /* lettering on orange, 5.4:1 */
  --dark: #1B1E21;                    /* the closing band and the footer */
  --mist: #F3F4F5;                    /* drawing plates */
  --line: #E3E6E8;
  --field: #B8BEC4;
  --on-dark: #E3E6E8;
  --on-dark-2: #B8BEC4;               /* 9.6:1 on the dark ground */
  --rule-dark: rgba(184, 190, 196, 0.26);
  --plate: #4A5056;                   /* a photo slot waiting for its photograph */
  --shade: rgba(27, 30, 33, 0.78);    /* the dark foot that keeps white lettering legible on any photograph */
  --frame: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --space: clamp(88px, 10vw, 152px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  scrollbar-color: var(--ink-3) var(--paper);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Archivo", system-ui, sans-serif;
  font-stretch: 100%;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--ink);
}

::selection { background: var(--ink); color: #FFFFFF; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }

.skip { position: absolute; left: var(--gutter); top: -80px; z-index: 40; background: var(--ink); color: #FFFFFF; padding: 10px 16px; }
.skip:focus { top: 8px; }

.wrap { max-width: calc(var(--frame) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type: Archivo Bold, a little wide, in sentence case ---------- */

h1, h2, h3 { font-weight: 700; font-stretch: 112%; letter-spacing: -0.01em; word-spacing: 0.04em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.6vw, 5.6rem); line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 3vw, 2.75rem); line-height: 1.08; }
h3 { font-size: clamp(1.25rem, 1.5vw, 1.45rem); line-height: 1.2; font-stretch: 108%; }
p { text-wrap: pretty; }
.label { font-size: 0.72rem; font-weight: 600; line-height: 1.35; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-2); }
.sample-note { font-size: 0.84rem; line-height: 1.45; color: var(--ink-3); }

/* ---------- actions: orange blocks ending in an arrow, links on an orange rule ---------- */

.arrow { width: 22px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 54px; padding: 0 24px;
  background: var(--signal); color: var(--on-signal);
  border: 0; border-radius: 0; cursor: pointer;
  font-size: 0.8rem; font-weight: 700; line-height: 1.2; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover, .btn:focus-visible { background: var(--ink); color: #FFFFFF; }
.btn:hover .arrow, .btn:focus-visible .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 0.74rem; }
.btn-dark { background: var(--ink); color: #FFFFFF; }
.btn-dark:hover, .btn-dark:focus-visible { background: #FFFFFF; color: var(--ink); }

.link {
  font-weight: 600; text-decoration: underline; text-decoration-color: var(--signal);
  text-decoration-thickness: 2px; text-underline-offset: 0.35em;
  transition: text-decoration-thickness 0.3s var(--ease);
}
.link:hover, .link:focus-visible { text-decoration-thickness: 4px; }
.link.on-photo { color: #FFFFFF; text-decoration-color: #FFFFFF; }

/* ---------- header: on the photograph at first, white once the page moves ---------- */

.bar { position: fixed; inset: 0 0 auto; z-index: 30; color: #FFFFFF; transition: background-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.bar.is-solid { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.bar-in { position: relative; max-width: calc(var(--frame) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); height: 76px; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.brand { position: relative; display: block; flex: none; width: 200px; height: 19px; }
.brand img { position: absolute; inset: 0; width: 100%; height: auto; transition: opacity 0.35s var(--ease); }
.logo-on-white, .bar.is-solid .logo-on-photo { opacity: 0; }
.bar.is-solid .logo-on-white { opacity: 1; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); margin-left: auto; }
.nav a { position: relative; padding-block: 10px; text-decoration: none; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.nav .nav-quote, .menu-btn { display: none; }
.lang { display: flex; align-items: center; }
.lang button {
  min-width: 34px; min-height: 32px; padding: 0 6px; background: none; border: 0; cursor: pointer; color: inherit; opacity: 0.72;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.08em;
}
.lang button + button { border-left: 1px solid currentColor; }
.lang button[aria-pressed="true"] { opacity: 1; font-weight: 800; }
.lang button:hover { opacity: 1; }
.bar :focus-visible { outline-color: currentColor; }

/* ---------- photo slots: a photograph, or a drawn stand-in under a label naming it ---------- */

.ph { position: relative; overflow: hidden; background: var(--plate); }
.ph > .stand-in, .ph > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph > img { object-fit: cover; }
.ph-label {
  position: absolute; left: 14px; top: 14px; z-index: 2; max-width: min(calc(100% - 28px), 30em);
  display: grid; gap: 1px; padding: 0.5em 0.85em 0.45em;
  background: var(--paper); color: var(--ink); font-size: 0.8rem; line-height: 1.3;
}
.ph-label b { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }

/* the stand-ins: dim greys for the setting, a light subject, so they sit like a photograph does */
.s-floor { stroke: #6E757C; stroke-width: 2; fill: none; }
.s-upright { fill: #5F666D; }
.s-beam { fill: #6A7178; }
.s-pallet { fill: #565D64; }
.s-load { stroke: var(--plate); stroke-width: 1; vector-effect: non-scaling-stroke; }
.s-l1 { fill: #6B7279; }
.s-l2 { fill: #636A71; }
.s-l3 { fill: #747B82; }
.s-l4 { fill: #5B6268; }
.far { opacity: 0.35; }
.subject .s-body, .subject .s-wheel, .subject .s-fork, .subject .s-mast, .subject .s-stage { fill: #E9ECEE; }
.subject .s-cut, .subject .s-glass { fill: var(--plate); }
.subject .s-hub { fill: #8C9398; }
.subject .s-pallet { fill: #B8BEC4; }
.subject .s-load { fill: #F6F7F8; stroke: var(--plate); stroke-width: 1.5; }
.halo path { fill: var(--plate); stroke: var(--plate); stroke-width: 7; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.s-dim { stroke: #E9ECEE; stroke-width: 2; fill: none; }
.s-dim-text { fill: #FFFFFF; font: 600 20px "Archivo", sans-serif; letter-spacing: 0.02em; text-anchor: middle; font-variant-numeric: tabular-nums; }

/* ---------- first screen: one photograph filling the frame, the claim on its dark foot ---------- */

.hero { position: relative; height: clamp(600px, 62.5vw, 960px); overflow: hidden; background: var(--dark); color: #FFFFFF; }
.ph-hero { position: absolute; inset: 0; animation: settle 1.6s var(--ease) both; }
.ph-hero .ph-label { top: 92px; left: max(14px, calc((100% - var(--frame)) / 2)); }
/* the foot darkens under the lettering, so a bright photograph never washes the headline out; the shades sit
   inside the photo slot, under the stand-in's label */
.ph-hero::after, .ph-band::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, var(--shade) 0%, rgba(27, 30, 33, 0.35) 42%, rgba(27, 30, 33, 0) 68%); }
/* and a light shade at the top keeps the white navigation legible on a bright photograph */
.ph-hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 160px; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(27, 30, 33, 0.45), rgba(27, 30, 33, 0)); }
.hero-text { position: absolute; left: 0; right: 0; bottom: clamp(40px, 6vw, 88px); z-index: 2; animation: rise 1s 0.1s var(--ease) both; }
.hero h1 { max-width: 16ch; }
.lede { max-width: 46ch; margin-top: 20px; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.5; color: var(--on-dark); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 30px; }
.hero :focus-visible { outline-color: #FFFFFF; }
@keyframes settle { from { transform: scale(1.05); } to { transform: none; } }
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }

/* ---------- sections ---------- */

.sec { padding-top: var(--space); }
.sec-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 4.4vw, 60px); }
.sec-head p { max-width: 50ch; font-size: 1.1rem; color: var(--ink-2); }
.sec .sample-note { margin-top: 24px; }

/* the four savings, told in words: one quiet row */
.savings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 48px); }
.savings li { display: grid; gap: 12px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line); }
.savings h3 { font-size: clamp(1.4rem, 1.8vw, 1.7rem); }
.savings p { color: var(--ink-2); }

/* a photograph across the frame carrying one sentence */
.band { position: relative; margin-top: var(--space); min-height: clamp(440px, 40vw, 600px); display: flex; align-items: flex-end; background: var(--dark); color: #FFFFFF; overflow: hidden; }
.ph-band { position: absolute; inset: 0; }
.ph-band::after { background: linear-gradient(to right, var(--shade) 0%, rgba(27, 30, 33, 0.5) 40%, rgba(27, 30, 33, 0) 64%); }
.band-text { position: relative; z-index: 2; width: 100%; padding-block: clamp(48px, 7vw, 96px); }
.band-line { max-width: 15ch; font-size: clamp(2.2rem, 4.4vw, 4.2rem); line-height: 1.04; }
.ph-band .ph-label { left: auto; right: 14px; }

/* from first visit to first lift */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(20px, 2.6vw, 40px); }
.steps li { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 2px solid var(--ink); }
.step-no { font-size: clamp(2.4rem, 3.4vw, 3.2rem); font-weight: 700; font-stretch: 112%; line-height: 1; font-variant-numeric: tabular-nums; }
.steps p { color: var(--ink-2); }

/* the planning service: one orange band edge to edge, the floor it plans drawn straight onto it */
.plan-band { margin-top: var(--space); padding-block: clamp(56px, 7vw, 104px); background: var(--signal); color: var(--on-signal); }
.plan-band :focus-visible { outline-color: var(--on-signal); }
.plan-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 104px); align-items: center; }
.plan-block { display: grid; align-content: center; justify-items: start; gap: 22px; }
.plan-block h2 { max-width: 14ch; }
.plan-block > p:not(.sample-note) { max-width: 40ch; font-size: 1.1rem; font-weight: 500; }
.plan-band .sample-note { color: var(--on-signal); max-width: 40ch; }
.plan-figure { display: grid; gap: 18px; align-content: center; }
.plan-band .label, .plan-band .plan-count span, .plan-band .plan-set, .plan-band .plan-key, .plan-band .plans-cap, .plan-band .plans-pair > .arrow { color: var(--on-signal); }
.plan-band .plan-key::before { background: var(--on-signal); }
.plans-pair { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(10px, 1.6vw, 20px); }
.plan { display: grid; gap: 10px; align-content: start; }
.plan svg { width: 100%; height: auto; }
.plans-pair > .arrow { width: 24px; height: 12px; stroke-width: 1.8; color: var(--ink); }
.plan-count { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin-top: 4px; }
.plan-count b { font-size: clamp(2.1rem, 3.4vw, 3rem); font-weight: 700; font-stretch: 112%; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan-count span, .plan-set { font-size: 0.9rem; color: var(--ink-2); }
.plan-key { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--ink-2); }
.plan-key::before { content: ""; width: 7px; height: 14px; background: var(--ink); }
.plans-cap { font-size: 0.92rem; color: var(--ink-2); }
/* on the orange: the rack faces that were stay a dark tint of the orange, the ones the plan adds are graphite */
.p-wall { fill: none; stroke: var(--on-signal); stroke-width: 1.6; }
.p-face { fill: rgba(27, 30, 33, 0.3); }
.p-new { fill: var(--on-signal); }
.p-stage { fill: none; stroke: rgba(27, 30, 33, 0.45); stroke-width: 1; stroke-dasharray: 3 3; }
.p-dim { stroke: var(--on-signal); stroke-width: 1.2; fill: none; }
.p-text { fill: var(--on-signal); font: 600 12px "Archivo", sans-serif; font-variant-numeric: tabular-nums; }
.p-quiet { fill: var(--on-signal); font: 600 10px "Archivo", sans-serif; letter-spacing: 0.1em; text-anchor: middle; }

/* ---------- the range: a line of large photo cards that scrolls sideways ---------- */

.range-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: clamp(28px, 3.4vw, 44px); }
.range-head p { max-width: 50ch; margin-top: 16px; color: var(--ink-2); font-size: 1.08rem; }
.range-ctrl { display: flex; gap: 10px; flex: none; }
.step-btn {
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0; cursor: pointer;
  background: var(--paper); color: var(--ink); border: 1px solid var(--ink); border-radius: 0;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.step-btn svg { width: 20px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }
.step-btn:hover:not(:disabled), .step-btn:focus-visible:not(:disabled), .step-btn:active:not(:disabled) { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.step-btn:disabled { opacity: 0.3; cursor: default; }
.range {
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin;
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--frame)) / 2));
}
.range:focus-visible { outline-offset: -2px; }
.range-track {
  display: flex; gap: 20px; width: max-content;
  padding-inline: max(var(--gutter), calc((100vw - var(--frame)) / 2)); padding-bottom: 10px;
}
.card { width: clamp(270px, 28vw, 380px); scroll-snap-align: start; display: grid; gap: 14px; align-content: start; }
.card-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.card-photo .ph { position: absolute; inset: 0; }
.card-photo .ph::after { content: ""; position: absolute; inset: 50% 0 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, var(--shade), rgba(27, 30, 33, 0)); }
.card-text { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; color: #FFFFFF; }
.card-text h3 { font-size: clamp(1.2rem, 1.45vw, 1.4rem); }
.card-fig { margin-top: 4px; color: var(--on-dark); font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.pick {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  background: var(--paper); border: 1px solid var(--ink); border-radius: 0; cursor: pointer;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.pick svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; flex: none; }
.pick:hover, .pick:focus-visible { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.pick[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.pick .when-on, .pick[aria-pressed="true"] .when-off { display: none; }
.pick[aria-pressed="true"] .when-on { display: inline; }
#products .wrap > .sample-note { margin-top: 18px; }

/* ---------- customers: a reserved strip ---------- */

.customers-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(28px, 3vw, 40px); border-block: 1px solid var(--line); }
.customers h2 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
.logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.logos li { display: grid; place-items: center; height: 64px; border: 1px dashed var(--field); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); }
.customers .sample-note { margin-top: 12px; }

/* ---------- the quote, on the dark ground ---------- */

.quote { margin-top: var(--space); padding-block: clamp(64px, 8vw, 120px); background: var(--dark); color: var(--on-dark); }
.quote :focus-visible { outline-color: #FFFFFF; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.quote h2 { color: #FFFFFF; }
.quote-intro { display: grid; gap: 18px; }
.quote-intro > p:first-of-type { font-size: 1.12rem; max-width: 38ch; }
.direct { display: grid; gap: 6px; margin-top: 10px; }
.direct span { color: var(--on-dark-2); }
.direct a { justify-self: start; font-size: clamp(1.8rem, 2.8vw, 2.4rem); font-weight: 700; font-stretch: 112%; line-height: 1.1; color: #FFFFFF; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.direct a:hover, .direct a:focus-visible { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: 0.16em; }
.quote .sample-note { color: var(--on-dark-2); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.f { display: grid; gap: 7px; align-content: start; }
.f-wide { grid-column: 1 / -1; }
.f > span, .f > label, .kit legend { font-size: 0.88rem; font-weight: 600; color: #FFFFFF; }
.f > .f-hint { margin-top: -3px; font-size: 0.9rem; font-weight: 400; line-height: 1.45; color: var(--on-dark-2); }
.f input, .f textarea {
  width: 100%; min-height: 50px; padding: 11px 12px; background: var(--paper); color: var(--ink);
  border: 1px solid var(--paper); border-radius: 0; font-size: 1rem; line-height: 1.3; caret-color: var(--ink);
}
.f textarea { min-height: 110px; resize: vertical; }
.f input:focus-visible, .f textarea:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.f input.bad { border-color: #F2B8B5; box-shadow: inset 0 0 0 2px #B3261E; }
.kit { border: 0; min-width: 0; }
.kit legend { margin-bottom: 12px; padding: 0; }
.kit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 0.98rem; line-height: 1.4; }
.check input {
  appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1px solid var(--on-dark-2); border-radius: 0; background: transparent no-repeat center / 12px 12px; cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.check input:hover { border-color: #FFFFFF; }
.check input:checked { background-color: #FFFFFF; border-color: #FFFFFF; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 6.5l3 3 6-7' fill='none' stroke='%231B1E21' stroke-width='2'/%3E%3C/svg%3E"); }
.check input:focus-visible { outline-offset: 2px; }
.kit-hint { margin-top: 12px; font-size: 0.88rem; color: var(--on-dark-2); }
.form .btn { margin-top: 28px; }
.form-error { margin-top: 20px; color: #F2B8B5; font-weight: 600; }
.form-done { margin-top: 18px; font-weight: 600; color: #FFFFFF; }

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

.foot { background: var(--dark); color: var(--on-dark); padding: 0 var(--gutter) 34px; }
.foot :focus-visible { outline-color: #FFFFFF; }
.foot-grid { max-width: var(--frame); margin-inline: auto; padding: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 60px); border-top: 1px solid var(--rule-dark); }
.foot-brand img { width: min(320px, 100%); height: auto; }
.foot-brand p { margin-top: 20px; max-width: 34ch; color: var(--on-dark-2); }
.foot-nav, .foot-contact { display: grid; gap: 10px; align-content: start; justify-items: start; font-style: normal; }
.foot-nav a, .foot-contact a { font-weight: 600; text-decoration: none; }
.foot-nav a:hover, .foot-contact a:hover, .foot-nav a:focus-visible, .foot-contact a:focus-visible { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.foot-sample { margin-top: 6px; font-size: 0.84rem; color: var(--on-dark-2); }
.foot-legal { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--rule-dark); font-size: 0.9rem; color: var(--on-dark-2); }
.foot .wrap { padding-inline: 0; }

/* ---------- narrower screens ---------- */

@media (max-width: 1060px) {
  /* the navigation folds into a menu once it no longer fits beside the logo and the button */
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--ink);
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px var(--gutter); border-top: 1px solid var(--line); font-size: 0.82rem; }
  .nav a:first-child { border-top: 0; }
  .nav a::after { display: none; }
  .lang { margin-left: auto; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 12px;
    background: none; color: inherit; border: 1px solid currentColor; border-radius: 0; cursor: pointer;
    font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  }
  .menu-btn svg { width: 16px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; }
  .menu-btn .when-open, .menu-btn[aria-expanded="true"] .when-closed { display: none; }
  .menu-btn[aria-expanded="true"] .when-open { display: block; }
}

@media (max-width: 900px) {
  .sec-head, .quote-grid, .plan-split { grid-template-columns: minmax(0, 1fr); }
  .savings, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .customers-grid { grid-template-columns: minmax(0, 1fr); }
  .ph-band::after { background: linear-gradient(to top, var(--shade) 0%, rgba(27, 30, 33, 0.5) 50%, rgba(27, 30, 33, 0.1) 80%); }
  .band-line { max-width: 18ch; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .bar-in { height: 64px; }
  .brand { width: 160px; height: 15px; }
  .bar-quote { display: none; }
  .nav.open .nav-quote { display: flex; justify-content: center; background: var(--signal); color: var(--on-signal); font-weight: 700; }
  .hero { height: 660px; }
  .ph-hero .ph-label { top: 76px; left: 10px; }
  .band { display: block; min-height: 0; background: var(--dark); }
  .ph-band::after { display: none; }
  .ph-band { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .ph-band .ph-label { left: 10px; right: auto; }
  .band-text { padding-block: 28px 44px; }
  .band-line { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .ph-label { left: 10px; top: 10px; font-size: 0.74rem; }
  .hero-text { bottom: 28px; }
  .actions { flex-direction: column; align-items: stretch; gap: 18px; margin-top: 24px; }
  .actions .link { align-self: start; }
  .range-head { flex-direction: column; align-items: stretch; }
  .range-ctrl { align-self: end; }
  .plans-pair { grid-template-columns: minmax(0, 1fr); }
  .plans-pair > .arrow { margin: 0; transform: rotate(90deg); justify-self: center; }
  .savings, .steps { grid-template-columns: minmax(0, 1fr); }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid, .kit-list { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation-duration: 0.01ms !important; animation-delay: 0s !important; }
}
