/* 44 Spec Sheet: Hollis Metal & Sign (sample)
   Recreation of the look of failte.framer.website (our own code, our own 3D renders, no photos).
   A spare product catalogue on light grey: a giant edge-to-edge wordmark, one charcoal ink for text and every rule,
   Inter at two weights, pieces shown on quiet stone tiles, and spec tables (Type / Material / Finish) that double as
   the shop's capabilities. Outline pill buttons, solid and dotted 1px rules, no accent colour.
   Re-skin: change the shared token layer below. Breakpoints 760 / 1080 (ncs-desktop). No JavaScript: a :target menu,
   radio + :has() filter, <details name> FAQ, scroll-snap rails and CSS animation only. */
:root {
  /* Shared token layer (library-wide names) */
  --c-bg: #f0f0f0;                 /* light grey page */
  --c-surface: #e4e2de;            /* stone tiles behind every piece */
  --c-ink: #231f20;                /* warm charcoal: text, rules, buttons */
  --c-muted: #5f5b55;              /* labels: 5.9:1 on the page, 5.0:1 on tiles */
  --c-line: #231f20;               /* the original's rules are solid ink */
  --c-line-strong: #231f20;        /* field underlines */
  --c-accent: #231f20;             /* no accent: the filled button is ink */
  --c-on-accent: #f0f0f0;
  --c-accent-2: #2e6b47;           /* status only (the "sent" check) */
  --f-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Fragment Mono", ui-monospace, "SF Mono", Menlo, monospace;  /* product codes and coordinates */
  --r-sm: 0px;                     /* tiles and fields are square */
  --r-lg: 0px;
  --r-pill: 999px;                 /* outline pill buttons */
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 40px; --s-5: 64px; --s-6: 128px;

  /* Theme names mapped to the shared layer */
  --paper: var(--c-bg);
  --tile: var(--c-surface);
  --ink: var(--c-ink);
  --mute: var(--c-muted);
  --rule: 1px solid var(--c-line);
  --dots: 1px dotted var(--c-line);
  --g: 20px;                       /* side gutter: 20 / 32 */
  --bar-h: 60px;                   /* bar height: 60 / 94 */
  --sec: 40px;                     /* space between sections: 40 / 112 / 160 */
  --wm-k: .4349;                   /* wordmark size per container width: tune for the client's name (re-skin guide) */
  --e-out: cubic-bezier(.23, 1, .32, 1);
  --t-state: 22px;                 /* statements */
  --t-sec: 24px;                   /* section headings */
  --t-piece: 28px;                 /* piece titles */
  --t-lead: 17px;
  --t-body: 16px;
  --t-spec: 15px;
  --t-code: 13px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); scroll-padding-top: calc(var(--bar-h) + 8px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-body)/1.45 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote, dl, dd { margin: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
b { font-weight: 600; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--f-mono); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
a, button, summary, label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; padding: 12px 16px; background: var(--ink); color: var(--paper); font-weight: 600; }
.skip:focus { top: 12px; }
.demo { background: var(--ink); color: #e6e3de; font-size: 13px; line-height: 1.4; text-align: center; padding: 9px 16px; }
.dk-only { display: none; }

/* ---------- Buttons: the original's outline pills ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 28px;
  border: 1px solid var(--ink); border-radius: var(--r-pill); background: transparent; color: var(--ink);
  font: 400 16px/1.2 var(--f-body); text-align: center; white-space: nowrap; cursor: pointer;
  transition: transform 120ms var(--e-out), background-color .2s, color .2s; }
.pill:active { transform: scale(.97); }
.pill-ink { background: var(--c-accent); color: var(--c-on-accent); }
.pill-wide { display: flex; width: 100%; }
.pill-light { background: #f0f0f0; border-color: #f0f0f0; color: var(--ink); }
.pill-ghost { border-color: #f0f0f0; color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .pill:hover { background: var(--ink); color: var(--paper); }
  .pill-ink:hover { background: transparent; color: var(--ink); }
  .pill-light:hover { background: transparent; color: #fff; }
  .pill-ghost:hover { background: #f0f0f0; color: var(--ink); }
}

/* ---------- Bar (sticky, grey, a 2px rule inside the gutters) ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: var(--paper); }
.bar-in { height: var(--bar-h); margin: 0 var(--g); display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--ink); }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 600 25px/1 var(--f-display); letter-spacing: -.04em; }
.logo-mark { width: 24px; height: 24px; }
/* name once: the bar name shows only after the giant wordmark has scrolled away (RECREATION-RULES rule 4) */
.logo-name { opacity: 0; }
.logo:focus-visible .logo-name { opacity: 1 !important; }
@supports (animation-timeline: scroll()) {
  .logo-name { animation: name-in linear both; animation-timeline: scroll(root); animation-range: 30vh 55vh; }
}
@keyframes name-in { from { opacity: 0; } to { opacity: 1; } }
.bar-r { display: flex; align-items: center; gap: 8px; }
.bar-call { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); border-radius: var(--r-pill); font-size: 15px; }
.bar-call .dk { display: none; }
.burger { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -6px; }
/* computers: the burger's box fills the bar's height, so it stays under the pointer whether or not the demo bar has scrolled away */
@media (min-width: 760px) { .burger { height: calc(var(--bar-h) - 2px); width: 52px; margin-right: -10px; } }
.burger span { width: 30px; height: 12px; border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); }
@media (hover: hover) and (pointer: fine) { .bar-call:hover { background: var(--ink); color: var(--paper); } }

