/*
 * Iceberg Tobacco — site styles. Palette Split: dark heroes, light page.
 * Values follow the Design canvas (Main, Products, Line-50, About, Wholesale, Footer, Home-Mobile).
 */

:root {
	--ib-ink: #0B0F17;
	--ib-page: #F5F6F7;
	--ib-body: #2E3339;
	--ib-muted: #4F555D;
	--ib-border: #DADDE1;
	--ib-hair: #E4E7EA;
	--ib-hero-ink: #F2F4F7;
	--ib-hero-body: #C9D0D8;
	--ib-blue: #1B5FE0;
	--ib-focus: #1B5FE0;
	--ib-gutter: clamp(16px, 4vw, 40px);
	--ib-dark: linear-gradient(180deg, #05070A 0%, #0B1322 62%, #0A0B0D 100%);
	--ib-scale: linear-gradient(90deg, #E3F2FC 0%, #8CC8F5 12%, #1A6FAF 25%, #D42A26 62.5%, #0B0F17 87.5%);
}

@supports (background: linear-gradient(in oklab 90deg, red, blue)) {
	:root {
		--ib-scale: linear-gradient(in oklab 90deg, #E3F2FC 0%, #8CC8F5 12%, #1A6FAF 25%, #D42A26 62.5%, #0B0F17 87.5%);
	}
}

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

body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.wp-site-blocks {
	overflow-x: clip;
}

.ib-site :where(h1, h2, h3, h4, p, ol, ul, dl, dd, figure, blockquote) {
	margin: 0;
}

.ib-site :where(h1, h2, h3, h4) {
	font-weight: 800;
}

a {
	color: inherit;
}

a:hover {
	color: var(--ib-blue);
}

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

/* Keyboard focus: the same visible ring in every browser, light blue on the dark sections. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--ib-focus);
	outline-offset: 3px;
}

:where(.ib-header, .ib-hero, .ib-banner, .ib-band, .ib-cta-band, .ib-cta-card, .ib-footer) {
	--ib-focus: #8CC8F5;
}

mark.ib-ph {
	background: #FFE58A;
	color: #3A2F00;
	padding: 0 4px;
	border-radius: 4px;
}

.ib-wrap {
	box-sizing: border-box;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: var(--ib-gutter);
}

.ib-section {
	padding-block: 120px;
}

.ib-h2 {
	max-width: 13ch;
	font-weight: 800;
	font-size: clamp(36px, 4.4vw, 60px);
	line-height: 1;
	letter-spacing: -0.03em;
}

.ib-eyebrow {
	font-weight: 600;
	font-size: 15px;
	color: var(--ib-blue);
}

.ib-split-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px 64px;
	margin-bottom: 48px;
}

.ib-split-head__title {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ib-split-head__text {
	max-width: 44ch;
	font-size: 18px;
	color: var(--ib-muted);
}

.ib-photo-ph {
	box-sizing: border-box;
	aspect-ratio: 4 / 3;
	border-radius: 24px;
	border: 2px dashed #B8C0C8;
	background: #E9ECEF;
	display: grid;
	place-items: center;
	padding: 24px;
	text-align: center;
	color: #3A4048;
	font-weight: 600;
	font-size: 15px;
}

/* ---------- Buttons ---------- */

.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

:is(a.ib-btn, button.ib-btn, .wp-block-button.ib-btn > .wp-block-button__link) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 56px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	font-family: inherit;
	font-weight: 700;
	font-size: 16px;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, box-shadow 0.15s;
}

:is(a.ib-btn--light, .ib-btn--light > .wp-block-button__link),
:is(a.ib-btn--light, .ib-btn--light > .wp-block-button__link):hover {
	background: #FFFFFF;
	color: #0A0B0D;
}

:is(a.ib-btn--light, .ib-btn--light > .wp-block-button__link):hover {
	background: #DCE6F7;
}

:is(a.ib-btn--dark, button.ib-btn--dark, .ib-btn--dark > .wp-block-button__link),
:is(a.ib-btn--dark, button.ib-btn--dark, .ib-btn--dark > .wp-block-button__link):hover {
	background: #0B0F17;
	color: #FFFFFF;
}

:is(a.ib-btn--dark, button.ib-btn--dark, .ib-btn--dark > .wp-block-button__link):hover {
	background: #1F2A3D;
}

:is(a.ib-btn--ghost-light, .ib-btn--ghost-light > .wp-block-button__link),
:is(a.ib-btn--ghost-light, .ib-btn--ghost-light > .wp-block-button__link):hover {
	background: transparent;
	color: var(--ib-hero-ink);
	box-shadow: inset 0 0 0 2px var(--ib-hero-ink);
}

:is(a.ib-btn--ghost-light, .ib-btn--ghost-light > .wp-block-button__link):hover {
	background: rgba(255, 255, 255, 0.1);
}

:is(a.ib-btn--ghost-dark, .ib-btn--ghost-dark > .wp-block-button__link),
:is(a.ib-btn--ghost-dark, .ib-btn--ghost-dark > .wp-block-button__link):hover {
	height: 52px;
	padding: 0 24px;
	font-size: 15px;
	background: transparent;
	color: var(--ib-ink);
	box-shadow: inset 0 0 0 2px var(--ib-ink);
}

:is(a.ib-btn--ghost-dark, .ib-btn--ghost-dark > .wp-block-button__link):hover {
	background: var(--ib-ink);
	color: #FFFFFF;
}

:is(a.ib-btn--sm, .ib-btn--sm > .wp-block-button__link) {
	height: 44px;
	padding: 0 22px;
	font-size: 14px;
}

:is(a.ib-btn--lg, button.ib-btn--lg, .ib-btn--lg > .wp-block-button__link) {
	height: 58px;
	padding: 0 30px;
}

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

.ib-header {
	position: relative;
	z-index: 10;
}

.ib-header__bar {
	box-sizing: border-box;
	max-width: 1280px;
	margin: 0 auto;
	padding: 22px var(--ib-gutter);
	display: flex;
	align-items: center;
	gap: 28px;
}

.ib-logo {
	display: block;
	flex: none;
	width: 136px;
	color: var(--ib-hero-ink);
}

.ib-logo:hover {
	color: #FFFFFF;
}

.ib-logo svg {
	display: block;
	width: 100%;
	height: auto;
}

.ib-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}

.ib-nav a:not(.ib-btn) {
	padding: 10px 12px;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	color: var(--ib-hero-ink);
}

.ib-nav a:not(.ib-btn):hover {
	color: #FFFFFF;
	box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.35);
}

.ib-nav a.is-active {
	font-weight: 700;
	box-shadow: inset 0 -2px 0 #FFFFFF;
}

.ib-nav__cta,
.ib-menu-btn {
	display: none !important;
}

.ib-header__cta {
	margin-left: auto;
}

/* Products drop-down: a list of the lines, as in the phone menu, the cans starting under the word
   Products. The panel is fixed and placed by assets/js/site.js (--ib-sub-left, --ib-sub-top), so the
   heroes, which clip what reaches below them, never cut it. Opens on the arrow button or on hover. */
.ib-nav__sub {
	position: relative;
	display: flex;
	align-items: center;
}

.ib-nav__toggle {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-left: -8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--ib-hero-ink);
	cursor: pointer;
}

.ib-nav__toggle svg {
	transition: transform 0.2s;
}

.ib-nav__sub.is-open .ib-nav__toggle svg {
	transform: rotate(180deg);
}

/* The top padding is the gap under the link; being part of the item, it keeps the hover alive.
   Left: the link's left edge plus its 12 px padding, less the panel's border, padding and row padding (19 px). */
.ib-sub {
	position: fixed;
	z-index: 20;
	top: var(--ib-sub-top, 90px);
	left: calc(var(--ib-sub-left, 0px) - 7px);
	padding-top: 10px;
	visibility: hidden;
	opacity: 0;
	transform: translateY(-6px);
	pointer-events: none;
	transition: opacity 0.16s, transform 0.16s, visibility 0s 0.16s;
}

