/*
 * Infinity Blinds — main stylesheet
 *
 * Shared by the WordPress theme and the static preview.
 * Tokens come from the logo: Infinity cyan (#009EC3) used sparingly as an
 * accent, a deeper cyan for text and buttons (AA contrast), warm linen and
 * sand neutrals for the interior feel, and a deep blue-black for contrast.
 * The striped "I" in the logo reappears as a slat motif (see .ib-eyebrow).
 */

:root {
	--ib-ink: #13212a;
	--ib-ink-2: #3a4850;
	--ib-muted: #5f6b72;
	--ib-paper: #f6f3ee;
	--ib-sand: #ece6dc;
	--ib-line: #d9d1c4;
	--ib-white: #ffffff;
	--ib-cyan: #009ec3;
	--ib-cyan-deep: #00708a;
	--ib-cyan-bright: #3cc2e0;
	--ib-night: #0f1c23;
	--ib-night-2: #182a33;
	--ib-night-line: #2b3f49;
	--ib-on-night: #e8eef0;
	--ib-on-night-muted: #a7b5bb;
	--ib-error: #b42318;
	--ib-success: #146c43;

	--ib-font-display: "Jost", "Futura", "Avenir Next", "Century Gothic", system-ui, sans-serif;
	--ib-font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--ib-step--1: 0.875rem;
	--ib-step-0: 1.0625rem;
	--ib-step-1: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
	--ib-step-2: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem);
	--ib-step-3: clamp(1.9rem, 1.4rem + 2vw, 3.1rem);
	--ib-step-4: clamp(2.5rem, 1.6rem + 3.8vw, 4.6rem);
	--ib-step-5: clamp(2.8rem, 1.5rem + 5.4vw, 6rem);

	--ib-gutter: clamp(1.25rem, 4vw, 3.5rem);
	--ib-max: 1360px;
	--ib-pad-x: max(var(--ib-gutter), calc((100% - var(--ib-max)) / 2));
	--ib-section: clamp(4.5rem, 3rem + 6vw, 9rem);
	--ib-header-h: 76px;
	--ib-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--ib-header-h) + 1rem); }

body {
	margin: 0;
	background: var(--ib-paper);
	color: var(--ib-ink);
	font-family: var(--ib-font-body);
	font-size: var(--ib-step-0);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
	font-family: var(--ib-font-display);
	font-weight: 350;
	line-height: 1.08;
	letter-spacing: -0.015em;
	color: inherit;
	margin: 0;
	text-wrap: balance;
}

h1 { font-size: var(--ib-step-4); font-weight: 300; }
h2 { font-size: var(--ib-step-3); font-weight: 300; }
h3 { font-size: var(--ib-step-1); font-weight: 450; letter-spacing: 0; line-height: 1.3; }

p { margin: 0; text-wrap: pretty; }

a { color: var(--ib-cyan-deep); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--ib-ink); }

strong { font-weight: 600; }

mark { background: #fff1b8; color: var(--ib-ink); padding: 0 0.2em; }

:focus-visible { outline: 2px solid var(--ib-cyan); outline-offset: 3px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}

.ib-skip {
	position: absolute; left: 1rem; top: -100px; z-index: 1000;
	background: var(--ib-ink); color: var(--ib-white); padding: 0.75rem 1.25rem; text-decoration: none;
}
.ib-skip:focus { top: 1rem; color: var(--ib-white); }

.ib-preview-flag {
	background: var(--ib-ink); color: var(--ib-on-night); font-size: 0.8rem;
	text-align: center; padding: 0.45rem var(--ib-gutter); line-height: 1.4;
}

/* WordPress block defaults we neutralise so the design system controls spacing. */
.ib-main figure, .ib-footer figure { margin: 0; }
.ib-main :where(p, h1, h2, h3, h4, ul, ol, figure, details, .wp-block-buttons, .wp-block-table),
.ib-footer :where(p, h2, ul) { margin-block: 0; }
.ib-main .wp-block-group > * + * { margin-block-start: 1.1rem; }
.ib-main .wp-block-group > :is(h1, h2) + * { margin-block-start: 1.5rem; }
.ib-main .wp-block-image img { width: 100%; height: auto; }
.ib-main .wp-block-post-content > * + *,
.ib-main .entry-content > * + * { margin-block-start: 0; }

/* WordPress wrappers: keep the sticky header working and remove default gaps between template parts. */
.ib-header-part { display: contents; }
.wp-site-blocks > * { margin-block: 0; }
body .ib-main > * { margin-block: 0; }
.ib-footer-part > * { margin-block: 0; }

/* Shared section padding: content centred without extra wrappers. */
:is(.ib-intro, .ib-products-home, .ib-feature, .ib-guidance, .ib-approach, .ib-inspiration, .ib-cta,
	.ib-page-head, .ib-catalogue, .ib-compare, .ib-who, .ib-logo-story, .ib-about-products, .ib-contact,
	.ib-facts, .ib-split, .ib-benefits, .ib-options, .ib-system, .ib-gallery-section, .ib-faq,
	.ib-related, .ib-band, .ib-page-default) {
	padding-inline: var(--ib-pad-x);
}

/* ---------- Type helpers ---------- */

.ib-eyebrow {
	display: flex; align-items: center; gap: 0.7rem;
	font-family: var(--ib-font-display); font-size: 0.78rem; font-weight: 500;
	letter-spacing: 0.22em; text-transform: uppercase; color: var(--ib-cyan-deep); line-height: 1.2;
}
/* Slat motif taken from the striped I in the logo. */
.ib-eyebrow::before {
	content: ""; flex: none; width: 13px; height: 14px;
	background: linear-gradient(currentColor 0 2px, transparent 2px 6px, currentColor 6px 8px, transparent 8px 12px, currentColor 12px 14px);
	clip-path: polygon(45% 0, 100% 0, 100% 100%, 0 100%);
}

.ib-lead { font-size: var(--ib-step-1); line-height: 1.55; color: var(--ib-ink-2); max-width: 40em; }
.ib-small { font-size: var(--ib-step--1); color: var(--ib-muted); }
.ib-statement {
	font-family: var(--ib-font-display); font-weight: 300; font-size: clamp(1.65rem, 1.15rem + 2vw, 2.9rem);
	line-height: 1.2; letter-spacing: -0.01em; color: var(--ib-ink); text-wrap: balance;
}
.ib-note { font-size: var(--ib-step--1); color: var(--ib-muted); border-left: 2px solid var(--ib-cyan); padding-left: 1rem; }
.ib-placeholder {
	display: inline-block; font-size: 0.85em; padding: 0.05em 0.5em;
	border: 1px dashed currentColor; color: var(--ib-muted); border-radius: 2px;
}

/* ---------- Buttons and links ---------- */

.ib-btn,
.wp-block-button .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
	min-height: 52px; padding: 0.85rem 1.6rem;
	background: var(--ib-ink); color: var(--ib-white); border: 1px solid var(--ib-ink); border-radius: 0;
	font-family: var(--ib-font-display); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.04em;
	text-decoration: none; cursor: pointer; line-height: 1.2;
	transition: background-color 0.25s var(--ib-ease), color 0.25s var(--ib-ease), border-color 0.25s var(--ib-ease);
}
.ib-btn:hover,
.wp-block-button .wp-block-button__link:hover { background: var(--ib-cyan-deep); border-color: var(--ib-cyan-deep); color: var(--ib-white); }

