/**
 * Vanergy Kombucha: brand page, flavors list and flavor pages.
 *
 * A world of its own inside the De Williams site:
 * - warm tea-paper surfaces instead of the corporate greys;
 * - the arch (a bottle shoulder, a shop window) as the shape of every
 *   bottle tile, used nowhere else on the site;
 * - each flavor's own colour (--dw-flavor, set inline from its "Accent
 *   Colour") filling its tile and its page hero. Text on that colour uses
 *   dark or white ink, chosen in PHP for contrast (dewilliams_vanergy_ink);
 * - one motion: slow bubbles rising in the flavor hero.
 */

.dw-vanergy {
	--vn-paper: #f6f1e8;
	--vn-paper-deep: #ece4d6;
	--vn-ink: var(--dw-color-heading);
	--vn-line: rgba(31, 36, 44, 0.14);
	--vn-arch: 999px 999px 18px 18px;
	--dw-flavor-fallback: var(--vn-paper-deep);
}

.dw-vn-title {
	margin: 0;
	font-size: clamp(1.875rem, 1.3rem + 2.2vw, 3rem);
	line-height: 1.05;
}

.dw-vn-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--dw-space-3) var(--dw-space-5);
	margin-block-end: clamp(2rem, 1.5rem + 2vw, 3rem);
}

/* ------------------------------------------------------------ Brand / list hero */
.dw-vn-hero {
	overflow: hidden;
	background: var(--vn-paper);
}

.dw-vn-hero__inner {
	display: grid;
	gap: var(--dw-space-7);
	align-items: end;
	padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(3rem, 2rem + 4vw, 5.5rem);
}

@media (min-width: 960px) {
	.dw-vn-hero.has-lineup .dw-vn-hero__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
		gap: clamp(2rem, 4vw, 4rem);
	}
}

.dw-vn-hero .dw-breadcrumbs {
	margin-block-end: var(--dw-space-5);
}

.dw-vn-hero .dw-breadcrumbs ol,
.dw-fl-hero .dw-breadcrumbs ol {
	font-size: var(--dw-fs-xs);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.dw-vn-hero .dw-breadcrumbs ol {
	color: rgba(31, 36, 44, 0.72);
}

.dw-vn-hero .dw-breadcrumbs a:hover,
.dw-vn-hero .dw-breadcrumbs [aria-current="page"] {
	color: var(--vn-ink);
}

.dw-vn-hero__title {
	max-width: 12ch;
	margin: 0;
	/* Sized so the longest word of the brand name fits its column; words never break. */
	font-size: min(clamp(2.5rem, 1.4rem + 4vw, 5rem), 12svh);
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.dw-vn-hero--compact .dw-vn-hero__title {
	font-size: clamp(2.5rem, 1.6rem + 4vw, 4.5rem);
}

.dw-vn-hero__lead {
	max-width: 42ch;
	margin: var(--dw-space-5) 0 0;
	color: var(--vn-ink);
	font-size: var(--dw-fs-lg);
	line-height: 1.5;
}

.dw-vn-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--dw-space-4) var(--dw-space-6);
	margin-block-start: var(--dw-space-6);
}