.ib-sub__panel {
	box-sizing: border-box;
	min-width: 300px;
	max-height: calc(100vh - var(--ib-sub-top, 90px) - 26px);
	overflow-y: auto;
	padding: 8px;
	border: 1px solid #232B38;
	border-radius: 20px;
	background: #0E1626;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.ib-nav__sub.is-open .ib-sub {
	visibility: visible;
	opacity: 1;
	transform: none;
	pointer-events: auto;
	transition-delay: 0s;
}

@media (hover: hover) and (min-width: 761px) {
	.ib-nav__sub:hover .ib-sub {
		visibility: visible;
		opacity: 1;
		transform: none;
		pointer-events: auto;
		transition-delay: 0s;
	}

	.ib-nav__sub:hover .ib-nav__toggle svg {
		transform: rotate(180deg);
	}
}

.ib-sub__lines {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ib-nav .ib-sub a:not(.ib-btn) {
	box-shadow: none;
	color: #F2F4F7;
	text-decoration: none;
}

.ib-nav .ib-sub a.ib-sub__line {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px 10px;
	border-radius: 12px;
}

.ib-nav .ib-sub a.ib-sub__line:hover,
.ib-nav .ib-sub a.ib-sub__line.is-active {
	background: rgba(255, 255, 255, 0.08);
	box-shadow: none;
}

.ib-sub__can {
	flex: none;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
}

.ib-sub__can img {
	width: 48px;
	max-width: none;
	height: auto;
	margin: -8px;
	filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.35));
}

/* The drawn lid is never drawn below 40 px (ib_energy_lid()), so it is zoomed to the 32 px of the cans. */
.ib-sub__can .ib-lid {
	zoom: 0.8;
}

.ib-sub__name {
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
}

/* The line's card colours; the thin ring keeps the black Ultra pill visible on the dark panel. */
.ib-sub__mg {
	margin-left: auto;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--bg);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
	color: var(--fg);
	font-weight: 700;
	font-size: 12px;
	white-space: nowrap;
}

.ib-nav .ib-sub a.ib-sub__all {
	display: block;
	margin-top: 6px;
	padding: 10px 10px 4px;
	border-top: 1px solid #232B38;
	font-weight: 700;
	font-size: 14px;
}

.ib-nav .ib-sub a.ib-sub__all:hover {
	color: #8CC8F5;
	box-shadow: none;
}

@media (max-width: 760px) {
	.ib-header__bar {
		height: 64px;
		padding: 0 16px;
		gap: 10px;
	}

	.ib-logo {
		width: 112px;
	}

	.ib-header__cta {
		display: none !important;
	}

	.ib-menu-btn {
		display: grid !important;
		place-items: center;
		margin-left: auto;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #FFFFFF;
		color: #0A0B0D;
		cursor: pointer;
	}

	/* Fixed under the header bar (assets/js/site.js sets --ib-nav-top), so the hero does not clip it. */
	.ib-nav {
		display: none;
		position: fixed;
		top: var(--ib-nav-top, 64px);
		left: 12px;
		right: 12px;
		max-height: calc(100vh - var(--ib-nav-top, 64px) - 12px);
		max-height: calc(100dvh - var(--ib-nav-top, 64px) - 12px);
		overflow-y: auto;
		overscroll-behavior: contain;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		padding: 8px;
		border: 1px solid #232B38;
		border-radius: 20px;
		background: #0E1626;
		box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
	}

	/* The phone menu lists the lines under Products. */
	.ib-nav__sub {
		flex-direction: column;
		align-items: stretch;
	}

	.ib-nav__toggle,
	.ib-nav .ib-sub a.ib-sub__all {
		display: none;
	}

	.ib-sub {
		position: static;
		padding: 0 0 6px;
		visibility: visible;
		opacity: 1;
		transform: none;
		pointer-events: auto;
	}

	.ib-sub__panel {
		min-width: 0;
		max-height: none;
		overflow: visible;
		padding: 0;
		border: 0;
		background: none;
		box-shadow: none;
	}

	.ib-nav .ib-sub a.ib-sub__line {
		padding: 6px 14px 6px 22px;
	}

	.ib-sub__name {
		font-size: 16px;
	}

	.ib-header.is-open .ib-nav {
		display: flex;
	}

	.ib-nav a:not(.ib-btn) {
		padding: 14px;
		font-size: 17px;
		border-radius: 12px;
	}

	.ib-nav a.is-active,
	.ib-nav a:not(.ib-btn):hover {
		box-shadow: none;
		background: rgba(255, 255, 255, 0.08);
	}

	.ib-nav__cta {
		display: flex !important;
		margin-top: 8px;
	}
}

/* ---------- Heroes (inner pages) ---------- */

.ib-hero {
	position: relative;
	overflow: hidden;
	overflow: clip;
	color: var(--ib-hero-ink);
	background: radial-gradient(70% 90% at 75% 10%, rgba(27, 95, 224, 0.32), transparent 70%), var(--ib-dark);
}

.ib-hero__body {
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	max-width: 1280px;
	margin: 0 auto;
	padding: 40px var(--ib-gutter) 110px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.ib-hero__title {
	max-width: 16ch;
	font-weight: 800;
	font-size: clamp(44px, 5.6vw, 80px);
	line-height: 1;
	letter-spacing: -0.03em;
}

.ib-hero__lead {
	max-width: 54ch;
	font-size: 20px;
	color: var(--ib-hero-body);
}

.ib-hero__berg {
	position: absolute;
	z-index: 1;
	right: 6%;
	bottom: -36px;
	width: min(420px, 38%);
	opacity: 0.95;
}

.ib-hero--about .ib-hero__body {
	padding-top: 56px;
	padding-bottom: 120px;
}

.ib-hero--about .ib-hero__lead {
	max-width: 56ch;
}

.ib-hero--contacts .ib-hero__body {
	padding-top: 48px;
	padding-bottom: 104px;
	gap: 16px;
}

.ib-hero--contacts .ib-hero__title {
	font-size: clamp(40px, 4.6vw, 64px);
}

.ib-hero--contacts .ib-hero__lead {
	max-width: 46ch;
	font-size: 18px;
}

.ib-hero--contacts .ib-hero__berg {
	width: min(380px, 34%);
}

.ib-hero--page .ib-hero__body {
	padding-bottom: 80px;
}

.ib-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 14px;
	opacity: 0.85;
}

.ib-crumbs a,
.ib-crumbs a:hover {
	color: inherit;
}

@media (max-width: 1100px) {
	.ib-hero__berg,
	.ib-hero--contacts .ib-hero__berg {
		width: min(300px, 40%);
		bottom: -80px;
	}
}

@media (max-width: 760px) {
	.ib-hero__body,
	.ib-hero--about .ib-hero__body,
	.ib-hero--contacts .ib-hero__body {
		padding-top: 28px;
		padding-bottom: 96px;
	}

	.ib-hero__lead {
		font-size: 18px;
	}
}

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

/*
 * The hero is 85 % of the screen height minus 96 px, so the headline of the next section
 * shows on the first screen (610–880 px; phones 90 %, 580–810 px; owner, 2026-11-04).
 * --hh-cut is how much shorter than the full 1040 px design it is: the art anchored to the
 * bottom moves down by part of it so it stays clear of the copy. --hh-drop lowers the main
 * iceberg; the scroll animation lifts it back by the same amount, so the cans still land on
 * it (assets/js/hero.js).
 */
.ib-hero--home {
	--hh-h: clamp(610px, calc((100vh - 96px) * 0.85), 880px);
	--hh-cut: calc(1040px - var(--hh-h));
	--hh-drop: clamp(0px, calc((700px - var(--hh-h)) * 1.25), 120px);
	min-height: var(--hh-h);
	background: radial-gradient(70% 55% at 75% 18%, rgba(27, 95, 224, 0.32), transparent 70%), var(--ib-dark);
}

@supports (height: 100svh) {
	.ib-hero--home {
		--hh-h: clamp(610px, calc((100svh - 96px) * 0.85), 880px);
	}
}

