/* Diamond LED theme. Tokens mirror the active design: Diamond LED Teal Signal. */
:root {
	--bg: #0A1112;
	--surface: #101A1C;
	--line: #1F2E31;
	--ink: #EAF2F1;
	--muted: #9AB0AE;
	--accent: #23C1B8;
	--accent-ink: #061011;
	--paper: #EEF4F3;
	--paper-ink: #0A1112;
	--paper-muted: #4A5D5C;
	--paper-surface: #F8FBFB;
	--paper-line: #C8D5D4;
	--accent-deep: #0A6F6A;

	--font: "Archivo", Arial, sans-serif;
	--radius: 4px;
	--container: 1240px;
	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(72px, 10vw, 136px);
	--header-h: 76px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--edge: max(var(--gutter), (100vw - var(--container)) / 2);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
	margin: 0;
	overflow-x: clip;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
	font-weight: 400;
	font-stretch: 100%;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
:where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, address) { margin: 0; }
:where(ul, ol) { padding: 0; list-style: none; }
address { font-style: normal; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:where(p a) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:where(p a):hover { color: var(--accent); }
.section--paper :where(p a):hover { color: var(--accent-deep); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.section--paper :focus-visible { outline-color: var(--accent-deep); }
::selection { background: var(--accent); color: var(--accent-ink); }
.screen-reader-text { position: absolute !important; 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: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.skip-link:focus { top: 12px; }

/* Layout and type */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); color: var(--paper-ink); }
.eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.h2, .hero__title, .about__title, .page-hero__title { font-weight: 800; font-stretch: 118%; line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
.h2 { font-size: clamp(2rem, 1.25rem + 2.6vw, 3.375rem); }
.lede { max-width: 38em; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.55; color: var(--muted); }
.section--paper .lede { color: var(--paper-muted); }
.section-head { max-width: 50rem; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lede { margin-top: 18px; }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-family: var(--font);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 82%, var(--ink)); color: var(--accent-ink); }
.btn--ghost { border-color: color-mix(in srgb, var(--ink) 40%, transparent); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; height: var(--header-h); border-bottom: 1px solid transparent; transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease); }
.site-header.is-solid, .site-header.is-menu, body:not(.home) .site-header { background: color-mix(in srgb, var(--bg) 90%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.brand { display: inline-flex; flex: none; align-items: center; }
.brand__logo { width: auto; height: 54px; }
.brand__text { font-size: 1.125rem; font-weight: 800; font-stretch: 118%; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 34px); }
.nav__list a { display: block; padding: 10px 0; font-size: 0.975rem; font-weight: 500; color: var(--ink); transition: color 0.2s var(--ease); }
.nav__list a:hover { color: var(--accent); }
.nav__cta { display: none; }
.site-header__cta { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }
.nav-toggle { display: none; }
body:not(.home) .site-main { padding-top: var(--header-h); }

@media (max-width: 979px) {
	.site-header__cta { display: none; }
	.brand__logo { height: 46px; }
	.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-left: auto; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--ink); cursor: pointer; }
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: currentColor; transition: transform 0.25s var(--ease), background-color 0.2s var(--ease); }
	.nav-toggle__bars { position: relative; }
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -6px; }
	.nav-toggle__bars::after { top: 6px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
	.nav { position: fixed; inset: var(--header-h) 0 auto; display: none; max-height: calc(100svh - var(--header-h)); margin: 0; padding: 8px var(--gutter) 28px; overflow-y: auto; background: var(--bg); border-bottom: 1px solid var(--line); }
	.nav.is-open { display: block; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__list a { padding: 16px 0; font-size: 1.125rem; border-bottom: 1px solid var(--line); }
	.nav__cta { display: flex; width: 100%; margin-top: 20px; }
}

/* Hero */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(100svh, 940px); padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(64px, 9vw, 120px); overflow: hidden; background: var(--bg); }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, color-mix(in srgb, var(--bg) 94%, transparent) 0%, color-mix(in srgb, var(--bg) 74%, transparent) 38%, color-mix(in srgb, var(--bg) 20%, transparent) 72%, color-mix(in srgb, var(--bg) 6%, transparent) 100%),
		linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 0%, transparent) 34%),
		linear-gradient(180deg, color-mix(in srgb, var(--bg) 70%, transparent) 0%, color-mix(in srgb, var(--bg) 0%, transparent) 22%);
}
.hero__inner { position: relative; }
.hero__title { max-width: 13em; margin-top: 18px; font-size: clamp(2.5rem, 1.3rem + 4.4vw, 4.75rem); }
.hero__lede { max-width: 34em; margin-top: 24px; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem); line-height: 1.55; color: color-mix(in srgb, var(--ink) 86%, var(--muted)); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Services */
.services__grid { display: grid; gap: 48px; }
.services__media { position: relative; }
.services__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.services .lede { margin-top: 20px; }
.service-list { margin-top: 40px; border-top: 1px solid var(--line); }
.service-list__item { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 6px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.service-list__item h3 { font-size: 1.0625rem; font-weight: 700; font-stretch: 112%; line-height: 1.3; }
.service-list__item p { color: var(--muted); }
.services__also { margin-top: 22px; font-size: 0.9375rem; color: var(--muted); }
@media (min-width: 980px) {
	.services__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(56px, 6vw, 104px); align-items: center; }
	.services__media { align-self: stretch; margin-left: calc(-1 * var(--edge)); }
	.services__img { height: 100%; min-height: 560px; aspect-ratio: auto; border-radius: 0 var(--radius) var(--radius) 0; }
}
@media (max-width: 640px) { .service-list__item { grid-template-columns: 1fr; } }