.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--ib-ink); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ib-ink); color: var(--ib-white); border-color: var(--ib-ink); }

.ib-btn--sm { min-height: 42px; padding: 0.55rem 1.1rem; font-size: 0.85rem; }

/* Buttons on dark backgrounds */
.ib-btn--light,
.wp-block-button.ib-btn-light .wp-block-button__link { background: var(--ib-white); color: var(--ib-ink); border-color: var(--ib-white); }
.ib-btn--light:hover,
.wp-block-button.ib-btn-light .wp-block-button__link:hover { background: var(--ib-cyan-bright); border-color: var(--ib-cyan-bright); color: var(--ib-ink); }
.wp-block-button.is-style-outline.ib-btn-light .wp-block-button__link { background: transparent; color: var(--ib-white); border-color: rgba(255, 255, 255, 0.55); }
.wp-block-button.is-style-outline.ib-btn-light .wp-block-button__link:hover { border-color: var(--ib-white); background: var(--ib-white); color: var(--ib-ink); }

.wp-block-buttons, .ib-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.ib-main .wp-block-buttons { margin-block-start: 2rem; }

.ib-arrow-link {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-family: var(--ib-font-display); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.03em;
	color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	padding-bottom: 0.2rem; transition: background-size 0.3s var(--ib-ease);
}
.ib-arrow-link:hover { color: inherit; background-size: 0 1px; background-position: 100% 100%; }
.ib-arrow { display: inline-block; transition: transform 0.3s var(--ib-ease); }
.ib-arrow-link:hover .ib-arrow { transform: translateX(4px); }

/* ---------- Header ---------- */

.ib-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--ib-paper);
	border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s;
}
/* Blur only on desktop: backdrop-filter would trap the fixed mobile menu inside the header. */
@media (min-width: 1024px) {
	.ib-header { background: rgba(246, 243, 238, 0.94); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
}
.ib-header.is-scrolled { border-bottom-color: var(--ib-line); }
.admin-bar .ib-header { top: var(--wp-admin--admin-bar--height, 32px); }

.ib-header__bar {
	display: flex; align-items: center; gap: 2rem;
	height: var(--ib-header-h); padding-inline: var(--ib-pad-x);
}
.ib-logo-link { display: inline-flex; flex: none; }
.ib-header .ib-logo { width: 150px; height: auto; }

.ib-nav { margin-left: auto; }
.ib-nav__list { display: flex; align-items: center; gap: 2.25rem; list-style: none; margin: 0; padding: 0; }
.ib-nav__row { display: flex; align-items: center; gap: 0.3rem; }
.ib-nav__link {
	font-family: var(--ib-font-display); font-size: 0.98rem; font-weight: 450; letter-spacing: 0.02em;
	color: var(--ib-ink); text-decoration: none; padding: 0.5rem 0; position: relative;
}
.ib-nav__link::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0.15rem; height: 1px;
	background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ib-ease);
}
.ib-nav__link:hover::after, .ib-nav__link[aria-current="page"]::after, .is-open > .ib-nav__row .ib-nav__link::after { transform: scaleX(1); }
.ib-nav__link:hover { color: var(--ib-ink); }
.ib-nav__expand {
	display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0;
	background: none; border: 0; color: var(--ib-ink); cursor: pointer;
}
.ib-nav__expand svg { transition: transform 0.25s var(--ib-ease); }
.ib-nav__expand[aria-expanded="true"] svg { transform: rotate(180deg); }

.ib-mega {
	display: none; position: absolute; left: 0; right: 0; top: 100%;
	background: var(--ib-white); border-top: 1px solid var(--ib-line); border-bottom: 1px solid var(--ib-line);
	box-shadow: 0 30px 60px -30px rgba(19, 33, 42, 0.25);
}
.ib-nav__item--mega.is-open .ib-mega { display: block; animation: ib-drop 0.25s var(--ib-ease); }
@keyframes ib-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ib-mega__inner {
	display: grid; grid-template-columns: 1fr 260px; gap: 3rem;
	padding: 2.25rem var(--ib-pad-x) 2.5rem;
}
.ib-mega__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.ib-mega__link {
	display: flex; align-items: center; gap: 0.9rem; padding: 0.55rem; margin: -0.55rem 0;
	color: var(--ib-ink); text-decoration: none; font-family: var(--ib-font-display); font-size: 1rem; font-weight: 450;
	transition: background-color 0.2s;
}
.ib-mega__link:hover, .ib-mega__link[aria-current="page"] { background: var(--ib-paper); color: var(--ib-ink); }
.ib-mega__thumb { flex: none; width: 64px; height: 64px; overflow: hidden; background: var(--ib-sand); }
.ib-mega__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ib-mega__aside { border-left: 1px solid var(--ib-line); padding-left: 2rem; display: grid; align-content: start; justify-items: start; gap: 1rem; }
.ib-mega__intro { color: var(--ib-muted); font-size: 0.95rem; }

.ib-header__cta { flex: none; }
.ib-header__menu { display: none; }

@media (max-width: 1023px) {
	:root { --ib-header-h: 64px; }
	.ib-header__bar { gap: 1rem; }
	.ib-header .ib-logo { width: 128px; }
	.ib-header__cta { margin-left: auto; }
	.ib-header__menu {
		display: inline-flex; align-items: center; gap: 0.6rem; min-height: 42px; padding: 0 0.25rem;
		background: none; border: 0; color: var(--ib-ink); cursor: pointer;
		font-family: var(--ib-font-display); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.05em;
	}
	.ib-burger { position: relative; width: 22px; height: 12px; display: inline-block; }
	.ib-burger::before, .ib-burger::after, .ib-burger span {
		content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ib-ease), opacity 0.2s;
	}
	.ib-burger::before { top: 0; }
	.ib-burger span { top: 5px; display: block; }
	.ib-burger::after { top: 10px; }
	.ib-header__menu[aria-expanded="true"] .ib-burger::before { transform: translateY(5px) rotate(45deg); }
	.ib-header__menu[aria-expanded="true"] .ib-burger span { opacity: 0; }
	.ib-header__menu[aria-expanded="true"] .ib-burger::after { transform: translateY(-5px) rotate(-45deg); }

	.ib-nav {
		display: none; position: fixed; inset: var(--ib-header-h) 0 0 0; z-index: 99;
		background: var(--ib-paper); overflow-y: auto; padding: 1.5rem var(--ib-gutter) 3rem; margin: 0;
	}
	.admin-bar .ib-nav { top: calc(var(--ib-header-h) + var(--wp-admin--admin-bar--height, 46px)); }
	.ib-nav.is-open { display: block; animation: ib-fade 0.25s var(--ib-ease); }
	@keyframes ib-fade { from { opacity: 0; } to { opacity: 1; } }
	.ib-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.ib-nav__item { border-bottom: 1px solid var(--ib-line); }
	.ib-nav__row { justify-content: space-between; }
	.ib-nav__link { display: block; flex: 1; font-size: 1.6rem; font-weight: 350; padding: 1rem 0; }
	.ib-nav__link::after { display: none; }
	.ib-nav__expand { width: 48px; height: 48px; }
	.ib-mega { position: static; box-shadow: none; border: 0; background: transparent; }
	.ib-nav__item--mega.is-open .ib-mega { animation: none; }
	.ib-mega__inner { grid-template-columns: 1fr; gap: 1rem; padding: 0 0 1.25rem; }
	.ib-mega__list { grid-template-columns: 1fr 1fr; gap: 0.75rem 1rem; }
	.ib-mega__thumb { width: 44px; height: 44px; }
	.ib-mega__link { font-size: 0.95rem; }
	.ib-mega__aside { border: 0; padding: 0; }
	.ib-mega__intro { display: none; }
	body.ib-menu-open { overflow: hidden; }
}
@media (max-width: 479px) {
	.ib-header__cta { display: none; }
	.ib-header__menu { margin-left: auto; }
	.ib-mega__list { grid-template-columns: 1fr; }
}
@media (hover: hover) and (min-width: 1024px) {
	.ib-nav__item--mega:hover .ib-mega { display: block; }
}