/* ---------- Menu: full-screen :target overlay, giant right-aligned links on rules ---------- */
.menu { position: fixed; inset: 0; z-index: 200; overflow-y: auto; overscroll-behavior: contain;
  background: rgb(240 240 240 / .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  visibility: hidden; opacity: 0; transition: opacity .3s var(--e-out), visibility 0s linear .3s; }
.menu:target { visibility: visible; opacity: 1; transition: opacity .3s var(--e-out); }
.menu-in { min-height: 100%; padding: 0 var(--g) 28px; display: flex; flex-direction: column; }
.menu-top { height: var(--bar-h); display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--ink); flex: none; }
.menu-name { display: inline-flex; align-items: center; min-height: 44px; font: 600 25px/1 var(--f-display); letter-spacing: -.04em; }
.menu-close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; }
.menu-close .i { width: 30px; height: 30px; stroke-width: 2.2; }
.menu-list { --ncs-on-style: none; margin-top: 8px; }
.menu-list a { display: flex; justify-content: flex-end; align-items: baseline; gap: 14px; padding: 18px 0 12px; border-bottom: var(--rule);
  font: 600 clamp(44px, 14vw, 72px)/1.05 var(--f-display); letter-spacing: -.02em; }
.menu-list a::before { content: ""; width: calc(var(--on, 0) * 14px); height: 14px; background: var(--ink); align-self: center; border-radius: 50%; }
.menu:target .menu-list li { animation: m-in .5s var(--e-out) both; }
.menu:target .menu-list li:nth-child(2) { animation-delay: 40ms; }
.menu:target .menu-list li:nth-child(3) { animation-delay: 80ms; }
.menu:target .menu-list li:nth-child(4) { animation-delay: 120ms; }
@keyframes m-in { from { opacity: 0; transform: translateY(14px); } }
.menu-foot { margin-top: auto; padding-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: 15px; }
.menu-foot > span { display: none; }
@media (min-width: 760px) { .menu-foot > span { display: inline; } }
.menu-foot a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 10px; text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .menu-list a:hover { color: var(--mute); } }
body:has(.menu:target) { overflow: hidden; }

/* ---------- Shared type ---------- */
.statement { font: 600 var(--t-state)/1.2 var(--f-display); letter-spacing: -.02em; }
.statement-ruled { padding-bottom: 22px; border-bottom: var(--rule); }
.h-sec { font: 600 var(--t-sec)/1.2 var(--f-display); letter-spacing: .01em; }
.h-piece { font: 600 var(--t-piece)/1.2 var(--f-display); letter-spacing: -.02em; }
.h-note { font: 600 18px/1.3 var(--f-display); }
.lead { font-size: var(--t-lead); line-height: 1.42; }
.code { font: 400 var(--t-code)/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .02em; }
section { margin: 0 var(--g); }
main > section + section { margin-top: var(--sec); }