/* Product range bento */
.bento { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "a" "b" "c" "d" "e" "f" "g" "h"; gap: 1px; overflow: hidden; background: var(--paper-line); border: 1px solid var(--paper-line); border-radius: var(--radius); }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 240px; padding: clamp(22px, 2.4vw, 34px); overflow: hidden; background: var(--paper-surface); color: var(--paper-ink); transition: background-color 0.25s var(--ease); }
.tile:hover { background: var(--paper); }
.tile:focus-visible { outline-offset: -4px; }
.tile--a { grid-area: a; }
.tile--b { grid-area: b; }
.tile--c { grid-area: c; }
.tile--d { grid-area: d; }
.tile--e { grid-area: e; background: var(--bg); color: var(--ink); }
.tile--f { grid-area: f; }
.tile--g { grid-area: g; }
.tile--h { grid-area: h; }
.tile--e:hover { background: var(--surface); }
.tile--e:focus-visible { outline-color: var(--accent); }
.tile__copy { position: relative; z-index: 1; display: grid; gap: 8px; max-width: 30ch; }
.tile__title { font-size: 1.1875rem; font-weight: 700; font-stretch: 112%; line-height: 1.2; }
.tile__text { font-size: 0.9375rem; line-height: 1.5; color: var(--paper-muted); }
.tile__spec { position: relative; z-index: 1; display: grid; gap: 6px; }
.tile__unit { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-muted); }
.tile__num { font-size: clamp(2.125rem, 1.5rem + 2vw, 3.25rem); font-weight: 800; font-stretch: 118%; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--accent-deep); }
.tile--e .tile__text, .tile--e .tile__unit { color: var(--muted); }
.tile--e .tile__num { color: var(--accent); }
.tile__img { position: relative; align-self: flex-end; width: 62%; max-width: 300px; height: auto; margin-top: -12px; mix-blend-mode: multiply; pointer-events: none; transition: transform 0.6s var(--ease); }
.tile:hover .tile__img { transform: translateY(-6px); }
@media (min-width: 640px) {
	.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "a a" "b b" "c d" "e e" "f g" "h h"; }
}
@media (min-width: 1024px) {
	.bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "a a b b" "a a c d" "e e h h" "f g h h"; }
	.tile { min-height: 270px; }
	.tile--a, .tile--h { justify-content: flex-start; }
	.tile--a .tile__num { font-size: clamp(3.5rem, 2rem + 3.6vw, 6rem); }
	.tile__img { position: absolute; right: -3%; bottom: -3%; max-width: none; margin: 0; object-fit: contain; object-position: right bottom; }
	.tile--a .tile__img, .tile--h .tile__img { width: 60%; max-height: 60%; }
	.tile--b .tile__img { width: 44%; max-height: 92%; }
	.tile--b .tile__copy { max-width: 24ch; }
}

/* Recent work mosaic */
.work__mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "p p" "a a" "b c" "d d"; gap: 12px; }
.work__item { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--surface); }
.work__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.work__item:hover img { transform: scale(1.03); }
.work__item--p { grid-area: p; aspect-ratio: 3 / 4; }
.work__item--a { grid-area: a; }
.work__item--b { grid-area: b; aspect-ratio: 1; }
.work__item--c { grid-area: c; aspect-ratio: 1; }
.work__item--d { grid-area: d; }
@media (min-width: 900px) {
	.work__mosaic { grid-template-columns: minmax(0, 1.05fr) repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(220px, 22vw, 340px)); grid-template-areas: "p a a b" "p c d d"; margin-right: calc(-1 * var(--edge)); }
	.work__item, .work__item--p, .work__item--b, .work__item--c { aspect-ratio: auto; }
	.work__item--b, .work__item--d { border-radius: var(--radius) 0 0 var(--radius); }
}