/* The header stays on top while the hero scrolls away and turns dark once the page moves (assets/js/hero.js). */
.ib-hero--home > .wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 10;
}

.ib-hero--home .ib-header {
	transition: background-color 0.25s, box-shadow 0.25s;
}

.ib-hero--home .ib-header.is-stuck {
	background: rgba(10, 11, 13, 0.82);
	box-shadow: inset 0 -1px 0 #1E2733;
}

.ib-hero__body--home {
	z-index: 7;
	padding-top: 44px;
	padding-bottom: 0;
	gap: 24px;
}

.ib-hero--home .ib-hero__title {
	max-width: 11ch;
	font-size: clamp(52px, 7.2vw, 108px);
	line-height: 0.95;
}

.ib-hero--home .ib-hero__lead {
	max-width: 44ch;
	line-height: 1.5;
}

.ib-hh {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.ib-hh__berg {
	position: absolute;
	max-width: none;
	opacity: 0.95;
}

.ib-hh__berg--piece {
	z-index: 2;
	left: -2%;
	bottom: calc(150px - var(--hh-cut) * 0.5);
	width: 340px;
}

.ib-hh__berg--small {
	z-index: 2;
	right: 3%;
	bottom: calc(170px - var(--hh-cut) * 0.4);
	width: 140px;
}

/* Centred with a margin, not a transform: the scroll animation scales it. */
.ib-hh__berg--main {
	z-index: 3;
	left: 50%;
	bottom: calc(-470px - var(--hh-drop));
	width: 1500px;
	margin-left: -750px;
}

.ib-hh__can {
	position: absolute;
	z-index: 5;
	max-width: none;
	filter: drop-shadow(0 28px 28px rgba(11, 40, 80, 0.28));
}

.ib-hh.is-live .ib-hh__can {
	will-change: transform;
}

.ib-hh__can--1 { right: 30%; top: 150px; width: 170px; transform: rotate(-12deg); }
.ib-hh__can--2 { right: 6%; top: 110px; width: 230px; transform: rotate(8deg); }
.ib-hh__can--3 { left: -1%; bottom: calc(-30px - var(--hh-drop)); width: 210px; transform: rotate(-16deg); }
.ib-hh__can--4 { right: 12%; bottom: calc(200px - var(--hh-cut) * 0.5); width: 220px; transform: rotate(14deg); }
.ib-hh__can--5 { left: 31%; bottom: calc(120px - var(--hh-cut) * 0.4); width: 170px; transform: rotate(9deg); }

@media (max-width: 1100px) and (min-width: 761px) {
	.ib-hh__can--1 {
		display: none;
	}
}

@media (max-width: 760px) {
	.ib-hero--home {
		--hh-h: clamp(580px, calc((100vh - 72px) * 0.9), 810px);
		--hh-cut: calc(900px - var(--hh-h));
		--hh-drop: 0px;
		background: radial-gradient(90% 45% at 80% 12%, rgba(27, 95, 224, 0.32), transparent 70%), var(--ib-dark);
	}

	@supports (height: 100svh) {
		.ib-hero--home {
			--hh-h: clamp(580px, calc((100svh - 72px) * 0.9), 810px);
		}
	}

	.ib-hero__body--home {
		padding: 22px 16px 0;
		gap: 16px;
	}

	.ib-hero--home .ib-hero__title {
		font-size: 46px;
		line-height: 0.98;
	}

	.ib-hero--home .ib-hero__lead {
		font-size: 17px;
	}

	.ib-hero--home .ib-actions {
		flex-direction: column;
		align-self: stretch;
		gap: 10px;
	}

	.ib-hero--home .ib-actions .wp-block-button,
	.ib-hero--home .ib-actions .wp-block-button__link {
		width: 100%;
	}

	.ib-hero--home .ib-actions .wp-block-button__link {
		height: 54px;
	}

	.ib-hh__berg--piece,
	.ib-hh__berg--small,
	.ib-hh__can--4,
	.ib-hh__can--5 {
		display: none;
	}

	.ib-hh__berg--main {
		bottom: calc(-230px - var(--hh-drop));
		width: 820px;
		margin-left: -410px;
	}

	.ib-hh__can--1 { top: auto; right: auto; left: calc(50% - 65px); bottom: 10px; width: 120px; transform: rotate(-6deg); }
	.ib-hh__can--2 { top: auto; right: 6px; bottom: 90px; width: 130px; transform: rotate(10deg); }
	.ib-hh__can--3 { left: 4px; bottom: 80px; width: 120px; }

	.ib-hh__can {
		filter: drop-shadow(0 16px 16px rgba(11, 40, 80, 0.28));
	}
}

/* ---------- Strength scale ---------- */

.ib-scale {
	position: relative;
	height: 104px;
}

.ib-scale__pin {
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.ib-scale__pill {
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--pin);
	color: #FFFFFF;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.55;
	white-space: nowrap;
}

.ib-scale__stem {
	width: 2px;
	height: 12px;
	background: var(--ib-ink);
}

.ib-scale__pin.is-on {
	top: -6px;
}

.ib-scale__pin.is-on .ib-scale__pill {
	padding: 9px 16px;
	font-weight: 800;
	font-size: 16px;
}

.ib-scale__pin.is-off .ib-scale__pill {
	background: #FFFFFF;
	color: var(--ib-muted);
	box-shadow: inset 0 0 0 1.5px var(--ib-border);
	font-weight: 600;
}

.ib-scale__pin.is-off .ib-scale__stem {
	background: #B8C0C8;
}

.ib-scale__bar {
	position: absolute;
	left: 0;
	right: 0;
	top: 52px;
	height: 12px;
	border-radius: 6px;
	background: var(--ib-scale);
}

.ib-scale__tick {
	position: absolute;
	top: 74px;
	transform: translateX(-50%);
	font-size: 13px;
	color: var(--ib-muted);
}

.ib-scale__unit {
	position: absolute;
	right: 0;
	top: 30px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ib-muted);
}

@media (max-width: 640px) {
	.ib-scale {
		height: 92px;
		margin-inline: 6px;
	}

	.ib-scale__pill,
	.ib-scale__pin.is-on .ib-scale__pill {
		padding: 4px 8px;
		font-size: 12px;
	}

	.ib-scale__pin.is-on {
		top: 0;
	}

	.ib-scale__pin.is-on .ib-scale__pill {
		font-weight: 800;
	}

	.ib-scale--line .ib-scale__pill,
	.ib-scale--line .ib-scale__pin.is-on .ib-scale__pill {
		padding: 4px 6px;
		letter-spacing: -0.01em;
	}

	.ib-scale__stem {
		height: 10px;
	}

	.ib-scale__bar {
		top: 42px;
		height: 10px;
	}

	.ib-scale__tick {
		top: 60px;
		font-size: 12px;
	}

	.ib-scale__tick:not(.is-major),
	.ib-scale__unit {
		display: none;
	}

	.ib-scale__tick.is-start {
		transform: none;
	}

	.ib-scale__tick.is-end {
		left: auto !important;
		right: 0;
		transform: none;
	}

	.ib-scale__tick.is-end::after {
		content: " mg/g";
	}
}

/* ---------- Dots ---------- */

.ib-dots {
	display: inline-flex;
	gap: 5px;
}

.ib-dot {
	box-sizing: border-box;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 1.5px solid currentColor;
}

.ib-dot.is-on {
	background: currentColor;
}

.ib-dot.is-red {
	background: #D42A26;
	border-color: #D42A26;
}

.ib-dots--banner .ib-dot {
	width: 11px;
	height: 11px;
	border-width: 2px;
}

/* ---------- Home: lines by strength ---------- */

.ib-range {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 40px;
}

