/* Your Machining Co. (machine shop industry site). Borrows Capability Board's broad ideas: a tile
   opening, capability rows sorted by the buyer's problem, a contrasting band, and a dark contact
   panel, drawn as an engineering print: white paper, layout-fluid blue, graphite, one safety
   orange. Fonts are declared in inc/head.html (they need /showcase/assets). Drawings read the --d-*
   tokens. Contrast pairs are checked by tools/contrast.py. */

:root {
  color-scheme: light;
  --paper: #ffffff; --plate: #eef1f4;
  --ink: #0f1419; --body: #3a4450; --muted: #56616c; --line: #d5dbe1; --line-strong: #aab4be;
  --field-bg: #ffffff; --field-fg: #0f1419; --field-line: #7a8692; --ph: #66717c;
  --accent: #1d4c9f; --accent-hover: #163b7d; --on-accent: #ffffff; --link: #1d4c9f; --link-hover: #163b7d;
  --signal: #e8641a; --on-signal: #0f1419; --signal-hover: #f07a35;
  --focus: #1d4c9f; --invalid: #b42318; --select: #cfdcf3; --select-fg: #0f1419;
  --open: #1f9d55; --closed: #8a949d;
  --band: #0f2d55; --band-fg: #ffffff; --band-copy: #c6d3e4; --band-rule: rgba(255, 255, 255, .22); --band-focus: #ffb27a;
  --panel: #13181e; --panel-2: #1c232b; --panel-fg: #ffffff; --panel-copy: #b4bdc7; --panel-label: #939eaa;
  --panel-rule: rgba(255, 255, 255, .16); --panel-focus: #ff9d5c;
  --top-fg: #c3cbd3;
  --display: Archivo, "Arial Narrow", Arial, sans-serif;
  --text: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --gutter: 40px; --gap: 12px; --section: 96px;

  /* drawings */
  --d-paper: #fbfcfd; --d-grid: #e3e9ef; --d-line: #1d4c9f; --d-line-soft: #5d7fb8;
  --d-fill-hi: #f1f5fb; --d-fill: #dce6f5; --d-fill-shade: #bccde8;
  --d-bay: #e6eaee; --d-floor: #d3d9df; --d-floor-line: #b8c1ca;
  --d-machine: #eef0f2; --d-machine-2: #cfd5db; --d-machine-3: #9fa9b3; --d-machine-dark: #2b323a; --d-machine-darker: #1d2228;
  --d-interior: #2f3740; --d-interior-2: #262d35; --d-light: #f4f0d6;
  --d-glass: #c5d7ea; --d-glass-hi: #e6eff8; --d-screen: #10305a; --d-screen-line: #8db6ec; --d-lcd: #d4e3cf;
  --d-signal: #e8641a; --d-go: #34b36d; --d-amber: #f2b21b; --d-red: #c9372c; --d-red-dim: #6e3a36; --d-amber-dim: #7a6533;
  --d-vise: #2f5ea8; --d-vise-hi: #5d86c6; --d-hose: #e8641a; --d-hose-shade: #b84a0f; --d-coolant: #8fc3ea; --d-chip: #d9a441; --d-insert: #d9a441;
  --d-alu-hi: #f3f5f7; --d-alu: #d5dbe0; --d-alu-shade: #acb5bd; --d-alu-dark: #6d7780;
  --d-steel-hi: #c3c9cf; --d-steel: #959ea7; --d-steel-shade: #6c757e; --d-steel-dark: #3d444b;
  --d-brass-hi: #efd794; --d-brass: #d4b05c; --d-brass-shade: #a9853a; --d-brass-dark: #6e5420;
  --d-plastic-hi: #fdfdfa; --d-plastic: #ecebe3; --d-plastic-shade: #cbc9bd; --d-plastic-dark: #8f8c7f;
  --d-black-hi: #4f5760; --d-black: #30363d; --d-black-shade: #1f2429; --d-black-dark: #0f1215;
  --d-plate-top: #dfe4e9; --d-plate-side: #c4ccd4; --d-plate-side-shade: #a9b3bd; --d-shadow: #1b2229;
  --d-tote: #2f5ea8; --d-tote-hi: #4a78c2; --d-tote-shade: #234a87; --d-tote-dark: #1b3a6b;
  --d-tag: #fbfcfd; --d-ink-soft: #56616c; --d-tape: #f2c94c;
  --d-rack-bg: #e6eaee; --d-rack: #3a4450; --d-rack-shade: #262d35; --d-rack-hole: #e6eaee;
  --d-paint-blue: #2f5ea8; --d-paint-red: #c9372c; --d-paint-green: #2f9a5c; --d-paint-yellow: #f2b21b;
  --d-granite: #2b3036; --d-granite-hi: #444b53; --d-granite-fleck: #5a626b;
  --ic-hl: #fbd9c2;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-bottom: 52px; background: var(--paper); color: var(--body); font: 16px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
p { margin: 0 0 16px; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
a[href^="tel:"] { white-space: nowrap; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
img, svg { max-width: 100%; }
::selection { background: var(--select); color: var(--select-fg); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 60; padding: 10px 16px; border-radius: 2px; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: var(--on-accent); }
.wrap { width: min(1240px, calc(100% - 2 * var(--gutter))); margin: 0 auto; }
.arw { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.bar { display: block; width: 48px; height: 4px; margin-bottom: 22px; background: var(--signal); }
.num { font-variant-numeric: tabular-nums; }

/* Buttons and links */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 20px;
  font: 600 15px/1.2 var(--text); color: var(--on-accent); background: var(--accent); border: 1px solid var(--accent); border-radius: 2px;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s;
}
.button:hover { color: var(--on-accent); background: var(--accent-hover); border-color: var(--accent-hover); }
.button .arw { width: 16px; height: 16px; }
.button-signal { color: var(--on-signal); background: var(--signal); border-color: var(--signal); }
.button-signal:hover { color: var(--on-signal); background: var(--signal-hover); border-color: var(--signal-hover); }
.button-ghost { color: var(--ink); background: transparent; border-color: var(--field-line); }
.button-ghost:hover { color: var(--ink); background: var(--plate); border-color: var(--ink); }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0;
  font: 600 15px/1.3 var(--text); color: var(--link); background: none; border: 0; text-decoration: none; cursor: pointer;
}
.text-link:hover { color: var(--link-hover); text-decoration: underline; text-underline-offset: 4px; }

/* Top bar: location, hours, open status, phone */
.topbar { background: var(--panel); color: var(--top-fg); font-size: 13.5px; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 40px; }
.topbar p { display: flex; align-items: center; gap: 0 18px; margin: 0; white-space: nowrap; }
.topbar-hours > span + span { padding-left: 18px; border-left: 1px solid var(--panel-rule); }
.topbar-hours > .status[hidden] + span { padding-left: 0; border-left: 0; }
.topbar a { display: inline-flex; align-items: center; min-height: 40px; color: var(--panel-fg); font-weight: 600; text-decoration: none; }
.topbar a:hover { color: var(--panel-fg); text-decoration: underline; text-underline-offset: 3px; }
.topbar :focus-visible { outline-color: var(--panel-focus); outline-offset: 0; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--panel-fg); white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--closed); }
.status.is-open::before { background: var(--open); box-shadow: 0 0 0 3px rgba(31, 157, 85, .28); }

