/* HarborBridge wholesale site.

   The design is a wholesale line sheet: white paper, hairline rules, a strict
   12-column grid, everything left-aligned. One accent color (the orange-red of
   a harbor bridge) is used only for small signals.

   Typography follows one system: two self-hosted typefaces, six font sizes,
   two weights. Every font-size below is a --fs-* variable. */

/* ---------- Fonts (self-hosted, variable weight 400–500) ---------- */
@font-face {
  font-family: "Newsreader"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("/fonts/newsreader-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("/fonts/newsreader-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("/fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("/fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #ffffff; --ink: #111a24; --text: #3b4652; --muted: #6a7480; --line: #dde1e6; --wash: #f2f4f6;
  --accent: #c0362c;
  --night: #111a24; --night-text: #c9d1d9; --night-muted: #8f9aa6; --night-line: rgba(255, 255, 255, .14);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", Arial, Helvetica, sans-serif;
  --fs-1: 12px; --fs-2: 14px; --fs-3: 16px; --fs-4: 20px; --fs-5: 28px; --fs-6: 44px;
  --lh-body: 1.6; --lh-heading: 1.2; --lh-display: 1.15;
  --regular: 400; --medium: 500;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --edge: max(var(--gutter), calc((100% - var(--max)) / 2));
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: var(--fs-3); font-weight: var(--regular); line-height: var(--lh-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: var(--regular); color: var(--ink); letter-spacing: 0; }
h1 { font-size: var(--fs-6); line-height: var(--lh-display); }
h2 { font-size: var(--fs-5); line-height: var(--lh-heading); }
h3 { font-size: var(--fs-4); line-height: var(--lh-heading); }
p { margin: 0 0 14px; }
b, strong { font-weight: var(--medium); }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.nb { white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; font-size: var(--fs-2); z-index: 20; }
.skip:focus { top: 10px; }

/* Small label with the accent rule: the one recurring mark of the site. */
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: var(--fs-1); font-weight: var(--medium); line-height: 1.4; color: var(--ink); }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); flex: none; }
.lede { font-size: var(--fs-3); color: var(--text); max-width: 46ch; }
.fine { font-size: var(--fs-1); line-height: 1.5; color: var(--muted); }
.fine a, .prose a, .terms a, .faq a, .consent a, .note a { border-bottom: 1px solid var(--line); }
.fine a:hover, .prose a:hover, .terms a:hover, .faq a:hover, .consent a:hover { border-bottom-color: var(--ink); color: var(--ink); }