.ib-range__main {
	flex: 4.2 1 0;
	min-width: min(640px, 100%);
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.ib-range__cards {
	flex-grow: 1;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
	gap: 16px;
}

.ib-range__free {
	flex: 1 1 0;
	min-width: min(200px, 100%);
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 144px;
}

.ib-range__free .ib-lcard {
	flex-grow: 1;
}

.ib-lcard {
	display: flex;
	flex-direction: column;
	min-height: 430px;
	border-radius: 24px;
	overflow: hidden;
	overflow: clip;
	text-decoration: none;
	background: var(--bg);
	color: var(--fg);
	transition: transform 0.2s, box-shadow 0.2s;
}

.ib-lcard:hover {
	color: var(--fg);
	transform: translateY(-3px);
	box-shadow: 0 14px 30px rgba(11, 15, 23, 0.14);
}

.ib-lcard__media {
	position: relative;
	height: 240px;
	display: flex;
	justify-content: center;
}

/* Can cloud: positions come from ib_cloud() for a 240 px box. */
.ib-cloud {
	position: relative;
	flex: none;
	width: 240px;
	height: 240px;
}

.ib-cloud__can {
	position: absolute;
	left: calc(50% + var(--x));
	top: var(--y);
	width: var(--s);
	max-width: none;
	height: var(--s);
	transform: rotate(var(--r));
}

img.ib-cloud__can {
	filter: drop-shadow(0 10px 12px rgba(11, 15, 23, 0.32));
}

span.ib-cloud__can {
	display: grid;
	place-items: center;
}

/* Black cans on a black card: the line's banner glow behind them. */
.ib-lcard--dark .ib-cloud::before {
	content: "";
	position: absolute;
	inset: 6px 0;
	background: radial-gradient(closest-side, var(--glow), transparent);
}

.ib-lcard__body {
	flex-grow: 1;
	padding: 18px 22px 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ib-lcard__title {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ib-lcard__title strong {
	font-weight: 800;
	font-size: 22px;
	line-height: 1.15;
}

/* --soft is 0.9, or 1 where 0.9 would fall below 4.5:1 (ib_card_style()). */
.ib-lcard__title span {
	font-weight: 600;
	font-size: 14px;
	opacity: var(--soft, 1);
}

.ib-lcard__text {
	font-size: 15px;
	line-height: 1.45;
	opacity: var(--soft, 1);
}

.ib-lcard__foot {
	margin-top: auto;
	padding-top: 10px;
	/* Dots always on their own row above "N flavours", whatever the card width or the number of dots. */
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	font-weight: 700;
	font-size: 14px;
}

/* 9 px dots as on the canvas. */
.ib-lcard__foot .ib-dots {
	gap: 3px;
}

.ib-lcard__foot .ib-dot {
	width: 9px;
	height: 9px;
}

.ib-lcard__arrow {
	display: none;
}

@media (max-width: 920px) {
	.ib-range__free {
		padding-top: 0;
	}
}

@media (max-width: 640px) {
	.ib-range,
	.ib-range__main {
		gap: 28px;
	}

	.ib-range__cards,
	.ib-range__free {
		gap: 14px;
	}

	.ib-range__free .ib-lcard {
		flex-grow: 0;
	}

	.ib-lcard {
		flex-direction: row;
		align-items: center;
		gap: 14px;
		min-height: 0;
		padding: 12px 14px;
		border-radius: 20px;
	}

	.ib-lcard__media {
		flex: none;
		width: 104px;
		height: 96px;
		align-items: center;
	}

	/* The 240 px cloud at 110 px; zoom also scales the drawn lids inside. */
	.ib-cloud {
		zoom: 0.46;
	}

	.ib-lcard__body {
		flex: 1;
		padding: 0;
	}

	.ib-lcard__title span {
		opacity: 1;
	}

	.ib-lcard__text,
	.ib-lcard__foot {
		display: none;
	}

	.ib-lcard__arrow {
		display: block;
		font-weight: 700;
	}
}

/* ---------- Home: one brand, the whole range (Range-A.dc.html, decisions 2026-10-30) ---------- */

.ib-shelf-section {
	background: #FFFFFF;
}

.ib-shelf-section__inner {
	padding-block: 110px 100px;
}

.ib-shelf-section .ib-h2 {
	max-width: 14ch;
}

/* As on the canvas: 540 px of text keeps it beside the 14ch headline in the 1200 px row. */
.ib-shelf-section .ib-split-head__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	max-width: 540px;
}

.ib-more a {
	font-weight: 700;
	font-size: 15px;
	color: var(--ib-ink);
	text-decoration: none;
}

.ib-more a:hover {
	color: var(--ib-blue);
}

/* Three steps: ingredients, our facility, your shelf; the shelf gets the most room. */
.ib-path {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.ib-path__step {
	position: relative;
	flex: 1 1 280px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ib-path__step--shelf {
	flex: 1.5 1 400px;
}

.ib-path__art,
.ib-shelf-tile {
	box-sizing: border-box;
	width: 100%;
	height: 300px;
	border-radius: 20px;
	background: radial-gradient(120% 70% at 50% 0%, #FFFFFF 0%, rgba(255, 255, 255, 0) 70%), #E3EDF6;
}

.ib-path__art {
	object-fit: contain;
}

/* An arrow from each step to the next, while the steps sit in one row. */
.ib-path__step:not(:last-child)::after {
	content: "→";
	content: "→" / "";
	position: absolute;
	z-index: 2;
	top: 128px;
	right: -34px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #FFFFFF;
	box-shadow: 0 0 0 1px #DADDE1, 0 6px 14px rgba(11, 15, 23, 0.08);
	display: grid;
	place-items: center;
	font-weight: 700;
	font-size: 18px;
	color: var(--ib-ink);
}

.ib-path__num {
	margin-top: 6px;
	font-weight: 800;
	color: var(--ib-blue);
}

.ib-path__title {
	font-weight: 800;
	font-size: 21px;
}

.ib-path__step p:last-child {
	font-size: 15px;
	color: var(--ib-muted);
}

/* The shelf: one row per line, cans in colour order, as many as fit, fading out. */
.ib-shelf-tile {
	padding: 18px;
	display: flex;
	align-items: center;
}

.ib-shelf {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	padding: 8px 14px;
	border-radius: 14px;
	background: #FFFFFF;
	box-shadow: 0 10px 24px rgba(11, 40, 80, 0.1);
}

.ib-shelf__row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px 0 5px;
	border-bottom: 3px solid #E3E7EC;
}

.ib-shelf__line {
	flex: none;
	box-sizing: border-box;
	width: 104px;
	padding: 5px 0;
	border-radius: 999px;
	background: var(--bg);
	color: var(--fg);
	font-weight: 700;
	font-size: 12px;
	line-height: 1.3;
	text-align: center;
	white-space: nowrap;
}

.ib-shelf__cans {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	gap: 6px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, #000000 80%, transparent);
	mask-image: linear-gradient(90deg, #000000 80%, transparent);
}

/* A render leaves a sixth of its width empty on each side, so 60 px draws a 40 px can. */
.ib-shelf__can {
	flex: none;
	width: 60px;
	max-width: none;
	height: auto;
	margin: -10px -10px;
	filter: drop-shadow(0 3px 4px rgba(11, 15, 23, 0.22));
}

.ib-shelf__lid {
	flex: none;
	width: 40px;
	height: 40px;
}

.ib-shelf__count {
	flex: none;
	min-width: 58px;
	font-weight: 700;
	font-size: 13px;
	color: var(--ib-muted);
	text-align: right;
	white-space: nowrap;
}

.ib-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 8px 32px;
	margin-top: 56px;
}

.ib-stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: 16px;
	border-top: 1px solid #DADDE1;
}

.ib-stat__num {
	font-weight: 800;
	font-size: 56px;
	line-height: 1;
	letter-spacing: -0.03em;
}

.ib-stat__label {
	font-weight: 700;
	font-size: 17px;
}

.ib-stat p:last-child {
	font-size: 15px;
	color: var(--ib-muted);
}

@media (max-width: 1099px) {
	.ib-path__step:not(:last-child)::after {
		display: none;
	}
}

/* Phones: the first two steps side by side, the shelf under them, the three figures in one row. */
@media (max-width: 560px) {
	.ib-path {
		gap: 16px;
	}

	.ib-path__step {
		flex-basis: 140px;
	}

	.ib-path__art {
		height: 200px;
	}

	.ib-shelf-tile {
		height: auto;
		padding: 14px;
	}

	.ib-path__step p:last-child {
		font-size: 14px;
	}

	.ib-shelf__line {
		width: 88px;
		font-size: 11px;
	}

	.ib-shelf__count,
	.ib-stat p:last-child {
		display: none;
	}

	/* One row with a column per figure, however many there are. */
	.ib-stats {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: minmax(0, 1fr);
		gap: 0 12px;
	}

	.ib-stat__num {
		font-size: 40px;
	}

	.ib-stat__label {
		font-size: 14px;
	}
}

/* ---------- Home: for distributors ---------- */

.ib-band {
	background: #0B0F17;
	color: #FFFFFF;
}

.ib-band__inner {
	padding-block: 120px;
}

.ib-band .ib-split-head {
	margin-bottom: 56px;
}

.ib-band .ib-h2 {
	max-width: 12ch;
}

.ib-band .ib-eyebrow {
	color: #8CC8F5;
}

.ib-band .ib-split-head__text {
	color: #B6C3D1;
}

.ib-benefits {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: 1px;
	border-radius: 20px;
	overflow: hidden;
	overflow: clip;
	background: #232B38;
}

.ib-benefits--four {
	grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr));
}

.ib-benefit {
	padding: 30px 28px 34px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #111723;
}

.ib-benefit::before {
	content: "";
	width: 28px;
	height: 4px;
	border-radius: 2px;
	background: var(--ib-blue);
}

.ib-benefit h3 {
	font-weight: 700;
	font-size: 21px;
}

.ib-benefit p {
	font-size: 15px;
	color: #B6C3D1;
}

/* ---------- Home: closing call to action ---------- */

.ib-cta-band {
	position: relative;
	overflow: hidden;
	overflow: clip;
	background: linear-gradient(180deg, #0B1322 0%, #05070A 100%);
	color: #FFFFFF;
}

.ib-cta-band__berg {
	position: absolute;
	right: -30px;
	bottom: -40px;
	width: min(560px, 60%);
	opacity: 0.95;
}

.ib-cta-band__inner {
	position: relative;
	padding-block: 120px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
}

.ib-cta-band__inner h2 {
	max-width: 12ch;
	font-size: clamp(40px, 5.2vw, 76px);
	line-height: 0.98;
	letter-spacing: -0.03em;
}

.ib-cta-band__inner p {
	max-width: 42ch;
	font-size: 19px;
	color: var(--ib-hero-body);
}

.ib-cta-band--flip .ib-cta-band__berg {
	right: auto;
	left: -30px;
}

.ib-cta-band--flip .ib-cta-band__inner > * {
	width: min(560px, 100%);
	max-width: none;
	margin-left: auto;
}

/* Home on phones follows Home-Mobile. */
@media (max-width: 760px) {
	.ib-section {
		padding-block: 56px 64px;
	}

	.ib-split-head {
		margin-bottom: 22px;
	}

	.ib-home-range .ib-h2 {
		max-width: none;
		font-size: 34px;
		line-height: 1.02;
	}

	.ib-home-range .ib-split-head__text,
	.ib-band .ib-split-head__text {
		font-size: 16px;
	}

	.ib-shelf-section__inner {
		padding-block: 56px 64px;
	}

	.ib-shelf-section .ib-h2 {
		max-width: none;
		font-size: 34px;
		line-height: 1.02;
	}

	.ib-shelf-section .ib-split-head__text {
		font-size: 17px;
	}

	.ib-stats {
		margin-top: 40px;
	}

	.ib-band__inner {
		padding-block: 56px;
	}

	.ib-band .ib-split-head {
		margin-bottom: 20px;
	}

	.ib-band .ib-h2 {
		font-size: 34px;
		line-height: 1.02;
	}

	.ib-benefit::before {
		display: none;
	}

	.ib-benefits {
		border-radius: 18px;
	}

	.ib-benefit {
		padding: 18px;
		gap: 2px;
	}

	.ib-benefit h3 {
		font-size: 18px;
	}

	.ib-cta-band__inner {
		padding-block: 56px 180px;
		align-items: stretch;
		gap: 16px;
	}

	.ib-cta-band__inner h2 {
		font-size: 38px;
		line-height: 1;
	}

	.ib-cta-band__inner p {
		display: none;
	}

	.ib-cta-band__inner .wp-block-button,
	.ib-cta-band__inner .wp-block-button__link {
		width: 100%;
	}

	.ib-cta-band__inner .wp-block-button__link {
		height: 54px;
	}

	.ib-cta-band__berg {
		right: -40px;
		bottom: -30px;
		width: 300px;
	}

	.ib-cta-band--flip .ib-cta-band__berg {
		right: auto;
		left: -40px;
	}
}

/* ---------- Products ---------- */

.ib-products-section {
	padding-block: 72px 96px;
}

.ib-products {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ib-products > .ib-scale {
	margin-bottom: 24px;
}

.ib-products__free {
	margin: 40px 0 4px !important;
	font-size: 26px;
	line-height: 1.1;
}

.ib-prow {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px 32px;
	padding: 12px;
	border-radius: 24px;
	background: #FFFFFF;
	color: var(--ib-ink);
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(11, 15, 23, 0.06);
	transition: box-shadow 0.2s;
}

.ib-prow:hover {
	color: var(--ib-ink);
	box-shadow: 0 14px 30px rgba(11, 15, 23, 0.1);
}

.ib-prow__media {
	flex: 0 0 220px;
	max-width: 100%;
	height: 200px;
	border-radius: 16px;
	display: grid;
	place-items: center;
	overflow: hidden;
	overflow: clip;
}

.ib-prow__media img {
	display: block;
	width: 210px;
	filter: drop-shadow(0 12px 14px rgba(11, 15, 23, 0.22));
}

.ib-prow__body {
	flex: 1 1 280px;
	min-width: 0;
	padding: 12px 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
}

.ib-prow__title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
}

.ib-prow__title strong {
	font-weight: 800;
	font-size: 32px;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.ib-pill {
	padding: 4px 10px;
	border-radius: 999px;
	color: #FFFFFF;
	font-weight: 700;
	font-size: 14px;
	white-space: nowrap;
}

.ib-prow__body p {
	max-width: 40ch;
	font-size: 16px;
	color: var(--ib-body);
}

.ib-prow__more {
	margin-top: 2px;
	font-weight: 700;
	font-size: 15px;
}

.ib-prow:hover .ib-prow__more {
	color: var(--ib-blue);
}

.ib-prow__specs {
	flex: 0 1 400px;
	padding: 12px 16px 12px 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 20px;
	align-content: center;
}

.ib-prow__specs > div {
	padding: 10px 0;
	border-top: 1px solid var(--ib-hair);
}

.ib-prow__specs dt {
	font-size: 12px;
	color: var(--ib-muted);
}

.ib-prow__specs dd {
	margin-top: 2px;
	font-weight: 700;
	font-size: 16px;
}

@media (max-width: 640px) {
	.ib-prow__media {
		flex-basis: 100%;
	}

	.ib-prow__body {
		padding: 4px 6px 0;
	}

	.ib-prow__title strong {
		font-size: 28px;
	}

	.ib-prow__specs {
		flex-basis: 100%;
		padding: 0 6px 4px;
		column-gap: 14px;
	}
}

/* ---------- Call-to-action card (Products, line pages) ---------- */

.ib-cta-section {
	padding-bottom: 96px;
}

.ib-cta-section--last {
	padding-bottom: 110px;
}

.ib-cta-card {
	box-sizing: border-box;
	border-radius: 28px;
	padding: clamp(32px, 5vw, 64px);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 28px;
	background: linear-gradient(180deg, #0B1322 0%, #05070A 100%);
	color: #FFFFFF;
}

.ib-cta-card__text {
	max-width: 44ch;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ib-cta-card h2 {
	font-size: clamp(30px, 3.4vw, 46px);
	line-height: 1.05;
	letter-spacing: -0.025em;
}

.ib-cta-card p {
	font-size: 18px;
	color: var(--ib-hero-body);
}

@media (max-width: 640px) {
	.ib-cta-card .ib-btn,
	.ib-cta-card .wp-block-buttons,
	.ib-cta-card .wp-block-button,
	.ib-cta-card .wp-block-button__link {
		width: 100%;
	}

	.ib-cta-card :is(a.ib-btn, .wp-block-button__link) {
		white-space: normal;
		text-align: center;
	}
}

/* ---------- Line page: banner ---------- */

.ib-banner {
	position: relative;
	overflow: hidden;
	overflow: clip;
	color: #FFFFFF;
	background: radial-gradient(55% 75% at 76% 42%, var(--glow), transparent 70%), var(--ib-dark);
	clip-path: polygon(0 0, 100% 0, 100% 91%, 87% 100%, 70% 94%, 52% 100%, 33% 95%, 15% 100%, 0 94%);
}

.ib-banner__grid {
	box-sizing: border-box;
	max-width: 1280px;
	margin: 0 auto;
	padding: 24px var(--ib-gutter) 120px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr));
	align-items: center;
	gap: 24px;
}

.ib-banner__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
}

.ib-banner h1 {
	font-size: clamp(56px, 7.6vw, 110px);
	line-height: 0.9;
	letter-spacing: -0.035em;
}

.ib-banner__strength {
	display: flex;
	align-items: center;
	gap: 14px;
	font-weight: 700;
	font-size: 20px;
}

.ib-banner__lead {
	max-width: 36ch;
	font-size: 21px;
	line-height: 1.45;
	color: var(--ib-hero-body);
}

.ib-banner .ib-btn {
	margin-top: 6px;
}

.ib-banner__cans {
	position: relative;
	height: 470px;
}

.ib-banner__can {
	position: absolute;
	max-width: none;
	filter: drop-shadow(0 30px 30px rgba(5, 20, 60, 0.45));
}

.ib-banner__can--1 { left: 2%; top: 26%; width: 46%; transform: rotate(-16deg); }
.ib-banner__can--2 { right: 0; top: 30%; width: 46%; transform: rotate(16deg); }
.ib-banner__can--3 { left: 25%; top: 4%; width: 52%; z-index: 2; transform: rotate(4deg); }

.ib-banner__nocans {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	box-sizing: border-box;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	border: 2px dashed rgba(255, 255, 255, 0.45);
	display: grid;
	place-items: center;
	text-align: center;
	color: var(--ib-hero-body);
	font-weight: 600;
}

@media (max-width: 760px) {
	.ib-banner {
		clip-path: polygon(0 0, 100% 0, 100% 96%, 87% 100%, 70% 97%, 52% 100%, 33% 97.5%, 15% 100%, 0 97%);
	}

	.ib-banner__grid {
		padding-top: 20px;
		padding-bottom: 72px;
	}

	.ib-banner__lead {
		font-size: 18px;
	}

	.ib-banner .ib-btn {
		align-self: stretch;
		white-space: normal;
		text-align: center;
	}

	.ib-banner__cans {
		height: 320px;
	}
}

/* ---------- Line page: about and specs ---------- */

.ib-about {
	padding-block: 72px 96px;
	display: flex;
	flex-direction: column;
	gap: 56px;
}

.ib-about__cols {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 40px 72px;
}

.ib-about__text {
	flex: 1 1 480px;
	min-width: 0;
	max-width: 62ch;
	display: flex;
	flex-direction: column;
	gap: 18px;
	font-size: 19px;
	line-height: 1.6;
}

.ib-about__text h2 {
	font-size: 40px;
	line-height: 1.05;
	letter-spacing: -0.025em;
}

.ib-about__warning {
	padding: 14px 18px;
	border: 1px solid var(--ib-border);
	border-radius: 14px;
	background: #FFFFFF;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ib-body);
}

.ib-about__figures {
	flex: 1 1 320px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

/* Three rows of two (decisions 2026-11-02); the first row sits on its baseline with the big figure, without a rule above it. */
.ib-specs {
	max-width: 440px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 24px;
	align-items: end;
}

.ib-specs > div {
	padding: 12px 0;
	border-top: 1px solid var(--ib-border);
}

.ib-specs > div:nth-child(-n + 2) {
	padding-top: 0;
	border-top: 0;
}

.ib-specs .ib-specs__big dd {
	align-items: baseline;
	gap: 6px;
	white-space: nowrap;
}

.ib-specs__big strong {
	font-weight: 800;
	font-size: 48px;
	line-height: 1;
	letter-spacing: -0.03em;
}

.ib-specs dt {
	font-size: 13px;
	color: var(--ib-muted);
}

.ib-specs dd {
	margin-top: 2px;
	display: flex;
	align-items: center;
	gap: 14px;
	font-weight: 700;
	font-size: 18px;
}

.ib-specs dd img {
	display: block;
	width: auto;
	height: 28px;
}

.ib-specs dd {
	min-height: 28px;
}

@media (max-width: 760px) {
	.ib-about {
		padding-block: 48px 72px;
		gap: 40px;
	}

	.ib-about__text {
		font-size: 17px;
	}

	.ib-about__text h2 {
		font-size: 32px;
	}

	.ib-specs__big--pair strong {
		font-size: min(48px, 8.4vw);
	}
}

/* ---------- Line page: flavours ---------- */

.ib-flavours {
	padding-bottom: 96px;
}

.ib-flavours h2 {
	margin-bottom: 40px;
	font-size: clamp(32px, 4.2vw, 56px);
	line-height: 1;
	letter-spacing: -0.03em;
}

/* No cards: the cans stand on the page with their names under them (decisions 2026-10-30). */
.ib-fgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(clamp(96px, 24vw, 150px), 1fr));
	gap: 36px 24px;
}

.ib-fcard {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}

.ib-fcard__media {
	width: 100%;
	display: flex;
	justify-content: center;
}

/* A render leaves about a sixth of its width empty on each side of the can, so it is drawn wider than the cell. */
.ib-fcard__media img {
	flex: none;
	width: 124%;
	max-width: none;
	height: auto;
	margin: -14% -12% -12%;
	filter: drop-shadow(0 12px 14px rgba(11, 15, 23, 0.22));
}

.ib-fcard__lid {
	margin: 6px 0;
}

.ib-fcard__none {
	box-sizing: border-box;
	width: 124px;
	height: 124px;
	border: 2px dashed #8A6A45;
	border-radius: 50%;
	display: grid;
	place-items: center;
	text-align: center;
	color: #5C4630;
	font-weight: 600;
	font-size: 12px;
	line-height: 1.3;
}

.ib-fcard p {
	font-weight: 700;
	font-size: 15px;
	line-height: 1.25;
	text-wrap: balance;
}

.ib-fcard span {
	margin-top: -6px;
	font-size: 13px;
	line-height: 1.35;
	color: var(--ib-muted);
	text-wrap: balance;
}

/* Phones: three cans in a row. */
@media (max-width: 600px) {
	.ib-fgrid {
		gap: 28px 16px;
	}

	.ib-fcard p {
		font-size: 14px;
	}

	.ib-fcard span {
		font-size: 12px;
	}

	.ib-fcard__lid {
		zoom: 0.66;
	}

	.ib-fcard__none {
		width: 84px;
		height: 84px;
	}
}

/* ---------- Line page: other lines ---------- */

.ib-others {
	padding-bottom: 110px;
}

.ib-others__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px 24px;
	margin-bottom: 20px;
}