/* Header */
.site-header { position: relative; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font: 700 21px/1 var(--display); letter-spacing: -.01em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.wordmark:hover { color: var(--ink); }
.mark { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2; }
.nav { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 500; }
.nav a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink); text-decoration: none; border-radius: 2px; }
.nav a:not(.button):hover { color: var(--link-hover); text-decoration: underline; text-underline-offset: 6px; }
.nav a[aria-current="page"]:not(.button) { color: var(--link); box-shadow: inset 0 -3px 0 var(--signal); }
.nav a.nav-phone { display: none; }
.nav .nav-cta { margin-left: 12px; }
.menu-btn { display: none; }

/* Breadcrumbs */
.crumbs { padding: 18px 0 14px; font-size: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0 10px; }
.crumbs li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.crumbs li + li::before { content: "/"; color: var(--line-strong); }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--muted); }
.crumbs a:hover { color: var(--link-hover); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* Tiles: the shared module of the opening and the page heads */
.tile { position: relative; min-width: 0; overflow: hidden; border-radius: 2px; background: var(--plate); }
.tile-art { background: var(--d-bay); }
.tile-art > svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.drw text { font-family: var(--display); }
.drw-small text, .drw-small { font-size: 9px; font-weight: 600; fill: var(--d-line-soft); }
.drw-dim text, .drw-dim { font-size: 12px; font-weight: 600; fill: var(--d-line); letter-spacing: .02em; }
.drw-note text, .drw-note { font-size: 9.5px; font-weight: 600; fill: var(--d-line); letter-spacing: .03em; }
.drw-label text, .drw-label { font-size: 7.5px; font-weight: 600; fill: var(--d-line-soft); letter-spacing: .06em; }
.drw-value text, .drw-value { font-size: 11.5px; font-weight: 700; fill: var(--d-line); letter-spacing: .02em; }
.drw-balloon text, .drw-balloon { font-size: 11px; font-weight: 700; fill: var(--d-signal); }
.drw-lcd text, .drw-lcd { font-size: 17px; font-weight: 700; fill: var(--d-machine-dark); font-variant-numeric: tabular-nums; }

/* Home opening */
.opening { padding: 20px 0 0; }
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.t-promise { grid-column: 1 / span 7; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 500px; padding: 56px; }
.t-promise h1 { font-size: clamp(44px, 4.5vw, 64px); line-height: 1.02; letter-spacing: -.035em; }
.t-promise .lede { max-width: 520px; margin: 22px 0 30px; font-size: 19px; line-height: 1.55; color: var(--body); }
.promise-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.t-print { grid-column: 8 / span 5; background: var(--d-paper); }
.t-vmc { grid-column: 1 / span 4; min-height: 300px; }
.t-lathe { grid-column: 5 / span 5; background: var(--d-interior); }
.t-hours { grid-column: 10 / span 3; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 28px; background: var(--panel); color: var(--panel-copy); }
.t-hours h2 { font-size: 22px; color: var(--panel-fg); }
.t-hours .status { margin-top: 10px; font-size: 15px; }
.hours-list { margin: 0; font-size: 15px; }
.hours-list li { padding: 8px 0; border-top: 1px solid var(--panel-rule); }
.t-hours a { display: inline-flex; align-items: center; min-height: 44px; font: 700 22px/1.2 var(--display); color: var(--panel-fg); text-decoration: none; font-variant-numeric: tabular-nums; }
.t-hours a:hover { color: var(--panel-fg); text-decoration: underline; text-underline-offset: 5px; }
.t-hours :focus-visible { outline-color: var(--panel-focus); }
.spec-strip { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border: 1px solid var(--ink); border-radius: 2px; }
.spec-strip > div { min-width: 0; padding: 16px 22px 18px; }
.spec-strip > div + div { border-left: 1px solid var(--ink); }
.spec-strip dt, .cta-facts dt, .tb dt { font: 600 12px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.spec-strip dd { margin: 6px 0 0; font: 600 16px/1.4 var(--display); color: var(--ink); }

/* Sections */
.section { padding: var(--section) 0 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.section-title { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; }
.section-intro { max-width: 640px; margin: 14px 0 0; font-size: 18px; }

/* Capability rows: problem / capability / arrow */
.rows { border-bottom: 1px solid var(--line); }
.row { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.1fr) 44px; gap: 28px; align-items: center; padding: 30px 0; border-top: 1px solid var(--line); }
.row-num { font: 700 15px/1 var(--display); color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.problem { margin: 0; font: 600 clamp(21px, 2.1vw, 27px)/1.25 var(--display); letter-spacing: -.015em; color: var(--ink); }
.row-copy h3 { margin-bottom: 4px; font: 700 17px/1.4 var(--text); letter-spacing: 0; }
.row-copy p { max-width: 480px; margin: 0; }
.row-link { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 2px; color: var(--link); }
.row-link::after { content: ""; position: absolute; inset: 0; }
.row-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.row:hover .row-link { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.row:hover .row-link svg { transform: translateX(2px); }

/* Contrasting band */
.band { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 48px; border-radius: 2px; background: var(--band); color: var(--band-copy); }
.band h2 { font-size: clamp(28px, 2.8vw, 36px); line-height: 1.1; color: var(--band-fg); }
.band h3 { margin-bottom: 10px; font-size: 22px; color: var(--band-fg); }
.band-item { padding-left: 28px; border-left: 1px solid var(--band-rule); }
.band-item p { margin: 0; }
.band .bar { margin-bottom: 18px; }
.band :focus-visible { outline-color: var(--band-focus); }
.band a { color: var(--band-fg); }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid var(--ink); }
.steps li { position: relative; padding: 26px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.step-num { flex: none; font: 700 15px/1 var(--display); color: var(--accent); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.steps h3 { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; font-size: 20px; line-height: 1.25; }
.steps p { margin: 0; font-size: 15.5px; }

/* Cards (home "About the shop", industries) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); }
.card-art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--d-bay); border-bottom: 1px solid var(--line); }
.card-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 24px 24px 18px; }
.card h3, .card h2 { margin-bottom: 8px; font-size: 21px; line-height: 1.25; }
.card p { margin: 0 0 12px; }
.card .text-link { margin-top: auto; }
.card .text-link::after { content: ""; position: absolute; inset: 0; }
.card:hover { border-color: var(--line-strong); }
.card:hover .text-link { text-decoration: underline; text-underline-offset: 4px; }

/* FAQ */
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 18px 0; font: 600 18px/1.4 var(--display); color: var(--ink); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line-strong); border-radius: 2px; font: 400 20px/1 var(--text); color: var(--accent); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list summary:hover { color: var(--link-hover); }
.faq-list .answer { max-width: 760px; padding: 0 52px 22px 0; }
.faq-list .answer p { margin: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.faq-aside p { max-width: 320px; }

/* CTA: the dark contact panel */
.cta { padding: var(--section) 0 0; }
.cta-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; padding: 56px; border-radius: 2px; background: var(--panel); color: var(--panel-copy); }
.cta-panel h2 { margin-bottom: 16px; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.05; color: var(--panel-fg); }
.cta-copy p { max-width: 480px; margin-bottom: 28px; font-size: 17px; }
.cta-panel :focus-visible { outline-color: var(--panel-focus); }
.cta-panel ::selection { background: var(--panel-fg); color: var(--panel); }
.cta-facts { display: grid; grid-template-columns: 1fr 1fr; align-self: center; margin: 0; border: 1px solid var(--panel-rule); }
.cta-facts > div { min-width: 0; padding: 18px 20px; }
.cta-facts > div:nth-child(even) { border-left: 1px solid var(--panel-rule); }
.cta-facts > div:nth-child(n+3) { border-top: 1px solid var(--panel-rule); }
.cta-facts dt { color: var(--panel-label); }
.cta-facts dd { margin: 6px 0 0; font: 600 17px/1.35 var(--display); color: var(--panel-fg); overflow-wrap: anywhere; }
.cta-facts a { display: inline-flex; align-items: center; min-height: 32px; color: var(--panel-fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.cta-facts a:hover { color: var(--panel-fg); text-decoration-thickness: 2px; }

/* Interior page heads */
.page-head { padding: 0; }
.head-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.head-copy { grid-column: 1 / span 7; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 360px; padding: 52px 56px; }
.head-grid-single .head-copy { grid-column: 1 / -1; min-height: 0; padding: 48px 56px; }
.head-copy h1 { font-size: clamp(38px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.03em; }
.head-copy .lede { max-width: 600px; margin: 18px 0 0; font-size: 19px; line-height: 1.55; }
.head-copy .lede + .head-actions { margin-top: 26px; }
.head-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.head-art { grid-column: 8 / span 5; min-height: 300px; }
.head-404 { padding-top: 20px; }

/* In-page jump links */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 2px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; background: var(--paper); }
.jump a:hover { border-color: var(--accent); color: var(--link-hover); }

/* Capability sections */
.cap { padding: var(--section) 0 0; scroll-margin-top: 16px; }
.cap-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.cap-flip .cap-art { order: 2; }
.cap-art { aspect-ratio: 5 / 4; }
.cap-copy h2 { margin-bottom: 14px; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.1; }
.cap-copy > p { max-width: 640px; font-size: 18px; }
.cap-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 28px 0 20px; padding-top: 24px; border-top: 1px solid var(--line); }
.cap-lists h3 { margin-bottom: 10px; font: 600 13px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ticks li { position: relative; padding: 5px 0 5px 22px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .95em; width: 10px; height: 2px; background: var(--signal); }

/* Tables: scroll never; rows stack on phones */
.table-block { margin-top: 8px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.spec-table caption { padding: 0 0 14px; text-align: left; color: var(--body); caption-side: top; }
.spec-table th, .spec-table td { padding: 16px 20px 16px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table thead th { padding-top: 12px; padding-bottom: 12px; font: 600 12.5px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.spec-table tbody th { width: 26%; font: 700 17px/1.35 var(--display); color: var(--ink); }
.spec-table td:last-child, .spec-table th:last-child { padding-right: 0; }
.spec-table .grades { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }
.note { max-width: 720px; margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.two-col .section-title { margin-bottom: 14px; }
.stack p, .stack ul { max-width: 640px; }
.stack ul.ticks { margin-bottom: 16px; }
.spec-table-2 tbody th { width: 42%; }
.formats { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.formats li { padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 2px; font: 600 14px/1.2 var(--display); color: var(--ink); }

/* Industries */
.ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.ind { padding: 28px 24px 26px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); }
.ind .icon { display: block; width: 48px; height: 48px; margin-bottom: 18px; }
.ind h2 { margin-bottom: 10px; font-size: 20px; line-height: 1.25; }
.ind p { margin: 0 0 12px; font-size: 15.5px; }
.ind .parts { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.ind .parts strong { color: var(--ink); font-weight: 600; }
.icon { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon .hl { fill: var(--ic-hl); }

/* Quality: inspection steps */
.qsteps { counter-reset: q; border-top: 1px solid var(--ink); }
.qsteps li { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.4fr); gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.qsteps .step-num { margin: 4px 0 0; font-size: 15px; }
.qsteps h3 { font-size: 21px; line-height: 1.3; }
.qsteps p { margin: 0; }

/* Request for quote */
.rfq { padding: 40px 0 0; }
.rfq-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.rfq-form fieldset { margin: 0 0 28px; padding: 0; border: 0; min-width: 0; }
.rfq-form legend { display: flex; align-items: center; gap: 14px; width: 100%; margin-bottom: 18px; padding: 0 0 12px; border-bottom: 1px solid var(--ink); font: 700 22px/1.2 var(--display); letter-spacing: -.01em; color: var(--ink); }
.rfq-form legend .step-num { margin: 0; font-size: 15px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { min-width: 0; margin-bottom: 20px; }
.field-wide { grid-column: 1 / -1; }
.field label, .field-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.opt { font-size: 13.5px; font-weight: 400; color: var(--muted); }
.hint { margin: -2px 0 8px; font-size: 14px; color: var(--muted); }
.field input:not([type="checkbox"]):not([type="file"]), .field select, .field textarea, .result textarea {
  display: block; width: 100%; min-height: 48px; padding: 11px 14px;
  font: 16px/1.5 var(--text); color: var(--field-fg); background: var(--field-bg);
  border: 1px solid var(--field-line); border-radius: 2px;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible, .result textarea:focus-visible { outline-offset: 1px; border-color: var(--focus); }
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230f1419' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px; }
.field textarea { min-height: 112px; resize: vertical; }
.field ::placeholder { color: var(--ph); opacity: 1; }
.field [aria-invalid="true"] { border-color: var(--invalid); box-shadow: inset 0 0 0 1px var(--invalid); }
.field-error { display: flex; gap: 8px; margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--invalid); }
.field-error::before { content: "!"; display: grid; place-items: center; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--invalid); color: #fff; font-size: 12px; line-height: 1; }
.field-error[hidden] { display: none; }
.checks { display: grid; gap: 2px; margin: 0 0 20px; }
.checks .field-label { margin-bottom: 4px; }
.field-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15.5px; color: var(--ink); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--accent); }
.drop { padding: 20px; border: 1px dashed var(--field-line); border-radius: 2px; background: var(--plate); }
.drop input[type="file"] { display: block; width: 100%; min-height: 48px; font: 15px/1.4 var(--text); color: var(--body); }
.drop input[type="file"]::file-selector-button { min-height: 44px; margin-right: 14px; padding: 10px 16px; font: 600 15px/1.2 var(--text); color: var(--on-accent); background: var(--accent); border: 0; border-radius: 2px; cursor: pointer; }
.drop input[type="file"]:hover::file-selector-button { background: var(--accent-hover); }
.drop .hint { margin: 12px 0 0; }
.file-list { margin: 14px 0 0; border-top: 1px solid var(--line); }
.file-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.file-list .fname { min-width: 0; overflow-wrap: anywhere; font-weight: 600; color: var(--ink); }
.file-list .fsize { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.file-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin-top: 6px; font-size: 14px; color: var(--muted); }
.file-tools[hidden] { display: none; }
.local-note { display: flex; gap: 12px; margin: 14px 0 0; padding: 12px 14px; border-left: 4px solid var(--signal); background: var(--paper); font-size: 14.5px; color: var(--ink); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding-top: 8px; }
.form-note { flex: 1 1 260px; margin: 0; font-size: 14px; color: var(--muted); }
.form-status { margin: 14px 0 0; font-size: 15px; font-weight: 600; color: var(--invalid); }
.form-status:empty { display: none; }

.rfq-side { position: sticky; top: 20px; display: grid; gap: var(--gap); }
.sheet { padding: 26px 24px 22px; border-radius: 2px; background: var(--panel); color: var(--panel-copy); }
.sheet h2 { margin-bottom: 16px; font-size: 22px; color: var(--panel-fg); }
.tb { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border: 1px solid var(--panel-rule); }
.tb > div { min-width: 0; padding: 10px 12px 11px; }
.tb > div + div { border-top: 1px solid var(--panel-rule); }
.tb > .tb-wide { grid-column: 1 / -1; }
.tb > .tb-right { border-left: 1px solid var(--panel-rule); }
.tb dt { font-size: 11px; color: var(--panel-label); }
.tb dd { margin: 4px 0 0; font: 600 15px/1.35 var(--display); color: var(--panel-fg); overflow-wrap: anywhere; }
.tb dd.empty { color: var(--panel-label); font-weight: 500; }
.sheet-files { margin: 6px 0 0; font: 500 13.5px/1.45 var(--text); color: var(--panel-copy); }
.sheet-files li { display: flex; justify-content: space-between; gap: 10px; }
.sheet-files li span:first-child { min-width: 0; overflow-wrap: anywhere; }
.sheet-files li span:last-child { flex: none; font-variant-numeric: tabular-nums; }
.side-contact { padding: 22px 24px; border: 1px solid var(--line); border-radius: 2px; font-size: 15px; }
.side-contact h2 { margin-bottom: 10px; font-size: 19px; }
.side-contact p { margin: 0; }
.side-contact a { font-weight: 600; }
.side-contact .big { display: inline-flex; align-items: center; min-height: 44px; font: 700 21px/1.2 var(--display); text-decoration: none; color: var(--ink); font-variant-numeric: tabular-nums; }
.side-contact .big:hover { color: var(--link-hover); text-decoration: underline; text-underline-offset: 4px; }

.result { margin-top: 12px; padding: 28px; border: 1px solid var(--ink); border-radius: 2px; background: var(--plate); }
.result[hidden] { display: none; }
.result h2 { font-size: 26px; }
.result h2:focus { outline: none; }
.result > p { margin: 6px 0 18px; }
.result label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.result textarea { min-height: 360px; font: 14.5px/1.7 var(--text); font-variant-numeric: tabular-nums; resize: vertical; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 16px; }
.result-status { min-height: 1.5em; margin: 12px 0 0; font-size: 15px; color: var(--ink); }

/* Prose pages */
.doc > * { max-width: 760px; }
.doc h2 { margin: 36px 0 10px; font-size: 24px; line-height: 1.25; }
.doc h2:first-child { margin-top: 0; }
.links-list { display: grid; gap: 0; width: 100%; max-width: 440px; margin-top: 24px; border-top: 1px solid var(--line); }
.links-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; border-bottom: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.links-list a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Footer */
.footer { margin-top: var(--section); padding: 56px 0 28px; background: var(--plate); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand p { max-width: 340px; margin: 14px 0 0; font-size: 15px; }
.footer-col h2 { margin-bottom: 10px; font: 600 12.5px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.footer-col li { font-size: 15px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink); text-decoration: none; }
.footer-col a:hover { color: var(--link-hover); text-decoration: underline; text-underline-offset: 4px; }
.footer-hours { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.footer-hours li { padding: 2px 0; color: var(--body); }
.footer-credit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; margin: 40px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.footer-credit a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ink); text-decoration: none; }
.footer-credit a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Breakpoints: 1180 (header menu), 1024, 900, 640, 400 */
@media (max-width: 1180px) {
  .header-row { min-height: 68px; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; min-width: 44px; min-height: 44px; padding: 0 12px;
    font: 600 15px/1 var(--text); color: var(--ink); background: none; border: 1px solid var(--line-strong); border-radius: 2px; cursor: pointer;
  }
  .menu-lines { position: relative; display: block; width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
  .menu-lines::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: currentColor; }
  .site-header.open .menu-lines { border-color: transparent; }
  .site-header.open .menu-lines::before, .site-header.open .menu-lines::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: currentColor; transform: rotate(45deg); }
  .site-header.open .menu-lines::after { transform: rotate(-45deg); }
  .nav {
    display: none; position: absolute; z-index: 40; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px;
    background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--ink);
  }
  .site-header.open .nav { display: flex; }
  .nav a:not(.button) { min-height: 52px; padding: 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a[aria-current="page"]:not(.button) { box-shadow: inset 4px 0 0 var(--signal); padding-left: 14px; }
  .nav a.nav-phone { display: inline-flex; font-weight: 600; color: var(--link); }
  .nav .nav-cta { margin: 18px 0 0; }
  .t-promise { padding: 44px; }
  .row { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.1fr) 44px; gap: 22px; }
  .band { padding: 40px; gap: 32px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .rfq-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; }
}
@media (max-width: 1024px) {
  :root { --gutter: 32px; --section: 80px; }
  .t-promise { grid-column: 1 / span 12; min-height: 0; padding: 48px 44px; }
  .t-print { grid-column: 1 / span 7; grid-row: 2; aspect-ratio: 4 / 3; }
  .t-hours { grid-column: 8 / span 5; grid-row: 2; }
  .t-vmc { grid-column: 1 / span 6; grid-row: 3; min-height: 0; aspect-ratio: 4 / 3; }
  .t-lathe { grid-column: 7 / span 6; grid-row: 3; aspect-ratio: 4 / 3; }
  .spec-strip { grid-template-columns: 1fr 1fr; }
  .spec-strip > div:nth-child(3) { border-left: 0; }
  .spec-strip > div:nth-child(n+3) { border-top: 1px solid var(--ink); }
  .band { grid-template-columns: 1fr 1fr; }
  .band > :first-child { grid-column: 1 / -1; }
  .band-item:first-of-type { padding-left: 0; border-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { margin-top: 26px; border-top: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: 1 / -1; flex-direction: row; }
  .cards .card:last-child .card-art { flex: 0 0 50%; aspect-ratio: auto; min-height: 220px; border-bottom: 0; border-right: 1px solid var(--line); }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 8px; }
  .cta-panel { grid-template-columns: 1fr; gap: 36px; padding: 44px; }
  .head-copy { grid-column: 1 / span 12; min-height: 0; padding: 44px; }
  .head-art { grid-column: 1 / span 12; min-height: 0; aspect-ratio: 16 / 7; }
  .cap-grid { grid-template-columns: 1fr; gap: 28px; }
  .cap-flip .cap-art { order: 0; }
  .cap-art { aspect-ratio: 16 / 9; }
  .qsteps li { grid-template-columns: 56px minmax(0, 1fr); }
  .qsteps li p { grid-column: 2; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .rfq-grid { grid-template-columns: 1fr; }
  .rfq-side { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; --section: 64px; }
  .topbar .topbar-city, .topbar .topbar-email { display: none; }
  .topbar-hours > .topbar-time { padding-left: 14px; }
  .topbar-hours > .status[hidden] ~ .topbar-time { padding-left: 0; border-left: 0; }
  .topbar p { gap: 0 14px; }
  .wordmark { gap: 10px; font-size: 19px; }
  .mark { width: 24px; height: 24px; }
  .opening { padding-top: 12px; }
  .mosaic, .head-grid, .cards, .ind-grid { gap: 10px; }
  .t-promise { padding: 32px 24px 34px; }
  .t-promise h1 { font-size: clamp(36px, 10.4vw, 48px); }
  .t-promise .lede { margin: 16px 0 24px; font-size: 17px; }
  .t-print, .t-hours, .t-vmc, .t-lathe { grid-row: auto; }
  .t-print { grid-column: 1 / -1; }
  .t-hours { grid-column: 1 / -1; padding: 24px; }
  .t-vmc, .t-lathe { aspect-ratio: 1; }
  .spec-strip { grid-template-columns: 1fr; }
  .spec-strip > div + div { border-left: 0; border-top: 1px solid var(--ink); }
  .spec-strip > div { padding: 14px 18px 15px; }
  .row { grid-template-columns: minmax(0, 1fr) 44px; grid-template-areas: "problem link" "copy copy"; gap: 8px 16px; padding: 22px 0 24px; }
  .row-num { display: none; }
  .problem { grid-area: problem; align-self: center; font-size: 21px; }
  .row-copy { grid-area: copy; margin-top: 6px; }
  .row-link { grid-area: link; align-self: start; }
  .band { grid-template-columns: 1fr; gap: 24px; padding: 30px 24px; }
  .band-item { padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--band-rule); }
  .band-item:first-of-type { padding-top: 22px; border-top: 1px solid var(--band-rule); }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 22px 0 0; border-left: 0; }
  .steps li + li { margin-top: 22px; border-top: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr; }
  .cards .card:last-child { flex-direction: column; }
  .cards .card:last-child .card-art { flex: none; aspect-ratio: 16 / 10; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .ind-grid { grid-template-columns: 1fr; }
  .faq-list summary { font-size: 17px; }
  .faq-list .answer { padding-right: 0; }
  .cta-panel { padding: 32px 22px; gap: 28px; }
  .cta-facts { grid-template-columns: 1fr; }
  .cta-facts > div:nth-child(even) { border-left: 0; }
  .cta-facts > div + div { border-top: 1px solid var(--panel-rule); }
  .head-copy, .head-grid-single .head-copy { padding: 32px 24px; }
  .head-copy .lede { font-size: 17px; }
  .head-art { aspect-ratio: 4 / 3; }
  .cap-art { aspect-ratio: 4 / 3; }
  .cap-lists { grid-template-columns: 1fr; gap: 20px; }
  .qsteps li { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .qsteps li p { grid-column: auto; }
  .fields { grid-template-columns: 1fr; }
  .rfq { padding-top: 28px; }
  .rfq-side { grid-template-columns: 1fr; }
  .result { padding: 22px 18px; }
  .result textarea { min-height: 320px; }
  .footer { padding-top: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-col:last-child { grid-column: 1 / -1; }
  /* Tables: each row becomes a block with its header cell on top and labeled cells under it. */
  .spec-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table caption { display: block; }
  .spec-table tr { padding: 16px 0; border-top: 1px solid var(--line); }
  .spec-table tbody tr:first-child { border-top: 1px solid var(--ink); }
  .spec-table tbody th { width: auto; padding: 0 0 8px; border: 0; }
  .spec-table td { padding: 4px 0; border: 0; }
  .spec-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 600 12px/1.4 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .spec-table tbody tr:last-child { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .topbar .topbar-time { display: none; }
}
@media (max-width: 400px) {
  :root { --gutter: 16px; }
  .wordmark { gap: 8px; font-size: 17px; }
  .mark { width: 22px; height: 22px; }
  .menu-btn { padding: 0 10px; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .t-promise { padding: 28px 20px 30px; }
  .t-vmc, .t-lathe { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .head-copy, .head-grid-single .head-copy { padding: 28px 20px; }
  .cta-panel { padding: 28px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .drop { padding: 16px 14px; }
  .drop input[type="file"]::file-selector-button { display: block; margin: 0 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .skip, .menu-btn, .topbar, .rfq-form, .result-actions, .cta { display: none; }
  body { padding-bottom: 0; }
}

/* Showcase bar. Showcase chrome, not part of any template: Lumen Alto's night colors
   in every template and style, removed when a template becomes a client site.
   build.py appends this to base.css (Standard) and inlines it in single-page templates. */
.sc-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px; height: 52px; padding: 0 clamp(16px, 3vw, 40px);
  background: #000000; color: #f2f0eb; border-top: 1px solid rgba(242, 240, 235, .16);
  font: 500 .9rem/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none;
  overflow-x: auto; white-space: nowrap;
}
.sc-bar a { color: #f2f0eb; text-decoration: none; }
.sc-bar a:hover { text-decoration: underline; }
.sc-bar :focus-visible { outline: 2px solid #f2f0eb; outline-offset: 2px; }
.sc-home { font-weight: 700; padding-right: 16px; border-right: 1px solid rgba(242, 240, 235, .24); }
.sc-label { color: rgba(242, 240, 235, .62); }
.sc-styles { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sc-styles li { flex-shrink: 0; text-wrap: nowrap; }
.sc-styles a { display: inline-block; padding: 7px 12px; border: 1px solid transparent; border-radius: 2px; }
.sc-styles a[aria-current] { border-color: rgba(242, 240, 235, .5); }
@media print { .sc-bar { display: none; } }

/* Template look switcher (2026-11-02): a bar at the top of every template page, above the site's
   header, and a corner "Next look" button once the bar scrolls away. Industry sites keep .sc-bar. */
.sc-looks {
  position: relative; z-index: 60;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding: 12px clamp(16px, 3vw, 40px);
  background: #000000; color: #f2f0eb; border-bottom: 1px solid rgba(242, 240, 235, .16);
  font: 500 15px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none; text-align: left;
}
.sc-looks a { color: #f2f0eb; text-decoration: none; }
.sc-looks :focus-visible, .sc-pill:focus-visible { outline: 2px solid #f2f0eb; outline-offset: 3px; }
.sc-looks p { margin: 0; }
.sc-looks-home { font-weight: 700; padding-right: 14px; border-right: 1px solid rgba(242, 240, 235, .24); }
.sc-looks-home:hover { text-decoration: underline; }
.sc-looks-prompt { font-weight: 700; }
.sc-looks-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sc-looks-list a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 13px 0 7px;
  border: 1px solid rgba(242, 240, 235, .38); border-radius: 999px; white-space: nowrap; font-size: 14px;
}
.sc-looks-list a:hover { border-color: #f2f0eb; background: rgba(242, 240, 235, .1); }
.sc-looks-list a[aria-current] { border: 2px solid #f2f0eb; padding: 0 12px 0 6px; background: rgba(242, 240, 235, .14); font-weight: 700; }
.sc-sw {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--a) 0 50%, var(--b) 50% 100%);
  box-shadow: 0 0 0 1px rgba(242, 240, 235, .55);
}
.sc-looks-count { margin-left: auto !important; color: rgba(242, 240, 235, .78); white-space: nowrap; }
.sc-looks-cur { display: none; }
.sc-looks-next, .sc-pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 18px; border-radius: 999px;
  background: #f2f0eb; color: #000000 !important; font-weight: 700; white-space: nowrap;
}
.sc-looks-next:hover, .sc-pill:hover { background: #ffffff; }
.sc-vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sc-pill {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; gap: 10px; min-height: 46px;
  font: 700 15px/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none; text-decoration: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), 0 8px 24px rgba(0, 0, 0, .35);
}
.sc-pill[hidden] { display: none; }
.sc-pill-count { font-weight: 500; color: #3a3a3a; }
/* The prompt needs the most room, then the names. Below 1440px the prompt goes; below 1200px the
   names give way to swatches (names stay as tooltips) and the count names the current look. */
@media (max-width: 1439px) { .sc-looks-prompt { display: none; } }
@media (max-width: 1199px) {
  .sc-looks-name { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sc-looks-list a, .sc-looks-list a[aria-current] { width: 40px; padding: 0; justify-content: center; }
  .sc-looks-list a[aria-current] .sc-sw { box-shadow: 0 0 0 2px #000000, 0 0 0 4px #f2f0eb; }
  .sc-looks-list a { border-color: transparent; }
  .sc-looks-list a[aria-current] { border-color: transparent; background: none; }
  .sc-looks-cur { display: inline; color: #f2f0eb; font-weight: 700; }
}
@media (max-width: 760px) {
  .sc-looks { padding-block: 10px; }
  .sc-looks-home { order: 1; }
  .sc-looks-next { order: 2; margin-left: auto; }
  .sc-looks-count { order: 3; flex-basis: 100%; margin-left: 0 !important; }
  .sc-looks-list { order: 4; }
  .sc-pill-count { display: none; }
}
@media print { .sc-looks, .sc-pill { display: none !important; } }