/* ---------- Home: hero ---------- */

.ib-hero {
	position: relative; display: grid; grid-template-columns: repeat(12, 1fr);
	min-height: min(calc(100vh - var(--ib-header-h)), 900px); padding: 0; margin: 0;
	background: var(--ib-night);
}
.ib-main .ib-hero > * { margin: 0; }
.ib-hero__media { grid-column: 1 / -1; grid-row: 1; position: relative; overflow: hidden; }
.ib-hero__media figure, .ib-hero__media img { height: 100%; }
.ib-main .ib-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.ib-hero__panel {
	grid-column: 1 / span 6; grid-row: 1; align-self: end; position: relative; z-index: 1;
	background: var(--ib-paper); margin-left: var(--ib-pad-x) !important;
	padding: clamp(2rem, 4vw, 3.75rem) clamp(1.75rem, 4vw, 3.75rem) clamp(2rem, 3vw, 3rem);
	max-width: 640px;
}
.ib-hero__title { font-size: var(--ib-step-5); margin-top: 1.25rem !important; }
.ib-hero__lead { color: var(--ib-ink-2); font-size: var(--ib-step-1); line-height: 1.5; }

@media (max-width: 900px) {
	.ib-hero { display: block; min-height: 0; background: var(--ib-paper); }
	.ib-hero__media { height: 58vh; min-height: 320px; }
	.ib-hero__panel { margin: -3.5rem var(--ib-gutter) 0 !important; max-width: none; }
}

/* ---------- Home: intro ---------- */

.ib-intro {
	display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem var(--ib-gutter);
	padding-block: var(--ib-section);
}
.ib-main .ib-intro > * { margin: 0; }
.ib-intro__label { grid-column: 1 / span 3; }
.ib-intro__body { grid-column: 5 / -1; }
.ib-intro__body > p:not(.ib-statement) { max-width: 38em; color: var(--ib-ink-2); }
.ib-main .ib-intro__body > .ib-statement + p { margin-block-start: 2rem; }
.ib-figures {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; list-style: none; padding: 0;
	margin-block-start: 3rem !important;
}
.ib-figures li { border-top: 1px solid var(--ib-line); padding-top: 1rem; color: var(--ib-muted); font-size: 0.95rem; }
.ib-figures strong { display: block; font-family: var(--ib-font-display); font-weight: 300; font-size: var(--ib-step-3); color: var(--ib-ink); line-height: 1.1; margin-bottom: 0.35rem; }
@media (max-width: 900px) {
	.ib-intro__label, .ib-intro__body { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .ib-figures { grid-template-columns: 1fr; } }

/* ---------- Section heads ---------- */

.ib-section-head { max-width: 46rem; }
.ib-section-head--split {
	max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 3rem;
}
.ib-main .ib-section-head--split > * { margin: 0; }
.ib-section-head--split > .ib-eyebrow { flex-basis: 100%; }
.ib-section-head--split > p:not(.ib-eyebrow) { max-width: 26rem; color: var(--ib-muted); }
.ib-section-head p:not(.ib-eyebrow):not(.ib-small) { color: var(--ib-ink-2); }

/* ---------- Home: product index ---------- */

.ib-products-home { background: var(--ib-white); padding-block: var(--ib-section); }
.ib-main .ib-products-home > .ib-index { margin-block-start: clamp(2.5rem, 5vw, 4rem); }
.ib-index { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ib-index__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--ib-line); }
.ib-index__link {
	display: grid; grid-template-columns: 3rem minmax(10rem, 15rem) 1fr 1.5rem; gap: 1rem; align-items: baseline;
	padding: 1.35rem 0; border-top: 1px solid var(--ib-line); color: var(--ib-ink); text-decoration: none;
	transition: padding 0.35s var(--ib-ease), color 0.2s;
}
.ib-index__thumb { display: none; }
.ib-index__num { font-family: var(--ib-font-display); font-size: 0.85rem; color: var(--ib-muted); letter-spacing: 0.1em; }
.ib-index__name { font-family: var(--ib-font-display); font-size: var(--ib-step-2); font-weight: 350; line-height: 1.2; }
.ib-index__text { font-size: 0.95rem; color: var(--ib-muted); line-height: 1.5; }
.ib-index__arrow { justify-self: end; color: var(--ib-cyan-deep); opacity: 0; transform: translateX(-8px); transition: opacity 0.25s, transform 0.3s var(--ib-ease); }
.ib-index__link:hover, .ib-index__link.is-active, .ib-index__link:focus-visible { padding-left: 0.75rem; color: var(--ib-ink); }
.ib-index__link:hover .ib-index__arrow, .ib-index__link.is-active .ib-index__arrow, .ib-index__link:focus-visible .ib-index__arrow { opacity: 1; transform: none; }
.ib-index__preview { position: sticky; top: calc(var(--ib-header-h) + 2rem); aspect-ratio: 4 / 5; overflow: hidden; background: var(--ib-sand); }
.ib-index__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 0.5s var(--ib-ease), transform 0.9s var(--ib-ease); }
.ib-index__img.is-active { opacity: 1; transform: none; }
@media (max-width: 1023px) {
	.ib-index { grid-template-columns: 1fr; }
	.ib-index__preview { display: none; }
	.ib-index__link { grid-template-columns: 72px 1fr 1.25rem; grid-template-rows: auto auto; gap: 0.25rem 1rem; align-items: center; padding: 1rem 0; }
	.ib-index__thumb { display: block; grid-row: 1 / span 2; width: 72px; height: 72px; overflow: hidden; background: var(--ib-sand); }
	.ib-index__thumb img { width: 100%; height: 100%; object-fit: cover; }
	.ib-index__num { display: none; }
	.ib-index__name { grid-column: 2; font-size: 1.25rem; }
	.ib-index__text { grid-column: 2; font-size: 0.875rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.ib-index__arrow { grid-column: 3; grid-row: 1 / span 2; opacity: 1; transform: none; }
	.ib-index__link:hover, .ib-index__link.is-active { padding-left: 0; }
}

/* ---------- Home: featured system ---------- */

.ib-feature {
	display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem var(--ib-gutter); align-items: center;
	background: var(--ib-night); color: var(--ib-on-night); padding-block: var(--ib-section);
}
.ib-main .ib-feature > * { margin: 0; }
.ib-feature .ib-eyebrow { color: var(--ib-cyan-bright); }
.ib-feature .ib-lead { color: var(--ib-on-night-muted); }
.ib-feature__text { grid-column: 1 / span 5; }
.ib-feature__media { grid-column: 7 / -1; position: relative; padding-bottom: 12%; }
.ib-main .ib-feature__media > * { margin: 0; }
.ib-feature__photo img { aspect-ratio: 16 / 10; object-fit: cover; }
.ib-feature__diagram {
	position: absolute !important; right: -1rem; bottom: 0; width: 38%;
	background: var(--ib-white); padding: 1rem; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.5);
}
.ib-feature__list { list-style: none; padding: 0; margin-block-start: 2rem !important; display: grid; gap: 0; border-top: 1px solid var(--ib-night-line); }
.ib-feature__list li { padding: 0.9rem 0; border-bottom: 1px solid var(--ib-night-line); color: var(--ib-on-night-muted); font-size: 0.97rem; }
.ib-feature__list strong { color: var(--ib-on-night); font-weight: 500; }
@media (max-width: 1023px) {
	.ib-feature__text, .ib-feature__media { grid-column: 1 / -1; }
	.ib-feature__diagram { right: 0; width: 42%; }
}