.ib-others__head h2 {
	font-weight: 700;
	font-size: 26px;
}

.ib-others__head a {
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
}

.ib-others__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: 14px;
}

.ib-ocard {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 18px;
	border-radius: 20px;
	background: var(--bg);
	color: var(--fg);
	text-decoration: none;
	transition: transform 0.2s, box-shadow 0.2s;
}

.ib-ocard:hover {
	color: var(--fg);
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(11, 15, 23, 0.12);
}

.ib-ocard__media {
	flex: none;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 72px;
	height: 72px;
}

.ib-ocard__media img {
	display: block;
	flex: none; /* Wider than the 72 px box on purpose; without this the can was squeezed to 72 × 92. */
	width: 92px;
	max-width: none;
	height: 92px;
}

.ib-ocard__text strong {
	display: block;
	font-weight: 800;
	font-size: 22px;
}

.ib-ocard__text span {
	font-size: 14px;
	opacity: var(--soft, 1); /* ib_card_style(): 0.9 where it keeps 4.5:1. */
}

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

.ib-stages-section {
	padding-top: 96px;
}

.ib-stages-section .ib-split-head {
	gap: 20px 64px;
	margin-bottom: 40px;
}

.ib-stages-section .ib-h2 {
	max-width: 12ch;
}

.ib-stages {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
	gap: 16px;
}