.button { display: inline-block; background: var(--ink); border: 1px solid var(--ink); color: #fff; padding: 14px 22px; font-size: var(--fs-2); font-weight: var(--medium); line-height: 1.4; text-align: center; transition: background .15s, border-color .15s; }
.button:hover { background: var(--accent); border-color: var(--accent); }
.button.quiet { background: transparent; color: var(--ink); }
.button.quiet:hover { background: transparent; border-color: var(--accent); color: var(--accent); }
.button:disabled { opacity: .55; cursor: wait; }
.link { font-size: var(--fs-2); font-weight: var(--medium); color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin-top: 28px; }

/* ---------- Masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px var(--edge); background: var(--paper); border-bottom: 1px solid var(--line); }
.wordmark { font-family: var(--serif); font-size: var(--fs-4); line-height: 1.1; color: var(--ink); }
.wordmark span { display: block; margin-top: 4px; font-family: var(--sans); font-size: var(--fs-1); line-height: 1.3; color: var(--muted); }
.primary { display: flex; gap: 30px; font-family: var(--serif); font-size: var(--fs-3); line-height: 1.4; color: var(--ink); }
.primary a { border-bottom: 1px solid transparent; }
.primary a:hover { border-bottom-color: var(--accent); }
.quote-link { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--ink); padding: 8px 8px 8px 14px; font-size: var(--fs-2); font-weight: var(--medium); line-height: 1.4; color: var(--ink); white-space: nowrap; }
.quote-link:hover { border-color: var(--accent); }
.count { min-width: 24px; padding: 2px 6px; background: var(--ink); color: #fff; text-align: center; font-size: var(--fs-1); font-variant-numeric: tabular-nums; }
.count[data-filled] { background: var(--accent); }

/* ---------- Page frame ---------- */
main { flex: 1; }
main > * { padding-inline: var(--edge); }

/* ---------- Home: hero ---------- */
.hero { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; padding-block: 64px 56px; }
.hero-text { grid-column: 1 / span 5; padding-bottom: 34px; }
.hero-text h1 { margin-bottom: 18px; }
.hero-plates { grid-column: 7 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero > .fine { grid-column: 7 / -1; margin: 10px 0 0; }
.plate img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--wash); }
.plate-caption { display: flex; gap: 10px; padding-top: 10px; font-size: var(--fs-1); line-height: 1.4; color: var(--text); }
.plate-caption span { color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.plate:hover .plate-caption { color: var(--accent); }

/* ---------- Home: key terms ---------- */
.facts dl { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; border-block: 1px solid var(--line); }
.facts div { padding: 18px 20px 20px 0; }
.facts div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.facts dt { font-size: var(--fs-1); line-height: 1.4; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-size: var(--fs-2); font-weight: var(--medium); line-height: 1.4; color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding-block: 72px; }
.section + .section { border-top: 0; }
.section.split, .section-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.section.split { position: relative; }
.section.split::before { content: ""; position: absolute; left: var(--edge); right: var(--edge); top: 0; height: 1px; background: var(--line); }
.section.split > header { grid-column: 1 / span 4; }
.section.split > header + * { grid-column: 6 / -1; }
.section-head { align-items: end; margin-bottom: 30px; }
.section-head > div { grid-column: 1 / span 5; }
.section-head > p { grid-column: 8 / -1; margin: 0; color: var(--text); }

/* ---------- Home: styles (the line sheet) ---------- */
.tools { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 0 26px; }
.filter { border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; padding: 10px 0; font-size: var(--fs-2); line-height: 1.4; color: var(--muted); }
.filter span { margin-left: 3px; font-size: var(--fs-1); font-variant-numeric: tabular-nums; }
.filter:hover { color: var(--ink); }
.filter[aria-pressed=true] { color: var(--ink); font-weight: var(--medium); border-bottom-color: var(--ink); }
#search { width: 220px; max-width: 100%; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: transparent; padding: 10px 0; font-size: var(--fs-2); line-height: 1.4; border-radius: 0; }
#search::placeholder { color: var(--muted); }
#search:focus { outline: none; border-bottom-color: var(--accent); }
.result { margin: 16px 0; font-size: var(--fs-1); color: var(--muted); font-variant-numeric: tabular-nums; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.product { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product a { display: block; height: 100%; padding: 14px 14px 20px; }
.product img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--wash); }
.product-ref { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: var(--fs-1); line-height: 1.4; color: var(--muted); font-variant-numeric: tabular-nums; }
.product h3 { margin: 6px 0 2px; font-family: var(--sans); font-size: var(--fs-2); font-weight: var(--medium); line-height: 1.4; }
.product-color { display: block; font-size: var(--fs-1); line-height: 1.4; color: var(--muted); }
.product a:hover h3 { color: var(--accent); }
.no-results { padding: 48px 0; color: var(--muted); }
.catalog-note { margin: 22px 0 0; }

/* ---------- Home: how it works, about, questions, contact ---------- */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 56px 1fr; padding: 20px 0; border-top: 1px solid var(--line); counter-increment: step; }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps li::before { content: "0" counter(step); grid-row: 1 / span 2; padding-top: 4px; font-size: var(--fs-1); font-weight: var(--medium); color: var(--accent); font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; grid-column: 2; }
.note { margin: 22px 0 0; padding-left: 14px; border-left: 2px solid var(--accent); font-size: var(--fs-2); color: var(--ink); }
.about-body { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.about-plates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-weight: var(--medium); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-weight: var(--regular); color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; color: var(--accent); }
.faq summary:hover { color: var(--accent); }
.faq p { margin: 0 0 20px; max-width: 64ch; }
.contact-body p { margin: 0 0 16px; }
.contact-email { font-family: var(--serif); font-size: var(--fs-5); line-height: var(--lh-heading); color: var(--ink); border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.contact-email:hover { color: var(--accent); border-bottom-color: var(--accent); }
.contact-body address { margin: 22px 0 26px; font-size: var(--fs-2); color: var(--text); }
.contact-body address a:hover { color: var(--accent); }

/* ---------- Document pages (about, contact, terms, policies) ---------- */
.page { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding-block: 64px 88px; }
.page > * { grid-column: 6 / -1; }
.page > .eyebrow { grid-column: 1 / span 4; grid-row: 1; align-self: start; margin-top: 6px; }
.page > h1 { grid-column: 1 / span 4; grid-row: 1 / span 40; align-self: start; margin-top: 40px; }
.page > .lede { max-width: none; font-size: var(--fs-4); line-height: 1.5; color: var(--ink); margin: 0 0 12px; }
.page > .updated { font-size: var(--fs-1); color: var(--muted); margin: 0 0 8px; }
.page > .button { justify-self: start; margin-top: 32px; }
.prose h2 { font-size: var(--fs-4); margin: 38px 0 10px; }
.prose > :first-child { margin-top: 20px; }
.prose p { margin: 0 0 12px; }
.prose ul { padding-left: 20px; margin: 0 0 12px; }
.prose address { color: var(--ink); }
.terms { margin: 24px 0 0; border-top: 1px solid var(--line); }
.terms > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.terms dt { font-size: var(--fs-2); font-weight: var(--medium); color: var(--ink); padding-top: 2px; }
.terms dd { margin: 0; }
.terms dd p { margin: 0 0 10px; }
.terms dd p:last-child { margin-bottom: 0; }

/* ---------- Style page ---------- */
.style { padding-block: 28px 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: var(--fs-1); color: var(--muted); font-variant-numeric: tabular-nums; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink); }
.style-layout { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; padding-bottom: 72px; }
.style-media { grid-column: 1 / span 6; }
.style-media > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--wash); }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 8px; }
.thumb { display: block; opacity: .55; border-bottom: 2px solid transparent; padding-bottom: 4px; }
.thumb img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--wash); }
.thumb:hover, .thumb[aria-current] { opacity: 1; }
.thumb[aria-current] { border-bottom-color: var(--ink); }
.style-info { grid-column: 8 / -1; position: sticky; top: 96px; }
.style-info h1 { font-size: var(--fs-5); line-height: var(--lh-heading); margin-bottom: 22px; }
.spec { margin: 0; border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-2); line-height: 1.5; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; color: var(--ink); }
.style-info .actions { margin: 26px 0 10px; }
.style-info .fine { margin: 0 0 10px; }
.size-guide { width: 100%; border-collapse: collapse; margin: 26px 0 8px; font-size: var(--fs-2); line-height: 1.4; color: var(--text); font-variant-numeric: tabular-nums; }
.size-guide caption { text-align: left; font-weight: var(--medium); color: var(--ink); padding-bottom: 8px; }
.size-guide th, .size-guide td { text-align: left; padding: 8px 10px 8px 0; border-top: 1px solid var(--line); vertical-align: top; font-weight: var(--regular); }
.size-guide thead th { font-size: var(--fs-1); color: var(--muted); border-top: 0; padding-top: 0; }
.size-guide tbody th { font-weight: var(--medium); color: var(--ink); }
.size-guide small { display: block; font-size: var(--fs-1); color: var(--muted); }
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pager a { padding: 22px 0 30px; font-family: var(--serif); font-size: var(--fs-4); line-height: var(--lh-heading); color: var(--ink); }
.pager a + a { text-align: right; border-left: 1px solid var(--line); }
.pager span { display: block; margin-bottom: 6px; font-family: var(--sans); font-size: var(--fs-1); color: var(--muted); }
.pager a:hover { color: var(--accent); }