/* ---------- Spec tables (Type / Material / Finish; capacity; on record) ---------- */
.spec { border-top: var(--rule); border-bottom: var(--rule); font-size: var(--t-spec); line-height: 1.35; }
.spec > div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 11px 0; }
.spec > div + div { border-top: var(--dots); }
.spec dt { display: flex; align-items: flex-start; gap: 7px; font-weight: 600; }
.spec dt .i { width: 16px; height: 16px; margin-top: 1px; }

/* ---------- Tiles: every piece sits on a stone tile ---------- */
.tile { background: var(--tile); }
.tile img { width: 100%; height: 100%; object-fit: contain; }
.card { display: flex; flex-direction: column; }
.card-top { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 0; }
.card-top b { font: 600 18px/1.25 var(--f-display); }
.card img { aspect-ratio: 4 / 5; height: auto; flex: 1; min-height: 0; }
.card-foot { padding: 0 14px 12px; font-weight: 600; font-size: 14px; }
.card-foot span { font-weight: 400; }

/* ---------- Hero: the wordmark ---------- */
.hero { margin-top: 6px; }
.wm-wrap, .pg-wm, .foot-wm { container-type: inline-size; }
.wm { display: block; font: 600 calc(var(--wm-k) * 100cqi)/.8 var(--f-display); letter-spacing: -.055em; white-space: nowrap;
  padding: .06em 0 .04em; margin-left: -.073em; }
.hero-strip { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: var(--rule); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 14px; color: var(--mute); }
.hero-meta span { display: inline-flex; align-items: center; gap: 5px; }
.hero-meta .i { width: 14px; height: 14px; }
.hero-b { margin-top: 28px; }
@media (prefers-reduced-motion: no-preference) {
  .hero .wm { animation: wm-in 1s var(--e-out) both; }
  .hero-b, .hero-strip { animation: rise .8s var(--e-out) .35s both; }
}
@keyframes wm-in { from { clip-path: inset(0 0 100% 0); transform: translateY(6%); } to { clip-path: inset(0 0 -10% 0); transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Featured piece ---------- */
.feat { display: flex; flex-direction: column; gap: 16px; }
.feat-img { aspect-ratio: 4 / 3; order: 1; }
.feat-c { display: contents; }
.feat-c > .h-sec { order: 0; padding-top: 14px; border-top: var(--rule); }
.feat-body { order: 2; display: flex; flex-direction: column; gap: 14px; }
.code-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 4px; }
.price { font-weight: 600; font-size: 15px; }
.feat .pill { align-self: stretch; }

/* ---------- Latest (computers and tablets) ---------- */
.latest { display: none; }

/* ---------- Shop notes ---------- */
.notes { display: flex; flex-direction: column; gap: 16px; }
.notes-l { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding-top: 14px; border-top: var(--rule); }
.note-lead { display: flex; flex-direction: column; gap: 10px; }
.note-img { aspect-ratio: 4 / 3; }
.note-lab { display: flex; align-items: center; gap: 6px; padding-bottom: 8px; border-bottom: var(--rule); font-size: 14px; font-weight: 600; color: var(--mute); margin-top: 4px; }
.note-lab .i { width: 15px; height: 15px; }
.note-date { display: flex; justify-content: space-between; align-items: center; font: 400 var(--t-code)/1.3 var(--f-mono); text-transform: uppercase; }
.note-date a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 600 14px/1 var(--f-body); text-transform: none; }
.note-date a .i { width: 15px; height: 15px; }
.note-lead .h-note { padding-bottom: 8px; border-bottom: var(--rule); }

