/* Glympse theme styles. Colours come from Appearance > Customize > Look & feel. */

:root {
	--g-ink: #111111;
	--g-brand: #17146B;
	--g-accent: #4B2FD0;
	--g-accent-soft: #EDEAFA;
	--g-bg: #FFFFFF;
	--g-panel: #F4F4F1;
	--g-radius: 2px;
	--g-muted: #4D4D48;
	--g-faint: #6B6B66;
	--g-line: #E2E2DD;
	--g-line-2: #DCDCD7;
	--g-sans: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--g-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
	--g-gutter: clamp(20px, 3vw, 40px);
	--g-max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--g-bg);
	color: var(--g-ink);
	font-family: var(--g-sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--g-ink); text-underline-offset: 3px; }
a:hover { color: var(--g-accent); }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--g-accent); outline-offset: 3px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important;
}
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--g-brand); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--g-max); margin: 0 auto; padding: 0 var(--g-gutter); }
.wrap--narrow { max-width: calc(760px + 2 * var(--g-gutter)); }

.icon { width: 20px; height: 20px; flex-shrink: 0; }
.mono-label { display: block; margin: 0 0 16px; font-family: var(--g-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--g-faint); font-weight: 400; }
.mono-note { font-family: var(--g-mono); font-size: 13px; color: var(--g-faint); margin: 0; }
.acc-text { color: var(--g-accent) !important; }

/* Buttons */
.btn, .button, button.button, input.button, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border-radius: var(--g-radius);
	font-family: var(--g-sans); font-size: 16px; font-weight: 500; line-height: 1.2;
	text-decoration: none; cursor: pointer; border: 1px solid var(--g-brand);
	background: var(--g-brand); color: #fff; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover, .button:hover, .wp-block-button__link:hover { background: var(--g-accent); border-color: var(--g-accent); color: #fff; }
.btn--outline, .button--outline { background: transparent; color: var(--g-brand); }
.btn--outline:hover, .button--outline:hover { background: var(--g-brand); color: #fff; border-color: var(--g-brand); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--tight { gap: 8px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }

/* Header */
.site-header { border-bottom: 1px solid var(--g-line); background: var(--g-bg); position: relative; z-index: 20; }
.site-header__inner { display: flex; align-items: center; gap: 40px; min-height: 84px; }
.brand { display: block; text-decoration: none; flex-shrink: 0; }
.brand__img, .woocommerce-page .brand .brand__img, .woocommerce .brand .brand__img { height: var(--g-logo-h, 40px); width: auto; max-width: none; }
.brand--footer .brand__img, .woocommerce-page .brand--footer .brand__img { height: calc(var(--g-logo-h, 40px) * 0.85); }
.primary-nav { display: flex; align-items: center; gap: 32px; flex: 1; }
.primary-nav .menu { display: flex; flex-wrap: wrap; gap: 6px 30px; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu a { text-decoration: none; font-size: 15px; color: var(--g-ink); }
.primary-nav .menu a:hover, .primary-nav .menu .current-menu-item > a { color: var(--g-accent); }
.primary-nav .menu .sub-menu { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.cart-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; min-height: 44px; }
.cart-link__count { font-family: var(--g-mono); font-size: 13px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--g-line-2); background: transparent; color: var(--g-ink); border-radius: var(--g-radius); cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: inline; }

/* Floating (sticky) header */
.has-sticky-header .site-header { position: sticky; top: 0; z-index: 50; transition: box-shadow .2s ease; }
.has-sticky-header.admin-bar .site-header { top: 32px; }
.has-sticky-header.header-scrolled .site-header { box-shadow: 0 6px 18px rgba(17, 20, 40, .08); }
html:has(body.has-sticky-header) { scroll-padding-top: calc(var(--g-logo-h, 40px) + 64px); }
@media (max-width: 782px) { .has-sticky-header.admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .has-sticky-header.admin-bar .site-header { top: 0; } }
@media (prefers-reduced-motion: reduce) { .has-sticky-header .site-header { transition: none; } }

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.has-sticky-header .primary-nav { max-height: calc(100vh - 90px); overflow-y: auto; }
	.primary-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 20px;
		background: var(--g-bg); border-bottom: 1px solid var(--g-line); padding: 12px var(--g-gutter) 28px;
	}
	.nav-open .primary-nav { display: flex; }
	.primary-nav .menu { flex-direction: column; gap: 0; }
	.primary-nav .menu a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--g-line); }
	.site-header__actions { margin-left: 0; justify-content: space-between; }
}

