:root {
  --bg: #f1efe9;
  --surface: #fbfaf7;
  --surface-2: #dedbd3;
  --ink: #191919;
  --muted: #6c6963;
  --line: rgba(25, 25, 25, 0.18);
  --accent: #b51f2e;
  --accent-dark: #7d111d;
  --white: #fff;
  --graphite: #191919;
  --success: #176c43;
  --warning: #9b6500;
  --danger: #9f1d2c;
  --font-display: "Prompt", sans-serif;
  --font-body: "Prompt", sans-serif;
  --text-xs: clamp(0.72rem, 0.68rem + 0.16vw, 0.82rem);
  --text-sm: clamp(0.86rem, 0.82rem + 0.18vw, 0.96rem);
  --text-md: clamp(1rem, 0.95rem + 0.24vw, 1.12rem);
  --text-lg: clamp(1.35rem, 1.15rem + 0.85vw, 1.9rem);
  --text-xl: clamp(2rem, 1.45rem + 2.25vw, 3.5rem);
  --text-2xl: clamp(3rem, 1.9rem + 5.7vw, 7.2rem);
  --radius-sm: 0.25rem;
  --radius-md: 0.7rem;
  --container: 92rem;
  --pad: clamp(1rem, 3vw, 3rem);
  --dur-1: 180ms;
  --dur-2: 420ms;
  --dur-3: 800ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.72; text-rendering: optimizeLegibility; overflow-x: clip; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
p, h1, h2, h3, h4 { margin-top: 0; }
p { max-width: 72ch; }
p, dd, figcaption { overflow-wrap: break-word; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.13; font-weight: 700; text-wrap: balance; }
h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); }
:focus-visible { outline: 3px solid #f1b6bc; outline-offset: 4px; }
::selection { color: var(--white); background: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 200; padding: 0.7rem 1rem; background: var(--white); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.preview-banner { padding: 0.45rem var(--pad); color: #f7e9eb; background: var(--accent-dark); font-size: var(--text-xs); text-align: center; }

.site-header { position: sticky; top: 0; z-index: 100; display: grid; grid-template-columns: minmax(15rem, 1fr) auto auto; gap: 2rem; align-items: center; width: 100%; max-width: 100vw; min-height: 5.5rem; padding: 0.75rem var(--pad); border-bottom: 1px solid var(--line); background: rgba(251,250,247,0.94); backdrop-filter: blur(16px); transition: min-height var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
.site-header.is-scrolled { min-height: 4.5rem; box-shadow: 0 16px 35px rgba(25,25,25,0.07); }
.brand { display: inline-flex; gap: 0.75rem; align-items: center; width: fit-content; }
.brand img { width: 3.25rem; height: 3.25rem; object-fit: cover; border-radius: 50%; }
.brand__text { display: grid; line-height: 1.25; }
.brand__text strong { color: var(--accent); font-size: 1rem; }
.brand__text small { color: var(--muted); font-size: 0.66rem; }
.primary-nav { display: flex; gap: clamp(1rem, 2vw, 2.3rem); align-items: center; }
.primary-nav__list { display: flex; gap: clamp(1rem, 2vw, 2.3rem); align-items: center; margin: 0; padding: 0; list-style: none; }
.primary-nav a { position: relative; padding: 0.65rem 0; font-size: var(--text-sm); }
.primary-nav a::after { position: absolute; left: 0; right: 100%; bottom: 0.25rem; height: 2px; content: ""; background: var(--accent); transition: right var(--dur-1) var(--ease); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { right: 0; }
.header-cta, .button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.72rem 1.15rem; color: var(--white); background: var(--accent); border: 1px solid var(--accent); transition: background var(--dur-1), color var(--dur-1), transform var(--dur-1); }
.header-cta:hover, .button:hover { background: var(--accent-dark); transform: translateY(-2px); }
.button--ghost { color: var(--ink); background: transparent; border-color: var(--ink); }
.button--ghost:hover { color: var(--white); background: var(--ink); }
.button--disabled { cursor: not-allowed; opacity: 0.56; transform: none !important; }
.hero .button--disabled.button--ghost { color: #f1efe9; background: rgba(25,25,25,0.22); border-color: rgba(255,255,255,0.8); }
.menu-toggle { display: none; width: 3rem; min-height: 3rem; padding: 0.75rem; border: 1px solid var(--line); background: transparent; }
.menu-label { display: block; color: var(--ink); font-size: 0.72rem; font-weight: 700; }

.section-shell { width: min(100%, var(--container)); margin-inline: auto; padding: clamp(5rem, 9vw, 9rem) var(--pad); }
.eyebrow { margin-bottom: 1rem; color: var(--accent); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.lead { max-width: 46rem; color: #ebe8e1; font-size: var(--text-lg); line-height: 1.55; }
.mobile-copy { display: none; }
.action-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.text-link { display: inline-flex; gap: 0.75rem; align-items: center; padding-bottom: 0.15rem; border-bottom: 1px solid currentColor; font-weight: 600; }
.text-link span { transition: transform var(--dur-1); }
.text-link:hover span { transform: translateX(0.35rem); }

.hero { position: relative; min-height: min(53rem, calc(100svh - 5.5rem)); color: var(--white); background: var(--graphite); overflow: clip; }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.78; transform: scale(1.025); animation: hero-settle 1.5s var(--ease) both; }
.hero::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(18,18,18,0.94) 0%, rgba(18,18,18,0.66) 38%, rgba(18,18,18,0.15) 72%), linear-gradient(0deg, rgba(18,18,18,0.5), transparent 45%); }
.hero__content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(22rem, 29rem); width: 100%; max-width: none; min-height: inherit; align-items: end; gap: clamp(2rem, 4vw, 4rem); padding-top: clamp(6rem, 12vw, 10rem); padding-right: 0; padding-bottom: clamp(3rem, 7vw, 6rem); padding-left: max(var(--pad), calc((100vw - var(--container)) / 2 + var(--pad))); }
.hero__content > * { min-width: 0; }
.hero h1 { max-width: 12ch; margin-bottom: 1.5rem; line-height: 1; }
.hero-line { display: block; overflow: visible; opacity: 0; transform: translateY(0.65em); animation: hero-line-in 720ms var(--ease) both; }
.hero-line--intro { color: #f0eee8; font-size: 0.58em; font-weight: 600; line-height: 1.18; animation-delay: 100ms; }
.hero-line--statement { display: block; line-height: 1.02; }
.hero-line--main { display: block; color: var(--white); font-size: 1em; font-weight: 700; animation-delay: 190ms; }
.hero-line--accent { display: block; color: #d8d5ce; font-size: 0.78em; font-weight: 700; line-height: 1.12; animation-delay: 280ms; }
.hero__meta { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; margin-top: 3rem; color: #d5d2ca; font-size: var(--text-sm); }
.hero__meta::before { width: 4rem; height: 1px; content: ""; background: var(--white); }
.context-rail { position: relative; align-self: center; justify-self: end; width: 100%; max-height: calc(100svh - 10rem); overflow: visible; padding: 0; color: var(--ink); background: transparent; }
.context-rail::before { position: absolute; z-index: -1; top: 0.85rem; bottom: -0.45rem; left: -0.9rem; width: 1rem; content: ""; background: var(--accent); }
.rail-list { display: grid; gap: 0.2rem; }
.rail-list a { position: relative; display: grid; grid-template-columns: 2.75rem 5.15rem minmax(0, 1fr) 1.6rem; gap: 0.8rem; align-items: center; min-height: 5.1rem; padding: 0.8rem 1.2rem 0.8rem 1rem; color: var(--ink); background: rgba(251,250,247,0.96); border: 1px solid rgba(25,25,25,0.18); transition: color var(--dur-1), background var(--dur-1), border-color var(--dur-1), box-shadow var(--dur-1), transform var(--dur-1); }
.rail-list a:hover, .rail-list a:focus-visible { z-index: 2; grid-template-columns: 3.65rem 7.35rem minmax(0, 1fr) 1.6rem; min-height: 8.35rem; margin-left: -0.85rem; padding: 0.8rem 1.2rem 0.8rem 0; color: var(--ink); background: var(--surface); border-color: rgba(181,31,46,0.45); box-shadow: 0 1.1rem 2.8rem rgba(25,25,25,0.16); transform: translateX(-0.25rem); }
.rail-index { display: grid; align-self: center; width: 100%; min-height: 2.65rem; place-items: center; color: var(--accent); border-bottom: 2px solid var(--accent); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.rail-list a:hover .rail-index, .rail-list a:focus-visible .rail-index { align-self: stretch; min-height: 0; margin-block: -0.8rem; margin-left: -0.1rem; color: var(--white); background: var(--accent); border-bottom: 0; }
.rail-thumb { position: relative; display: block; width: 5.15rem; height: 3.15rem; overflow: hidden; background: var(--surface-2); border: 1px solid rgba(25,25,25,0.16); }
.rail-list a:hover .rail-thumb, .rail-list a:focus-visible .rail-thumb { width: 7.35rem; height: 4.65rem; }
.rail-thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.76) contrast(1.02); transition: filter var(--dur-1), transform var(--dur-1); }
.rail-list a:hover .rail-thumb img, .rail-list a:focus-visible .rail-thumb img { filter: saturate(1) contrast(1.04); transform: scale(1.05); }
.rail-name { min-width: 0; overflow-wrap: anywhere; font-size: var(--text-sm); font-weight: 500; line-height: 1.35; }
.rail-list a:hover .rail-name, .rail-list a:focus-visible .rail-name { font-weight: 600; }
.rail-arrow { justify-self: end; min-width: 1.6rem; padding-left: 0.75rem; color: var(--ink); border-left: 1px solid var(--line); font-size: 1.35rem; line-height: 1; transition: color var(--dur-1), transform var(--dur-1); }
.rail-list a:hover .rail-arrow, .rail-list a:focus-visible .rail-arrow { color: var(--accent); transform: translateX(0.15rem); }

.intro-grid, .factory-grid, .product-story { display: grid; grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.28fr); gap: clamp(3rem, 8vw, 9rem); align-items: start; }
.section-heading h2 { max-width: 11ch; }
.intro-copy { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2rem; }
.intro-copy > p:first-child { grid-column: 1 / -1; font-size: var(--text-lg); line-height: 1.55; }
.intro-copy > .wp-block-paragraph:first-child { grid-column: 1 / -1; font-size: var(--text-lg); line-height: 1.55; }
.stat-line { padding-top: 1rem; border-top: 1px solid var(--line); }
.stat-line strong { display: block; color: var(--accent); font-family: var(--font-display); font-size: 2.25rem; }
.stat-line span { color: var(--muted); font-size: var(--text-sm); }

.entry-content > * { max-width: 52rem; }
.entry-content > .alignwide { max-width: 74rem; }
.entry-content > .alignfull { max-width: none; }
.entry-content a:not(.button) { color: var(--accent); text-decoration: underline; text-underline-offset: 0.18em; }
.footer-menu { display: grid; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.wp-product-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.wp-product-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.navigation.pagination { margin-top: 3rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.page-numbers { display: inline-grid; min-width: 2.7rem; min-height: 2.7rem; place-items: center; border: 1px solid var(--line); }
.page-numbers.current { color: var(--white); background: var(--accent); border-color: var(--accent); }

@media (max-width: 900px) {
  .factory-grid { display: flex; flex-direction: column-reverse; }
  .factory-media { max-width: none; }
}

@media (max-width: 760px) {
  .primary-nav__list { display: grid; gap: 0; }
  .wp-product-gallery { grid-template-columns: 1fr; }
}

.products-section { color: var(--white); background: var(--graphite); }
.products-section .section-shell { padding-bottom: 3rem; }
.products-header { display: flex; justify-content: space-between; gap: 2rem; align-items: end; }
.products-header h2 { max-width: 12ch; margin-bottom: 0; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,0.19); border-left: 1px solid rgba(255,255,255,0.19); }
.product-grid--three { grid-template-columns: repeat(3, minmax(0,1fr)); border-color: var(--line); }
.product-card { display: grid; grid-template-columns: minmax(9rem, 0.82fr) minmax(0, 1.18fr); min-height: 24rem; border-right: 1px solid rgba(255,255,255,0.19); border-bottom: 1px solid rgba(255,255,255,0.19); }
.product-card__image { position: relative; display: block; width: 100%; min-width: 0; min-height: 100%; overflow: hidden; background: var(--surface-2); }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.74) contrast(1.04); transition: transform var(--dur-3) var(--ease), filter var(--dur-2); }
.product-card:hover .product-card__image img { transform: scale(1.045); filter: saturate(1) contrast(1.02); }
.product-card__image > span { position: absolute; left: 1rem; top: 1rem; min-width: 2.4rem; padding: 0.25rem 0.45rem; text-align: center; color: var(--white); background: var(--accent); font-family: var(--font-display); }
.product-card__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 4vw, 3.5rem); }
.product-card__number { color: #aaa79f; font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; }
.product-card h3 { margin-bottom: 1rem; }
.product-card__body > p:not(.product-card__number) { color: #c7c3bb; font-size: var(--text-sm); }
.product-card .text-link { width: fit-content; margin-top: auto; }
.product-grid--three .product-card { display: block; min-height: 0; color: var(--ink); border-color: var(--line); }
.product-grid--three .product-card__image { aspect-ratio: 4 / 3; min-height: 0; }
.product-grid--three .product-card__body { min-height: 20rem; }
.product-grid--three .product-card__body > p:not(.product-card__number) { color: var(--muted); }

.factory-band { background: var(--accent); color: var(--white); overflow: hidden; }
.factory-grid { grid-template-columns: minmax(20rem, 0.9fr) minmax(0, 1.1fr); gap: clamp(3rem, 6vw, 7rem); align-items: center; }
.factory-media { position: relative; width: 100%; max-width: 44rem; margin: 0; }
.factory-media::before { position: absolute; inset: -1rem 1rem 1rem -1rem; content: ""; border: 1px solid rgba(255,255,255,0.45); }
.factory-gallery { position: relative; z-index: 1; overflow: hidden; background: rgba(112, 13, 26, 0.38); box-shadow: 0 1.35rem 3rem rgba(72, 8, 17, 0.2); }
.factory-gallery__viewport { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #dedbd3; }
.factory-gallery__slides { position: absolute; inset: 0; }
.factory-gallery__slide { position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; opacity: 0; visibility: hidden; background: #dedbd3; transition: opacity var(--dur-2) var(--ease), visibility var(--dur-2); }
.factory-gallery__slide.is-active { opacity: 1; visibility: visible; }
.factory-gallery__slide img { width: 100%; height: 100%; object-fit: contain; filter: saturate(0.86) contrast(1.02); }
.factory-gallery__slide--video { padding: 0; background: var(--graphite); }
.factory-gallery__video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--graphite); }
.factory-gallery__video:focus-visible { outline: 3px solid var(--white); outline-offset: -4px; }
.factory-gallery__source { position: absolute; top: 1rem; left: 1rem; padding: 0.32rem 0.55rem; color: var(--white); background: rgba(25,25,25,0.78); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.04em; }
.factory-gallery__slide.is-generated .factory-gallery__source { color: var(--white); background: var(--accent-dark); }
.factory-gallery__slide--video .factory-gallery__source { background: var(--accent-dark); }
.factory-gallery__controls { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 0.15rem 0.75rem; align-items: center; min-height: 6.25rem; padding: 0.5rem 1rem 0.65rem; background: rgba(25,25,25,0.94); }
.gallery-control { display: grid; grid-row: 1; width: 2.75rem; height: 2.75rem; place-items: center; color: var(--white); background: rgba(25,25,25,0.78); border: 1px solid rgba(255,255,255,0.65); cursor: pointer; transition: background var(--dur-1), transform var(--dur-1); }
.gallery-control[data-gallery-prev] { grid-column: 1; }
.gallery-control[data-gallery-next] { grid-column: 3; }
.gallery-control:hover { background: var(--accent); transform: translateY(-2px); }
.factory-gallery__dots { display: flex; grid-column: 2; grid-row: 1; min-width: 0; justify-content: center; gap: 0.1rem; }
.gallery-dot { display: grid; flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem; padding: 0; place-items: center; border: 0; border-radius: 50%; background: transparent; cursor: pointer; opacity: 0.78; transition: opacity var(--dur-1); }
.gallery-dot::before { width: 0.62rem; height: 0.62rem; border: 1px solid var(--white); border-radius: 50%; background: transparent; content: ""; transition: background var(--dur-1), border-color var(--dur-1), box-shadow var(--dur-1), transform var(--dur-1); }
.gallery-dot:hover { opacity: 1; }
.gallery-dot:hover::before { background: rgba(255,255,255,0.42); }
.gallery-dot.is-active { opacity: 1; }
.gallery-dot.is-active::before { transform: scale(1.12); border-color: var(--white); background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.factory-gallery__video-shortcut { display: inline-flex; grid-column: 1 / -1; grid-row: 2; min-height: 2.75rem; justify-self: center; align-items: center; gap: 0.55rem; padding: 0.35rem 0.8rem; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,0.34); cursor: pointer; font-size: 0.76rem; font-weight: 600; line-height: 1.2; transition: background var(--dur-1), border-color var(--dur-1), color var(--dur-1); }
.factory-gallery__video-shortcut::before { width: 0.2rem; height: 0.9rem; background: var(--accent); content: ""; }
.factory-gallery__video-shortcut > span:last-child { color: #f1b6bc; transition: transform var(--dur-1); }
.factory-gallery__video-shortcut:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.72); }
.factory-gallery__video-shortcut:hover > span:last-child { transform: translateX(0.15rem); }
.gallery-dot:focus-visible, .gallery-control:focus-visible, .factory-gallery__video-shortcut:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.factory-gallery__caption { display: block; min-height: 3.8rem; padding: 0.9rem 1rem 0.25rem; color: #f6dde0; font-size: var(--text-xs); line-height: 1.5; }
.factory-gallery__status { margin: 0; padding: 0 1rem 0.9rem; color: rgba(255,255,255,0.76); font-size: 0.72rem; }
.factory-copy h2 { max-width: 12ch; }
.factory-copy p { color: #f6dde0; }
.factory-copy .text-link { margin-top: 1rem; }

.page-hero { min-height: 34rem; display: grid; align-items: end; background: var(--graphite); color: var(--white); }
.page-hero .section-shell { width: 100%; padding-top: 8rem; padding-bottom: 4rem; }
.page-hero h1 { max-width: 11ch; margin-bottom: 1rem; }
.page-hero p:not(.eyebrow) { color: #c9c5bd; font-size: var(--text-lg); }
.products-index { background: var(--graphite); color: var(--white); }
.products-index .product-grid { margin-top: 3rem; }

.about-editorial { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(18rem,0.8fr); gap: clamp(3rem,8vw,8rem); align-items: start; }
.about-editorial__statement { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.25; }
.about-editorial__facts { display: grid; gap: 1.5rem; }
.about-editorial__facts div { padding-top: 1rem; border-top: 1px solid var(--line); }
.about-editorial__facts dt { color: var(--muted); font-size: var(--text-sm); }
.about-editorial__facts dd { margin: 0.3rem 0 0; font-weight: 600; }
.truth-note { padding: 2rem; border-left: 0.4rem solid var(--accent); background: var(--surface-2); }

.product-hero { display: grid; grid-template-columns: minmax(0,0.82fr) minmax(0,1.18fr); gap: clamp(3rem,7vw,7rem); align-items: center; min-height: 45rem; }
.product-hero__copy .lead { color: var(--muted); }
.product-hero__media { margin: 0; }
.product-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(0.84); }
.product-hero__media figcaption { margin-top: 0.65rem; color: var(--muted); font-size: var(--text-xs); }
.product-story { border-top: 1px solid var(--line); }
.product-story__content { min-width: 0; }
.product-story__content > p { font-size: var(--text-lg); }
.fact-list { display: grid; margin: 3rem 0; }
.fact-list > div { display: grid; grid-template-columns: 10rem 1fr; gap: 2rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.fact-list > div:last-child { border-bottom: 1px solid var(--line); }
.fact-list dt { color: var(--muted); font-size: var(--text-sm); }
.fact-list dd { margin: 0; }
.product-technical-content { min-width: 0; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--ink); }
.product-technical-content h3 { margin-bottom: 1.25rem; }
.product-technical-content .wp-block-table { max-width: 100%; margin: 1.5rem 0; overflow-x: auto; border: 1px solid var(--line); }
.product-technical-content .wp-block-table table { width: 100%; min-width: 40rem; margin: 0; border-collapse: collapse; font-size: var(--text-sm); }
.product-technical-content .wp-block-table th, .product-technical-content .wp-block-table td { padding: 0.7rem 0.8rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.product-technical-content .wp-block-table thead { background: var(--surface-2); }
.product-technical-content .wp-block-table figcaption { padding: 0.65rem 0.8rem; color: var(--muted); font-size: var(--text-xs); }
.product-technical-content__fallback { white-space: normal; }
.product-data-caveat { margin-top: 1.5rem; padding: 1rem 1.25rem; border-left: 3px solid var(--accent); background: var(--surface-2); color: var(--muted); font-size: var(--text-sm); }
.next-product { border-top: 1px solid var(--line); }

.contact-layout { display: grid; grid-template-columns: minmax(0,0.75fr) minmax(0,1.25fr); gap: clamp(3rem,8vw,8rem); }
.contact-panel { padding: clamp(2rem,5vw,4rem); background: var(--graphite); color: var(--white); }
.contact-panel h2 { max-width: 11ch; }
.contact-panel p { color: #cbc7bf; }
.contact-list { display: grid; margin-top: 3rem; }
.contact-list div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,0.2); }
.contact-list dt { color: #aaa69e; font-size: var(--text-sm); }
.contact-list dd { margin: 0; }
.contact-prep { display: grid; gap: 1rem; }
.prep-item { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.prep-item span { color: var(--accent); font-family: var(--font-display); font-size: 1.45rem; }

.site-footer { padding: clamp(4rem,8vw,7rem) var(--pad) 1.25rem; color: var(--white); background: #111; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 0.7fr 0.7fr; gap: 3rem; width: min(100%, var(--container)); margin-inline: auto; }
.footer-grid h2 { max-width: 14ch; }
.footer-links, .footer-note { display: grid; align-content: start; gap: 0.75rem; color: #c2beb6; font-size: var(--text-sm); }
.footer-links a:hover { color: var(--white); }
.footer-note p { margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; width: min(100%, var(--container)); margin: 4rem auto 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.18); color: #8d8982; font-size: var(--text-xs); }

.reveal { opacity: 0; transform: translateY(2rem); transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes hero-settle { from { opacity: 0; transform: scale(1.085); } to { opacity: 0.78; transform: scale(1.025); } }
@keyframes hero-line-in { from { opacity: 0; transform: translateY(0.65em); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto; }
  .primary-nav { position: fixed; inset: 4.5rem 0 auto; display: none; padding: 2rem var(--pad); background: var(--surface); border-bottom: 1px solid var(--line); }
  .primary-nav.is-open { display: grid; }
  .primary-nav__list { display: grid; gap: 0; }
  .primary-nav a { font-size: var(--text-lg); }
  .header-cta { display: none; }
  .menu-toggle { display: block; opacity: 1; }
  .menu-toggle:focus-visible { background: var(--white); }
  .hero__content { grid-template-columns: 1fr; align-items: end; padding-right: var(--pad); padding-left: var(--pad); }
  .context-rail { align-self: end; justify-self: stretch; width: 100%; min-width: 0; max-width: 100%; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 0.75rem 0 0.65rem; background: rgba(251,250,247,0.96); backdrop-filter: blur(12px); }
  .context-rail::before { top: auto; right: 0; bottom: 0; left: 0; width: auto; height: 0.25rem; }
  .rail-title { display: none; }
  .rail-list { display: flex; min-width: max-content; gap: 0; }
  .rail-list a { grid-template-columns: 2rem auto; min-height: 3.7rem; margin: 0; padding: 0 0.85rem; background: transparent; border: 0; border-right: 1px solid var(--line); box-shadow: none; transform: none; }
  .rail-index { display: none; }
  .rail-thumb { width: 2rem; height: 2rem; }
  .rail-name { white-space: nowrap; }
  .rail-arrow { display: none; }
  .rail-list a:hover, .rail-list a:focus-visible { grid-template-columns: 2rem auto; min-height: 3.7rem; margin: 0; padding: 0 1rem; background: rgba(181,31,46,0.08); border: 0; border-right: 1px solid var(--line); box-shadow: none; transform: none; }
  .rail-list a:hover .rail-thumb, .rail-list a:focus-visible .rail-thumb { width: 2rem; height: 2rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-grid--three { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  :root { --pad: 1rem; }
  .preview-banner { padding-block: 0.5rem; font-size: 0.68rem; line-height: 1.45; }
  .site-header { grid-template-columns: minmax(0, 1fr) 3rem; gap: 0.75rem; min-height: 4.5rem; }
  .brand { min-width: 0; }
  .brand img { width: 2.75rem; height: 2.75rem; flex: 0 0 auto; }
  .brand__text { min-width: 0; }
  .brand__text strong { font-size: 0.86rem; white-space: nowrap; }
  .brand__text small { display: none; }
  .menu-toggle { position: fixed; right: 1rem; top: 2.85rem; z-index: 130; display: block !important; transform: none; color: var(--white); background: var(--accent) !important; border-color: var(--accent); opacity: 1 !important; visibility: visible !important; }
  .menu-toggle::before, .menu-toggle .menu-label { color: var(--white); }
  .site-header.is-scrolled .menu-toggle { top: 0.75rem; }
  .menu-toggle::before { content: "☰"; display: block; color: var(--ink); font-size: 1.1rem; line-height: 1; }
  .hero { min-height: calc(100svh - 4.5rem); }
  .hero::after { background: linear-gradient(0deg, rgba(18,18,18,0.93) 0%, rgba(18,18,18,0.52) 70%, rgba(18,18,18,0.22)); }
  .hero__image { object-position: 58% center; }
  .hero__content { gap: 2.5rem; padding-top: 7rem; }
  .hero__content { width: 100%; max-width: 100vw; }
  .hero h1 { max-width: 100%; font-size: clamp(2.7rem, 11vw, 3.65rem); line-height: 1; }
  .hero-line--intro { font-size: 0.52em; }
  .hero-line--statement { display: flex; flex-wrap: nowrap; align-items: baseline; gap: 0 0.12em; }
  .hero-line--main, .hero-line--accent { display: inline-block; white-space: nowrap; }
  .hero-line--main { font-size: 0.82em; }
  .hero-line--accent { font-size: 0.54em; line-height: 1.18; }
  .hero .lead { font-size: 1rem; line-height: 1.65; }
  .desktop-copy { display: none; }
  .mobile-copy { display: inline; }
  .intro-grid, .factory-grid, .product-story, .about-editorial, .product-hero, .contact-layout { grid-template-columns: 1fr; }
  .intro-copy { grid-template-columns: 1fr; }
  .intro-copy > p:first-child { grid-column: auto; }
  .products-header { align-items: start; flex-direction: column; }
  .product-card { grid-template-columns: 1fr; min-height: 0; }
  .product-card__image { min-height: 16rem; aspect-ratio: 4 / 3; }
  .product-card__body { min-height: 18rem; }
  .product-grid--three { grid-template-columns: 1fr; }
  .factory-gallery__viewport { aspect-ratio: 4 / 3; }
  .factory-gallery__controls { grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem; grid-template-rows: auto auto auto; gap: 0.15rem 0.35rem; min-height: 0; padding: 0.45rem 0.65rem 0.65rem; }
  .factory-gallery__dots { grid-column: 1 / -1; grid-row: 1; gap: 0; }
  .gallery-control[data-gallery-prev] { grid-column: 1; grid-row: 2; justify-self: start; }
  .gallery-control[data-gallery-next] { grid-column: 3; grid-row: 2; justify-self: end; }
  .factory-gallery__video-shortcut { grid-column: 1 / -1; grid-row: 3; max-width: 100%; padding-inline: 0.55rem; white-space: nowrap; }
  .page-hero { min-height: 28rem; }
  .product-hero { min-height: 0; }
  .fact-list > div, .contact-list div { grid-template-columns: 1fr; gap: 0.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
}

@media (max-width: 380px) {
  .hero-line--statement { display: block; }
  .hero-line--main, .hero-line--accent { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-line { opacity: 1; transform: none; animation: none; }
  .factory-gallery__slide { transition: none; }
}