/* About */
.about { border-top: 1px solid var(--line); }
.about__grid { display: grid; gap: 40px; }
.about__title { font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3rem); }
.about__year { display: block; margin-top: 0.08em; font-size: clamp(5.5rem, 2.5rem + 11vw, 12.5rem); line-height: 0.86; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; color: var(--accent); }
.about__body > p:first-child { max-width: 60ch; font-size: 1.0625rem; color: var(--muted); }
.about__quote { max-width: 28em; margin-top: 24px; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-weight: 600; font-stretch: 108%; line-height: 1.35; color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 44px; border-top: 1px solid var(--line); }
.facts__item { padding: 20px 20px 0 0; }
.facts__item + .facts__item { padding-left: 20px; border-left: 1px solid var(--line); }
.facts dt { font-size: 1.375rem; font-weight: 800; font-stretch: 118%; line-height: 1.1; }
.facts dd { margin-top: 6px; font-size: 0.9rem; line-height: 1.45; color: var(--muted); }
@media (min-width: 980px) {
	.about__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(56px, 7vw, 112px); align-items: end; }
}
@media (max-width: 600px) {
	.facts { grid-template-columns: 1fr; }
	.facts__item, .facts__item + .facts__item { padding: 16px 0; border-left: 0; }
	.facts__item + .facts__item { border-top: 1px solid var(--line); }
}

/* Quote and contact */
.quote { background: var(--surface); border-top: 1px solid var(--line); }
.quote__grid { display: grid; gap: 48px; }
.quote .lede { margin-top: 20px; }
.quote__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contact-list { border-top: 1px solid var(--line); }
.contact-list__row { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { padding-top: 4px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { font-size: 1.0625rem; line-height: 1.6; }
.contact-list dd > a { display: block; transition: color 0.2s var(--ease); }
.contact-list dd > a:hover { color: var(--accent); }
@media (min-width: 980px) {
	.quote__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(56px, 7vw, 112px); align-items: start; }
}

/* Footer */
.site-footer { padding-top: clamp(56px, 7vw, 88px); background: var(--bg); border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--muted); }
.site-footer__grid { display: grid; gap: 40px; }
.site-footer__logo { width: auto; height: 64px; }
.site-footer__brand p { max-width: 30ch; margin-top: 18px; }
.site-footer__title { margin-bottom: 14px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.site-footer__links { display: grid; gap: 8px; }
.site-footer__address { line-height: 1.8; }
.site-footer__links a, .site-footer__address a { transition: color 0.2s var(--ease); }
.site-footer__links a:hover, .site-footer__address a:hover { color: var(--accent); }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(48px, 6vw, 72px); padding-block: 24px; border-top: 1px solid var(--line); font-size: 0.875rem; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); } }

/* Inner pages */
.page-hero { padding-block: clamp(56px, 8vw, 112px) clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero__title { font-size: clamp(2.25rem, 1.4rem + 3vw, 4rem); }
.page-hero .lede { margin-top: 16px; }
.page-hero__actions { margin-top: 28px; }
.page-body { padding-block: clamp(40px, 6vw, 80px); }
.entry-content > * + * { margin-top: 1em; }
.entry-content :where(h2, h3) { margin-top: 1.6em; font-weight: 800; font-stretch: 112%; line-height: 1.15; }

/* Reveal on scroll: content stays visible without JavaScript */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js [data-reveal] { opacity: 1; transform: none; transition: none; }
	.tile__img, .work__item img, .btn, .site-header { transition: none; }
	.tile:hover .tile__img, .work__item:hover img { transform: none; }
}

/* ===== Shared inner-page pieces ===== */
.nav__list a[aria-current="page"] { color: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; font-weight: 600; color: var(--accent); text-decoration: none; transition: color 0.2s var(--ease); }
.text-link::after { content: ""; width: 14px; height: 1px; background: currentColor; transition: width 0.2s var(--ease); }
.text-link:hover { color: var(--ink); }
.text-link:hover::after { width: 22px; }
.section--paper .text-link { color: var(--accent-deep); }
.section--paper .text-link:hover { color: var(--paper-ink); }
.page-hero--tight { padding-bottom: clamp(28px, 3vw, 40px); }
.page-hero__title { max-width: 16em; }
.page-hero__grid { display: grid; gap: 40px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.page-hero__media { margin: 0; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 980px) {
	.page-hero__grid--media { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(48px, 6vw, 96px); align-items: center; }
	.page-hero__media { margin-right: calc(-1 * var(--edge)); }
	.page-hero__media img { aspect-ratio: 5 / 4; border-radius: var(--radius) 0 0 var(--radius); }
}
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 0.875rem; color: var(--muted); }
.breadcrumb a { transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-hidden="true"] { color: color-mix(in srgb, var(--muted) 50%, transparent); }