/* Sections */
.section { padding: clamp(72px, 9vw, 112px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0 clamp(72px, 9vw, 112px); }
.section--flush-top { padding-top: 0; }
.section--panel { background: var(--g-panel); }
.section--ruled { border-top: 1px solid var(--g-line); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.h-section { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.04em; margin-bottom: 24px; }
.h-section--narrow { max-width: 780px; margin-bottom: 64px; }
.section-head .h-section { margin-bottom: 0; }
.h-sub { font-size: 32px; letter-spacing: -0.03em; margin: 0 0 24px; }
.h-display { font-size: clamp(40px, 5vw, 60px); line-height: 1; letter-spacing: -0.05em; margin-bottom: 20px; }
.lead { color: var(--g-muted); max-width: 460px; }

.split { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: center; }
.split--top { align-items: flex-start; }
.split--ruled { border-top: 1px solid var(--g-line-2); margin-top: 88px; padding-top: 88px; }
.split__text { flex: 1 1 360px; min-width: 0; }
.split__media { flex: 1 1 560px; min-width: 0; }
#how .split__text { flex: 1 1 320px; }
#how .split__media { flex: 1.8 1 560px; }

/* Hero */
.hero { padding-top: clamp(48px, 7vw, 80px); }
.hero__top { display: flex; flex-wrap: wrap; gap: 32px 80px; align-items: flex-end; justify-content: space-between; }
.hero__heading { flex: 1 1 520px; min-width: 0; }
.hero__label { margin-bottom: 28px; }
.hero__title { font-size: clamp(56px, 8.4vw, 124px); line-height: 0.95; letter-spacing: -0.055em; }
.hero__tagline { margin: 24px 0 0; font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -0.02em; color: var(--g-accent); }
.hero__side { flex: 0 1 390px; min-width: 0; padding-bottom: 10px; }
.hero__text { font-size: 18px; color: #3D3D39; margin-bottom: 24px; }

/* Switchable glass demo */
.glass-demo { margin-top: 56px; }
.glass-demo__bar { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.seg { display: inline-flex; border: 1px solid var(--g-brand); border-radius: var(--g-radius); overflow: hidden; }
.seg__btn { min-height: 44px; padding: 0 20px; border: 0; background: transparent; color: var(--g-brand); font-size: 15px; cursor: pointer; }
.seg__btn + .seg__btn { border-left: 1px solid var(--g-brand); }
.seg__btn[aria-pressed="true"] { background: var(--g-brand); color: #fff; }
.glass-demo__window { position: relative; height: clamp(320px, 42vw, 580px); overflow: hidden; background: #DADAD5; border-top: 8px solid #F4F4F1; }
.glass-demo__window > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.glass-demo__panes { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pane {
	position: relative; border: 0; border-right: 8px solid #F4F4F1; padding: 0; margin: 0; cursor: pointer;
	background: transparent; transition: background .6s ease, backdrop-filter .6s ease, -webkit-backdrop-filter .6s ease;
}
.pane:last-child { border-right: 0; }
.pane__tag {
	position: absolute; left: 16px; bottom: 16px; font-family: var(--g-mono); font-size: 12px; letter-spacing: 0.06em;
	text-transform: uppercase; color: var(--g-ink); background: rgba(255,255,255,.88); padding: 4px 8px;
}
[data-mode="privacy"] .pane[data-level="1"] { background: rgba(244,244,241,.62); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
[data-mode="shade"] .pane[data-level="1"] { background: rgba(24,24,22,.5); }
[data-mode="shade"] .pane[data-level="2"] { background: rgba(24,24,22,.84); }
.glass-demo__foot { display: flex; flex-wrap: wrap; gap: 12px 16px; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--g-line); }
@media (max-width: 640px) {
	.glass-demo__panes { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, 1fr); }
	.pane:nth-child(2n) { border-right: 0; }
	.pane:nth-child(-n+2) { border-bottom: 8px solid #F4F4F1; }
	.pane__tag { left: 10px; bottom: 10px; font-size: 11px; }
}

/* Index of what we supply */
.index-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px; }
.index-item { border-top: 1px solid var(--g-ink); padding-top: 20px; }
.index-item .mono-label { margin-bottom: 40px; }
.index-item h3 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 10px; }
.index-item p { color: var(--g-muted); font-size: 16px; }

/* PDLC diagram */
.diagram-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 720px) { .diagram-pair { grid-template-columns: 1fr; } }
.diagram-card { margin: 0; background: #fff; border: 1px solid var(--g-line-2); display: flex; flex-direction: column; }
.diagram-card__art { padding: 20px 20px 8px; }
.diagram { width: 100%; height: auto; }
.diagram .d-label { font-family: var(--g-mono); font-size: 12px; fill: var(--g-faint); }
.diagram .acc-s { stroke: var(--g-accent); }
.diagram .acc-f { fill: var(--g-accent); }
.diagram .acc-t { fill: var(--g-accent); }
/* Diagram animation (loops like a GIF; paused until on screen) */
.diagram .lc { transform-box: view-box; }
.diagram .lc--off { animation: g-jiggle var(--t, 2.4s) ease-in-out var(--d, 0s) infinite alternate; }
.diagram .lc--on { animation: g-align 4s cubic-bezier(.5, 0, .2, 1) var(--d, 0s) infinite; }
.diagram .flow { stroke-dasharray: 9 6; animation: g-flow 1.1s linear infinite; }
.diagram .scatter { animation: g-scatter .9s linear infinite; }
.diagram .wave { animation: g-pulse 1.4s ease-in-out infinite; }
@keyframes g-jiggle { from { transform: rotate(calc(var(--r, 20deg) * -1)); } to { transform: rotate(var(--r, 20deg)); } }
@keyframes g-align { 0%, 8% { transform: rotate(var(--r, 45deg)); } 22%, 88% { transform: rotate(0deg); } 100% { transform: rotate(var(--r, 45deg)); } }
@keyframes g-flow { to { stroke-dashoffset: -30; } }
@keyframes g-scatter { to { stroke-dashoffset: -16; } }
@keyframes g-pulse { 50% { opacity: .35; } }
[data-animate-diagram]:not(.is-visible) .diagram * { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
	.diagram .lc, .diagram .flow, .diagram .scatter, .diagram .wave { animation: none; }
	.diagram .flow { stroke-dasharray: none; }
}
.diagram-card__cap { display: flex; gap: 16px; align-items: center; padding: 14px 20px 20px; border-top: 1px solid #ECECE8; font-size: 14px; line-height: 1.5; color: var(--g-muted); }
.diagram-card__cap .mono-label { margin: 0 0 4px; color: var(--g-ink); text-transform: none; letter-spacing: 0; }
.diagram-card__thumb { position: relative; width: 112px; height: 72px; flex-shrink: 0; overflow: hidden; background: #DADAD5; }
.diagram-card__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.diagram-card__thumb--frost img { filter: blur(7px); transform: scale(1.08); }
.diagram-card__thumb--frost::after { content: ""; position: absolute; inset: 0; background: rgba(244,244,241,.55); }
.diagram-key { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; margin: 16px 0 0; font-size: 12px; }
.diagram-key li { display: flex; align-items: center; gap: 8px; }
.key { display: inline-block; width: 12px; height: 12px; }
.key--glass { background: #E6E6E1; border: 1px solid #BDBDB7; }
.key--coat { width: 3px; background: var(--g-accent); }
.key--drop { border-radius: 50%; border: 1px solid #BDBDB7; }

/* DLC shade steps */
.shade-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shade-steps figure { margin: 0; }
.shade-steps__img { position: relative; height: 220px; overflow: hidden; border: 1px solid var(--g-line-2); }
.shade-steps__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shade-steps__img--half::after, .shade-steps__img--full::after { content: ""; position: absolute; inset: 0; background: rgba(24,24,22,.5); }
.shade-steps__img--full::after { background: rgba(24,24,22,.84); }
.shade-steps figcaption { margin-top: 12px; color: var(--g-ink); }
@media (max-width: 560px) { .shade-steps__img { height: 140px; } }

/* Tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare, .spec-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare { min-width: 640px; margin-top: 0; }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--g-line-2); vertical-align: top; }
.compare thead th { border-bottom: 1px solid var(--g-ink); font-size: 18px; font-weight: 500; }
.compare tbody th { font-weight: 400; color: var(--g-muted); padding-left: 0; width: 28%; }
.split--ruled + .h-sub { margin-top: 96px; }
.spec-table { min-width: 600px; font-size: 15px; border-top: 1px solid var(--g-ink); }
.spec-table th, .spec-table td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--g-line); vertical-align: top; }
.spec-table thead th { border-bottom: 1px solid var(--g-ink); font-weight: 500; line-height: 1.3; vertical-align: bottom; padding-top: 14px; }
.spec-table thead .mono-label { margin: 4px 0 0; font-size: 11px; letter-spacing: 0.04em; }
.spec-table tbody th { font-weight: 400; color: var(--g-muted); width: 30%; }
.spec-table td { font-family: var(--g-mono); font-size: 13px; }
.spec-table tbody tr:last-child td { font-family: var(--g-sans); font-size: 14px; }

/* Specs + FAQ */
.specs-faq { display: flex; flex-wrap: wrap; gap: 56px 80px; }
.specs { flex: 3 1 680px; min-width: 0; }
.faq { flex: 2 1 380px; min-width: 0; }
.specs__intro { color: var(--g-muted); font-size: 16px; margin: -12px 0 28px; }
.specs__note { margin: 12px 0 20px; font-size: 12px; }
.faq__list { border-top: 1px solid var(--g-ink); }
.faq details { border-bottom: 1px solid var(--g-line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq__plus { font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] .faq__plus { transform: rotate(45deg); }
.faq details p { color: var(--g-muted); margin: 0 0 18px; }

/* Products strip */
.product-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--g-line); border: 1px solid var(--g-line); }
.product-tile { display: flex; flex-direction: column; background: var(--g-bg); padding: 24px; text-decoration: none; color: var(--g-ink); }
.product-tile__img { display: block; aspect-ratio: 4 / 3; background: var(--g-panel); margin-bottom: 20px; overflow: hidden; }
.product-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-tile:hover .product-tile__img img { transform: scale(1.03); }
.product-tile__cat { margin-bottom: 6px; font-size: 12px; }
.product-tile__name { font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 12px; }
.product-tile__price { font-family: var(--g-mono); font-size: 14px; margin-top: auto; }

/* Applications */
.apps__img { width: 100%; height: 480px; object-fit: cover; filter: grayscale(.35); }
.ruled-list { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--g-ink); }
.ruled-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--g-line); }

/* Quote form */
.quote-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.quote-form .field { display: flex; flex-direction: column; gap: 8px; font-family: var(--g-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--g-muted); }
.quote-form .field--wide { grid-column: 1 / -1; }
.quote-form .field--submit { justify-content: flex-end; }
.quote-form input[type="text"], .quote-form input[type="email"], .quote-form input[type="tel"], .quote-form textarea {
	font-family: var(--g-sans); font-size: 17px; letter-spacing: 0; text-transform: none; color: var(--g-ink);
	padding: 10px 0; border: 0; border-bottom: 1px solid var(--g-ink); background: transparent; border-radius: 0;
}
.quote-form textarea { resize: vertical; }
.quote-form input:focus, .quote-form textarea:focus { outline: none; border-bottom-color: var(--g-accent); box-shadow: 0 1px 0 var(--g-accent); }
.quote-form input[type="file"] { font-family: var(--g-sans); font-size: 14px; text-transform: none; letter-spacing: 0; color: var(--g-ink); }
.quote-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-msg { padding: 18px 20px; border-left: 3px solid var(--g-accent); background: var(--g-bg); }
.quote-msg--error { border-left-color: #B42318; margin-bottom: 24px; }
@media (max-width: 560px) { .quote-form { grid-template-columns: 1fr; } }

/* Title band (pages, shop, blog) */
.title-band { padding: 48px 0 40px; }
.band-slim .title-band { padding: 28px 0 24px; }
.title-band__inner { display: flex; flex-wrap: wrap; gap: 16px 64px; align-items: flex-end; justify-content: space-between; }
.title-band__crumb { font-family: var(--g-mono); font-size: 13px; color: var(--g-faint); margin: 0 0 14px; }
.title-band__crumb a { color: var(--g-faint); text-decoration: none; }
.title-band__title { font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.05em; }
.band-slim .title-band__title { font-size: clamp(30px, 3.4vw, 40px); }
.title-band__text { color: var(--g-muted); max-width: 440px; font-size: 16px; margin: 0; }
.title-band + .section--tight { padding-top: 0; }

/* Entry content */
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 32px; margin-top: 1.6em; }
.entry-content h3 { font-size: 24px; margin-top: 1.4em; }
.entry-content img { height: auto; }
.entry-content blockquote { margin-left: 0; padding-left: 20px; border-left: 2px solid var(--g-accent); }
.entry-thumb { width: 100%; margin-bottom: 32px; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 32px; }
.post-card__link { display: flex; flex-direction: column; text-decoration: none; color: var(--g-ink); }
.post-card__img { display: block; aspect-ratio: 4 / 3; background: var(--g-panel); margin-bottom: 18px; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card .mono-label { margin-bottom: 6px; font-size: 12px; }
.post-card__title { font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 8px; }
.post-card__excerpt { color: var(--g-muted); font-size: 15px; }
.nav-links { display: flex; gap: 12px; margin-top: 48px; font-family: var(--g-mono); font-size: 14px; }
.post-navigation .nav-links { justify-content: space-between; }

/* Search form */
.search-form { display: flex; gap: 8px; margin-top: 32px; max-width: 480px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #CFCFC9; border-radius: var(--g-radius); font: inherit; }
.search-submit { min-height: 48px; padding: 0 18px; border: 1px solid var(--g-brand); background: var(--g-brand); color: #fff; border-radius: var(--g-radius); cursor: pointer; }

/* Footer */
.site-footer { border-top: 1px solid var(--g-line); padding: 64px 0 40px; font-size: 15px; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.site-footer__brand { flex: 1 1 280px; }
.site-footer__brand p { margin: 14px 0 0; color: var(--g-muted); max-width: 320px; }
.site-footer__col .mono-label { font-size: 12px; margin-bottom: 10px; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-menu a { text-decoration: none; }
.site-footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--g-line); font-family: var(--g-mono); font-size: 12px; color: var(--g-faint); }

/* ---------- WooCommerce ---------- */
.shop .woocommerce-result-count { font-family: var(--g-mono); font-size: 13px; color: var(--g-faint); margin: 0 0 20px; }
.shop .woocommerce-ordering select { font: inherit; font-size: 15px; padding: 9px 12px; border: 1px solid #CFCFC9; border-radius: var(--g-radius); background: #fff; }
.woocommerce ul.products, .woocommerce-page ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1px; background: var(--g-line); border: 1px solid var(--g-line); margin: 0 0 40px; padding: 0; clear: both; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	float: none; width: auto !important; margin: 0 !important; padding: 22px; background: var(--g-bg); display: flex; flex-direction: column;
}
.woocommerce ul.products li.product a { text-decoration: none; color: inherit; }
.woocommerce ul.products li.product a img { margin: 0 0 18px; aspect-ratio: 4 / 3; object-fit: cover; background: var(--g-panel); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; padding: 0; margin: 0 0 8px; color: var(--g-ink); }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--g-ink); font-family: var(--g-mono); font-size: 14px; font-weight: 400; }
.woocommerce ul.products li.product .button { margin-top: auto; align-self: flex-start; }
.woocommerce ul.products li.product a.button, .woocommerce ul.products li.product a.button:hover, .woocommerce ul.products li.product a.button:focus { color: #fff; }
.woocommerce ul.products li.product a.button.button--outline { color: var(--g-brand); }
.woocommerce ul.products li.product a.button.button--outline:hover { color: #fff; }
.woocommerce ul.products li.product .price { margin-bottom: 16px; }
.price-on-request { font-family: var(--g-mono); font-size: 14px; color: var(--g-muted); }
.woocommerce span.onsale { background: var(--g-accent); border-radius: var(--g-radius); min-height: 0; min-width: 0; padding: 4px 10px; line-height: 1.5; font-size: 12px; font-family: var(--g-mono); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
	background: var(--g-brand); color: #fff; border: 1px solid var(--g-brand); border-radius: var(--g-radius);
	font-family: var(--g-sans); font-weight: 500; font-size: 15px; padding: 13px 20px; line-height: 1.2;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--g-accent); border-color: var(--g-accent); color: #fff; }
.woocommerce a.button.button--outline { background: transparent; color: var(--g-brand); }
.woocommerce a.button.button--outline:hover { background: var(--g-brand); color: #fff; }
.woocommerce a.added_to_cart { font-family: var(--g-mono); font-size: 13px; margin-top: 8px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--g-accent); background: var(--g-panel); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--g-accent); }
.woocommerce div.product .product_title { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.04em; margin-bottom: 12px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius: 0; background: var(--g-panel); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--g-bg); }
.woocommerce div.product form.cart .variations select { min-height: 44px; padding: 0 10px; border: 1px solid #CFCFC9; border-radius: var(--g-radius); }
.woocommerce .quantity .qty { min-height: 48px; border: 1px solid #CFCFC9; border-radius: var(--g-radius); }
.shop--product { padding-top: clamp(32px, 4vw, 56px); }
.single-quote { margin: 8px 0 24px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--g-brand); color: #fff; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 44px; padding: 8px 12px; border: 1px solid #CFCFC9; border-radius: var(--g-radius); }
.woocommerce table.shop_table { border-radius: 0; border-color: var(--g-line); }

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

/* Section pages: explore cards, next links, quote band, contact details */
.explore__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .explore__grid { grid-template-columns: 1fr; } }
.explore__card { display: flex; flex-direction: column; gap: 12px; padding: 32px 28px; background: #fff; border: 1px solid var(--g-line-2); border-radius: var(--g-radius); color: var(--g-ink); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.explore__card h3 { margin: 0; font-size: 24px; letter-spacing: -0.03em; }
.explore__card p { margin: 0; color: var(--g-muted); flex: 1; }
.explore__card .link-arrow { color: var(--g-brand); }
.explore__card:hover, .explore__card:focus-visible { border-color: var(--g-accent); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .explore__card { transition: none; } .explore__card:hover { transform: none; } }
.cta-band__inner { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: center; justify-content: space-between; }
.cta-band__inner .h-section { margin-bottom: 12px; }
.cta-band__inner .lead { margin: 0; }
.next-links__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; border-top: 1px solid var(--g-line-2); padding-top: 32px; }
.next-links__inner .mono-label { margin: 0; }
.next-links + .cta-band { border-top: 0; }
.contact-details__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.contact-details__grid p { margin: 0; }
.contact-details__grid a { font-size: 20px; }
.contact-details__places { grid-column: 1 / -1; }
.place-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.place-list li { padding: 8px 16px; border: 1px solid var(--g-line-2); border-radius: 999px; font-size: 17px; line-height: 1.3; background: var(--g-bg); }
.place-list li:first-child { border-color: var(--g-brand); color: var(--g-brand); font-weight: 500; }

/* Term links (smart glass, PDLC, DLC) */
a.term-link { color: inherit; text-decoration: underline; text-decoration-color: var(--g-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a.term-link:hover, a.term-link:focus-visible { color: var(--g-accent); }
