/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V4 */
@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.16);
  --color-veil: rgba(16, 29, 23, 0.42);
  --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 { color: var(--color-warm); font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: 0; line-height: 1.4; margin-bottom: 13px; text-transform: uppercase; }
.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, .product-link { align-items: center; border-bottom: 1px solid currentColor; display: inline-flex; font-size: 13px; font-weight: 800; gap: 14px; justify-self: start; min-height: 44px; white-space: nowrap; }
.text-link { padding-bottom: 3px; }
.product-link { min-height: 44px; padding-block: 9px; }
.product-link span { transition: transform var(--ease); }
.product-link:hover span { transform: translateX(4px); }

.site-header { backdrop-filter: blur(12px); 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; }
.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: min(720px, 92svh); min-height: 620px; 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: var(--color-veil); inset: 0; position: absolute; }
.wpc-hero__content { align-content: center; display: grid; height: 100%; padding-bottom: 50px; padding-top: 72px; 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 currentColor; }
.wpc-hero h1 { font-size: 72px; line-height: 1; max-width: 780px; text-shadow: 0 2px 18px var(--color-shadow); }
.hero-copy { font-size: 18px; margin: 25px 0 30px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.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)); }
.system-nav a { border-right: 1px solid var(--color-line); font-size: 12px; font-weight: 800; padding: 18px 12px; 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); }

.catalog-intro { padding-block: 96px; }
.catalog-intro__grid { align-items: end; display: grid; gap: 100px; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); }
.catalog-intro h2 { font-size: 54px; line-height: 1.06; max-width: 760px; }
.catalog-intro__grid > p { color: var(--color-muted); margin: 0; }

.category-section { padding-block: 92px; scroll-margin-top: 125px; }
.category-section--tone { background: var(--color-paper); }
.category-section--dark { background: var(--color-ink-deep); color: var(--color-white); }
.category-section--dark .eyebrow, .category-section--dark .category-head > span { color: var(--color-accent-soft); }
.category-head { align-items: start; border-top: 1px solid var(--color-line); display: grid; gap: 28px; grid-template-columns: 52px minmax(0, 1fr) minmax(320px, 0.55fr); padding-top: 22px; }
.category-section--dark .category-head { border-color: color-mix(in srgb, var(--color-white) 24%, transparent); }
.category-head > span { color: var(--color-warm); font-size: 12px; font-weight: 800; }
.category-head h2 { font-size: 58px; line-height: 1; }
.category-head > p { color: var(--color-muted); margin: 0; }
.category-section--dark .category-head > p { color: color-mix(in srgb, var(--color-white) 70%, transparent); }
.category-body { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.55fr); margin-top: 48px; }
.category-body > figure { margin: 0; min-height: 470px; overflow: hidden; }
.category-body > figure img { height: 100%; object-fit: cover; transition: transform 500ms ease; width: 100%; }
.category-body:hover > figure img { transform: scale(1.018); }
.category-copy { align-content: center; background: var(--color-white); color: var(--color-ink); display: grid; padding: 46px; }
.category-copy h3 { font-size: 35px; line-height: 1.12; }
.category-copy > p:not(.eyebrow) { color: var(--color-muted); margin: 20px 0 24px; }
.category-copy dl { border-bottom: 1px solid var(--color-line); margin: 0 0 26px; }
.category-copy dl div { border-top: 1px solid var(--color-line); display: grid; gap: 16px; grid-template-columns: 110px minmax(0, 1fr); padding: 11px 0; }
.category-copy dt { color: var(--color-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.category-copy dd { font-size: 12px; font-weight: 800; margin: 0; }

.product-row { display: grid; gap: 1px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 1px; }
.product-row--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-row > a { background: var(--color-white); border: 1px solid var(--color-line); display: grid; min-width: 0; padding-bottom: 18px; }
.product-row img { aspect-ratio: 4 / 3; background: var(--color-paper-deep); height: auto; object-fit: contain; transition: transform 300ms ease; width: 100%; }
.product-row a:hover img { transform: scale(1.025); }
.product-row span, .product-row strong { display: block; margin-inline: 17px; }
.product-row span { color: var(--color-muted); font-size: 10px; font-weight: 800; margin-top: 14px; text-transform: uppercase; }
.product-row strong { font-size: 15px; margin-top: 4px; }

.series-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1.28fr) minmax(360px, 0.72fr); margin-top: 48px; }
.series-card { background: var(--color-white); border: 1px solid var(--color-line); display: grid; grid-template-rows: auto 1fr; min-width: 0; transition: border-color var(--ease), transform var(--ease); }
.series-card:hover { border-color: var(--color-accent); transform: translateY(-3px); }
.series-card figure { aspect-ratio: 4 / 3; margin: 0; overflow: hidden; }
.series-card--lead figure { aspect-ratio: 16 / 9; }
.series-card figure img { height: 100%; object-fit: cover; transition: transform 500ms ease; width: 100%; }
.series-card:hover figure img { transform: scale(1.018); }
.series-card__body { align-content: start; display: grid; padding: 30px 32px 32px; }
.series-card__body h3 { font-size: 31px; line-height: 1.12; }
.series-card--lead .series-card__body h3 { font-size: 37px; }
.series-card__body > p:not(.eyebrow) { color: var(--color-muted); margin: 14px 0 24px; max-width: 660px; }
.series-card__body > span { align-items: center; border-top: 1px solid var(--color-line); display: flex; font-size: 12px; font-weight: 800; justify-content: space-between; margin-top: auto; padding-top: 18px; text-transform: uppercase; }
.series-card__body b { font-size: 18px; font-weight: 400; transition: transform var(--ease); }
.series-card:hover .series-card__body b { transform: translateX(4px); }
.category-section--dark .series-card { border-color: color-mix(in srgb, var(--color-white) 22%, transparent); color: var(--color-ink); }