.ib-stage {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Drawings until the stage photos are shot; a photo in their place keeps the 4:5 tile. */
.ib-stage__art {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 20px;
	background: radial-gradient(120% 70% at 50% 0%, #FFFFFF 0%, rgba(255, 255, 255, 0) 70%), #E3EDF6;
}

.ib-stage .wp-block-image {
	margin: 0;
}

.ib-stage .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 20px;
}

.ib-stage__num {
	font-weight: 800;
	color: var(--ib-blue);
}

.ib-stage h3 {
	font-size: 21px;
}

.ib-stage__text {
	font-size: 15px;
	color: var(--ib-muted);
}

.ib-formats-section {
	padding-block: 96px 110px;
}

.ib-formats-section h2 {
	margin-bottom: 32px;
	font-size: clamp(32px, 3.6vw, 48px);
	line-height: 1;
	letter-spacing: -0.025em;
}

.ib-formats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 16px;
}

.ib-format {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 28px;
	border-radius: 22px;
	background: #FFFFFF;
}

.ib-format img {
	flex: none;
	width: auto;
	height: 90px;
}

.ib-format strong {
	display: block;
	font-weight: 800;
	font-size: 24px;
}

.ib-format span {
	display: block;
	font-size: 15px;
	color: var(--ib-muted);
}