/* ---------- Home: guidance ---------- */

.ib-guidance { background: var(--ib-sand); padding-block: var(--ib-section); }
.ib-main .ib-guidance > .ib-guide { margin-block-start: clamp(2.5rem, 5vw, 4rem); }
.ib-guide { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--ib-line); border: 1px solid var(--ib-line); }
.ib-main .ib-guide > * { margin: 0; }
.ib-guide__panel { background: var(--ib-paper); padding: 2rem; }
.ib-guide__title { font-size: var(--ib-step-2); font-weight: 350; }
.ib-guide__panel p:not(.ib-guide__links) { color: var(--ib-ink-2); }
.ib-guide__links { font-size: 0.92rem; color: var(--ib-muted); }
.ib-guide__links a { color: var(--ib-ink); }
.ib-guide__links a:hover { color: var(--ib-cyan-deep); }

/* Tabbed version, enhanced by site.js */
.ib-guide.is-tabs { grid-template-columns: minmax(220px, 4fr) 8fr; background: none; border: 0; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ib-guide__tabs { display: flex; flex-direction: column; border-top: 1px solid var(--ib-line); }
.ib-guide__tab {
	display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; text-align: left;
	padding: 1.1rem 0; background: none; border: 0; border-bottom: 1px solid var(--ib-line); cursor: pointer;
	font-family: var(--ib-font-display); font-size: 1.1rem; font-weight: 400; color: var(--ib-muted); transition: color 0.2s, padding 0.3s var(--ib-ease);
}
.ib-guide__tab::after { content: "→"; opacity: 0; transition: opacity 0.2s; color: var(--ib-cyan-deep); }
.ib-guide__tab:hover { color: var(--ib-ink); }
.ib-guide__tab[aria-selected="true"] { color: var(--ib-ink); padding-left: 0.75rem; }
.ib-guide__tab[aria-selected="true"]::after { opacity: 1; }
.ib-guide__panels { position: relative; }
.ib-guide.is-tabs .ib-guide__panel { background: none; padding: 0; }
.ib-guide.is-tabs .ib-guide__panel[hidden] { display: none; }
.ib-guide.is-tabs .ib-guide__title { font-size: var(--ib-step-3); font-weight: 300; }
.ib-guide.is-tabs .ib-guide__panel p:not(.ib-guide__links) { font-size: var(--ib-step-1); line-height: 1.55; max-width: 34em; }
.ib-guide.is-tabs .ib-guide__panel > * + * { margin-block-start: 1.5rem; }
.ib-guide.is-tabs .ib-guide__panel { animation: ib-fade 0.4s var(--ib-ease); }
@media (max-width: 800px) {
	.ib-guide.is-tabs { grid-template-columns: 1fr; gap: 2rem; }
	.ib-guide__tabs { flex-direction: row; overflow-x: auto; border-top: 0; gap: 0.5rem; scrollbar-width: none; }
	.ib-guide__tab { flex: none; width: auto; border: 1px solid var(--ib-line); padding: 0.6rem 1rem; font-size: 0.95rem; }
	.ib-guide__tab::after { display: none; }
	.ib-guide__tab[aria-selected="true"] { padding-left: 1rem; background: var(--ib-ink); color: var(--ib-white); border-color: var(--ib-ink); }
}

/* ---------- Home: approach ---------- */

.ib-approach { background: var(--ib-white); padding-block: var(--ib-section); }
.ib-principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem var(--ib-gutter); margin-block-start: clamp(2.5rem, 5vw, 4rem) !important; }
.ib-main .ib-principles > * { margin: 0; }
.ib-principle { border-top: 1px solid var(--ib-ink); padding-top: 1.25rem; }
.ib-principle__num { font-family: var(--ib-font-display); font-weight: 200; font-size: 3.5rem; line-height: 1; color: var(--ib-cyan); letter-spacing: -0.03em; }
.ib-main .ib-principle > .ib-principle__num + h3 { margin-block-start: 1.5rem; }
.ib-principle p:not(.ib-principle__num) { color: var(--ib-ink-2); font-size: 0.98rem; }
@media (max-width: 1023px) { .ib-principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ib-principles { grid-template-columns: 1fr; } }

/* ---------- Home: inspiration mosaic ---------- */

.ib-inspiration { background: var(--ib-paper); padding-block: var(--ib-section); }
.ib-mosaic {
	display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(140px, 16vw, 250px); gap: clamp(0.5rem, 1vw, 1rem);
	margin-block-start: clamp(2rem, 4vw, 3rem) !important;
}
.ib-main .ib-mosaic > * { margin: 0; }
.ib-mosaic > figure { overflow: hidden; background: var(--ib-sand); }
.ib-mosaic > figure img { width: 100%; height: 100% !important; object-fit: cover; }
.ib-mosaic > figure:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.ib-mosaic > figure:nth-child(2) { grid-column: span 4; }
.ib-mosaic > figure:nth-child(3) { grid-column: span 3; grid-row: span 2; }
.ib-mosaic > figure:nth-child(4) { grid-column: span 4; }
.ib-mosaic > figure:nth-child(5) { grid-column: span 4; }
.ib-mosaic > figure:nth-child(6) { grid-column: span 8; }
@media (max-width: 800px) {
	.ib-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
	.ib-mosaic > figure:nth-child(n) { grid-column: span 1; grid-row: span 1; }
	.ib-mosaic > figure:nth-child(1), .ib-mosaic > figure:nth-child(6) { grid-column: span 2; }
}

/* ---------- Calls to action ---------- */