.reference-strip { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 34px; }
.reference-strip--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reference-strip a { background: var(--color-white); border: 1px solid var(--color-line); display: grid; min-width: 0; }
.reference-strip img { aspect-ratio: 4 / 3; height: 100%; max-height: 250px; object-fit: cover; transition: opacity var(--ease); width: 100%; }
.reference-strip a:hover img { opacity: 0.88; }
.reference-strip span { color: var(--color-muted); font-size: 11px; font-weight: 800; padding: 13px 15px; text-transform: uppercase; }
.category-section--dark .reference-strip a { border-color: color-mix(in srgb, var(--color-white) 22%, transparent); }
.category-route { align-items: center; border-top: 1px solid var(--color-line); display: flex; gap: 30px; justify-content: space-between; margin-top: 42px; padding-top: 24px; }
.category-route p { color: var(--color-muted); margin: 0; }
.category-section--dark .category-route { border-color: color-mix(in srgb, var(--color-white) 22%, transparent); }
.category-section--dark .category-route p { color: color-mix(in srgb, var(--color-white) 70%, transparent); }

.technical-directory { background: var(--color-paper); padding-block: 96px; }
.technical-directory__grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.technical-directory section { background: var(--color-white); border: 1px solid var(--color-line); padding: 38px; scroll-margin-top: 125px; }
.technical-directory header { display: grid; gap: 18px; grid-template-columns: 38px minmax(0, 1fr) 132px; }
.technical-directory header > span { color: var(--color-warm); font-size: 12px; font-weight: 800; padding-top: 3px; }
.technical-directory h2 { font-size: 46px; line-height: 1; }
.technical-directory header p:last-child { color: var(--color-muted); margin: 18px 0 0; }
.technical-directory__thumb { align-self: start; aspect-ratio: 4 / 3; background: var(--color-paper); border: 1px solid var(--color-line); overflow: hidden; }
.technical-directory__thumb img { height: 100%; object-fit: contain; transition: transform var(--ease); width: 100%; }
.technical-directory__thumb:hover img { transform: scale(1.025); }
.technical-directory nav { border-bottom: 1px solid var(--color-line); margin-top: 34px; }
.technical-directory nav a { align-items: center; border-top: 1px solid var(--color-line); display: flex; gap: 20px; justify-content: space-between; min-height: 62px; padding: 12px 4px; }
.technical-directory nav a:hover strong { color: var(--color-accent); }
.technical-directory nav strong { font-size: 14px; }
.technical-directory nav span { color: var(--color-muted); font-size: 11px; font-weight: 800; white-space: nowrap; }
.technical-directory__all { margin-top: 26px; }

.library-cta { background: var(--color-accent); color: var(--color-white); padding-block: 86px; }
.library-cta .eyebrow { color: var(--color-accent-soft); }
.library-cta__grid { align-items: end; display: grid; gap: 90px; grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr); }
.library-cta h2 { font-size: 48px; line-height: 1.08; }
.library-cta__grid > div:last-child > p { color: color-mix(in srgb, var(--color-white) 78%, transparent); }
.proof-strip { border-bottom: 1px solid var(--color-line); }
.proof-strip > .shell { align-items: stretch; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, 0.8fr); }
.proof-strip .shell > div, .proof-strip .shell > a { border-left: 1px solid var(--color-line); display: grid; padding: 24px; }
.proof-strip .shell > a { align-content: center; border-right: 1px solid var(--color-line); font-size: 12px; font-weight: 800; }
.proof-strip strong, .proof-strip span { display: block; }
.proof-strip strong { font-size: 24px; }
.proof-strip span { color: var(--color-muted); font-size: 11px; }