.ib-format .ib-format__size {
	margin-block: 2px 4px;
	font-weight: 700;
	color: var(--ib-ink);
}

@media (max-width: 760px) {
	.ib-stages-section {
		padding-top: 56px;
	}

	.ib-stages {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 12px;
	}

	.ib-formats-section {
		padding-block: 64px 72px;
	}

	/* A smaller pictogram leaves the name and size room for one line each. */
	.ib-format {
		gap: 18px;
		padding: 20px;
	}

	.ib-format img {
		height: 56px;
	}

	.ib-format .ib-format__size {
		white-space: nowrap;
	}
}

/* ---------- Contacts ---------- */

.ib-contact {
	padding-block: 56px 110px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 56px;
}

.ib-contact__aside {
	flex: 1 1 340px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.ib-contact__aside h2 {
	font-size: 24px;
	line-height: 1.15;
}

.ib-contact__items {
	display: flex;
	flex-direction: column;
	gap: 14px;
	font-size: 16px;
}

.ib-contact__label {
	font-weight: 600;
	font-size: 13px;
	color: var(--ib-muted);
}

.ib-contact__value {
	font-weight: 700;
}

.ib-contact__value a {
	text-decoration: none;
}

.ib-form {
	box-sizing: border-box;
	flex: 999 1 560px;
	min-width: 0;
	padding: clamp(22px, 3.4vw, 44px);
	border-radius: 28px;
	background: #FFFFFF;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ib-form__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 18px;
}

.ib-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ib-field label {
	font-weight: 600;
	font-size: 15px;
}

.ib-field__opt {
	font-weight: 400;
	color: var(--ib-muted);
}

.ib-field input,
.ib-field select {
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	padding: 0 16px;
	border: 0;
	border-radius: 12px;
	background: var(--ib-page);
	box-shadow: inset 0 0 0 1.5px var(--ib-border);
	font: inherit;
	font-size: 16px;
	color: var(--ib-ink);
}

.ib-field select {
	padding: 0 14px;
}

.ib-field input:focus,
.ib-field select:focus {
	outline: none;
	box-shadow: inset 0 0 0 2px var(--ib-blue);
}

/* Country search (site.js, countrySearch): a text box over the hidden select, its list under it. */
.ib-combo {
	position: relative;
}

.ib-field .ib-combo input {
	padding-right: 44px;
	background: var(--ib-page) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat right 16px center;
	text-overflow: ellipsis;
}

.ib-combo__list {
	position: absolute;
	z-index: 20;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	max-height: 288px;
	margin: 0;
	padding: 6px;
	overflow-y: auto;
	overscroll-behavior: contain;
	list-style: none;
	border-radius: 12px;
	background: #FFFFFF;
	box-shadow: 0 0 0 1px var(--ib-border), 0 12px 32px rgba(11, 15, 23, 0.14);
}

.ib-combo__list li {
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 16px;
	line-height: 1.3;
	cursor: pointer;
}

.ib-combo__list li[hidden] {
	display: none;
}

.ib-combo__list li:hover,
.ib-combo__list li.is-active {
	background: var(--ib-page);
}

.ib-vat {
	display: flex;
	overflow: hidden;
	overflow: clip;
	border-radius: 12px;
	background: var(--ib-page);
	box-shadow: inset 0 0 0 1.5px var(--ib-border);
}

.ib-vat span {
	min-width: 56px;
	padding: 0 10px;
	display: grid;
	place-items: center;
	background: var(--ib-ink);
	color: #FFFFFF;
	font-weight: 700;
	font-size: 15px;
}

.ib-field .ib-vat input {
	flex: 1;
	min-width: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.ib-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	color: var(--ib-body);
}

.ib-form__consent input {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--ib-ink);
}

.ib-form__foot {
	margin-top: 4px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	color: var(--ib-muted);
}

.ib-form__foot .ib-btn {
	padding: 0 34px;
}

.ib-form__foot .ib-btn[disabled] {
	opacity: 0.6;
	cursor: progress;
}

.ib-vat span[hidden] {
	display: none;
}

/* Mistakes, shown by site.js next to their fields. */
.ib-field.is-invalid input,
.ib-field.is-invalid select,
.ib-field.is-invalid .ib-vat {
	box-shadow: inset 0 0 0 2px #C42420;
}

.ib-field.is-invalid .ib-vat input {
	box-shadow: none;
}

.ib-field__error {
	font-size: 14px;
	font-weight: 600;
	color: #B3201C;
}

.ib-form__check {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ib-form__check.is-invalid .ib-form__consent input {
	outline: 2px solid #C42420;
	outline-offset: 1px;
}

.ib-form__notice {
	padding: 14px 18px;
	border-radius: 12px;
	background: #FCEBEA;
	color: #8E1916;
	font-weight: 600;
	font-size: 15px;
}

.ib-form__notice:focus {
	outline: none;
}

.ib-form__notice[hidden] {
	display: none;
}

/* The field bots fill in and people never see. */
.ib-form__hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ib-form--done {
	align-items: flex-start;
	gap: 14px;
}

.ib-form--done:focus {
	outline: none;
}

.ib-form--done h2 {
	font-size: clamp(24px, 3vw, 30px);
	line-height: 1.15;
}

.ib-form--done p {
	max-width: 46ch;
	font-size: 17px;
	color: var(--ib-body);
}

.ib-form--done .ib-btn {
	margin-top: 8px;
}

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

.ib-footer {
	background: #0B0F17;
	color: #B6C3D1;
	font-size: 15px;
	line-height: 1.55;
}

.ib-footer__inner {
	box-sizing: border-box;
	max-width: 1280px;
	margin: 0 auto;
	padding: 64px var(--ib-gutter) 32px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.ib-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
	gap: 32px;
}

.ib-footer__col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.ib-footer__company {
	gap: 16px;
}

.ib-footer a {
	color: #B6C3D1;
	text-decoration: none;
}

.ib-footer a:hover {
	color: #FFFFFF;
}

.ib-footer .ib-footer__head,
.ib-footer a.ib-footer__head {
	color: #FFFFFF;
	font-weight: 700;
}

.ib-footer .ib-logo--footer {
	width: 150px;
	color: #FFFFFF;
}

.ib-footer__warning {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 18px;
	border: 1px solid #2A3442;
	border-radius: 14px;
	color: #FFFFFF;
	font-weight: 500;
	font-size: 14px;
}

.ib-footer__age {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #FFFFFF;
}

.ib-footer__age img {
	width: 30px;
	height: 30px;
}

.ib-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	padding-top: 20px;
	border-top: 1px solid #1E2733;
	font-size: 13px;
	color: #8492A3;
}

