/* Direction C · The Showroom. The category's own page: a photograph of the work, a claim on a solid plate,
   and sections ruled into cells by hairlines. Orange and graphite own whole cells. */

@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: running text and the solid dark blocks */
  --ink-2: #454B52;
  --on-signal: #1B1E21;               /* text on orange, a deeper graphite so it holds 4.5:1 */
  --signal: #F26A21;
  --silver: #B8BEC4;
  --rule: #C9CED3;
  --rule-dark: rgba(184, 190, 196, 0.3);
  --plate: #E3E6E8;
  --on-dark: #E3E6E8;
  --on-dark-2: #C4C9CE;
  --gutter: clamp(14px, 5.5vw, 80px);
  --pad: clamp(18px, 2.9vw, 40px);
  --inset: clamp(0px, 3vw, 44px);     /* how far the headline plate and the quote bar sit inside the photograph */
  --frame: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

::selection { background: var(--signal); color: var(--on-signal); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, 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; }

/* ---------- type ---------- */

h1, h2, .statement, .block-title { font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -0.012em; text-wrap: balance; }
h1 { font-size: clamp(1.75rem, 3.2vw, 2.85rem); line-height: 1; }
h2 { font-size: clamp(1.4rem, 2.5vw, 2.25rem); line-height: 1.04; }
h3 { font-stretch: 112%; font-weight: 800; font-size: 1.25rem; line-height: 1.15; text-transform: uppercase; letter-spacing: 0.005em; }
p { text-wrap: pretty; }
.statement { font-size: clamp(1.25rem, 1.95vw, 1.75rem); line-height: 1.06; }
.statement.small { font-size: 1.5rem; }
.label, .f > span, .f > label, .spec dt, .plan-title, .ba-caps b {
  font-stretch: 75%; font-weight: 700; font-size: 0.8rem; line-height: 1.25; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-2);
}
.sample-note { font-size: 0.84rem; line-height: 1.4; color: var(--ink-2); }

/* ---------- actions: blocks invert, links draw their rule ---------- */

.arrow { width: 22px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; flex: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 58px; padding: 0 26px;
  background: var(--signal); color: var(--on-signal);
  border: 0; border-radius: 0; cursor: pointer;
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--ink); color: #FFFFFF; }
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--ink); color: #FFFFFF; }
.btn-dark:hover, .btn-dark:focus-visible { background: #FFFFFF; color: var(--ink); }

.link {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 0.42em;
  transition: text-decoration-thickness 0.25s var(--ease);
}
.link:hover, .link:focus-visible { text-decoration-thickness: 5px; }

/* ---------- contact strip and navigation ---------- */

.util { background: var(--ink); color: var(--on-dark-2); padding-inline: var(--gutter); font-size: 0.84rem; }
.util-in { max-width: var(--frame); margin-inline: auto; min-height: 36px; display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); }
.util a { color: #FFFFFF; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.util a:hover, .util a:focus-visible { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.util :focus-visible { outline-color: #FFFFFF; }
.lang { display: flex; margin-left: auto; border: 1px solid rgba(184, 190, 196, 0.55); }
.lang button { border: 0; background: none; color: var(--on-dark); cursor: pointer; padding: 2px 9px 1px; font-stretch: 62%; font-weight: 800; font-size: 0.95rem; letter-spacing: 0.05em; line-height: 1.3; }
.lang button[aria-pressed="true"] { background: #FFFFFF; color: var(--ink); }

.bar { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--rule); padding-inline: var(--gutter); }
.bar-in { position: relative; max-width: var(--frame); margin-inline: auto; height: 72px; display: flex; align-items: stretch; gap: clamp(14px, 2.4vw, 36px); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 20px; width: auto; }
.nav { display: flex; align-items: stretch; gap: clamp(14px, 2.4vw, 34px); margin-left: auto; }
.nav a { position: relative; display: flex; align-items: center; text-decoration: none; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--signal);
  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; }
.bar-quote { min-height: 0; }

/* ---------- photographs and their stand-ins ---------- */