/* The line-up: each flavor's bottle in an arch of its colour, stepped. */
.dw-vn-lineup {
	display: flex;
	align-items: flex-end;
	gap: clamp(0.5rem, 1.2vw, 1rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.dw-vn-lineup__item {
	flex: 1 1 0;
	min-width: 0;
}

.dw-vn-lineup__item a {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	overflow: hidden;
	/* Steps up to the middle and back down: 72%, 86%, 100%, 86%, 72%. */
	height: calc(min(56svh, 460px) * (1 - (0.14 * abs(var(--dw-i) - 2))));
	padding: 18% 8% 6%;
	border-radius: var(--vn-arch);
	background: var(--dw-flavor, var(--dw-flavor-fallback));
	transition: transform 0.5s var(--dw-ease-out);
}

/* Fallback where abs() is not supported: equal heights. */
@supports not (height: calc(1px * abs(-1))) {
	.dw-vn-lineup__item a {
		height: min(52svh, 420px);
	}
}

.dw-vanergy .dw-vn-lineup__item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: bottom;
	filter: drop-shadow(0 18px 18px rgba(20, 25, 32, 0.22));
}

.dw-vn-lineup__item a:focus-visible {
	outline: 3px solid var(--vn-ink);
	outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
	.dw-vn-lineup__item a:hover {
		transform: translateY(-8px);
	}
}

@media (max-width: 959px) {
	.dw-vn-lineup__item a {
		height: calc(min(38svh, 300px) * (1 - (0.14 * abs(var(--dw-i) - 2))));
	}
}

/* ------------------------------------------------------------ Brand story */
.dw-vn-story__copy {
	max-width: 68ch;
	font-size: var(--dw-fs-md);
}

/* ------------------------------------------------------------ How it is made */
.dw-vn-made {
	background: var(--dw-color-white);
}

.dw-vn-made__head {
	display: grid;
	gap: var(--dw-space-4);
	margin-block-end: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

@media (min-width: 900px) {
	.dw-vn-made__head {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: end;
		gap: var(--dw-space-8);
	}
}

.dw-vn-made__intro {
	max-width: 46ch;
	margin: 0;
	font-size: var(--dw-fs-md);
}

/* A process line: each stage hangs from one shared rule. */
.dw-vn-made__steps {
	display: grid;
	gap: var(--dw-space-6);
	margin: 0;
	padding: 0;
	border-block-start: 2px solid var(--vn-ink);
	list-style: none;
}

@media (min-width: 768px) {
	.dw-vn-made__steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--dw-space-7);
	}
}

.dw-vn-made__step {
	position: relative;
	padding-block-start: var(--dw-space-6);
}

/* The marker sits on the rule: a small bubble. */
.dw-vn-made__step::before {
	content: "";
	position: absolute;
	inset-block-start: -8px;
	inset-inline-start: 0;
	width: 14px;
	height: 14px;
	border: 2px solid var(--vn-ink);
	border-radius: 50%;
	background: var(--dw-color-white);
}

.dw-vn-made__step-title {
	margin: 0 0 var(--dw-space-3);
	font-size: var(--dw-fs-lg);
}

.dw-vn-made__step p {
	max-width: 36ch;
	margin: 0;
}

/* ------------------------------------------------------------ Flavor grid */
.dw-vn-flavors {
	background: var(--vn-paper);
}

.dw-flavor-filter {
	display: flex;
	flex-wrap: wrap;
	gap: var(--dw-space-2);
	margin-block-end: var(--dw-space-6);
}

.dw-flavor-filter__btn {
	min-height: 44px;
	padding: 0.5rem 1.15rem;
	border: 1px solid var(--vn-line);
	border-radius: var(--dw-radius-pill);
	background: transparent;
	color: var(--vn-ink);
	cursor: pointer;
	font-family: var(--dw-font-heading);
	font-size: var(--dw-fs-sm);
	font-weight: 600;
	transition: background-color 0.2s var(--dw-ease-out), color 0.2s var(--dw-ease-out), border-color 0.2s var(--dw-ease-out);
}

.dw-flavor-filter__btn:hover {
	border-color: var(--vn-ink);
}

.dw-flavor-filter__btn[aria-pressed="true"] {
	border-color: var(--vn-ink);
	background: var(--vn-ink);
	color: var(--dw-color-white);
}

.dw-flavors {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
	gap: clamp(2rem, 1.5rem + 2vw, 3rem) clamp(1rem, 0.75rem + 1vw, 1.75rem);
}

.dw-flavor-card {
	position: relative;
	display: flex;
	flex-direction: column;
}

.dw-flavor-card[hidden] {
	display: none;
}

.dw-flavor-card__tile {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	padding: 16% 12% 7%;
	border-radius: var(--vn-arch);
	background: var(--dw-flavor, var(--dw-flavor-fallback));
}

.dw-vanergy .dw-flavor-card__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: bottom;
	filter: drop-shadow(0 16px 16px rgba(20, 25, 32, 0.22));
	transition: transform 0.6s var(--dw-ease-out);
}

/* Full photos fill the arch instead of standing in it. */
.dw-flavor-card--photo .dw-flavor-card__tile {
	padding: 0;
}