.ib-cta, .ib-band { background: var(--ib-cyan-deep); color: var(--ib-white); padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); }
.ib-cta { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem var(--ib-gutter); align-items: end; }
.ib-main .ib-cta > * { margin: 0; }
.ib-cta__text { grid-column: 1 / span 7; }
.ib-cta__contact { grid-column: 9 / -1; }
.ib-cta__title { font-size: var(--ib-step-4); }
.ib-cta .ib-lead, .ib-band__text { color: rgba(255, 255, 255, 0.85); }
.ib-cta .wp-block-button .wp-block-button__link { background: var(--ib-white); color: var(--ib-ink); border-color: var(--ib-white); }
.ib-cta .wp-block-button .wp-block-button__link:hover { background: var(--ib-ink); color: var(--ib-white); border-color: var(--ib-ink); }
.ib-cta .ib-details dt { color: rgba(255, 255, 255, 0.7); }
.ib-cta .ib-details a, .ib-cta .ib-details dd { color: var(--ib-white); }
.ib-cta .ib-details__row { border-color: rgba(255, 255, 255, 0.25); }
.ib-cta .ib-placeholder { color: rgba(255, 255, 255, 0.8); }
@media (max-width: 900px) { .ib-cta__text, .ib-cta__contact { grid-column: 1 / -1; } }

.ib-band__inner { max-width: 52rem; }
.ib-band__inner > * + * { margin-top: 1.25rem; }
.ib-band .ib-eyebrow { color: rgba(255, 255, 255, 0.85); }
.ib-band__title { font-size: var(--ib-step-4); }
.ib-band__text { font-size: var(--ib-step-1); max-width: 36em; }
.ib-band .ib-actions { margin-top: 2rem; }
.ib-band .ib-arrow-link { color: var(--ib-white); }

/* ---------- Contact details ---------- */

.ib-details dl { margin: 0; }
.ib-details__row { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 0.8rem 0; border-top: 1px solid var(--ib-line); }
.ib-details__row:last-child { border-bottom: 1px solid var(--ib-line); }
.ib-details dt { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ib-muted); font-family: var(--ib-font-display); padding-top: 0.15rem; }
.ib-details dd { margin: 0; }
.ib-details dd a { color: inherit; }
.ib-details .ib-arrow-link { margin-top: 1.5rem; }
.ib-details--footer .ib-details__row { grid-template-columns: 1fr; gap: 0.1rem; border-color: var(--ib-night-line); padding: 0.6rem 0; }
.ib-details--footer dt { color: var(--ib-on-night-muted); font-size: 0.72rem; }
.ib-details--footer .ib-placeholder { color: var(--ib-on-night-muted); }
.ib-details__wa { display: inline-flex; margin-top: 0.25rem; }

/* ---------- Page heads ---------- */

.ib-page-head { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.ib-page-title { font-size: var(--ib-step-5); max-width: 15em; }
.ib-main .ib-page-head > .ib-page-title { margin-block-start: 1.5rem; }
.ib-main .ib-page-head > .ib-lead { margin-block-start: 1.75rem; }

.ib-about-hero { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem var(--ib-gutter); align-items: end; }
.ib-main .ib-about-hero > * { margin: 0; }
.ib-about-hero__title { grid-column: 1 / span 7; }
.ib-about-hero__lead { grid-column: 9 / -1; }
.ib-about-hero .ib-page-title { font-size: var(--ib-step-4); }
@media (max-width: 900px) { .ib-about-hero__title, .ib-about-hero__lead { grid-column: 1 / -1; } }

.ib-wide-image { padding: 0; }
.ib-wide-image img { max-height: 78vh; object-fit: cover; }

/* ---------- Product cards and grid ---------- */

.ib-catalogue { padding-block: 0 var(--ib-section); }
.ib-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.ib-chip {
	min-height: 42px; padding: 0.5rem 1.1rem; border: 1px solid var(--ib-line); background: var(--ib-white);
	font-family: var(--ib-font-display); font-size: 0.92rem; color: var(--ib-ink); cursor: pointer; transition: all 0.2s;
}
.ib-chip:hover { border-color: var(--ib-ink); }
.ib-chip[aria-pressed="true"] { background: var(--ib-ink); color: var(--ib-white); border-color: var(--ib-ink); }
.ib-filter__status { font-size: 0.9rem; color: var(--ib-muted); margin-bottom: 2rem; }

.ib-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(2rem, 3vw, 3rem) clamp(1rem, 2vw, 1.75rem); }
.ib-card { position: relative; display: flex; flex-direction: column; }
.ib-card[hidden] { display: none; }
.ib-card__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ib-sand); }
.ib-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ib-ease); }
.ib-card:hover .ib-card__media img { transform: scale(1.04); }
.ib-card__body { padding-top: 1.1rem; display: grid; gap: 0.5rem; }
.ib-card__num { font-family: var(--ib-font-display); font-size: 0.8rem; color: var(--ib-muted); letter-spacing: 0.12em; }
.ib-card__title { font-size: var(--ib-step-2); font-weight: 350; }
.ib-card__link { color: var(--ib-ink); text-decoration: none; }
.ib-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ib-card__link:hover { color: var(--ib-cyan-deep); }
.ib-card:focus-within { outline: 2px solid var(--ib-cyan); outline-offset: 6px; }
.ib-card__link:focus-visible { outline: none; }
.ib-card__text { font-size: 0.95rem; color: var(--ib-ink-2); line-height: 1.55; }
.ib-card__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; margin: 0.35rem 0 0; }
.ib-card__tags li { font-size: 0.75rem; letter-spacing: 0.04em; color: var(--ib-muted); border: 1px solid var(--ib-line); padding: 0.15rem 0.5rem; }
.ib-grid--compact { grid-template-columns: repeat(4, 1fr); gap: 1.5rem 1rem; }
.ib-grid--compact .ib-card__media { aspect-ratio: 1; }
.ib-grid--compact .ib-card__title { font-size: 1.15rem; }
@media (max-width: 1100px) { .ib-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .ib-grid, .ib-grid--compact { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ib-grid { grid-template-columns: 1fr; } .ib-card__media { aspect-ratio: 4 / 3; } }

/* ---------- Tables ---------- */

.ib-compare { background: var(--ib-white); padding-block: var(--ib-section); }
.ib-main .ib-compare > .wp-block-table { margin-block-start: 2.5rem; }
.wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ib-main .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.ib-main .wp-block-table :is(th, td) { text-align: left; padding: 1rem 1rem 1rem 0; border: 0; border-bottom: 1px solid var(--ib-line); vertical-align: top; }
.ib-main .wp-block-table thead th {
	font-family: var(--ib-font-display); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--ib-muted); border-bottom: 1px solid var(--ib-ink);
}
.ib-compare-table td:first-child { font-family: var(--ib-font-display); font-size: 1.1rem; white-space: nowrap; }
.ib-compare-table td:first-child a { color: var(--ib-ink); text-decoration: none; }
.ib-compare-table td:first-child a:hover { color: var(--ib-cyan-deep); text-decoration: underline; }
.ib-compare-table table { min-width: 720px; }
.wp-element-caption { font-size: 0.85rem; color: var(--ib-muted); margin-top: 0.85rem; }

/* ---------- Product page: hero ---------- */