/* ---------- Closing band ---------- */
.band { position: relative; display: grid; min-height: 360px; overflow: hidden; background: #2b2724; color: #fff; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 45%, rgb(24 21 19 / .62), rgb(24 21 19 / .25)); }
.band-c { position: relative; z-index: 1; align-self: center; justify-self: center; max-width: 640px; padding: 32px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.band h2 { font: 600 clamp(26px, 3vw, 38px)/1.15 var(--f-display); letter-spacing: -.02em; }
.band p { font-size: var(--t-lead); line-height: 1.45; color: #f3efe9; }
.band-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

/* ---------- Inner page heads (bundled desktop pages repeat the wordmark, as the original's inner pages do) ---------- */
.pg-wm { display: none; }

/* ---------- Catalogue ---------- */
.cat { display: flex; flex-direction: column; gap: 20px; }
.filter-h { font: 600 var(--t-sec)/1.2 var(--f-display); padding-bottom: 10px; border-bottom: var(--rule); }
.filter-h sup { font-size: 13px; font-weight: 400; vertical-align: super; line-height: 0; }
.frow { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: baseline; padding: 6px 0; border-bottom: var(--rule); font-size: 15px; }
.frow legend, .frow-l { float: left; font-weight: 600; padding: 0; }
fieldset.frow { display: block; padding: 6px 0 4px; }
fieldset.frow legend { width: 96px; padding-top: 11px; }
.frow-v { color: var(--mute); padding: 6px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0 4px; margin-left: 108px; }
.vh-in { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.chips label { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 10px; cursor: pointer; color: var(--mute); border-radius: var(--r-pill); }
.chips label:first-of-type { margin-left: -10px; }
.vh-in:checked + label { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.vh-in:focus-visible + label { outline: 2px solid var(--ink); outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .chips label:hover { color: var(--ink); } }
.cat-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 68%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; margin: 0 calc(-1 * var(--g)); padding: 0 var(--g); scroll-padding: 0 var(--g); }
.cat-grid::-webkit-scrollbar { display: none; }
.cat-grid > li { scroll-snap-align: start; transition: opacity .3s var(--e-out); }
.cat:has(#f-cut:checked) .cat-grid > li:not([data-p~="cut"]),
.cat:has(#f-form:checked) .cat-grid > li:not([data-p~="form"]),
.cat:has(#f-weld:checked) .cat-grid > li:not([data-p~="weld"]) { opacity: .25; }
.card .crop-sign { object-fit: cover; object-position: 58% 50%; }

/* ---------- Capacity ---------- */
.cap { display: flex; flex-direction: column; gap: 16px; }
.cap-l { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: var(--rule); }

/* ---------- Spec sheet (Work) ---------- */
.sheet-grid { display: flex; flex-direction: column; gap: 18px; }
.sheet-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sheet-main { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.sheet-crop { display: none; aspect-ratio: 4 / 5; }
.sheet-c { display: flex; flex-direction: column; gap: 14px; }
.crumb { font-size: 13px; text-transform: uppercase; letter-spacing: .02em; }
.crumb a, .crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; text-decoration: underline; text-underline-offset: 3px; }
.crumbs { display: none; }
.sheet-c .h-piece { padding-bottom: 12px; border-bottom: var(--rule); }
.sheet-txt { display: flex; flex-direction: column; gap: 12px; }
.sheet-ask { font-weight: 600; font-size: 15px; }

/* ---------- Journal ---------- */
.journal { display: flex; flex-direction: column; gap: 16px; }
.journal > .h-sec { padding-top: 14px; border-top: var(--rule); }
.jr-list { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; margin: 0 calc(-1 * var(--g)); padding: 0 var(--g); scroll-padding: 0 var(--g); }
.jr-list::-webkit-scrollbar { display: none; }
.jr { display: flex; flex-direction: column; gap: 8px; scroll-snap-align: start; }
.jr figure { aspect-ratio: 4 / 3; }
.jr figure img { object-fit: cover; }
.jr .note-date { min-height: 0; padding-top: 4px; }
.jr .h-note { padding-bottom: 8px; border-bottom: var(--rule); }
.jr > p:last-child { font-size: 15px; }

/* ---------- About ---------- */
.about { display: flex; flex-direction: column; gap: 22px; }
.about-row { display: flex; flex-direction: column; gap: 12px; }
.side-note { font-size: 15px; display: flex; gap: 8px; }
.side-note .i { order: -1; margin-top: 2px; width: 16px; height: 16px; transform: rotate(90deg); }
.about-img { aspect-ratio: 16 / 11; }
.about-txt { display: flex; flex-direction: column; gap: 18px; }
.about-txt .h-note { margin-bottom: 6px; font-size: 20px; }
.trust { display: flex; flex-direction: column; gap: 16px; }
.trust > .h-sec, .faq > .h-sec { padding-top: 14px; border-top: var(--rule); }
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; margin: 6px calc(-1 * var(--g)) 0; padding: 0 var(--g); scroll-padding: 0 var(--g); }
.reviews::-webkit-scrollbar { display: none; }
.reviews li { scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 16px; background: var(--tile); }
.reviews blockquote p { font: 600 17px/1.35 var(--f-display); letter-spacing: -.01em; }
.rev-by { font-size: 14px; }
.rev-by span { display: block; color: var(--mute); font-size: 13px; }
.faq { display: flex; flex-direction: column; gap: 6px; }
.faq-list details { border-bottom: var(--rule); }
.faq-list details:first-child { border-top: var(--rule); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; padding: 8px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 15px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .i { transition: transform .3s var(--e-out); }
.faq-list details[open] summary .i { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 16px; max-width: 62ch; }

/* ---------- Contact ---------- */
.contact { display: flex; flex-direction: column; gap: 22px; }
.contact-grid { display: flex; flex-direction: column; gap: 32px; }
.visit { display: flex; flex-direction: column; gap: 16px; }
.visit-cols { display: grid; grid-template-columns: 1fr; gap: 16px; }
.visit .h-note { font-size: 20px; margin-bottom: 6px; }
.visit p { font-size: 15px; }
.addr { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.reach { border-top: var(--dots); }
.reach a { display: flex; align-items: center; gap: 10px; min-height: 48px; border-bottom: var(--dots); font-size: 15px; }
.map { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; color: var(--ink); }
.map > svg { width: 100%; height: 100%; }
.map-l { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: var(--paper); font-size: 14px; }
.quote { display: flex; flex-direction: column; gap: 6px; }
.req { font-size: 14px; color: var(--mute); }
.form { display: flex; flex-direction: column; margin-top: 8px; }
.fl { font-weight: 600; font-size: 15px; margin-top: 16px; }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; margin-top: 4px; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--c-line-strong);
  border-radius: 0; background: transparent; color: var(--ink); font: 400 16px/1.4 var(--f-body); }
.form select { appearance: none; padding-right: 32px; border: 1px solid var(--c-line-strong); padding-left: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231f20' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center / 18px; }
.form textarea { resize: vertical; min-height: 104px; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.form .pill { margin-top: 24px; }
.sent { display: none; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 14px; border: 1px solid var(--c-accent-2); font-size: 15px; }
.sent .i { width: 20px; height: 20px; color: var(--c-accent-2); margin-top: 1px; }
.sent:target { display: flex; }

/* ---------- Footer ---------- */
.foot { margin: var(--sec) var(--g) 0; padding-bottom: 14px; }
.foot-top { display: flex; flex-direction: column; gap: 10px; padding: 14px 0 16px; border-top: var(--rule); border-bottom: var(--rule); }
.foot-line { font-weight: 600; font-size: 15px; }
.foot-geo { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.foot-geo .mono { font-size: 13px; }
.foot-grid { display: flex; flex-direction: column; gap: 24px; padding: 20px 0 28px; }
.foot-latest { display: none; }
.foot-h { font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--mute); padding-bottom: 6px; border-bottom: var(--rule); margin-bottom: 6px; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-size: 15px; }
.foot-q { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; }
.foot-q p:not(.foot-h) { font-size: 15px; }
.foot-wm { container-type: inline-size; padding-top: 10px; border-top: var(--rule); overflow: clip; }   /* the 0.8 line-height glyph box would otherwise add empty page under the footer */
.foot-legal { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; margin-top: 10px; border-top: var(--rule); font-size: 13px; text-transform: uppercase; letter-spacing: .02em; }
@media (hover: hover) and (pointer: fine) {
  .foot-links a:hover, .fl-a:hover, .reach a:hover, .note-date a:hover { text-decoration: underline; text-underline-offset: 3px; }
}

/* ================= Tablet (760+) ================= */
@media (min-width: 760px) {
  :root { --g: 32px; --bar-h: 80px; --sec: 112px; --t-state: 30px; --t-sec: 27px; --t-piece: 32px; --t-lead: 19px; --t-body: 17px; --t-spec: 16px; --t-code: 14px; }
  .bar-call .dk { display: inline; }
  .bar-call .ph { display: none; }
  .hero-b { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; margin-top: 64px; }
  .statement:not(.statement-ruled) { grid-column: 3 / span 9; }
  .hero-strip { flex-direction: row; justify-content: space-between; align-items: center; gap: 24px; }
  .spec > div { grid-template-columns: 150px 1fr; }
  .latest { display: flex; flex-direction: column; gap: 16px; }
  .latest > .h-sec { padding-top: 14px; border-top: var(--rule); }
  .tiles-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .pill-end { align-self: flex-end; min-width: calc(25% - 24px); }
  .notes { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; }
  .notes-l { grid-column: 1 / span 5; align-self: start; }
  .note-lead { grid-column: 6 / -1; }
  .notes-l .pill { margin-top: 12px; }
  .band { min-height: 520px; }
  .cat-grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; gap: 20px; }
  .jr-list { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; gap: 20px; }
  .reviews { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 6px 0 0; padding: 0; gap: 20px; }
  .sheet-crop { display: block; }
  .dk-only { display: block; }
  .spec > .dk-only { display: grid; }
  .about-row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; }
  .side-note { grid-column: 1 / span 3; flex-direction: row; }
  .about-img { grid-column: 4 / -1; }
  .about-txt { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; row-gap: 40px; }
  .about-txt > div { grid-column: 4 / span 6; }
  .visit-cols { grid-template-columns: 1fr 2fr; }
  .foot-top { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .foot-q { grid-column: auto; }
  .foot-legal { flex-direction: row; justify-content: space-between; gap: 24px; }
  .chips { margin-left: 108px; }
}

/* ================= Desktop (1080+) ================= */
@media (min-width: 1080px) {
  :root { --bar-h: 94px; --sec: 160px; --t-state: clamp(32px, 2.7vw, 39px); --t-sec: clamp(27px, 2.2vw, 31.5px); --t-piece: clamp(32px, 2.7vw, 39px);
    --t-lead: clamp(19px, 1.5vw, 21.6px); --t-body: 18px; --t-spec: 17px; --t-code: 15px; }
  .logo { font-size: 30px; }
  .logo-mark { width: 28px; height: 28px; }
  .burger span { width: 32px; height: 14px; border-width: 4px; }
  .menu-top { height: var(--bar-h); }
  .menu-name { font-size: 40px; letter-spacing: -.045em; }
  .menu-list { margin-top: 24px; }
  .menu-list a { padding: 28px 0 22px; }
  .menu-foot { justify-content: flex-end; font-size: 16px; }
  .hero { margin-top: 18px; }
  .hero-b { margin-top: 96px; }
  .statement:not(.statement-ruled) { grid-column: 4 / span 7; }
  .hero-meta { font-size: 15px; gap: 2px 24px; }
  .pill { min-height: 44px; font-size: 18px; }

  /* featured: image on 7 columns, the copy column on the right, heading at its top, body at its foot */
  .feat { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 22px; align-items: stretch; }
  .feat-img { grid-column: 1 / span 7; grid-row: 1; aspect-ratio: auto; min-height: 620px; }
  .feat-c { grid-column: 8 / -1; grid-row: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
  .feat-c > .h-sec { padding-top: 16px; }
  .feat-body { gap: 18px; }

  .tiles-4 { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .card-top { padding: 12px 14px 0; }
  .card-top b { font-size: 21.6px; }
  .card-foot { font-size: 16px; padding: 0 14px 14px; }
  .notes-l { grid-column: 1 / span 4; }
  .note-lead { grid-column: 5 / -1; }
  .note-lead p:last-child { font-size: 18px; }
  .h-note { font-size: 21.6px; }
  .band { min-height: 680px; }
  .band::after { background: radial-gradient(48% 60% at 50% 48%, rgb(24 21 19 / .6), rgb(24 21 19 / .1)); }

  /* bundled desktop pages: every inner page opens on the giant wordmark, like the original's inner pages */
  main > [data-pg] .pg-wm { display: block; container-type: inline-size; margin-top: 18px; margin-bottom: 96px; }
  main > [data-pg] .crumbs { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; }
  .pg-head .statement, .about > .statement, .contact > .statement { max-width: 66%; }

  /* catalogue: the filter takes the first two cells, as on the original's products page */
  .cat { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 32px; row-gap: 32px; }
  .filter { grid-column: 1 / 3; grid-row: 1; }
  .cat-grid { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: subgrid; gap: 32px; pointer-events: none; }
  .cat-grid > li { pointer-events: auto; }
  .cat-grid > li:first-child { grid-column-start: 3; }
  .frow, fieldset.frow { font-size: 16px; }

  .cap { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; }
  .cap-l { grid-column: 1 / span 4; align-self: start; }
  .cap .spec { grid-column: 5 / -1; }
  .spec-lg > div { grid-template-columns: 220px 1fr; padding: 15px 0; }

  .sheet-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 22px; align-items: start; }
  .sheet-gal { grid-column: 1 / span 7; gap: 10px; }
  .sheet-c { grid-column: 8 / -1; gap: 18px; position: sticky; top: calc(var(--bar-h) + 24px); }
  .sheet-txt { font-size: 17px; }
  .jr-list { grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
  .jr-lead figure { aspect-ratio: 4 / 3; }
  .jr figure { aspect-ratio: 4 / 3.4; }
  .jr-lead .h-note { font-size: 24px; }

  .about { gap: 40px; }
  .about-row { margin-top: 64px; }
  .side-note { font-size: 15px; padding-right: 24px; }
  .about-txt { margin-top: 64px; }
  .trust { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; row-gap: 40px; }
  .trust > .h-sec { grid-column: 1 / span 3; border: 0; padding-top: 16px; }
  .trust .spec { grid-column: 4 / -1; }
  .reviews { grid-column: 4 / -1; gap: 32px; }
  .reviews blockquote p { font-size: 20px; }
  .faq { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; }
  .faq > .h-sec { grid-column: 1 / span 3; border: 0; padding-top: 16px; }
  .faq-list { grid-column: 4 / -1; }
  .faq-list summary { font-size: 17px; min-height: 56px; }

  .contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; margin-top: 64px; }
  .visit { grid-column: 1 / span 6; }
  .quote { grid-column: 7 / -1; }
  .visit-cols { grid-template-columns: 1fr 2fr; gap: 32px; }
  .map { aspect-ratio: 4 / 3; margin-top: 8px; }

  .foot-top { grid-template-columns: repeat(2, 1fr); }
  .foot-line { font-size: 18px; }
  .foot-geo { font-size: 17px; }
  .foot-geo .mono { font-size: 16px; }
  .foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 28px 0 56px; }
  .foot-latest { display: block; }
  .fl-row { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; padding: 18px 0; font-size: 16px; }
  .fl-row + .fl-row { border-top: var(--dots); }
  .fl-t { font: 600 21.6px/1.2 var(--f-display); margin-bottom: 8px; }
  .fl-a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-weight: 600; font-size: 15px; }
  .fl-a .i { width: 15px; height: 15px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-q { grid-column: 1 / -1; }
  .foot-q .pill { max-width: 50%; margin-left: auto; }
  .foot-legal { font-size: 14px; }
}
@media (min-width: 1280px) {
  .foot-cols { grid-template-columns: 1fr 1fr 1.4fr; }
  .foot-q { grid-column: auto; }
  .foot-q .pill { max-width: none; }
}

/* ---------- Reduced motion: no intro, no menu slide, no transitions (the name fade is scroll-linked, so it stays) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
  .menu:target .menu-list li { animation: none; }
}

/* phones: the one-page layout stays under 10 screens; repeats of the same render and secondary blocks fold away
   (Shop notes, the spec-sheet gallery and the shop photo are all on the computer pages and in the Work rail) */
@media (max-width: 759px) {
  .sheet-gal, .about-img, .map, .foot-q, .note-lead, .feat-lead, .latest .pill-end { display: none; }
  .latest { display: flex; flex-direction: column; gap: 12px; }
  .latest > .h-sec { padding-top: 14px; border-top: var(--rule); }
  .tiles-4 { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; margin: 0 calc(-1 * var(--g)); padding: 0 var(--g); scroll-padding: 0 var(--g); }
  .tiles-4::-webkit-scrollbar { display: none; }
  .tiles-4 > li { scroll-snap-align: start; }
  .tiles-4 .card-top { padding: 10px 10px 0; }
  .tiles-4 .card-top b { font-size: 15px; }
  .tiles-4 .card-foot { padding: 0 10px 10px; font-size: 13px; }
  .tiles-4 .card-foot span { display: none; }
  .notes { gap: 0; }
  .notes .lead { font-size: 16px; }
  .jr > p:last-child, .sheet-ask, .frow-x, .foot-reach { display: none; }
  .foot-cols { grid-template-columns: 1fr; gap: 14px; }
  .foot-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
}