.dw-vanergy .dw-flavor-card--photo .dw-flavor-card__img {
	object-fit: cover;
	object-position: center;
	filter: none;
}

.dw-flavor-card__initial {
	align-self: center;
	color: rgba(31, 36, 44, 0.18);
	font-family: var(--dw-font-heading);
	font-size: clamp(4rem, 3rem + 4vw, 7rem);
	font-weight: 800;
	line-height: 1;
}

.dw-flavor-card__body {
	padding-block-start: var(--dw-space-4);
}

.dw-flavor-card__title {
	margin: 0;
	font-size: var(--dw-fs-lg);
	line-height: 1.2;
}

.dw-flavor-card__title a {
	color: var(--vn-ink);
	text-decoration: none;
}

/* The whole card is the link (one tab stop). */
.dw-flavor-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 999px 999px 0 0;
}

.dw-flavor-card__title a:focus-visible {
	outline: none;
}

.dw-flavor-card__title a:focus-visible::after {
	outline: 3px solid var(--vn-ink);
	outline-offset: 4px;
}

.dw-flavor-card__tagline {
	margin: var(--dw-space-2) 0 0;
	font-size: var(--dw-fs-sm);
	line-height: 1.5;
}

.dw-flavor-card__tastes {
	margin: var(--dw-space-2) 0 0;
	color: rgba(31, 36, 44, 0.72);
	font-size: var(--dw-fs-xs);
	font-weight: 600;
	letter-spacing: 0.04em;
}

@media (hover: hover) and (pointer: fine) {
	.dw-flavor-card:hover .dw-flavor-card__img {
		transform: translateY(-8px);
	}

	.dw-flavor-card--photo:hover .dw-flavor-card__img {
		transform: scale(1.04);
	}

	.dw-flavor-card:hover .dw-flavor-card__title a {
		text-decoration: underline;
		text-decoration-thickness: 2px;
		text-underline-offset: 0.2em;
	}
}

/* Empty state. */
.dw-flavors-empty {
	padding: var(--dw-space-8) var(--dw-space-5);
	border-block: 1px solid var(--vn-line);
	text-align: center;
}

.dw-flavors-empty__title {
	margin: 0;
	color: var(--vn-ink);
	font-family: var(--dw-font-heading);
	font-size: var(--dw-fs-xl);
	font-stretch: var(--dw-heading-stretch);
	font-weight: 700;
}

.dw-flavors-empty__hint {
	max-width: 56ch;
	margin: var(--dw-space-4) auto 0;
	padding: var(--dw-space-3) var(--dw-space-4);
	border: 1px dashed var(--vn-line);
	color: var(--dw-color-muted);
	font-size: var(--dw-fs-sm);
}

.dw-flavors-empty__hint a {
	margin-inline-start: var(--dw-space-2);
	font-weight: 600;
}

/* ------------------------------------------------------------ Flavor hero */
.dw-fl-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: var(--dw-flavor, var(--dw-flavor-fallback));
	color: var(--vn-ink);
}

.dw-fl-hero--light {
	color: var(--dw-color-white);
}

.dw-fl-hero__inner {
	position: relative;
	display: grid;
	gap: var(--dw-space-6);
	align-items: center;
	min-height: min(calc(100svh - 80px), 720px);
	padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem) 0;
}

@media (min-width: 900px) {
	.dw-fl-hero__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
		padding-block-end: 0;
	}
}

.dw-fl-hero .dw-breadcrumbs {
	margin-block-end: var(--dw-space-5);
}

.dw-fl-hero .dw-breadcrumbs ol {
	color: inherit;
	opacity: 0.85;
}