.ib-footer__legal a {
	color: #8492A3;
}

/* ---------- Cookie banner (inc/consent.php, assets/js/consent.js) ---------- */

/* A card in the bottom corner that leaves the page usable; Reject and Accept are the same size. */
.ib-consent {
	position: fixed;
	z-index: 1000;
	left: 24px;
	bottom: 24px;
	box-sizing: border-box;
	width: min(440px, calc(100% - 48px));
	padding: 22px 22px 20px;
	border-radius: 18px;
	background: var(--ib-ink);
	color: #FFFFFF;
	box-shadow: 0 0 0 1px #1E2733, 0 18px 48px rgba(0, 0, 0, 0.35);
}

.ib-consent[hidden] {
	display: none;
}

.ib-consent__title {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.ib-consent__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #C5CDD8;
}

.ib-consent__text a {
	color: #FFFFFF;
}

.ib-consent__buttons {
	margin-top: 16px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.ib-consent__btn {
	height: 46px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	box-shadow: inset 0 0 0 2px #FFFFFF;
	color: #FFFFFF;
	font: inherit;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s;
}

.ib-consent__btn:hover {
	background: rgba(255, 255, 255, 0.12);
}

.ib-consent__btn--accept,
.ib-consent__btn--accept:hover {
	background: #FFFFFF;
	color: var(--ib-ink);
}

.ib-consent__btn--accept:hover {
	background: #DCE6F7;
}

.ib-consent__btn:focus-visible {
	outline: 2px solid #7FA8F5;
	outline-offset: 3px;
}

@media (max-width: 600px) {
	.ib-consent {
		left: 12px;
		bottom: 12px;
		width: calc(100% - 24px);
		padding: 18px 18px 16px;
	}
}

/* ---------- Plain pages (privacy policy and the like) ---------- */

.ib-prose {
	box-sizing: border-box;
	max-width: calc(760px + 2 * var(--ib-gutter));
	margin-inline: auto;
	padding: 64px var(--ib-gutter) 96px;
	font-size: 17px;
	line-height: 1.65;
	color: var(--ib-body);
}

.ib-prose :where(p, ul, ol) {
	margin: 0 0 1.1em;
}

.ib-prose :where(h2, h3) {
	margin: 1.6em 0 0.6em;
	color: var(--ib-ink);
	line-height: 1.2;
}

.ib-prose h2 {
	font-size: 28px;
}

.ib-prose h3 {
	font-size: 21px;
}

.ib-prose a {
	color: var(--ib-blue);
}

.ib-prose__date {
	font-size: 15px;
	color: var(--ib-muted);
}

/* Cookie tables in the Cookie policy: white, a scroll box on narrow screens. */
.ib-prose .wp-block-table {
	margin: 0 0 1.4em;
	overflow-x: auto;
	border-radius: 14px;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1px var(--ib-border);
}

.ib-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.ib-prose :where(th, td) {
	padding: 12px 16px;
	text-align: left;
	vertical-align: top;
}

.ib-prose th {
	font-size: 13px;
	font-weight: 600;
	color: var(--ib-muted);
}

.ib-prose td {
	border-top: 1px solid var(--ib-border);
}

/* ---------- Energy Pouches lid (port of EnergyLid.dc.html) ---------- */

.ib-lid {
	position: relative;
	flex: none;
	width: var(--lid-size);
	height: var(--lid-size);
	border-radius: 50%;
	background: var(--lid-body);
	box-shadow: 0 10px 14px rgba(11, 15, 23, 0.22), inset 0 -3px 6px rgba(0, 0, 0, 0.18);
	line-height: 1;
}

.ib-lid__clip {
	position: absolute;
	left: var(--lid-ring);
	top: var(--lid-ring);
	width: var(--lid-inner);
	height: var(--lid-inner);
	overflow: hidden;
	overflow: clip;
	border-radius: 50%;
}

.ib-lid__face {
	position: absolute;
	left: 0;
	top: 0;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	background: var(--lid-rim);
	transform: scale(var(--lid-scale));
	transform-origin: 0 0;
}

.ib-lid__base {
	position: absolute;
	left: 12px;
	top: 12px;
	width: 476px;
	height: 476px;
	overflow: hidden;
	overflow: clip;
	border-radius: 50%;
	background: var(--lid-base);
}

.ib-lid__bear {
	position: absolute;
	left: 226px;
	top: 252px;
	width: 300px;
	height: 225px;
	background: var(--lid-bear);
	-webkit-mask: url(../img/energy-bear-dark.svg) center / contain no-repeat;
	mask: url(../img/energy-bear-dark.svg) center / contain no-repeat;
}

.ib-lid__bear.is-light {
	-webkit-mask-image: url(../img/energy-bear-light.svg);
	mask-image: url(../img/energy-bear-light.svg);
}

.ib-lid__brand {
	position: absolute;
	left: 0;
	top: 42px;
	width: 476px;
	text-align: center;
	font-family: 'Barlow Semi Condensed', sans-serif;
	font-weight: 800;
	font-size: 19px;
	letter-spacing: 0.18em;
	color: var(--lid-text);
}

.ib-lid__logo {
	position: absolute;
	left: 108px;
	top: 70px;
	width: 260px;
	height: 53px;
	background: var(--lid-logo);
	-webkit-mask: url(../img/energy-logo.svg) center / contain no-repeat;
	mask: url(../img/energy-logo.svg) center / contain no-repeat;
}

.ib-lid__name {
	position: absolute;
	left: 54px;
	top: var(--lid-top);
	width: 380px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 900;
	font-size: var(--lid-big);
	line-height: 0.88;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--lid-name);
}

.ib-lid__dose {
	position: absolute;
	left: 56px;
	top: 264px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	color: var(--lid-text);
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 900;
}

.ib-lid__dots {
	display: flex;
	gap: 4px;
	color: var(--lid-dot);
}

.ib-lid__dots i {
	box-sizing: border-box;
	width: 15px;
	height: 15px;
	border: 2px solid currentColor;
	border-radius: 50%;
}

.ib-lid__dots i.is-on {
	background: currentColor;
}

.ib-lid__mg {
	display: flex;
	align-items: baseline;
	gap: 5px;
}

.ib-lid__mg b {
	font-weight: 900;
	font-size: 44px;
	line-height: 0.88;
}

.ib-lid__mg small {
	font-size: 24px;
}

.ib-lid__caf {
	margin-top: -8px;
	font-size: 24px;
	letter-spacing: 0.03em;
}

.ib-lid__per {
	margin-top: -4px;
	font-family: 'Barlow Semi Condensed', sans-serif;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.12em;
	opacity: 0.85;
}

.ib-lid__free {
	position: absolute;
	left: 0;
	top: 428px;
	width: 476px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	font-family: 'Barlow Semi Condensed', sans-serif;
	font-weight: 800;
	font-size: 16px;
	letter-spacing: 0.08em;
	color: var(--lid-text);
}

.ib-lid__shine {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.22), transparent 55%);
}

/* Editor previews of the dynamic blocks. */
.ib-editor-preview {
	pointer-events: none;
}