.ib-phero { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--ib-gutter); padding-left: var(--ib-pad-x); background: var(--ib-paper); }
.ib-phero__text { grid-column: 1 / span 5; padding-block: clamp(2.5rem, 6vw, 6rem); align-self: center; }
.ib-phero__text > * + * { margin-top: 1.25rem; }
.ib-phero__title { font-size: var(--ib-step-5); }
.ib-phero__intro { font-size: var(--ib-step-1); line-height: 1.55; color: var(--ib-ink-2); max-width: 32em; }
.ib-phero .ib-actions { margin-top: 2.25rem; }
.ib-phero__media { grid-column: 7 / -1; position: relative; min-height: min(78vh, 760px); overflow: hidden; background: var(--ib-sand); }
.ib-phero__img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.ib-crumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; list-style: none; margin: 0; padding: 0; font-size: 0.85rem; color: var(--ib-muted); }
.ib-crumbs li + li::before { content: "/"; margin-right: 0.6rem; color: var(--ib-line); }
.ib-crumbs a { color: var(--ib-muted); text-decoration: none; }
.ib-crumbs a:hover { color: var(--ib-ink); text-decoration: underline; }
@media (max-width: 900px) {
	.ib-phero { display: block; padding: 0; }
	.ib-phero__text { padding: 2rem var(--ib-gutter) 2.5rem; }
	.ib-phero__media { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ---------- Product page: sections ---------- */

.ib-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 var(--ib-gutter); background: var(--ib-white); padding-block: clamp(2.5rem, 4vw, 3.5rem); }
.ib-main .ib-facts > * { margin: 0; }
.ib-facts__item { border-left: 1px solid var(--ib-line); padding-left: 1.25rem; }
.ib-facts__label { font-family: var(--ib-font-display); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ib-cyan-deep); }
.ib-main .ib-facts__item > * + * { margin-block-start: 0.5rem; }
.ib-facts__value { font-size: 1rem; color: var(--ib-ink); line-height: 1.5; }
@media (max-width: 760px) { .ib-facts { grid-template-columns: 1fr; gap: 1.5rem; } }

.ib-split { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem var(--ib-gutter); align-items: center; padding-block: var(--ib-section); background: var(--ib-white); }
.ib-main .ib-split > * { margin: 0; }
.ib-split__media { grid-column: 1 / span 6; }
.ib-split__text { grid-column: 8 / -1; }
.ib-split--reverse .ib-split__media { grid-column: 7 / -1; grid-row: 1; }
.ib-split--reverse .ib-split__text { grid-column: 1 / span 5; grid-row: 1; }
.ib-split__text p:not(.ib-eyebrow) { color: var(--ib-ink-2); }
.ib-split__image img { max-height: 82vh; object-fit: cover; }
@media (max-width: 900px) {
	.ib-split__media, .ib-split__text, .ib-split--reverse .ib-split__media, .ib-split--reverse .ib-split__text { grid-column: 1 / -1; grid-row: auto; }
}

.ib-benefits { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem var(--ib-gutter); padding-block: var(--ib-section); background: var(--ib-paper); }
.ib-main .ib-benefits > * { margin: 0; }
.ib-benefits__main { grid-column: 1 / span 7; }
.ib-benefits__aside { grid-column: 9 / -1; align-self: end; }
.ib-benefit-list { list-style: none; padding: 0; counter-reset: ib; border-bottom: 1px solid var(--ib-line); }
.ib-main .ib-benefits__main > .ib-benefit-list { margin-block-start: 2.5rem; }
.ib-benefit-list li { counter-increment: ib; display: grid; grid-template-columns: 3rem 1fr; padding: 1.1rem 0; border-top: 1px solid var(--ib-line); font-size: var(--ib-step-1); line-height: 1.45; }
.ib-benefit-list li::before { content: counter(ib, decimal-leading-zero); font-family: var(--ib-font-display); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--ib-cyan-deep); padding-top: 0.35rem; }
.ib-plain-list { list-style: none; padding: 0; }
.ib-plain-list li { position: relative; padding: 0.5rem 0 0.5rem 1.6rem; color: var(--ib-ink-2); }
.ib-plain-list li::before { content: ""; position: absolute; left: 0; top: 1.1rem; width: 0.9rem; height: 1px; background: var(--ib-cyan); }
@media (max-width: 900px) { .ib-benefits__main, .ib-benefits__aside { grid-column: 1 / -1; } }

.ib-options { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2.5rem var(--ib-gutter); padding-block: var(--ib-section); background: var(--ib-white); }
.ib-main .ib-options > * { margin: 0; }
.ib-options__text { grid-column: 1 / span 6; }
.ib-options__text p:not(.ib-eyebrow) { color: var(--ib-ink-2); }
.ib-options__list { grid-column: 8 / -1; align-self: center; }
.ib-tag-list { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.ib-tag-list li { border: 1px solid var(--ib-line); padding: 0.9rem 1.1rem; font-family: var(--ib-font-display); font-size: 1.05rem; background: var(--ib-paper); }
.ib-main .ib-options__list > .ib-note { margin-block-start: 1.5rem; }
@media (max-width: 900px) { .ib-options__text, .ib-options__list { grid-column: 1 / -1; } }

/* Infinity roller system (dark) */
.ib-system { background: var(--ib-night); color: var(--ib-on-night); padding-block: var(--ib-section); }
.ib-main .ib-system > * + * { margin-block-start: clamp(3rem, 6vw, 5rem); }
.ib-system .ib-eyebrow { color: var(--ib-cyan-bright); }
.ib-system .ib-lead, .ib-system .ib-small { color: var(--ib-on-night-muted); }
.ib-system__intro { max-width: 52rem; }
.ib-system__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem var(--ib-gutter); align-items: start; }
.ib-main .ib-system__grid > * { margin: 0; }
.ib-system__features { grid-column: 1 / span 6; }
.ib-system__figure { grid-column: 8 / -1; }
.ib-checklist { list-style: none; padding: 0; border-top: 1px solid var(--ib-night-line); }
.ib-main .ib-system__features > .ib-checklist { margin-block-start: 1.75rem; }
.ib-checklist li { padding: 1rem 0 1rem 2rem; border-bottom: 1px solid var(--ib-night-line); color: var(--ib-on-night-muted); position: relative; font-size: 0.98rem; }
.ib-checklist li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: 0.85rem; height: 0.85rem; border: 1px solid var(--ib-cyan-bright); transform: rotate(45deg) scale(0.6); }
.ib-checklist strong { color: var(--ib-on-night); font-weight: 500; }
.ib-system__diagram { background: var(--ib-white); padding: clamp(1rem, 2vw, 2rem); }
.ib-system__diagram img { max-width: 520px; margin-inline: auto; }
.ib-system__diagram .wp-element-caption { color: var(--ib-muted); text-align: center; }
.ib-system__table { background: var(--ib-night-2); padding: clamp(1.5rem, 3vw, 2.75rem); }
.ib-main .ib-system__table > .wp-block-table { margin-block-start: 1.5rem; }
.ib-system .wp-block-table :is(th, td) { border-bottom-color: var(--ib-night-line); color: var(--ib-on-night); font-variant-numeric: tabular-nums; }
.ib-system .wp-block-table thead th { color: var(--ib-on-night-muted); border-bottom-color: var(--ib-on-night-muted); }
.ib-system .wp-block-table td:first-child { color: var(--ib-on-night-muted); white-space: nowrap; }
.ib-spec-table table { min-width: 560px; }
.ib-system .wp-element-caption { color: var(--ib-on-night-muted); }
.ib-system__details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem var(--ib-gutter); }
.ib-main .ib-system__details > * { margin: 0; }
.ib-system__detail p { color: var(--ib-on-night-muted); font-size: 0.95rem; }
.ib-system__drawing { background: var(--ib-white); padding: 1.25rem; height: 220px; display: grid; place-items: center; }
.ib-system__drawing img { max-height: 180px; width: auto !important; max-width: 100%; }
@media (max-width: 1023px) {
	.ib-system__features, .ib-system__figure { grid-column: 1 / -1; }
	.ib-system__details { grid-template-columns: 1fr; }
}