.dw-fl-hero .dw-breadcrumbs a:hover,
.dw-fl-hero .dw-breadcrumbs [aria-current="page"] {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.dw-fl-hero__title {
	max-width: 11ch;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
	margin: 0;
	color: inherit;
	font-size: min(clamp(3rem, 1.8rem + 5.5vw, 6rem), 14svh);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.dw-fl-hero__tagline {
	max-width: 30ch;
	margin: var(--dw-space-5) 0 0;
	color: inherit;
	font-family: var(--dw-font-heading);
	font-size: var(--dw-fs-xl);
	font-weight: 600;
	line-height: 1.25;
	text-wrap: balance;
}

.dw-fl-hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: var(--dw-space-2);
	margin: var(--dw-space-6) 0 0;
	padding: 0;
	list-style: none;
}

.dw-fl-hero__facts li {
	padding: 0.35rem 0.85rem;
	border: 1.5px solid currentColor;
	border-radius: var(--dw-radius-pill);
	font-size: var(--dw-fs-sm);
	font-weight: 600;
}

.dw-fl-hero__facts .is-volume {
	font-variant-numeric: tabular-nums;
}

.dw-fl-hero__actions {
	margin-block-start: var(--dw-space-7);
}

/* The button takes the ink: charcoal on light colours, white on dark. */
.dw-fl-hero .dw-fl-hero__btn {
	border-color: var(--vn-ink);
	background: var(--vn-ink);
	color: var(--dw-color-white);
}

.dw-fl-hero--light .dw-fl-hero__btn {
	border-color: var(--dw-color-white);
	background: var(--dw-color-white);
	color: var(--vn-ink);
}

.dw-fl-hero__copy {
	padding-block-end: clamp(1rem, 3vw, 4rem);
}

/* The bottle stands on the bottom edge of the colour field. */
.dw-fl-hero__media {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	align-self: stretch;
	min-height: 360px;
	margin: 0;
}

.dw-flavor .dw-fl-hero__img {
	width: auto;
	max-width: 100%;
	height: min(calc(100svh - 140px), 640px);
	object-fit: contain;
	object-position: bottom;
	filter: drop-shadow(0 28px 30px rgba(20, 25, 32, 0.3));
}

/* A full photo sits in an arch instead. */
.dw-fl-hero--photo .dw-fl-hero__media {
	align-items: flex-end;
}

.dw-flavor .dw-fl-hero--photo .dw-fl-hero__img {
	width: 100%;
	height: min(calc(100svh - 160px), 600px);
	border-radius: 999px 999px 0 0;
	object-fit: cover;
	filter: none;
}

.dw-fl-hero__initial {
	align-self: center;
	color: currentColor;
	font-family: var(--dw-font-heading);
	font-size: clamp(8rem, 6rem + 10vw, 16rem);
	font-weight: 800;
	line-height: 1;
	opacity: 0.18;
}

@media (max-width: 899px) {
	.dw-fl-hero__inner {
		min-height: 0;
	}

	.dw-flavor .dw-fl-hero__img {
		height: min(58svh, 420px);
	}

	.dw-fl-hero__copy {
		padding-block-end: 0;
	}
}

/* Bubbles: rings that rise slowly through the colour field and fade. */
.dw-fl-hero__bubbles {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
}

.dw-fl-hero__bubbles span {
	--size: 10px;
	--x: 50%;
	--d: 14s;
	--delay: 0s;
	position: absolute;
	bottom: -40px;
	left: var(--x);
	width: var(--size);
	height: var(--size);
	border: 1.5px solid currentColor;
	border-radius: 50%;
	opacity: 0;
	animation: dw-fl-rise var(--d) linear var(--delay) infinite;
}

.dw-fl-hero__bubbles span:nth-child(1) { --size: 14px; --x: 52%; --d: 15s; --delay: -2s; }
.dw-fl-hero__bubbles span:nth-child(2) { --size: 8px; --x: 58%; --d: 11s; --delay: -6s; }
.dw-fl-hero__bubbles span:nth-child(3) { --size: 22px; --x: 64%; --d: 18s; --delay: -9s; }
.dw-fl-hero__bubbles span:nth-child(4) { --size: 10px; --x: 70%; --d: 13s; --delay: -1s; }
.dw-fl-hero__bubbles span:nth-child(5) { --size: 16px; --x: 76%; --d: 16s; --delay: -12s; }
.dw-fl-hero__bubbles span:nth-child(6) { --size: 6px; --x: 81%; --d: 10s; --delay: -4s; }
.dw-fl-hero__bubbles span:nth-child(7) { --size: 12px; --x: 87%; --d: 14s; --delay: -7s; }
.dw-fl-hero__bubbles span:nth-child(8) { --size: 18px; --x: 92%; --d: 17s; --delay: -14s; }
.dw-fl-hero__bubbles span:nth-child(9) { --size: 7px; --x: 61%; --d: 12s; --delay: -10s; }
.dw-fl-hero__bubbles span:nth-child(10) { --size: 11px; --x: 73%; --d: 15s; --delay: -5s; }
.dw-fl-hero__bubbles span:nth-child(11) { --size: 9px; --x: 84%; --d: 11s; --delay: -8s; }
.dw-fl-hero__bubbles span:nth-child(12) { --size: 20px; --x: 56%; --d: 19s; --delay: -16s; }
.dw-fl-hero__bubbles span:nth-child(13) { --size: 6px; --x: 95%; --d: 9s; --delay: -3s; }
.dw-fl-hero__bubbles span:nth-child(14) { --size: 13px; --x: 67%; --d: 13s; --delay: -11s; }

@keyframes dw-fl-rise {
	0% {
		opacity: 0;
		transform: translate3d(0, 0, 0);
	}

	12% {
		opacity: 0.45;
	}

	50% {
		transform: translate3d(10px, -45vh, 0);
	}

	85% {
		opacity: 0.3;
	}

	100% {
		opacity: 0;
		transform: translate3d(-6px, -90vh, 0);
	}
}

@media (max-width: 899px) {
	/* On phones the bottle sits below the copy: bubbles rise behind it. */
	.dw-fl-hero__bubbles span:nth-child(n + 9) {
		display: none;
	}

	.dw-fl-hero__bubbles span {
		left: calc(var(--x) - 30%);
	}
}

/* ------------------------------------------------------------ Taste */
.dw-fl-taste__inner {
	display: grid;
	gap: var(--dw-space-7);
}

@media (min-width: 900px) {
	.dw-fl-taste__inner {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
		align-items: start;
		gap: clamp(3rem, 6vw, 6rem);
	}
}

.dw-fl-taste__notes {
	max-width: 32ch;
	margin: var(--dw-space-6) 0 0;
	color: var(--vn-ink);
	font-family: var(--dw-font-heading);
	font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
	text-wrap: pretty;
}

.dw-fl-taste__description {
	max-width: 62ch;
	margin-block-start: var(--dw-space-5);
	font-size: var(--dw-fs-md);
}

/* Taste profile: five steps per scale, filled in the flavor's colour. */
.dw-fl-profile {
	display: grid;
	gap: var(--dw-space-5);
	margin: 0;
	padding: var(--dw-space-6);
	border-radius: 18px;
	background: var(--vn-paper);
}

.dw-fl-profile__row {
	display: grid;
	grid-template-columns: 4.5rem minmax(0, 1fr);
	align-items: center;
	gap: var(--dw-space-4);
}

.dw-fl-profile dt {
	color: var(--vn-ink);
	font-family: var(--dw-font-heading);
	font-weight: 700;
}

.dw-fl-profile dd {
	margin: 0;
}

.dw-fl-profile__meter {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 6px;
}

.dw-fl-profile__meter span {
	height: 12px;
	border-radius: 999px;
	background: var(--vn-paper-deep);
}

/* Mixed with ink, so even a pale accent reads against the paper. */
.dw-fl-profile__meter .is-on {
	background: color-mix(in srgb, var(--dw-flavor, var(--dw-color-primary)) 80%, var(--vn-ink));
}

/* ------------------------------------------------------------ In the bottle */
.dw-fl-bottle {
	background: var(--vn-paper);
}

.dw-fl-bottle__grid {
	display: grid;
	gap: var(--dw-space-7);
	margin-block-start: clamp(2rem, 1.5rem + 2vw, 3rem);
}

@media (min-width: 900px) {
	.dw-fl-bottle__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: clamp(3rem, 6vw, 6rem);
	}
}