/* CTA band */
.cta-band { background: var(--surface); border-top: 1px solid var(--line); }
.cta-band__inner { display: grid; gap: 28px; align-items: center; }
.cta-band__title { max-width: 18em; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); font-weight: 800; font-stretch: 118%; line-height: 1.06; letter-spacing: -0.01em; text-wrap: balance; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } }

/* Services */
.chapters { border-top: 1px solid var(--line); }
.chapter { display: grid; gap: 18px 48px; padding-block: clamp(40px, 5.5vw, 72px); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.chapter__title { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.625rem); font-weight: 800; font-stretch: 118%; line-height: 1.06; letter-spacing: -0.012em; }
.chapter__body p { max-width: 60ch; font-size: 1.0625rem; color: var(--muted); }
.chapter__body p + p { margin-top: 14px; }
.chapter__body .chapter__meta { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.9375rem; }
@media (min-width: 900px) {
	.chapter { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
	.chapter__title { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}
.extras { display: grid; gap: 1px; overflow: hidden; background: var(--paper-line); border: 1px solid var(--paper-line); border-radius: var(--radius); }
.extra { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 40px); background: var(--paper-surface); scroll-margin-top: calc(var(--header-h) + 24px); }
.extra h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-weight: 800; font-stretch: 114%; line-height: 1.15; }
.extra p { max-width: 46ch; color: var(--paper-muted); }
.extra--feature { padding: 0; }
.extra--feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.extra__copy { display: grid; gap: 12px; padding: clamp(24px, 3vw, 40px); }
@media (min-width: 900px) {
	.extras { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
	.extra--feature { grid-row: span 2; }
	.extra:not(.extra--feature) { justify-content: flex-end; min-height: 260px; }
}

/* About */
.story { display: grid; gap: 40px; }
.story__media { margin: 0; }
.story__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.story__body .h2 { margin-bottom: 24px; }
.story__lead { max-width: 30em; margin-bottom: 20px; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-weight: 600; font-stretch: 106%; line-height: 1.4; color: var(--ink); }
.story__body p:not(.story__lead) { max-width: 62ch; font-size: 1.0625rem; color: var(--muted); }
.story__body p + p:not(.story__lead) { margin-top: 16px; }
@media (min-width: 980px) {
	.story { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(56px, 7vw, 112px); align-items: center; }
	.story__media { margin-left: calc(-1 * var(--edge)); }
	.story__media img { border-radius: 0 var(--radius) var(--radius) 0; }
}
.why-section { border-top: 1px solid var(--line); }
.why { display: grid; gap: 32px; }
.why__head .lede { margin-top: 18px; }
.why__list { border-top: 1px solid var(--line); }
.why__item { display: grid; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.why__item h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-weight: 800; font-stretch: 116%; line-height: 1.1; }
.why__item p { max-width: 58ch; color: var(--muted); }
@media (min-width: 900px) {
	.why { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(48px, 7vw, 112px); }
	.why__head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
	.why__item { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; align-items: baseline; }
}
.statements { display: grid; gap: 1px; overflow: hidden; background: var(--paper-line); border: 1px solid var(--paper-line); border-radius: var(--radius); }
.statement { padding: clamp(28px, 4vw, 56px); background: var(--paper-surface); }
.statement__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep); }
.statement__text { margin-top: 16px; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem); font-weight: 600; font-stretch: 106%; line-height: 1.35; color: var(--paper-ink); }
@media (min-width: 900px) { .statements { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.photo-band { margin: 0; }
.photo-band img { width: 100%; height: clamp(280px, 42vw, 640px); object-fit: cover; }

/* Contact */
.contact { display: grid; gap: 48px; }
.contact__main .notice { margin-bottom: 28px; }
.contact__wa { width: 100%; margin-bottom: 24px; }
@media (min-width: 980px) {
	.contact { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); gap: clamp(56px, 6vw, 96px); align-items: start; }
	.contact__aside { position: sticky; top: calc(var(--header-h) + 32px); }
}
.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 640px) {
	.form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.form__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.field { display: grid; align-content: start; gap: 8px; }
.field label { font-size: 0.875rem; font-weight: 600; }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.4; transition: border-color 0.2s var(--ease); }
.field textarea { min-height: 160px; resize: vertical; }
.field ::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 1px; }
.field select { appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--bg); color: var(--ink); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.form__note { font-size: 0.875rem; color: var(--muted); }
.notice { padding: 16px 18px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); background: var(--surface); }
.notice--error { border-left-color: var(--ink); }
.contact-list dd .text-link { margin-top: 8px; }