.photo { position: relative; background: var(--plate); overflow: hidden; container-type: inline-size; }
.photo .stand-in, .photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo img { object-fit: cover; }
/* a slot waiting for its photograph: a dashed frame, and a label that grows with the plate so it still reads when the page is shown small */
.photo.is-stand-in::after { content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(43, 47, 51, 0.55); pointer-events: none; }
.photo-label {
  position: absolute; left: 0; top: 0; z-index: 1; max-width: min(calc(100% - 20px), 34em);
  display: grid; gap: 0.1em; padding: 0.55em 0.95em 0.5em;
  background: var(--paper); color: var(--ink);
  font-size: 0.85rem; line-height: 1.3;
}
@supports (font-size: 1cqw) {
  .photo-label { font-size: clamp(0.85rem, 2.9cqw, 1rem); }
  .photo-hero .photo-label { font-size: clamp(0.85rem, 1.75cqw, 1.45rem); }
}
.photo-label b { font-stretch: 75%; font-weight: 800; font-size: 1.25em; letter-spacing: 0.08em; text-transform: uppercase; }

/* the drawn stand-ins: greys for the setting, ink for the subject */
.s-floor { stroke: #8C9398; stroke-width: 2; fill: none; }
.s-upright { fill: #8C9398; }
.s-beam { fill: var(--silver); }
.s-pallet { fill: #9AA1A8; }
.s-load { stroke: #8C9398; stroke-width: 1; vector-effect: non-scaling-stroke; }
.s-l1 { fill: #FFFFFF; }
.s-l2 { fill: #F3F4F5; }
.s-l3 { fill: #D5D9DD; }
.s-l4 { fill: var(--silver); }
.subject .s-body, .subject .s-wheel, .subject .s-fork, .subject .s-mast, .subject .s-stage { fill: var(--ink); }
.subject .s-cut, .subject .s-glass { fill: var(--plate); }
.subject .s-hub { fill: var(--silver); }
.subject .s-pallet { fill: var(--ink-2); }
.subject .s-load { fill: #FFFFFF; stroke: var(--ink); stroke-width: 1.5; }
.halo path { fill: var(--plate); stroke: var(--plate); stroke-width: 8; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.s-dim { stroke: var(--ink); stroke-width: 2; fill: none; }
.s-dim-text { fill: var(--ink); font: 800 22px "Archivo", sans-serif; font-stretch: 62%; letter-spacing: 0.04em; text-anchor: middle; }

/* ---------- hero ---------- */

.hero { padding-inline: var(--gutter); }
.hero-frame { position: relative; max-width: var(--frame); margin-inline: auto; }
.photo-hero { height: clamp(300px, 36vw, 520px); }
.claim {
  position: absolute; left: var(--inset); bottom: var(--inset);
  width: min(60%, 740px);
  background: var(--ink); color: #FFFFFF;
  padding: clamp(22px, 2.6vw, 36px) clamp(22px, 3vw, 44px) clamp(20px, 2.4vw, 30px);
}
.claim .lede { margin-top: 14px; max-width: 46ch; color: var(--on-dark); font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.45; }
.claim-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: 22px; }
.claim :focus-visible { outline-color: #FFFFFF; }


/* ---------- sections: boxes ruled into cells ---------- */

.section { padding-inline: var(--gutter); margin-top: clamp(44px, 6vw, 88px); }
.box { max-width: var(--frame); margin-inline: auto; border: 1px solid var(--rule); }
.row { display: grid; }
.box > * + * { border-top: 1px solid var(--rule); }
.row > * { padding: var(--pad); min-width: 0; }
.row > * + * { border-left: 1px solid var(--rule); }

/* how Nakatrak works: one statement on graphite, one paragraph */
.r-intro { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.r-intro > .statement { display: grid; align-content: center; background: var(--ink); color: #FFFFFF; }
.r-intro > .intro-text { display: grid; gap: 14px; align-content: center; border-left: 0; }
.intro-text > p:first-child { max-width: 58ch; font-size: 1.15rem; line-height: 1.5; }

.r-head { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.r-head > * { display: grid; align-content: end; }
.head-text { gap: 10px; }
.head-text > p:first-child { max-width: 46ch; color: var(--ink-2); }

/* three of the four savings: the word, a before-and-after drawing as wide as its cell with both halves named, one sentence */
.r-savings { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.saving { display: grid; align-content: start; gap: 16px; }
.saving h3, .space-head h3 { font-size: 1.5rem; }
.ba { display: grid; gap: 10px; }
.ba .diagram svg { width: 100%; height: auto; overflow: visible; }
.ba-caps { display: grid; grid-template-columns: 7.8fr 2.8fr 7.8fr; font-size: 0.9rem; line-height: 1.3; color: var(--ink-2); }
.ba-caps > span { display: grid; gap: 2px; align-content: start; }
.ba-caps > span:last-child { grid-column: 3; }
.ba-caps b { color: var(--ink); }
.saving > p { font-size: 0.98rem; color: var(--ink-2); }
.d-ink { fill: var(--ink); }
.d-soft { fill: var(--ink); fill-opacity: 0.16; }
.d-dash { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.d-route { fill: none; stroke: var(--signal); stroke-width: 4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.d-new { fill: var(--signal); }
.d-arrow { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.d-floor { stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.diagram .s-body, .diagram .s-wheel, .diagram .s-fork, .diagram .s-mast, .diagram .s-stage { fill: var(--ink); }
.diagram .s-cut, .diagram .s-glass { fill: var(--paper); }
.diagram .s-hub { fill: var(--silver); }
.diagram .s-pallet { fill: #8C9398; }
.diagram .s-load { fill: var(--paper); stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.diagram .was .s-body, .diagram .was .s-wheel, .diagram .was .s-fork, .diagram .was .s-mast, .diagram .was .s-stage { fill: #8C9398; }

/* the fourth saving, space, is the page's own figure: the same floor drawn twice, with its pallet count at display size */
.space { display: grid; gap: clamp(18px, 2.4vw, 30px); }
/* the heading and its sentence sit on the two plan columns below them */
.space-head { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: clamp(12px, 2.2vw, 30px); align-items: baseline; }
.space-head p { grid-column: 3; }
.space-head p { max-width: 54ch; color: var(--ink-2); }
.plans-pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(12px, 2.2vw, 30px); }
.plan { display: grid; gap: 12px; align-content: start; }
.plan svg { width: 100%; height: auto; }
.plan-count { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; }
.plan-count b { font-stretch: 62%; font-weight: 800; font-size: clamp(3.2rem, 6.2vw, 5.25rem); line-height: 0.86; font-variant-numeric: tabular-nums; }
.plan-count span { font-size: 1.1rem; font-weight: 600; }
.plan-set { color: var(--ink-2); }
.plans-pair > .arrow { align-self: start; margin-top: clamp(70px, 11.5vw, 170px); width: 40px; height: 22px; stroke: var(--signal); stroke-width: 2.4; }
.p-wall { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.p-door { fill: var(--paper); stroke: var(--ink); stroke-width: 1; }
.p-face { fill: var(--ink); }
.p-new { fill: var(--signal); }
.p-bay { stroke: var(--paper); stroke-width: 1.5; }
.p-stage { fill: none; stroke: #8C9398; stroke-width: 1; stroke-dasharray: 4 4; }
.p-dim { stroke: var(--ink); stroke-width: 1.5; fill: none; }
.p-quiet { fill: #6B7178; font: 700 12px "Archivo", sans-serif; font-stretch: 75%; letter-spacing: 0.1em; text-anchor: middle; }
.p-text { fill: var(--ink); font: 800 14px "Archivo", sans-serif; font-stretch: 62%; letter-spacing: 0.04em; text-anchor: middle; font-variant-numeric: tabular-nums; }
.plan-lg .p-text { font-size: 17px; }
.plan-lg .p-quiet { font-size: 13.5px; }
.plan-sm .p-quiet { font-size: 11px; }
.plan-key { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--ink-2); }
.plan-key::before { content: ""; width: 7px; height: 15px; background: var(--signal); }

/* planning: an orange band across the foot of the box */
.r-band { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr) auto; align-items: center; background: var(--signal); color: var(--on-signal); }
.r-band > * + * { border-left: 0; }
.block-title { font-size: clamp(1.25rem, 1.85vw, 1.6rem); line-height: 1.06; }
.band-text { display: grid; gap: 10px; }
.band-text > p:first-child { max-width: 50ch; font-weight: 500; }
.r-band .sample-note, .block .sample-note { color: var(--on-signal); }

.block { background: var(--signal); color: var(--on-signal); display: grid; align-content: center; justify-items: start; gap: 16px; }
.row > .block + * { border-left: 0; }

/* ---------- the range: photo cards ---------- */

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { grid-row: span 4; display: grid; grid-template-rows: subgrid; row-gap: 14px; padding-bottom: var(--pad); border-left: 1px solid var(--rule); }
.card:nth-child(3n + 1) { border-left: 0; }
.card:nth-child(n + 4) { border-top: 1px solid var(--rule); }
.card .photo { aspect-ratio: 4 / 3; margin-bottom: 6px; }
.card h3, .card .spec, .card .pick { margin-inline: var(--pad); }
.spec { display: grid; grid-template-columns: auto minmax(0, 1fr); }
.spec dt, .spec dd { padding: 6px 0 5px; border-top: 1px solid var(--rule); }
.spec dd { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.spec dt:last-of-type, .spec dd:last-of-type { border-bottom: 1px solid var(--rule); }
.pick {
  justify-self: start; align-self: end; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px;
  background: var(--paper); border: 1px solid var(--ink); border-radius: 0; cursor: pointer;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
  transition: background 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(--signal); border-color: var(--signal); color: var(--on-signal); }
.pick .when-on, .pick[aria-pressed="true"] .when-off { display: none; }
.pick[aria-pressed="true"] .when-on { display: inline; }

/* ---------- process: a graphite band ---------- */

.section.dark { background: var(--ink); color: var(--on-dark); padding-block: clamp(36px, 5vw, 72px); }
.dark .box, .dark .box > * + * { border-color: var(--rule-dark); }
.dark .row > * + * { border-left-color: var(--rule-dark); }
.dark :focus-visible { outline-color: #FFFFFF; }
.r-process { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.r-process > .photo-site { padding: 0; min-height: 440px; }
.process-body h2 { color: #FFFFFF; max-width: 18ch; }
.steps { margin-top: clamp(20px, 3vw, 36px); }
.steps li { display: grid; grid-template-columns: 50px minmax(0, 5fr) minmax(0, 6fr); column-gap: 20px; align-items: baseline; padding: 16px 0 15px; border-top: 1px solid var(--rule-dark); }
.steps li:last-child { border-bottom: 1px solid var(--rule-dark); }
.step-no { font-stretch: 62%; font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--signal); font-variant-numeric: tabular-nums; }
.steps h3 { color: #FFFFFF; }
.steps p { font-size: 0.98rem; color: var(--on-dark-2); }
.dark .sample-note { margin-top: 16px; color: var(--on-dark-2); }

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

.r-customers { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); }
.r-customers > * { align-content: center; }
.r-customers > h2 { display: grid; }
.customers { display: grid; gap: 12px; }
.logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.logos li { display: grid; place-items: center; height: 64px; border: 2px dashed rgba(43, 47, 51, 0.55); font-stretch: 75%; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- quote ---------- */

.r-quote { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.quote-intro { align-content: start; gap: 14px; }
.quote-intro > p:first-of-type { font-size: 1.12rem; line-height: 1.4; }
.direct { display: grid; gap: 6px; margin-top: 14px; }
.direct .label { color: var(--on-signal); line-height: 1.35; }
.direct a { justify-self: start; font-stretch: 62%; font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.direct a:hover, .direct a:focus-visible { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.12em; }
.quote-intro .sample-note { margin-top: 6px; }

.form { padding: var(--pad); }
.form-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 18px; }
.f { grid-column: span 3; display: grid; gap: 6px; }
.f-third { grid-column: span 2; }
.f-wide { grid-column: 1 / -1; }
.f input, .f textarea { width: 100%; min-height: 50px; padding: 10px 12px; background-color: var(--paper); border: 1px solid var(--ink); border-radius: 0; font-size: 1.02rem; line-height: 1.3; }
.f textarea { resize: vertical; min-height: 96px; }
.f input:focus-visible, .f textarea:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.f > .f-hint { margin-top: -2px; font-stretch: 100%; font-weight: 400; font-size: 0.94rem; line-height: 1.45; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.f input.bad { border-color: #B3261E; box-shadow: inset 0 0 0 1px #B3261E; }
.picked { display: flex; flex-wrap: wrap; gap: 8px; }
.picked li { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ink); padding: 2px 4px 2px 12px; font-weight: 600; font-size: 0.94rem; }
.picked button { width: 30px; height: 30px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; padding: 0; }
.picked button svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.6; }
.picked-empty { font-size: 0.94rem; color: var(--ink-2); }
.form .btn { margin-top: 22px; }
.form-error { margin-top: 18px; color: #8C1D18; font-weight: 600; }
.form-done { margin-top: 18px; font-weight: 600; }

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

.foot { margin-top: clamp(44px, 6vw, 88px); background: var(--ink); color: var(--on-dark); padding: clamp(44px, 6vw, 80px) var(--gutter) 34px; }
.foot :focus-visible { outline-color: #FFFFFF; }
.foot-in { max-width: var(--frame); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 60px); }
.foot-brand img { width: min(340px, 100%); height: auto; }
.foot-brand p { margin-top: 22px; max-width: 34ch; color: var(--on-dark-2); }
.foot-nav { display: grid; gap: 10px; align-content: start; justify-items: start; }
.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-contact { display: grid; gap: 8px; align-content: start; justify-items: start; font-style: normal; }
.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); }

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

@media (max-width: 1100px) {
  .r-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .band-action { grid-column: 1 / -1; padding-top: 0; }
}

@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: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); top: 100%; margin: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 2px solid var(--ink); }
  .nav.open { display: flex; }
  .nav a { padding: 16px var(--gutter); border-top: 1px solid var(--rule); font-size: 0.9rem; }
  .nav a:first-child { border-top: 0; }
  .nav a::after { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 9px; align-self: center; margin-left: auto; min-height: 40px; padding: 0 12px;
    background: none; border: 1px solid var(--ink); border-radius: 0; cursor: pointer;
    font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  }
  .menu-btn svg { width: 16px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; }
  .menu-btn .when-open, .menu-btn[aria-expanded="true"] .when-closed { display: none; }
  .menu-btn[aria-expanded="true"] .when-open { display: block; }
  .menu-btn[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
}

@media (max-width: 900px) {
  .row { grid-template-columns: minmax(0, 1fr); }
  .row > * + * { border-left: 0; border-top: 1px solid var(--rule); }
  .dark .row > * + * { border-top-color: var(--rule-dark); }
  .r-head > .head-text, .r-band > * + *, .r-intro > .intro-text { border-top: 0; }
  .r-head > .head-text, .r-band > * + * { padding-top: 0; margin-top: calc(var(--pad) * -0.4); }
  .band-action { grid-column: auto; }
  .ba { max-width: 460px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card:nth-child(3n + 1) { border-left: 1px solid var(--rule); }
  .card:nth-child(2n + 1) { border-left: 0; }
  .card:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .r-process > .photo-site { min-height: 0; aspect-ratio: 16 / 10; }
  .foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  /* the plate leaves the photograph and stacks under it */
  .photo-hero { height: clamp(190px, 54vw, 320px); }
  .claim { position: static; transform: none; width: auto; padding: 20px 20px 18px; }
  .claim .lede { margin-top: 10px; font-size: 1rem; line-height: 1.4; }
  .claim-actions { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 18px; }
  .claim-actions .link { align-self: start; }
  .bar-in { height: 60px; }
  .brand img { height: 16px; }
  .bar-quote { display: none; }
  .nav.open .nav-quote { display: flex; justify-content: center; background: var(--signal); color: var(--on-signal); font-weight: 800; }
  .util-place, .util-sample { display: none; }
  .space-head { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .space-head p { grid-column: auto; }
  .plans-pair { grid-template-columns: minmax(0, 1fr); }
  .plans-pair > .arrow { margin: 0; transform: rotate(90deg); justify-self: start; }
  .plan svg { max-width: 460px; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); }
  .steps li p { grid-column: 2; margin-top: 4px; }
  .f, .f-third { grid-column: 1 / -1; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card, .card:nth-child(3n + 1), .card:nth-child(2n + 1) { border-left: 0; }
  .card:nth-child(n + 2) { border-top: 1px solid var(--rule); }
}

@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; }
}