.enquiry-section { padding-block: 92px; }
.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: 54px; 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: 62px; }
  .category-copy { padding: 34px; }
  .category-body { grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr); }
  .series-grid { grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); }
}

@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 { min-height: 580px; }
  .system-nav { top: var(--header); }
  .system-nav__inner { overflow-x: auto; padding-inline: 0; scroll-snap-type: x mandatory; }
  .system-nav a { min-width: 150px; scroll-snap-align: start; }
  .catalog-intro__grid, .category-head, .library-cta__grid, .enquiry-section__inner { gap: 28px; grid-template-columns: 1fr; }
  .category-head > span { margin-bottom: -12px; }
  .category-body { grid-template-columns: 1fr; }
  .category-body > figure { min-height: 460px; }
  .product-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .series-grid, .technical-directory__grid { grid-template-columns: 1fr; }
  .series-card figure, .series-card--lead figure { aspect-ratio: 16 / 9; }
  .reference-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-strip > .shell { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-strip .shell > a { border-top: 1px solid var(--color-line); grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --gutter: 20px; }
  .wpc-hero { height: 590px; min-height: 0; }
  .wpc-hero__image { object-position: 62% center; }
  .wpc-hero__veil { background: color-mix(in srgb, var(--color-ink-deep) 46%, transparent); }
  .wpc-hero__content { align-content: end; padding-bottom: 44px; }
  .breadcrumb { margin-bottom: 34px; }
  .wpc-hero h1 { font-size: 42px; }
  .hero-copy { font-size: 16px; margin: 20px 0 24px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .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); }
  .catalog-intro { padding-block: 60px; }
  .catalog-intro h2 { font-size: 36px; }
  .category-section { padding-block: 58px; }
  .category-head h2 { font-size: 43px; }
  .category-body { margin-top: 34px; }
  .category-body > figure { min-height: 0; }
  .category-body > figure img { aspect-ratio: 16 / 10; }
  .category-copy { padding: 30px 22px; }
  .category-copy h3 { font-size: 30px; }
  .category-copy dl div { grid-template-columns: 94px minmax(0, 1fr); }
  .product-row, .product-row--three { display: flex; margin-inline: calc(var(--gutter) * -1); overflow-x: auto; padding: 0 var(--gutter) 8px; scroll-snap-type: x mandatory; }
  .product-row > a { flex: 0 0 min(76vw, 280px); scroll-snap-align: start; }
  .series-grid { gap: 18px; margin-top: 32px; }
  .series-card figure, .series-card--lead figure { aspect-ratio: 16 / 10; }
  .series-card__body { padding: 24px 20px 25px; }
  .series-card__body h3, .series-card--lead .series-card__body h3 { font-size: 27px; }
  .reference-strip, .reference-strip--three { display: flex; margin-inline: calc(var(--gutter) * -1); overflow-x: auto; padding: 0 var(--gutter) 8px; scroll-snap-type: x mandatory; }
  .reference-strip a { flex: 0 0 min(76vw, 286px); scroll-snap-align: start; }
  .reference-strip img { max-height: none; }
  .category-route { align-items: start; flex-direction: column; gap: 18px; }
  .technical-directory { padding-block: 60px; }
  .technical-directory section { padding: 28px 20px; }
  .technical-directory header { gap: 12px; grid-template-columns: 28px minmax(0, 1fr); }
  .technical-directory__thumb { aspect-ratio: 16 / 5; grid-column: 2; margin-top: 2px; width: 100%; }
  .technical-directory h2 { font-size: 34px; }
  .technical-directory nav a { align-items: start; flex-direction: column; gap: 3px; }
  .library-cta { padding-block: 60px; }
  .library-cta h2 { font-size: 36px; }
  .library-cta .button { width: 100%; }
  .proof-strip > .shell { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-strip .shell > div, .proof-strip .shell > a { border-right: 1px solid var(--color-line); padding: 20px; }
  .proof-strip .shell > a { border-top: 1px solid var(--color-line); grid-column: 1 / -1; min-height: 58px; }
  .enquiry-section { padding-block: 60px; }
  .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: 37px; }
  .category-copy h3 { font-size: 27px; }
}

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