/* Hallmark · pre-emit critique: P5 H5 E4 S5 R5 V5 */
@import url("brand-fonts.css?v=2");

:root {
  --color-ink: #18201b;
  --color-ink-deep: #101d17;
  --color-muted: #6b7a6c;
  --color-paper: #eaede6;
  --color-paper-deep: #dfe4dd;
  --color-white: #f1f0e9;
  --color-line: #c7cec7;
  --color-accent: #294b39;
  --color-accent-soft: #c29a6b;
  --color-warm: #8f5b2e;
  --color-shadow: rgba(16, 29, 23, 0.18);
  --color-veil: rgba(16, 29, 23, 0.48);
  --color-veil-soft: rgba(16, 29, 23, 0.16);
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  --font-label: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --shell: 1440px;
  --gutter: 64px;
  --header: 76px;
  --radius: 3px;
  --ease: 200ms ease;
}

* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; scroll-behavior: smooth; }
body { background: var(--color-white); color: var(--color-ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
body.menu-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
:where(a, button):focus-visible { outline: 2px solid var(--color-warm); outline-offset: 4px; }
h1, h2, h3, h4, p { min-width: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-style: normal; letter-spacing: 0; margin: 0; overflow-wrap: anywhere; }
p { margin-top: 0; }
[hidden] { display: none !important; }

.shell { margin-inline: auto; max-width: var(--shell); padding-inline: var(--gutter); width: 100%; }
.skip-link { background: var(--color-white); left: 12px; padding: 10px 14px; position: fixed; top: -80px; z-index: 100; }
.skip-link:focus { top: 12px; }
.eyebrow, .section-number, .model-card span, .system-tile span, .family-row span, .accessory-grid span { font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: 0; line-height: 1.4; text-transform: uppercase; }
.eyebrow { color: var(--color-accent); margin-bottom: 14px; }
.button { align-items: center; border: 1px solid var(--color-ink); display: inline-flex; font-size: 13px; font-weight: 800; justify-content: center; min-height: 52px; padding: 12px 22px; transition: background var(--ease), border-color var(--ease), color var(--ease), transform var(--ease); white-space: nowrap; }
.button:hover { transform: translateY(-2px); }
.button--light { background: var(--color-white); border-color: var(--color-white); color: var(--color-ink); }
.button--light:hover { background: var(--color-accent-soft); border-color: var(--color-accent-soft); }
.button--outline-light { border-color: var(--color-white); color: var(--color-white); }
.button--outline-light:hover { background: var(--color-white); color: var(--color-ink); }
.button--dark { background: var(--color-ink); color: var(--color-white); }
.button--dark:hover { background: var(--color-accent); border-color: var(--color-accent); }
.button--outline:hover { background: var(--color-paper); }
.text-link { align-items: center; border-bottom: 1px solid currentColor; display: inline-flex; font-size: 13px; font-weight: 800; min-height: 44px; padding-bottom: 3px; white-space: nowrap; }

.site-header { background: color-mix(in srgb, var(--color-white) 94%, transparent); border-bottom: 1px solid var(--color-line); height: var(--header); left: 0; position: fixed; right: 0; top: 0; z-index: 80; backdrop-filter: blur(12px); }
.header-inner { align-items: center; display: grid; grid-template-columns: 1fr auto 1fr; height: 100%; margin: auto; max-width: 1240px; padding-inline: 24px; }
.brand { align-items: center; display: inline-flex; font-family: var(--font-display); font-size: 20px; font-weight: 700; gap: 10px; justify-self: start; letter-spacing: 0; }
.brand img { height: 48px; object-fit: contain; width: 48px; }
.primary-nav { align-items: center; display: flex; gap: 34px; }
.primary-nav a { border-bottom: 1px solid transparent; font-size: 14px; font-weight: 500; padding-block: 8px; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { border-color: currentColor; }
.header-enquiry { align-items: center; background: var(--color-ink); border: 1px solid var(--color-ink); color: var(--color-white); display: inline-flex; font-size: 14px; font-weight: 600; justify-self: end; min-height: 44px; padding: 10px 18px; white-space: nowrap; }
.header-enquiry:hover { background: var(--color-accent); border-color: var(--color-accent); }
.menu-button { background: transparent; border: 0; display: none; height: 44px; padding: 10px; width: 44px; }
.menu-button span { background: var(--color-ink); display: block; height: 2px; margin-block: 5px; width: 24px; }

.wpc-hero { color: var(--color-white); height: calc(100svh - 84px); max-height: 760px; min-height: 650px; overflow: hidden; padding-top: var(--header); position: relative; }
.wpc-hero__image { height: 100%; inset: 0; object-fit: cover; object-position: center 58%; position: absolute; width: 100%; }
.wpc-hero__veil { background: linear-gradient(90deg, var(--color-veil) 0%, var(--color-veil-soft) 58%, transparent 86%), linear-gradient(0deg, var(--color-veil-soft), transparent 42%); inset: 0; position: absolute; }
.wpc-hero__content { padding-top: 150px; position: relative; z-index: 2; }
.wpc-hero .eyebrow { color: var(--color-accent-soft); }
.breadcrumb { align-items: center; display: flex; font-size: 12px; gap: 10px; margin-bottom: 52px; }
.breadcrumb a { border-bottom: 1px solid color-mix(in srgb, var(--color-white) 60%, transparent); }
.wpc-hero h1 { font-size: 74px; line-height: 0.98; max-width: 820px; }
.hero-copy { font-size: 19px; line-height: 1.65; margin: 26px 0 32px; max-width: 660px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { background: color-mix(in srgb, var(--color-ink-deep) 88%, transparent); bottom: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); left: 0; position: absolute; right: 0; z-index: 3; }
.hero-facts div { align-items: center; border-right: 1px solid color-mix(in srgb, var(--color-white) 18%, transparent); display: flex; gap: 18px; min-height: 86px; padding: 20px var(--gutter); }
.hero-facts div:last-child { border: 0; }
.hero-facts span { color: var(--color-accent-soft); font-size: 12px; font-weight: 800; }
.hero-facts strong { font-size: 13px; line-height: 1.45; }

.system-nav { background: var(--color-white); border-bottom: 1px solid var(--color-line); position: sticky; top: var(--header); z-index: 60; }
.system-nav__inner { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding-inline: var(--gutter); }
.system-nav a { border-right: 1px solid var(--color-line); font-size: 12px; font-weight: 800; padding: 20px 14px; text-align: center; transition: background var(--ease), color var(--ease); white-space: nowrap; }
.system-nav a:first-child { border-left: 1px solid var(--color-line); }
.system-nav a:hover, .system-nav a.is-active { background: var(--color-ink); color: var(--color-white); }

.system-index, .product-system { padding-block: 112px; }
.system-index { scroll-margin-top: 130px; }
.system-index { background: var(--color-paper); }
.section-heading--split { align-items: end; display: grid; gap: 80px; grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr); margin-bottom: 52px; }
.section-heading h2 { font-size: 52px; line-height: 1.08; max-width: 820px; }
.section-heading > p { color: var(--color-muted); margin: 0; }
.system-index__grid { display: grid; gap: 1px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.system-tile { background: var(--color-white); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(230px, 0.65fr); min-height: 300px; overflow: hidden; }
.system-tile--wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.45fr); min-height: 410px; }
.system-tile figure { margin: 0; min-height: 0; overflow: hidden; }
.system-tile img { height: 100%; object-fit: cover; transition: transform 500ms ease; width: 100%; }
.system-tile:hover img { transform: scale(1.025); }
.system-tile > div { align-content: end; display: grid; padding: 30px; }
.system-tile span { color: var(--color-warm); }
.system-tile h3 { font-size: 30px; margin: 12px 0 8px; }
.system-tile p { color: var(--color-muted); margin: 0; }
.library-jump { align-items: center; border-top: 1px solid var(--color-line); display: flex; justify-content: space-between; margin-top: 46px; padding-top: 28px; }
.library-jump p { margin: 0; }
.library-jump strong, .library-jump span { display: block; }
.library-jump strong { font-size: 21px; }
.library-jump span { color: var(--color-muted); font-size: 13px; margin-top: 3px; }

.product-system { scroll-margin-top: 130px; }
.product-system--paper { background: var(--color-paper); }
.product-system--green { background: var(--color-ink-deep); color: var(--color-white); }
.product-system--green .eyebrow, .product-system--green .section-number { color: var(--color-accent-soft); }
.product-system__head { align-items: start; border-top: 1px solid var(--color-line); display: grid; gap: 30px; grid-template-columns: 80px minmax(0, 1fr) minmax(300px, 0.55fr); padding-top: 24px; }
.product-system--green .product-system__head { border-color: color-mix(in srgb, var(--color-white) 24%, transparent); }
.section-number { color: var(--color-warm); margin: 0; }
.product-system__head h2 { font-size: 70px; line-height: 1; }
.product-system__head > p:last-child { color: var(--color-muted); margin: 0; }
.product-system--green .product-system__head > p:last-child { color: color-mix(in srgb, var(--color-white) 72%, transparent); }
.product-system__feature { display: grid; gap: 0; grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.45fr); margin-top: 64px; }
.feature-image { margin: 0; min-height: 580px; position: relative; }
.feature-image img { height: 100%; object-fit: cover; position: absolute; width: 100%; }
.feature-image figcaption, .cladding-spread__main figcaption, .fence-layout__main figcaption { background: color-mix(in srgb, var(--color-ink-deep) 84%, transparent); bottom: 0; color: var(--color-white); font-size: 11px; left: 0; padding: 10px 13px; position: absolute; }
.series-panel { align-content: center; background: var(--color-white); display: grid; padding: 44px; }
.series-list { list-style: none; margin: 12px 0 36px; padding: 0; }
.series-list li { align-items: start; border-top: 1px solid var(--color-line); display: grid; gap: 16px; grid-template-columns: 26px minmax(0, 1fr); padding: 18px 0; }
.series-list span { color: var(--color-warm); font-size: 11px; font-weight: 800; }
.series-list strong, .series-list small { display: block; }
.series-list strong { font-size: 14px; }
.series-list small { color: var(--color-muted); margin-top: 4px; }
.model-heading, .gate-heading { align-items: end; border-bottom: 1px solid var(--color-line); display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr); margin: 86px 0 28px; padding-bottom: 22px; }
.model-heading h3, .gate-heading h3 { font-size: 32px; line-height: 1.2; }
.model-heading > p, .gate-heading > p { color: var(--color-muted); margin: 0; }
.model-grid { display: grid; gap: 1px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.model-card { background: var(--color-white); border: 1px solid var(--color-line); min-width: 0; }
.model-card figure { aspect-ratio: 4 / 3; background: var(--color-paper-deep); margin: 0; overflow: hidden; }
.model-card img { height: 100%; object-fit: contain; transition: transform 300ms ease; width: 100%; }
.model-card:hover img { transform: scale(1.035); }
.model-card > div { padding: 18px; }
.model-card span { color: var(--color-muted); }
.model-card h4 { font-size: 20px; margin: 7px 0 16px; }
.model-card button, .gate-grid button, .railing-grid button { align-items: center; background: transparent; border: 0; border-bottom: 1px solid currentColor; color: var(--color-ink); cursor: pointer; display: inline-flex; font-size: 12px; font-weight: 800; min-height: 44px; padding: 0 0 3px; }
.expand-button { background: transparent; border: 1px solid var(--color-line); color: var(--color-ink); cursor: pointer; display: block; font-size: 12px; font-weight: 800; margin: 26px auto 0; min-height: 48px; padding: 10px 18px; }
.expand-button:hover { background: var(--color-white); }

.cladding-spread { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(330px, 0.35fr); margin-top: 64px; }
.cladding-spread__main { aspect-ratio: 16 / 9; margin: 0; overflow: hidden; position: relative; }
.cladding-spread__main img { height: 100%; object-fit: cover; width: 100%; }
.cladding-spread__copy { align-content: center; background: var(--color-paper); display: grid; padding: 42px; }
.cladding-spread__copy h3 { font-size: 30px; line-height: 1.2; }
.cladding-spread__copy dl { margin: 28px 0 0; }
.cladding-spread__copy dl div { border-top: 1px solid var(--color-line); display: grid; gap: 12px; grid-template-columns: 100px minmax(0, 1fr); padding: 13px 0; }
.cladding-spread__copy dt { font-size: 12px; font-weight: 800; }
.cladding-spread__copy dd { color: var(--color-muted); font-size: 13px; margin: 0; }

.fence-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(340px, 0.5fr); margin-top: 64px; }
.fence-layout__main { aspect-ratio: 3 / 2; margin: 0; overflow: hidden; position: relative; }
.fence-layout__main img { height: 100%; object-fit: cover; width: 100%; }
.fence-layout__families { align-content: center; background: var(--color-white); color: var(--color-ink); display: grid; padding: 38px; }
.family-row { border-top: 1px solid var(--color-line); display: grid; gap: 16px; grid-template-columns: 28px minmax(0, 1fr); padding: 17px 0; }
.family-row > span { color: var(--color-warm); }
.family-row strong, .family-row small { display: block; }
.family-row strong { font-size: 14px; }
.family-row small { color: var(--color-muted); margin-top: 4px; }
.product-system--green .gate-heading { border-color: color-mix(in srgb, var(--color-white) 24%, transparent); }
.product-system--green .gate-heading > p { color: color-mix(in srgb, var(--color-white) 72%, transparent); }
.gate-grid { display: grid; gap: 1px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gate-grid article { background: var(--color-white); color: var(--color-ink); }
.gate-grid figure { aspect-ratio: 4 / 3; margin: 0; overflow: hidden; }
.gate-grid img { height: 100%; object-fit: contain; width: 100%; }
.gate-grid article > div { align-items: center; display: flex; justify-content: space-between; padding: 16px 18px; }
.gate-grid article > div span { font-size: 13px; font-weight: 800; }

.railing-grid { display: grid; gap: 1px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 64px; }
.railing-grid article { background: var(--color-white); border: 1px solid var(--color-line); }
.railing-grid figure { aspect-ratio: 4 / 5; margin: 0; overflow: hidden; }
.railing-grid img { height: 100%; object-fit: contain; width: 100%; }
.railing-grid article > div { padding: 20px; }
.railing-grid span { color: var(--color-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.railing-grid h3 { font-size: 21px; margin: 8px 0 16px; }

.accessory-layout { display: grid; gap: 70px; grid-template-columns: minmax(280px, 0.35fr) minmax(0, 1.65fr); margin-top: 64px; }
.accessory-intro { align-self: start; position: sticky; top: 160px; }
.accessory-intro h3 { font-size: 38px; line-height: 1.15; }
.accessory-intro > p:not(.eyebrow) { color: var(--color-muted); margin: 22px 0 28px; }
.accessory-grid { display: grid; gap: 1px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.accessory-grid article { background: var(--color-paper); border: 1px solid var(--color-line); }
.accessory-grid img { aspect-ratio: 4 / 3; height: auto; object-fit: contain; width: 100%; }
.accessory-grid article > div { padding: 15px; }
.accessory-grid span, .accessory-grid strong { display: block; }
.accessory-grid span { color: var(--color-muted); }
.accessory-grid strong { font-size: 14px; margin-top: 6px; }

.library-section { background: var(--color-paper-deep); padding-block: 112px; scroll-margin-top: 130px; }
.library-categories { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 28px; }
.library-categories button { background: var(--color-white); border: 1px solid var(--color-line); color: var(--color-ink); cursor: pointer; font-size: 13px; font-weight: 800; min-height: 58px; padding: 12px; white-space: nowrap; }
.library-categories button + button { border-left: 0; }
.library-categories button[aria-pressed="true"] { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-white); }
.library-categories button span { color: var(--color-warm); font-size: 11px; margin-left: 5px; }
.library-categories button[aria-pressed="true"] span { color: var(--color-accent-soft); }
.library-toolbar { align-items: end; display: flex; justify-content: space-between; margin-bottom: 24px; }
.library-toolbar label { display: grid; gap: 7px; max-width: 420px; width: 100%; }
.library-toolbar label span { font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; }
.library-toolbar select { appearance: none; background: var(--color-white); border: 1px solid var(--color-line); border-radius: 0; color: var(--color-ink); min-height: 50px; padding: 10px 42px 10px 14px; width: 100%; }
.library-toolbar p { color: var(--color-muted); font-size: 13px; margin: 0 0 12px; }
.library-grid { display: grid; gap: 1px; grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 600px; }
.library-card { background: var(--color-white); border: 1px solid var(--color-line); min-width: 0; }
.library-image { aspect-ratio: 4 / 3; background: var(--color-paper); border: 0; cursor: zoom-in; display: block; overflow: hidden; padding: 0; width: 100%; }
.library-image img { height: 100%; object-fit: contain; transition: transform 300ms ease; width: 100%; }
.library-image:hover img { transform: scale(1.035); }
.library-card > div { padding: 15px; }
.library-card span, .library-card small { color: var(--color-muted); display: block; font-family: var(--font-label); font-size: 10px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; }
.library-card h3 { font-size: 15px; line-height: 1.35; margin: 7px 0 0; min-height: 41px; }
.library-card small { color: var(--color-warm); margin-top: 10px; }
.library-pagination { align-items: center; display: flex; justify-content: center; margin-top: 28px; }
.library-pagination button { background: var(--color-white); border: 1px solid var(--color-line); color: var(--color-ink); cursor: pointer; font-size: 12px; font-weight: 800; min-height: 48px; padding: 10px 18px; }
.library-pagination button:disabled { color: var(--color-muted); cursor: not-allowed; opacity: 0.45; }
.library-pagination span { font-size: 12px; font-weight: 800; min-width: 130px; text-align: center; }
.library-noscript { background: var(--color-white); border: 1px solid var(--color-line); padding: 18px; }

.factory-section { background: var(--color-ink-deep); color: var(--color-white); display: grid; grid-template-columns: minmax(320px, 0.42fr) minmax(0, 1.58fr); }
.factory-copy { align-content: center; display: grid; padding: 70px; }
.factory-copy .eyebrow { color: var(--color-accent-soft); }
.factory-copy h2 { font-size: 42px; line-height: 1.08; }
.factory-copy > p:last-child { color: color-mix(in srgb, var(--color-white) 72%, transparent); margin: 24px 0 0; }
.factory-video { background: var(--color-ink); min-height: 560px; }
.factory-video video { height: 100%; object-fit: contain; width: 100%; }

.enquiry-section { padding-block: 96px; }
.enquiry-section__inner { align-items: start; display: grid; gap: 90px; grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr); }
.enquiry-section h2 { font-size: 56px; line-height: 1.05; }
.enquiry-section__inner > div:last-child > p { color: var(--color-muted); }
.enquiry-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.site-footer { background: var(--color-ink); color: var(--color-white); padding: 70px 0 24px; }
.footer-grid { display: grid; gap: 70px; grid-template-columns: minmax(0, 1.3fr) minmax(180px, 0.35fr) minmax(220px, 0.35fr); }
.footer-brand { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: 0; }
.footer-grid p { color: color-mix(in srgb, var(--color-white) 64%, transparent); max-width: 430px; }
.footer-grid h2 { font-size: 12px; margin-bottom: 18px; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; }
.footer-grid > div:not(:first-child) a { align-items: center; color: color-mix(in srgb, var(--color-white) 74%, transparent); display: inline-flex; font-size: 13px; margin-bottom: 2px; min-height: 44px; width: fit-content; white-space: nowrap; }
.footer-bottom { border-top: 1px solid color-mix(in srgb, var(--color-white) 18%, transparent); color: color-mix(in srgb, var(--color-white) 54%, transparent); display: flex; font-size: 11px; justify-content: space-between; margin-top: 58px; padding-top: 20px; }
.footer-bottom a { align-items: center; display: inline-flex; min-height: 44px; }

.image-dialog { background: var(--color-paper); border: 0; border-radius: var(--radius); color: var(--color-ink); max-height: 92svh; max-width: 1000px; padding: 50px 24px 18px; width: calc(100% - 40px); }
.image-dialog::backdrop { background: color-mix(in srgb, var(--color-ink-deep) 86%, transparent); }
.image-dialog img { background: var(--color-white); height: min(72svh, 720px); object-fit: contain; width: 100%; }
.image-dialog p { font-size: 13px; font-weight: 800; margin: 14px 0 0; }
.dialog-close { background: transparent; border: 0; color: var(--color-ink); cursor: pointer; font-size: 30px; height: 44px; line-height: 1; position: absolute; right: 8px; top: 6px; width: 44px; }

@media (max-width: 1160px) {
  :root { --gutter: 36px; }
  .primary-nav { gap: 20px; }
  .wpc-hero h1 { font-size: 64px; }
  .system-tile, .system-tile--wide { grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr); }
  .model-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .accessory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .library-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .factory-copy { padding: 48px 36px; }
}

@media (max-width: 980px) {
  :root { --header: 68px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .brand img { height: 42px; width: 42px; }
  .primary-nav { background: var(--color-white); border-bottom: 1px solid var(--color-line); display: none; left: 0; padding: 24px var(--gutter) 34px; position: fixed; right: 0; top: var(--header); }
  .primary-nav.open { display: grid; gap: 4px; }
  .primary-nav a { border-bottom: 1px solid var(--color-line); font-size: 14px; padding: 13px 0; }
  .header-enquiry { display: none; }
  .menu-button { display: block; justify-self: end; }
  .wpc-hero { height: calc(100svh - 72px); min-height: 600px; }
  .wpc-hero__content { padding-top: 120px; }
  .wpc-hero h1 { font-size: 54px; max-width: 650px; }
  .hero-facts div { padding-inline: 24px; }
  .system-nav { top: var(--header); }
  .system-nav__inner { overflow-x: auto; padding: 0; scroll-snap-type: x mandatory; }
  .system-nav a { min-width: 150px; scroll-snap-align: start; }
  .section-heading--split, .product-system__head { grid-template-columns: 1fr; }
  .section-number { margin-bottom: -12px; }
  .product-system__feature, .cladding-spread, .fence-layout { grid-template-columns: 1fr; }
  .feature-image { min-height: 520px; }
  .cladding-spread__copy, .fence-layout__families { padding: 34px; }
  .model-grid, .railing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .accessory-layout { gap: 46px; grid-template-columns: 1fr; }
  .accessory-intro { position: static; }
  .factory-section { grid-template-columns: 1fr; }
  .factory-video { min-height: 0; }
  .factory-video video { aspect-ratio: 16 / 9; }
  .enquiry-section__inner { gap: 40px; grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root { --gutter: 20px; }
  .wpc-hero { height: calc(100svh - 64px); min-height: 590px; }
  .wpc-hero__image { object-position: 62% center; }
  .wpc-hero__veil { background: linear-gradient(90deg, var(--color-veil) 0%, var(--color-veil-soft) 100%), linear-gradient(0deg, var(--color-veil-soft), transparent 50%); }
  .wpc-hero__content { padding-top: 95px; }
  .breadcrumb { margin-bottom: 28px; }
  .wpc-hero h1 { font-size: 41px; line-height: 1.02; }
  .hero-copy { font-size: 16px; line-height: 1.55; margin: 20px 0 24px; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 100%; }
  .hero-actions .button { width: 100%; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div { border-bottom: 1px solid color-mix(in srgb, var(--color-white) 18%, transparent); border-right: 0; min-height: 47px; padding: 9px 20px; }
  .hero-facts div:nth-child(2) { display: none; }
  .system-nav__inner { grid-template-columns: repeat(6, minmax(0, 1fr)); overflow-x: visible; scroll-snap-type: none; }
  .system-nav a { grid-column: span 2; min-height: 48px; min-width: 0; padding: 14px 6px; }
  .system-nav a:nth-last-child(-n + 2) { grid-column: span 3; border-top: 1px solid var(--color-line); }
  .system-index, .product-system { padding-block: 72px; }
  .section-heading--split { gap: 24px; margin-bottom: 34px; }
  .section-heading h2 { font-size: 36px; }
  .system-index__grid { grid-template-columns: 1fr; }
  .system-tile, .system-tile--wide { grid-column: auto; grid-template-columns: 1fr; min-height: 0; }
  .system-tile figure { aspect-ratio: 16 / 10; }
  .system-tile > div { padding: 22px; }
  .system-tile h3 { font-size: 25px; }
  .library-jump { align-items: stretch; flex-direction: column; gap: 20px; }
  .library-jump .button { width: 100%; }
  .product-system__head { gap: 14px; }
  .product-system__head h2 { font-size: 44px; }
  .product-system__head > p:last-child { margin-top: 8px; }
  .product-system__feature, .cladding-spread, .fence-layout { margin-top: 38px; }
  .feature-image { min-height: 0; position: relative; }
  .feature-image img { aspect-ratio: 4 / 3; position: static; }
  .series-panel, .cladding-spread__copy, .fence-layout__families { padding: 28px 22px; }
  .model-heading, .gate-heading { align-items: start; gap: 16px; grid-template-columns: 1fr; margin: 58px 0 22px; }
  .model-heading h3, .gate-heading h3 { font-size: 28px; }
  .model-grid, .railing-grid { grid-template-columns: 1fr; }
  .model-card figure { aspect-ratio: 4 / 3; }
  .cladding-spread__copy h3 { font-size: 27px; }
  .cladding-spread__copy dl div { grid-template-columns: 90px minmax(0, 1fr); }
  .gate-grid { grid-template-columns: 1fr; }
  .gate-grid figure { aspect-ratio: 4 / 3; }
  .railing-grid { margin-top: 38px; }
  .railing-grid figure { aspect-ratio: 4 / 3; }
  .accessory-layout { margin-top: 38px; }
  .accessory-intro h3 { font-size: 32px; }
  .accessory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .accessory-grid article > div { padding: 12px; }
  .accessory-grid strong { font-size: 12px; }
  .library-section { padding-block: 72px; }
  .library-categories { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .library-categories button { flex: 0 0 136px; scroll-snap-align: start; }
  .library-categories button + button { border-left: 1px solid var(--color-line); }
  .library-toolbar { align-items: stretch; flex-direction: column; gap: 12px; }
  .library-toolbar p { margin: 0; }
  .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; }
  .library-card > div { padding: 12px; }
  .library-card h3 { font-size: 13px; min-height: 54px; }
  .library-pagination span { min-width: 100px; }
  .factory-copy { padding: 56px 20px 40px; }
  .factory-copy h2 { font-size: 34px; }
  .enquiry-section { padding-block: 70px; }
  .enquiry-section h2 { font-size: 39px; }
  .enquiry-actions { align-items: stretch; flex-direction: column; }
  .enquiry-actions .button { width: 100%; }
  .site-footer { padding-top: 54px; }
  .footer-grid { gap: 34px; grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
  .image-dialog { padding: 48px 12px 14px; width: calc(100% - 20px); }
  .image-dialog img { height: 65svh; }
}

@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .wpc-hero h1 { font-size: 36px; }
  .wpc-hero__content { padding-top: 82px; }
  .system-nav a { min-width: 0; }
  .accessory-grid { grid-template-columns: 1fr; }
  .library-grid { grid-template-columns: 1fr; }
  .library-card h3 { min-height: 0; }
}

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