/* Gallery */
.ib-gallery-section { background: var(--ib-white); padding-block: var(--ib-section); }
.ib-gallery-section > .ib-gallery { margin-block-start: clamp(2rem, 4vw, 3rem) !important; }
.ib-gallery-section .ib-gallery {
	display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(160px, 20vw, 300px); gap: clamp(0.5rem, 1vw, 1rem);
}
.ib-main .ib-gallery > * { margin: 0; }
.ib-gallery-section .ib-gallery > figure { overflow: hidden; background: var(--ib-sand); }
.ib-gallery-section .ib-gallery > figure:first-child { grid-column: span 2; grid-row: span 2; }
.ib-gallery-section .ib-gallery img { width: 100%; height: 100% !important; object-fit: cover; }
.ib-gallery figure { position: relative; }
.ib-gallery__open {
	position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; display: block;
}
.ib-gallery__open img { transition: transform 0.8s var(--ib-ease), opacity 0.3s; }
.ib-gallery__open:hover img { transform: scale(1.035); }
@media (max-width: 700px) {
	.ib-gallery-section .ib-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; }
}

/* Lightbox */
.ib-lightbox { position: fixed; inset: 0; z-index: 1000; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 18, 23, 0.96); color: var(--ib-white); }
.ib-lightbox::backdrop { background: rgba(10, 18, 23, 0.96); }
.ib-lightbox__frame { display: grid; grid-template-rows: auto 1fr auto; height: 100%; padding: 1rem var(--ib-gutter) 1.5rem; }
.ib-lightbox__top { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; color: var(--ib-on-night-muted); }
.ib-lightbox__stage { display: grid; place-items: center; min-height: 0; padding: 1rem 0; }
.ib-lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.ib-lightbox__caption { text-align: center; font-size: 0.95rem; color: var(--ib-on-night-muted); max-width: 48rem; margin: 0 auto; }
.ib-lightbox__nav { display: flex; justify-content: center; gap: 0.75rem; margin-top: 1rem; }
.ib-lightbox button {
	min-width: 48px; min-height: 48px; padding: 0 1rem; background: transparent; color: var(--ib-white);
	border: 1px solid rgba(255, 255, 255, 0.35); cursor: pointer; font: inherit; font-size: 0.9rem;
}
.ib-lightbox button:hover { border-color: var(--ib-white); background: rgba(255, 255, 255, 0.08); }

/* FAQ */
.ib-faq { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2.5rem var(--ib-gutter); padding-block: var(--ib-section); background: var(--ib-paper); }
.ib-main .ib-faq > * { margin: 0; }
.ib-faq__head { grid-column: 1 / span 4; }
.ib-faq__head p:not(.ib-eyebrow) { color: var(--ib-ink-2); }
.ib-faq__list { grid-column: 6 / -1; border-top: 1px solid var(--ib-ink); }
.ib-main .ib-faq__list > * + * { margin-block-start: 0; }
.ib-faq__item { border-bottom: 1px solid var(--ib-line); }
.ib-faq__item summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline;
	padding: 1.35rem 0; font-family: var(--ib-font-display); font-size: var(--ib-step-1); font-weight: 400; line-height: 1.35;
}
.ib-faq__item summary::-webkit-details-marker { display: none; }
.ib-faq__item summary::after { content: "+"; flex: none; font-size: 1.5rem; font-weight: 300; color: var(--ib-cyan-deep); transition: transform 0.3s var(--ib-ease); line-height: 1; }
.ib-faq__item[open] summary::after { transform: rotate(45deg); }
.ib-faq__item summary:hover { color: var(--ib-cyan-deep); }
.ib-faq__item > p { padding: 0 3rem 1.5rem 0; color: var(--ib-ink-2); max-width: 44em; margin: 0 !important; }
@media (max-width: 900px) { .ib-faq__head, .ib-faq__list { grid-column: 1 / -1; } }

/* Related products rail */
.ib-related { background: var(--ib-white); padding-block: var(--ib-section); }
.ib-rail {
	list-style: none; margin: clamp(2rem, 4vw, 3rem) calc(-1 * var(--ib-pad-x)) 0; padding: 0 var(--ib-pad-x) 1rem;
	display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24vw, 320px); gap: clamp(1rem, 2vw, 1.5rem);
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--ib-pad-x); scrollbar-width: thin;
}
.ib-rail__item { scroll-snap-align: start; }
.ib-rail__link { display: grid; gap: 0.5rem; color: var(--ib-ink); text-decoration: none; }
.ib-rail__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ib-sand); margin-bottom: 0.5rem; }
.ib-rail__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ib-ease); }
.ib-rail__link:hover img { transform: scale(1.04); }
.ib-rail__name { font-family: var(--ib-font-display); font-size: 1.3rem; font-weight: 350; }
.ib-rail__link:hover .ib-rail__name { color: var(--ib-cyan-deep); }
.ib-rail__text { font-size: 0.9rem; color: var(--ib-muted); line-height: 1.5; }

/* ---------- About ---------- */

.ib-who { background: var(--ib-white); padding-block: var(--ib-section); }
.ib-audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem var(--ib-gutter); margin-block-start: clamp(2.5rem, 5vw, 4rem) !important; }
.ib-main .ib-audiences > * { margin: 0; }
.ib-audience { border-top: 1px solid var(--ib-ink); padding-top: 1.5rem; }
.ib-audience h3 { font-size: var(--ib-step-2); font-weight: 350; }
.ib-audience p { color: var(--ib-ink-2); }
@media (max-width: 900px) { .ib-audiences { grid-template-columns: 1fr; } }

.ib-logo-story { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem var(--ib-gutter); align-items: center; padding-block: var(--ib-section); background: var(--ib-sand); }
.ib-main .ib-logo-story > * { margin: 0; }
.ib-logo-story__text { grid-column: 1 / span 6; }
.ib-logo-story__text p { font-size: var(--ib-step-1); line-height: 1.55; color: var(--ib-ink-2); max-width: 32em; }
.ib-logo-story__visual { grid-column: 8 / -1; display: grid; place-items: center; }
.ib-logo-story__mark { color: var(--ib-cyan); }
.ib-logo-story__mark svg { width: clamp(120px, 16vw, 210px); height: auto; }
@media (max-width: 800px) { .ib-logo-story__text, .ib-logo-story__visual { grid-column: 1 / -1; } .ib-logo-story__visual { justify-items: start; } }

.ib-about-products { background: var(--ib-paper); padding-block: var(--ib-section); }
.ib-main .ib-about-products > .ib-products { margin-block-start: 2.5rem; }

/* ---------- Contact and form ---------- */

.ib-contact { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem var(--ib-gutter); padding-block: 0 var(--ib-section); align-items: start; }
.ib-main .ib-contact > * { margin: 0; }
.ib-contact__form { grid-column: 1 / span 7; }
.ib-contact__aside { grid-column: 9 / -1; position: sticky; top: calc(var(--ib-header-h) + 2rem); }
.ib-contact__heading { font-size: var(--ib-step-2); font-weight: 350; }
.ib-main .ib-contact__aside > h3 { margin-block-start: 2.5rem; font-size: 1.05rem; }
.ib-contact__aside p { color: var(--ib-ink-2); font-size: 0.95rem; }
.ib-contact__aside .ib-plain-list li { font-size: 0.95rem; padding-block: 0.35rem; }
@media (max-width: 960px) { .ib-contact__form, .ib-contact__aside { grid-column: 1 / -1; position: static; } }