/* Catalog */
.cat-nav { position: sticky; top: var(--header-h); z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.cat-nav__list { display: flex; gap: 8px; padding-block: 14px; overflow-x: auto; scrollbar-width: none; }
.cat-nav__list::-webkit-scrollbar { display: none; }
.cat-nav__list a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 0.9rem; font-weight: 500; white-space: nowrap; transition: border-color 0.2s var(--ease), color 0.2s var(--ease); }
.cat-nav__list a:hover, .cat-nav__list a[aria-current="page"] { border-color: var(--accent); color: var(--accent); }
.catalog { display: grid; gap: clamp(56px, 7vw, 96px); }
.catalog__group { scroll-margin-top: calc(var(--header-h) + 80px); }
.catalog__head { display: grid; gap: 10px; max-width: 46rem; margin-bottom: 28px; }
.catalog__title { font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 800; font-stretch: 118%; line-height: 1.08; }
.catalog__title a { transition: color 0.2s var(--ease); }
.catalog__title a:hover { color: var(--accent); }
.catalog__desc { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 16px; }
.product-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color 0.2s var(--ease); }
.product-card:hover { border-color: var(--accent); }
.product-card__media { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 20px; background: var(--paper-surface); }
.product-card__media img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.03); }
.product-card__body { display: grid; gap: 6px; padding: 18px 20px 22px; }
.product-card__title { font-size: 1.0625rem; font-weight: 700; font-stretch: 110%; line-height: 1.25; }
.product-card__spec { font-size: 0.875rem; color: var(--muted); }

/* Single product */
.product-section { padding-bottom: clamp(48px, 6vw, 80px); }
.product { display: grid; gap: 40px; }
@media (min-width: 980px) {
	.product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(48px, 6vw, 88px); align-items: start; }
	.product__info { position: sticky; top: calc(var(--header-h) + 32px); }
}
.gallery__main { display: grid; place-items: center; aspect-ratio: 1; padding: clamp(20px, 4vw, 48px); overflow: hidden; border-radius: var(--radius); background: var(--paper-surface); }
.gallery__main img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin-top: 10px; }
.gallery__thumb { display: grid; place-items: center; aspect-ratio: 1; padding: 6px; border: 2px solid transparent; border-radius: var(--radius); background: var(--paper-surface); cursor: pointer; }
.gallery__thumb img { width: auto; max-width: 100%; max-height: 100%; mix-blend-mode: multiply; }
.gallery__thumb[aria-current="true"] { border-color: var(--accent); }
.product__title { margin-top: 14px; font-size: clamp(2rem, 1.3rem + 2.2vw, 3.125rem); font-weight: 800; font-stretch: 118%; line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
.product__summary { max-width: 40em; margin-top: 18px; font-size: 1.0625rem; color: var(--muted); }
.keyspecs { margin-top: 28px; border-top: 1px solid var(--line); }
.keyspecs__row { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.keyspecs dt { color: var(--muted); }
.product__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.product-more, .related { border-top: 1px solid var(--line); }
.product-details { display: grid; gap: 48px; }
@media (min-width: 980px) { .product-details { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 6vw, 88px); } }
.product-details h2, .related__title { margin-bottom: 20px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; font-stretch: 116%; line-height: 1.1; }
.product-details .entry-content p { max-width: 62ch; color: var(--muted); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.spec-table th, .spec-table td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 1px solid var(--line); }
.spec-table th { width: 40%; padding-right: 16px; font-weight: 500; color: var(--muted); }
.spec-note { margin-top: 14px; font-size: 0.875rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
	.product-card__media img, .text-link, .text-link::after { transition: none; }
	.product-card:hover .product-card__media img { transform: none; }
}
/* Language switch */
.lang-switch { display: inline-flex; flex: none; align-items: center; justify-content: center; min-width: 44px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; color: var(--ink); transition: border-color 0.2s var(--ease), color 0.2s var(--ease); }
.lang-switch:hover { border-color: var(--accent); color: var(--accent); }
.lang-switch--text { min-width: 0; height: auto; padding: 0; border: 0; font-size: inherit; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.lang-switch--text:hover { color: var(--accent); }
@media (max-width: 979px) {
	.site-header__inner > .lang-switch { margin-left: auto; }
	.nav-toggle { margin-left: 0; }
}