.dw-fl-bottle__block {
	padding-block-start: var(--dw-space-5);
	border-block-start: 2px solid var(--vn-ink);
}

.dw-fl-bottle__label {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--dw-space-3);
	margin: 0 0 var(--dw-space-4);
	font-size: var(--dw-fs-md);
}

.dw-fl-bottle__per {
	color: rgba(31, 36, 44, 0.72);
	font-size: var(--dw-fs-sm);
	font-weight: 600;
}

.dw-fl-bottle__ingredients {
	max-width: 52ch;
	margin: 0;
	font-size: var(--dw-fs-md);
	line-height: 1.7;
}

.dw-fl-nutrition {
	margin: 0;
}

.dw-fl-nutrition div {
	display: flex;
	justify-content: space-between;
	gap: var(--dw-space-4);
	padding-block: var(--dw-space-3);
	border-block-end: 1px solid var(--vn-line);
}

.dw-fl-nutrition dt {
	color: var(--vn-ink);
}

.dw-fl-nutrition dd {
	margin: 0;
	color: var(--vn-ink);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	text-align: end;
}

/* ------------------------------------------------------------ Photos */
.dw-fl-photos {
	padding-block: clamp(3rem, 2rem + 3vw, 5rem) 0;
}

.dw-fl-photos__list {
	display: grid;
	gap: var(--dw-space-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 700px) {
	.dw-fl-photos__list--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.dw-fl-photos__list li {
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 18px;
	background: var(--vn-paper);
}

.dw-fl-photos__list--1 li {
	aspect-ratio: 16 / 9;
}

.dw-flavor .dw-fl-photos__list img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ------------------------------------------------------------ More flavors */
.dw-fl-more .dw-flavors {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
}

/* ------------------------------------------------------------ Stock Vanergy */
.dw-vn-stock {
	background: var(--vn-paper-deep);
}

.dw-vn-stock__inner {
	display: grid;
	gap: var(--dw-space-5);
	align-items: center;
	padding-block: clamp(3rem, 2rem + 3vw, 4.5rem);
}

@media (min-width: 900px) {
	.dw-vn-stock__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: var(--dw-space-8);
	}
}

.dw-vn-stock__title {
	margin: 0;
	font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
	line-height: 1.1;
}

.dw-vn-stock__text {
	max-width: 56ch;
	margin: var(--dw-space-3) 0 0;
	color: var(--vn-ink);
	font-size: var(--dw-fs-md);
}

/* ------------------------------------------------------------ Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.dw-fl-hero__bubbles {
		display: none;
	}

	.dw-vanergy .dw-flavor-card__img,
	.dw-vn-lineup__item a {
		transition: none;
	}
}

/* ------------------------------------------------------------ Refinements */

/* Links take the brand ink, not the corporate blue. */
.dw-vanergy .dw-link-arrow {
	color: var(--vn-ink);
}

.dw-vanergy .dw-link-arrow:hover {
	color: var(--vn-ink);
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

.dw-fl-hero--light .dw-link-arrow,
.dw-fl-hero--light .dw-link-arrow:hover {
	color: var(--dw-color-white);
}

@media (max-width: 767px) {
	/* The process runs down a vertical line on phones. */
	.dw-vn-made__steps {
		gap: var(--dw-space-6);
		padding-inline-start: var(--dw-space-6);
		border-block-start: 0;
		border-inline-start: 2px solid var(--vn-ink);
	}

	.dw-vn-made__step {
		padding-block-start: 0;
	}

	.dw-vn-made__step::before {
		inset-block-start: 0.35em;
		inset-inline-start: calc(-1 * var(--dw-space-6) - 8px);
	}

	/* Two bottles per row instead of one tall tile. */
	.dw-flavors,
	.dw-fl-more .dw-flavors {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--dw-space-6) var(--dw-space-3);
	}

	.dw-flavor-card__title {
		font-size: var(--dw-fs-md);
	}

	/* Taste chips: one swipeable row. */
	.dw-flavor-filter {
		flex-wrap: nowrap;
		margin-inline: calc(-1 * var(--dw-gutter, 16px));
		padding-inline: var(--dw-gutter, 16px);
		overflow-x: auto;
		scroll-padding-inline: var(--dw-gutter, 16px);
		scrollbar-width: none;
	}

	.dw-flavor-filter::-webkit-scrollbar {
		display: none;
	}

	.dw-flavor-filter__btn {
		flex: 0 0 auto;
	}
}

@media (max-width: 899px) {
	/* On phones the copy fills the top of the hero: no bubbles over text. */
	.dw-fl-hero__bubbles {
		display: none;
	}
}