.ib-form { background: var(--ib-white); padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--ib-line); }
.ib-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; }
.ib-field { display: grid; gap: 0.4rem; align-content: start; min-width: 0; }
.ib-field--full, .ib-field:has(textarea) { grid-column: 1 / -1; }
.ib-field label, .ib-checks legend { font-family: var(--ib-font-display); font-weight: 500; font-size: 0.98rem; color: var(--ib-ink); }
.ib-req, .ib-opt { font-family: var(--ib-font-body); font-weight: 400; font-size: 0.78rem; color: var(--ib-muted); margin-left: 0.35rem; }
.ib-req { color: var(--ib-cyan-deep); }
.ib-field__hint { font-size: 0.85rem; color: var(--ib-muted); line-height: 1.4; }
.ib-field input, .ib-field textarea {
	width: 100%; min-height: 50px; padding: 0.75rem 0.9rem; font: inherit; font-size: 1rem; color: var(--ib-ink);
	background: var(--ib-white); border: 1px solid #b9b1a4; border-radius: 0; transition: border-color 0.2s, box-shadow 0.2s;
}
.ib-field textarea { resize: vertical; min-height: 150px; }
.ib-field input:hover, .ib-field textarea:hover { border-color: var(--ib-ink-2); }
.ib-field input:focus, .ib-field textarea:focus { outline: none; border-color: var(--ib-cyan-deep); box-shadow: 0 0 0 3px rgba(0, 158, 195, 0.25); }
.ib-field.has-error input, .ib-field.has-error textarea { border-color: var(--ib-error); }
.ib-field__error { color: var(--ib-error); font-size: 0.88rem; display: flex; gap: 0.4rem; }
.ib-field__error::before { content: "!"; display: inline-grid; place-items: center; flex: none; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--ib-error); color: #fff; font-size: 0.72rem; font-weight: 700; margin-top: 0.15rem; }
.ib-field__error[hidden] { display: none; }
.ib-checks { border: 0; padding: 0; margin: 0; }
.ib-checks legend { padding: 0; margin-bottom: 0.75rem; }
.ib-checks__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.ib-check { display: flex; align-items: center; gap: 0.65rem; min-height: 46px; padding: 0.5rem 0.75rem; border: 1px solid var(--ib-line); cursor: pointer; font-size: 0.95rem; line-height: 1.25; transition: border-color 0.2s, background-color 0.2s; }
.ib-check:hover { border-color: var(--ib-ink-2); }
.ib-check input { width: 18px; height: 18px; accent-color: var(--ib-cyan-deep); flex: none; margin: 0; }
.ib-check:has(input:checked) { border-color: var(--ib-cyan-deep); background: rgba(0, 158, 195, 0.07); }
.ib-check:has(input:focus-visible) { outline: 2px solid var(--ib-cyan); outline-offset: 2px; }
.ib-form__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ib-form__privacy { font-size: 0.88rem; color: var(--ib-muted); margin-top: 1.75rem; }
.ib-form__actions { margin-top: 1.5rem; }
.ib-form__actions .ib-btn { min-width: 200px; }
.ib-form__status { padding: 1rem 1.25rem; margin-bottom: 1.75rem; border-left: 3px solid; font-size: 0.97rem; }
.ib-form__status:focus { outline: none; }
.ib-form__status[hidden] { display: none; }
.ib-form__status.is-error { border-color: var(--ib-error); background: #fdf1f0; color: #7a1a12; }
.ib-form__status.is-success { border-color: var(--ib-success); background: #edf7f1; color: #0d4a2e; }
.ib-form__status.is-notice { border-color: var(--ib-cyan-deep); background: #eaf6f9; color: var(--ib-ink); }
.ib-form__status strong { display: block; margin-bottom: 0.2rem; }
.ib-form.is-sent .ib-form__grid, .ib-form.is-sent .ib-form__privacy, .ib-form.is-sent .ib-form__actions { display: none; }
@media (max-width: 640px) {
	.ib-form__grid { grid-template-columns: 1fr; }
	.ib-checks__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) { .ib-checks__grid { grid-template-columns: 1fr; } }

/* ---------- Default pages and prose ---------- */

.ib-page-default { padding-bottom: var(--ib-section); }
.ib-page-default .ib-page-head { padding-inline: 0; }
.ib-page-default .ib-page-title { font-size: var(--ib-step-4); }
.ib-prose { max-width: 46rem; }
.ib-prose > * + * { margin-top: 1.1em !important; }
.ib-prose > h2 { font-size: var(--ib-step-2); font-weight: 400; margin-top: 2.2em !important; }
.ib-prose > h3 { margin-top: 1.8em !important; }
.ib-prose p, .ib-prose li { color: var(--ib-ink-2); }

.ib-404 { min-height: 55vh; }
.ib-404 .ib-actions { margin-top: 2.25rem; }

/* ---------- Footer ---------- */

.ib-footer-part { margin: 0; }
.ib-footer { background: var(--ib-night); color: var(--ib-on-night); padding: clamp(4rem, 7vw, 6.5rem) var(--ib-pad-x) 2rem; }
.ib-footer > * + * { margin-top: 0; }
.ib-footer__top { display: grid; grid-template-columns: 4fr 2.5fr 2fr 3fr; gap: 3rem var(--ib-gutter); padding-bottom: 4rem; border-bottom: 1px solid var(--ib-night-line); }
.ib-footer__top > * { margin: 0 !important; }
.ib-footer__brand .ib-logo { width: 170px; }
.ib-footer__statement { margin-top: 1.5rem !important; color: var(--ib-on-night-muted); max-width: 22rem; }
.ib-footer__heading { font-family: var(--ib-font-display); font-size: 0.78rem !important; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ib-cyan-bright); margin-bottom: 1.25rem !important; }
.ib-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.ib-footer__links a, .ib-footer .ib-details a { color: var(--ib-on-night); text-decoration: none; font-size: 0.97rem; }
.ib-footer__links a:hover, .ib-footer .ib-details a:hover { color: var(--ib-cyan-bright); text-decoration: underline; }
.ib-footer .ib-details .ib-arrow-link { color: var(--ib-on-night); }
.ib-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-top: 1.75rem; }
.ib-footer__bottom > * { margin: 0 !important; }
.ib-footer__legal { font-size: 0.85rem; color: var(--ib-on-night-muted); }
@media (max-width: 1023px) { .ib-footer__top { grid-template-columns: 1fr 1fr; } .ib-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ib-footer__top { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */

.js .ib-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ib-ease), transform 0.8s var(--ib-ease); }
.js .ib-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
	.js .ib-reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */

@media print {
	.ib-header, .ib-footer-part, .ib-preview-flag, .ib-related, .ib-band, .ib-cta { display: none !important; }
	body { background: #fff; }
}

/* Uploaded logos on dark backgrounds */
.ib-logo--invert { filter: brightness(0) invert(1); }