/* ---------- Quote page ---------- */
.quote { padding-block: 64px 88px; }
.quote-head { max-width: 640px; margin-bottom: 40px; }
.quote-head h1 { margin-bottom: 16px; }
.quote-layout { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; border-top: 1px solid var(--line); padding-top: 32px; }
#quote-form { grid-column: 1 / span 7; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.field.wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: var(--fs-2); font-weight: var(--medium); line-height: 1.4; color: var(--ink); }
.field input, .field textarea { width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 0; padding: 12px; font-size: var(--fs-3); line-height: 1.4; color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.field small { display: block; margin-top: 6px; font-size: var(--fs-1); line-height: 1.5; color: var(--muted); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 24px; font-size: var(--fs-2); line-height: 1.5; }
.consent input { margin: 4px 0 0; accent-color: var(--ink); flex: none; }
.form-status { margin: 14px 0 0; font-size: var(--fs-2); overflow-wrap: anywhere; }
.form-status.error { color: var(--accent); }
.quote-summary { grid-column: 9 / -1; position: sticky; top: 96px; }
.quote-summary h2 { font-size: var(--fs-4); margin-bottom: 14px; }
.quote-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); font-size: var(--fs-2); line-height: 1.4; }
.quote-item:last-of-type { border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.quote-item img { width: 56px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--wash); }
.quote-item a { font-weight: var(--medium); color: var(--ink); }
.quote-item a:hover { color: var(--accent); }
.quote-item small { display: block; margin-top: 2px; font-size: var(--fs-1); color: var(--muted); font-variant-numeric: tabular-nums; }
.remove { border: 0; background: none; padding: 0; font-size: var(--fs-1); color: var(--muted); border-bottom: 1px solid var(--line); }
.remove:hover { color: var(--accent); border-bottom-color: var(--accent); }
.received { border-top: 1px solid var(--line); padding: 56px 0 0; max-width: 520px; }
.received:focus { outline: none; }
.received-mark { display: block; width: 44px; height: 44px; margin: 0 0 20px; border: 1px solid var(--accent); border-radius: 50%; position: relative; }
.received-mark::after { content: ""; position: absolute; left: 15px; top: 9px; width: 10px; height: 19px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.received h2 { margin: 0 0 10px; }
.received p { margin: 0; overflow-wrap: anywhere; }
.received p b { color: var(--ink); }
.received .reference { background: var(--wash); padding: 16px 18px; margin: 26px 0 14px; font-size: var(--fs-1); color: var(--muted); }
.received .reference b { display: block; margin-top: 6px; font-size: var(--fs-4); line-height: var(--lh-heading); color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.received .received-note { font-size: var(--fs-2); color: var(--muted); }
.received .button { margin-top: 28px; }

/* ---------- Colophon ---------- */
.colophon { display: grid; grid-template-columns: 1.5fr 1.3fr 1fr 1fr; gap: 40px 32px; padding: 64px var(--edge) 28px; background: var(--night); color: var(--night-text); font-size: var(--fs-2); line-height: 1.6; }
.colophon .wordmark { margin: 0 0 12px; font-size: var(--fs-5); color: #fff; }
.colophon-brand p { margin: 0; max-width: 300px; }
.colophon h2 { margin: 0 0 12px; font-family: var(--sans); font-size: var(--fs-1); font-weight: var(--medium); line-height: 1.4; color: var(--night-muted); }
.colophon address { color: #fff; }
.colophon ul { margin: 0; padding: 0; list-style: none; }
.colophon li { padding: 1px 0; font-family: var(--serif); font-size: var(--fs-3); line-height: 1.5; color: #fff; }
.colophon a { border-bottom: 1px solid transparent; }
.colophon a:hover { border-bottom-color: var(--accent); }
.colophon-base { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 20px; border-top: 1px solid var(--night-line); font-size: var(--fs-1); color: var(--night-muted); }

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .hero { align-items: start; padding-block: 48px 44px; }
  .hero-text { grid-column: 1 / -1; padding-bottom: 32px; }
  .hero-plates, .hero > .fine { grid-column: 1 / -1; }
  .facts dl { grid-template-columns: 1fr; }
  .facts div, .facts div + div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-left: 0; }
  .facts div + div { border-top: 1px solid var(--line); }
  .facts dd { margin: 0; text-align: right; }
  .facts dt { padding-top: 2px; }
  .section { padding-block: 56px; }
  .section.split > header, .section.split > header + *, .section-head > div, .section-head > p { grid-column: 1 / -1; }
  .section.split > header { margin-bottom: 26px; }
  .section-head > p { margin-top: 14px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .page > *, .page > .eyebrow, .page > h1 { grid-column: 1 / -1; grid-row: auto; }
  .page > h1 { margin: 0 0 18px; }
  .style-media { grid-column: 1 / span 6; }
  .style-info { grid-column: 7 / -1; }
  #quote-form, .quote-summary { grid-column: 1 / -1; }
  .quote-summary { position: static; margin-top: 44px; }
  .colophon { grid-template-columns: 1fr 1fr; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  :root { --fs-6: 32px; }
  html { scroll-padding-top: 132px; }
  .masthead { flex-wrap: wrap; gap: 12px; padding-block: 14px 0; }
  .primary { order: 3; width: 100%; gap: 8px; justify-content: space-between; overflow-x: auto; white-space: nowrap; padding: 10px 0 12px; border-top: 1px solid var(--line); }
  .hero { padding-block: 36px 36px; }
  .hero-plates { gap: 10px; }
  .plate-caption { flex-direction: column; gap: 0; }
  .section { padding-block: 44px; }
  .tools { border-bottom: 0; }
  .filters { gap: 0 18px; width: 100%; border-bottom: 1px solid var(--line); }
  #search { width: 100%; border-bottom-color: var(--line); margin: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .product a { padding: 10px 10px 16px; }
  .product-ref span + span { display: none; }
  .steps li { grid-template-columns: 40px 1fr; }
  .about-body { grid-template-columns: 1fr; gap: 22px; }
  .contact-email { font-size: var(--fs-4); }
  .page, .quote { padding-block: 40px 60px; }
  .page > .lede { font-size: var(--fs-3); color: var(--text); }
  .terms > div { grid-template-columns: 1fr; gap: 4px; }
  .style-layout { padding-bottom: 48px; }
  .style-media, .style-info { grid-column: 1 / -1; }
  .style-info { position: static; margin-top: 28px; }
  .spec > div { grid-template-columns: 124px 1fr; }
  .pager a { font-size: var(--fs-3); padding: 18px 0 24px; }
  .pager a + a { padding-left: 14px; }
  .fields { grid-template-columns: 1fr; }
  .received { padding-top: 40px; }
  .colophon { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
