/* ==========================================================================
   Hydro King - inner pages & shared components
   Loaded after main.css. Sections: social icons, back-to-top, shared page
   hero + section helpers, Contact, Active Life, single product, Our Story,
   Hydration.
   ========================================================================== */

/* ---------- Social icon buttons ---------- */
.hk-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	list-style: none;
	margin: var(--hk-space-sm) 0 0;
	padding: 0;
}
.hk-social-links--center { justify-content: center; margin-top: var(--hk-space-md); }
.hk-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.28);
	color: var(--hk-white);
	text-decoration: none;
	transition: background var(--hk-duration) var(--hk-ease), color var(--hk-duration) var(--hk-ease), border-color var(--hk-duration) var(--hk-ease), transform var(--hk-duration) var(--hk-ease);
}
.hk-social-link:hover,
.hk-social-link:focus-visible {
	background: var(--hk-orange);
	border-color: var(--hk-orange);
	color: var(--hk-black);
	transform: translateY(-3px);
}
/* On light sections */
.hk-social-links--light .hk-social-link { border-color: var(--hk-border); color: var(--hk-ink); }
.hk-social-links--light .hk-social-link:hover,
.hk-social-links--light .hk-social-link:focus-visible { background: var(--hk-orange); border-color: var(--hk-orange); color: var(--hk-black); }
/* In the footer the list sits under the description */
.hk-footer .hk-social-links { margin-top: var(--hk-space-md); }

/* ---------- Back to top ---------- */
.hk-back-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 350;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 2px solid rgba(240, 152, 47, 0.65);
	background: var(--hk-dark-btn);
	color: var(--hk-orange);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px) scale(0.9);
	transition: opacity var(--hk-duration) var(--hk-ease), transform var(--hk-duration) var(--hk-ease), visibility 0s linear var(--hk-duration), background var(--hk-duration) var(--hk-ease), color var(--hk-duration) var(--hk-ease);
}
.hk-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}
.hk-back-to-top:hover,
.hk-back-to-top:focus-visible {
	background: var(--hk-orange);
	border-color: var(--hk-orange);
	color: var(--hk-black);
	transform: translateY(-4px);
}
@media (max-width: 600px) {
	.hk-back-to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
	.hk-back-to-top, .hk-social-link { transition: none; }
}

/* ---------- Shared small helpers ---------- */
.hk-divider {
	display: block;
	width: 64px;
	height: 4px;
	margin: 0 auto var(--hk-space-md);
	border-radius: 999px;
	background: linear-gradient(90deg, var(--hk-orange), var(--hk-orange-light));
}
/* Section header: centred eyebrow + heading + lede */
.hk-section-head { max-width: 760px; margin: 0 auto var(--hk-space-xl); text-align: center; }
.hk-section-head .hk-eyebrow { margin-inline: auto; }
.hk-section-head .hk-lede { margin-inline: auto; }

/* ---------- Contact page (same layout as Trade) ---------- */
.hk-contact-section .hk-trade-copy .hk-lede p { color: inherit; }
.hk-contact-details { margin-top: var(--hk-space-lg); }
.hk-contact-details .hk-trade-type { align-items: center; }
.hk-contact-details .hk-trade-type p { font-size: 0.98rem; color: rgba(255, 255, 255, 0.85); }
.hk-contact-details .hk-trade-type a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(240, 152, 47, 0.5); }
.hk-contact-details .hk-trade-type a:hover { color: var(--hk-orange); }
.hk-contact-note {
	margin-top: var(--hk-space-lg);
	padding: var(--hk-space-sm) var(--hk-space-md);
	border-left: 3px solid var(--hk-orange);
	background: rgba(255, 255, 255, 0.05);
	border-radius: 0 var(--hk-radius-sm) var(--hk-radius-sm) 0;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.95rem;
}
.hk-contact-actions { display: flex; flex-wrap: wrap; gap: var(--hk-space-xs); margin-top: var(--hk-space-lg); }
.hk-contact-actions:empty { display: none; }
.hk-contact-section .hk-social-links { margin-top: var(--hk-space-md); }

/* ---------- Active Life page ---------- */
.hk-activelife-grid > .hk-activelife-panel img { transition: transform 0.9s var(--hk-ease); }
.hk-activelife-grid > .hk-activelife-panel:hover img { transform: scale(1.06); }
.hk-activelife-grid .hk-activelife-caption { padding: var(--hk-space-lg); background: linear-gradient(0deg, rgba(18, 16, 13, 0.85) 0%, rgba(18, 16, 13, 0.25) 55%, transparent 100%); }
.hk-activelife-grid .hk-activelife-caption h3 { font-size: calc(1.9rem * var(--hk-heading-scale, 1)); margin-bottom: 0.3em; }
.hk-activelife-grid .hk-activelife-caption p { margin: 0; font-size: 1rem; line-height: 1.5; opacity: 0.92; max-width: 34ch; }

/* ---------- Single product: description ---------- */
.hk-product-about .hk-product-description { max-width: 720px; margin-inline: auto; }
.hk-product-about .hk-product-description > *:last-child { margin-bottom: 0; }
.hk-flavour-profile {
	max-width: 640px;
	margin: var(--hk-space-lg) auto 0;
	padding: var(--hk-space-md) var(--hk-space-lg);
	border-radius: var(--hk-radius-md);
	background: var(--hk-sand);
}
.hk-flavour-profile-label { display: block; margin-bottom: 0.4em; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hk-orange-deep); }
.hk-flavour-profile p { margin: 0; }

/* ---------- Single product: pack, ingredients & allergens ---------- */
.hk-fact-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--hk-space-md);
	margin-top: var(--hk-space-xl);
}
@media (max-width: 900px) { .hk-fact-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.hk-fact-card {
	position: relative;
	padding: var(--hk-space-lg) var(--hk-space-md) var(--hk-space-md);
	border-radius: var(--hk-radius-lg);
	background: var(--hk-white);
	border: 1px solid var(--hk-border);
	box-shadow: var(--hk-shadow-sm);
	text-align: center;
	overflow: hidden;
	transition: transform var(--hk-duration) var(--hk-ease), box-shadow var(--hk-duration) var(--hk-ease);
}
.hk-fact-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 5px;
	background: var(--accent, var(--hk-orange));
}
.hk-fact-card:hover { transform: translateY(-6px); box-shadow: var(--hk-shadow-md); }
.hk-fact-icon {
	width: 68px;
	height: 68px;
	margin: 0 auto var(--hk-space-sm);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--hk-dark-btn);
	color: var(--hk-orange);
	box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent, var(--hk-orange)) 16%, transparent);
}
.hk-fact-card h3 { margin-bottom: 0.4em; font-size: calc(1.15rem * var(--hk-heading-scale, 1)); }
.hk-fact-value { margin: 0; font-size: 1.05rem; line-height: 1.5; }
.hk-fact-pending {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	margin: 0;
	padding: 0.45em 0.95em;
	border-radius: 999px;
	background: var(--hk-sand);
	color: var(--hk-muted);
	font-size: 0.85rem;
	line-height: 1.35;
	text-align: left;
}
.hk-fact-pending svg { flex-shrink: 0; color: var(--hk-orange); }

/* ---------- Single product: related drinks (four across) ---------- */
.hk-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--hk-space-md); }
@media (max-width: 1100px) { .hk-related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hk-related-grid { grid-template-columns: 1fr; } }
.hk-related .hk-range-head .hk-eyebrow { color: var(--hk-orange); }
.hk-related .hk-range-head h2 { color: var(--hk-white); }
.hk-related-grid .hk-product-card { flex: none; min-width: 0; }

/* ==========================================================================
   Page banner (Our Story, Hydration)
   ========================================================================== */
.hk-page-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--hk-dark-bg);
	color: var(--hk-white);
}
.hk-page-hero-media { position: absolute; inset: -10% 0; z-index: -2; will-change: transform; }
.hk-page-hero-media img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hk-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(26, 17, 9, 0.94) 0%, rgba(26, 17, 9, 0.78) 38%, rgba(26, 17, 9, 0.34) 72%, rgba(26, 17, 9, 0.2) 100%),
		linear-gradient(180deg, rgba(18, 16, 13, 0.45) 0%, rgba(18, 16, 13, 0) 30%, rgba(18, 16, 13, 0.7) 100%);
}
.hk-page-hero-inner {
	max-width: 740px;
	min-height: clamp(460px, 64vh, 680px);
	padding-block: var(--hk-space-2xl);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.hk-page-hero .hk-eyebrow { color: var(--hk-orange-light); }
.hk-page-hero h1 { color: var(--hk-white); margin-bottom: 0.35em; }
.hk-page-hero .hk-lede { color: rgba(255, 255, 255, 0.9); opacity: 1; max-width: 56ch; }
.hk-page-hero .hk-lede p:last-child { margin-bottom: 0; }
.hk-page-hero-ctas { display: flex; flex-wrap: wrap; gap: var(--hk-space-sm); margin-top: var(--hk-space-lg); }
.hk-scroll-down {
	position: absolute;
	left: 50%;
	bottom: 22px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.4);
	color: var(--hk-white);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transform: translateX(-50%);
	animation: hk-bob 2.4s ease-in-out infinite;
	transition: background var(--hk-duration) var(--hk-ease), border-color var(--hk-duration) var(--hk-ease), color var(--hk-duration) var(--hk-ease);
}
.hk-scroll-down:hover, .hk-scroll-down:focus-visible { background: var(--hk-orange); border-color: var(--hk-orange); color: var(--hk-black); }
@keyframes hk-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }
@media (max-width: 700px) { .hk-scroll-down { display: none; } }
@media (prefers-reduced-motion: reduce) { .hk-scroll-down { animation: none; } }

/* ---------- Closing call-to-action band ---------- */
.hk-cta-band { position: relative; overflow: hidden; text-align: center; padding-block: var(--hk-space-3xl); }
.hk-cta-band-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 130%, rgba(240, 152, 47, 0.3), transparent 60%); pointer-events: none; }
.hk-cta-band .hk-container { position: relative; }
.hk-cta-band h2 { color: var(--hk-white); max-width: 20ch; margin-inline: auto; }
.hk-cta-band .hk-lede { color: rgba(255, 255, 255, 0.82); }
.hk-cta-band-actions { justify-content: center; margin-top: var(--hk-space-lg); }

/* ---------- Range tiles (compact "meet the range" row) ---------- */
.hk-range-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--hk-space-sm); }
@media (max-width: 1100px) { .hk-range-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .hk-range-tiles { grid-template-columns: repeat(2, 1fr); } }
.hk-range-tile { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--hk-ink); }
.hk-range-tile-image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	margin-bottom: 0.8rem;
	border-radius: var(--hk-radius-md);
	overflow: hidden;
	background: color-mix(in srgb, var(--card-accent, var(--hk-orange)) 22%, var(--hk-sand));
	box-shadow: var(--hk-shadow-sm);
	transition: transform var(--hk-duration) var(--hk-ease), box-shadow var(--hk-duration) var(--hk-ease);
}
.hk-range-tile-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--hk-ease); }
.hk-range-tile:hover .hk-range-tile-image, .hk-range-tile:focus-visible .hk-range-tile-image { transform: translateY(-6px); box-shadow: var(--hk-shadow-md); }
.hk-range-tile:hover .hk-range-tile-image img { transform: scale(1.05); }
.hk-range-tile-name { font-weight: 700; font-size: 0.95rem; line-height: 1.25; }
.hk-range-tile-flavour {
	display: inline-block;
	margin-top: 0.4rem;
	padding: 0.2em 0.85em;
	border-radius: 999px;
	background: var(--card-accent, var(--hk-orange));
	color: var(--hk-white);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* ---------- Tick list ---------- */
.hk-check-list { list-style: none; margin: var(--hk-space-md) 0 0; padding: 0; display: grid; gap: 0.7rem; }
.hk-check-list li { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; }
.hk-check-icon {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(240, 152, 47, 0.16);
	color: var(--hk-orange-deep);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* ==========================================================================
   Our Story page
   ========================================================================== */
.hk-about-story-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--hk-space-2xl); align-items: center; }
.hk-about-story-grid:not(:has(.hk-story-collage)) { grid-template-columns: minmax(0, 760px); justify-content: center; }
@media (max-width: 900px) { .hk-about-story-grid { grid-template-columns: 1fr; gap: var(--hk-space-xl); } }
.hk-about-story-copy .hk-lede { margin-bottom: var(--hk-space-sm); }
.hk-story-note {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	margin: var(--hk-space-md) 0 0;
	padding: var(--hk-space-sm) var(--hk-space-md);
	border-radius: var(--hk-radius-md);
	background: var(--hk-sand);
	font-size: 0.92rem;
}
.hk-story-note svg { color: var(--hk-orange); flex-shrink: 0; margin-top: 2px; }

/* Overlapping photos */
.hk-story-collage { position: relative; padding: 0 clamp(0px, 3vw, 36px) 64px 0; }
.hk-collage-main { margin: 0; border-radius: var(--hk-radius-lg); overflow: hidden; box-shadow: var(--hk-shadow-md); aspect-ratio: 5 / 4; }
.hk-collage-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--hk-ease); }
.hk-story-collage:hover .hk-collage-main img { transform: scale(1.05); }
.hk-collage-inset {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 44%;
	margin: 0;
	aspect-ratio: 1;
	border-radius: var(--hk-radius-lg);
	overflow: hidden;
	border: 8px solid var(--hk-white);
	box-shadow: var(--hk-shadow-md);
}
.hk-collage-inset img { width: 100%; height: 100%; object-fit: cover; }
.hk-collage-badge {
	position: absolute;
	left: 12px;
	top: 26px;
	width: 124px;
	height: 124px;
	border-radius: 50%;
	border: 3px solid var(--hk-orange);
	background: var(--hk-dark-btn);
	color: var(--hk-white);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	box-shadow: var(--hk-shadow-md);
	animation: hk-float 6s ease-in-out infinite;
}
.hk-collage-badge span { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }
.hk-collage-badge strong { font-family: var(--hk-font-heading, var(--hk-font-display)); font-weight: var(--hk-heading-weight, 700); font-size: calc(1.35rem * var(--hk-heading-scale, 1)); line-height: 1.05; color: var(--hk-orange); text-transform: uppercase; }
@keyframes hk-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hk-collage-badge { animation: none; } }

/* Numbers strip */
.hk-stats { padding-block: var(--hk-space-xl); }
.hk-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hk-stat { position: relative; padding: var(--hk-space-md); text-align: center; }
.hk-stat + .hk-stat::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: rgba(255, 255, 255, 0.16); }
.hk-stat-number {
	display: block;
	font-family: var(--hk-font-heading, var(--hk-font-display));
	font-weight: var(--hk-heading-weight, 700);
	font-size: clamp(3.2rem, 5.4vw, 5.4rem);
	line-height: 1;
	letter-spacing: var(--hk-heading-tracking, 0.01em);
	color: var(--hk-orange);
	font-variant-numeric: tabular-nums;
}
.hk-stat-label { display: block; max-width: 22ch; margin: 0.7em auto 0; font-size: 0.92rem; line-height: 1.4; color: rgba(255, 255, 255, 0.8); }
@media (max-width: 760px) {
	.hk-stats-grid { grid-template-columns: repeat(2, 1fr); }
	.hk-stat + .hk-stat::before { display: none; }
	.hk-stat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.14); }
	.hk-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
}

/* Values */
.hk-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--hk-space-md); }
@media (max-width: 960px) { .hk-values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hk-values-grid { grid-template-columns: 1fr; } }
.hk-value-card {
	position: relative;
	overflow: hidden;
	padding: var(--hk-space-lg);
	border-radius: var(--hk-radius-lg);
	background: var(--hk-white);
	border: 1px solid var(--hk-border);
	box-shadow: var(--hk-shadow-sm);
	transition: transform var(--hk-duration) var(--hk-ease), box-shadow var(--hk-duration) var(--hk-ease);
}
.hk-value-card::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 4px;
	background: linear-gradient(90deg, var(--hk-orange), var(--hk-orange-light));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s var(--hk-ease);
}
.hk-value-card:hover { transform: translateY(-6px); box-shadow: var(--hk-shadow-md); }
.hk-value-card:hover::after { transform: scaleX(1); }
.hk-value-icon {
	width: 62px;
	height: 62px;
	margin-bottom: var(--hk-space-sm);
	border-radius: 18px;
	background: var(--hk-dark-btn);
	color: var(--hk-orange);
	display: flex;
	align-items: center;
	justify-content: center;
}
.hk-value-card h3 { margin-bottom: 0.3em; font-size: calc(1.4rem * var(--hk-heading-scale, 1)); }
.hk-value-card p { margin: 0; color: var(--hk-ink); opacity: 0.78; }

/* Journey (interactive) */
.hk-journey .hk-section-head h2 { color: var(--hk-white); }
.hk-journey-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--hk-space-xl); align-items: stretch; }
@media (max-width: 960px) { .hk-journey-grid { grid-template-columns: 1fr; } .hk-journey-stage { order: -1; min-height: 340px; } }
.hk-journey-steps { display: flex; flex-direction: column; gap: var(--hk-space-xs); }
.hk-journey-step {
	appearance: none;
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr);
	gap: var(--hk-space-sm);
	align-items: start;
	width: 100%;
	padding: var(--hk-space-md);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--hk-radius-md);
	background: rgba(255, 255, 255, 0.04);
	color: rgba(255, 255, 255, 0.72);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: background var(--hk-duration) var(--hk-ease), border-color var(--hk-duration) var(--hk-ease), color var(--hk-duration) var(--hk-ease);
}
.hk-journey-step:hover { background: rgba(255, 255, 255, 0.08); color: var(--hk-white); }
.hk-journey-step.is-active { background: rgba(240, 152, 47, 0.13); border-color: rgba(240, 152, 47, 0.7); color: var(--hk-white); }
.hk-journey-num { font-family: var(--hk-font-heading, var(--hk-font-display)); font-weight: var(--hk-heading-weight, 700); font-size: 1.5rem; line-height: 46px; color: rgba(255, 255, 255, 0.3); }
.hk-journey-step.is-active .hk-journey-num { color: var(--hk-orange); }
.hk-journey-icon { width: 46px; height: 46px; border-radius: 14px; background: rgba(240, 152, 47, 0.15); color: var(--hk-orange); display: flex; align-items: center; justify-content: center; }
.hk-journey-text strong { display: block; font-family: var(--hk-font-heading, var(--hk-font-display)); font-weight: var(--hk-heading-weight, 700); font-size: calc(1.25rem * var(--hk-heading-scale, 1)); letter-spacing: var(--hk-heading-tracking, 0.01em); text-transform: uppercase; line-height: 46px; }
.hk-journey-text span { display: block; max-height: 0; margin: 0; opacity: 0; overflow: hidden; font-size: 0.98rem; line-height: 1.55; transition: max-height 0.5s var(--hk-ease), opacity 0.4s var(--hk-ease), margin 0.4s var(--hk-ease); }
.hk-journey-step.is-active .hk-journey-text span { max-height: 9em; margin-top: -4px; opacity: 1; }
.hk-journey-stage { position: relative; min-height: 460px; border-radius: var(--hk-radius-lg); overflow: hidden; background: var(--hk-dark-bg); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); }
.hk-journey-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transform: scale(1.05); transition: opacity 0.7s var(--hk-ease), transform 1.2s var(--hk-ease), visibility 0s linear 0.7s; }
.hk-journey-slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hk-journey-slide img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hk-journey-slide.is-product { background: radial-gradient(circle at 50% 38%, #7a4f24 0%, #2a1b0e 70%); }
.hk-journey-slide.is-product img { object-fit: contain; padding: 20px 20px 36px; }
.hk-journey-slide figcaption {
	position: absolute;
	left: 20px;
	bottom: 20px;
	padding: 0.45em 1em;
	border-radius: 999px;
	background: rgba(18, 16, 13, 0.72);
	color: var(--hk-white);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	backdrop-filter: blur(6px);
}
@media (prefers-reduced-motion: reduce) { .hk-journey-slide { transition: opacity 0.2s linear; transform: none; } }

/* Photo mosaic */
/* "Justified rows": each tile grows in proportion to its aspect ratio (--r), so every full row is the same height. */
.hk-mosaic { display: flex; flex-wrap: wrap; gap: 14px; }
.hk-mosaic::after { content: ""; flex-grow: 1000; }
.hk-mosaic-item {
	--r: 1.33;
	position: relative;
	display: block;
	flex: calc(var(--r) * 100) 1 calc(var(--r) * 240px);
	min-width: 0;
	border-radius: var(--hk-radius-md);
	overflow: hidden;
	cursor: zoom-in;
	background: var(--hk-sand);
}
.hk-mosaic-item::before { content: ""; display: block; padding-bottom: calc(100% / var(--r)); }
@media (max-width: 700px) { .hk-mosaic-item { flex-basis: calc(var(--r) * 150px); } }
.hk-mosaic-item img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; transition: transform 0.9s var(--hk-ease); }
.hk-mosaic-item:hover img, .hk-mosaic-item:focus-visible img { transform: scale(1.05); }
.hk-mosaic-zoom {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	padding: 14px;
	background: linear-gradient(180deg, transparent 45%, rgba(18, 16, 13, 0.6));
	color: var(--hk-white);
	opacity: 0;
	transition: opacity var(--hk-duration) var(--hk-ease);
}
.hk-mosaic-item:hover .hk-mosaic-zoom, .hk-mosaic-item:focus-visible .hk-mosaic-zoom { opacity: 1; }
.hk-mosaic-link { margin-top: var(--hk-space-lg); }

/* Full-screen photo viewer */
.hk-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4vh 4vw;
	background: rgba(12, 9, 6, 0.95);
	opacity: 0;
	transition: opacity 0.25s ease;
}
.hk-lightbox[hidden] { display: none; }
.hk-lightbox.is-open { opacity: 1; }
.hk-lightbox-figure { margin: 0; max-width: min(1200px, 92vw); display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.hk-lightbox-figure img { max-width: 100%; max-height: 80vh; width: auto; height: auto; border-radius: var(--hk-radius-md); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.hk-lightbox-figure figcaption { min-height: 1.2em; color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; text-align: center; }
.hk-lightbox-btn {
	position: absolute;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.08);
	color: var(--hk-white);
	font-size: 1.6rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background var(--hk-duration) var(--hk-ease), border-color var(--hk-duration) var(--hk-ease), color var(--hk-duration) var(--hk-ease);
}
.hk-lightbox-btn:hover, .hk-lightbox-btn:focus-visible { background: var(--hk-orange); border-color: var(--hk-orange); color: var(--hk-black); }
.hk-lightbox-close { top: 20px; right: 20px; }
.hk-lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.hk-lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
body.hk-lightbox-open { overflow: hidden; }
@media (max-width: 700px) { .hk-lightbox-prev, .hk-lightbox-next { top: auto; bottom: 20px; transform: none; } .hk-lightbox-prev { left: 20px; } .hk-lightbox-next { right: 20px; } }

/* ==========================================================================
   Hydration page
   ========================================================================== */
.hk-about-cta { margin-top: var(--hk-space-md); }

/* Three pillars */
.hk-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--hk-space-md); }
@media (max-width: 900px) { .hk-pillars { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.hk-pillar {
	position: relative;
	padding: var(--hk-space-xl) var(--hk-space-lg) var(--hk-space-lg);
	border-radius: var(--hk-radius-lg);
	background: linear-gradient(180deg, var(--hk-white) 0%, var(--hk-sand) 100%);
	border: 1px solid var(--hk-border);
	text-align: center;
	transition: transform var(--hk-duration) var(--hk-ease), box-shadow var(--hk-duration) var(--hk-ease);
}
.hk-pillar:hover { transform: translateY(-6px); box-shadow: var(--hk-shadow-md); }
.hk-pillar-num {
	position: absolute;
	top: 14px;
	right: 22px;
	font-family: var(--hk-font-heading, var(--hk-font-display));
	font-weight: var(--hk-heading-weight, 700);
	font-size: 3.4rem;
	line-height: 1;
	color: rgba(240, 152, 47, 0.2);
}
.hk-pillar-icon {
	width: 88px;
	height: 88px;
	margin: 0 auto var(--hk-space-md);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--hk-dark-btn);
	color: var(--hk-orange);
	box-shadow: 0 0 0 9px rgba(240, 152, 47, 0.16);
}
.hk-pillar h3 { margin-bottom: 0.35em; font-size: calc(1.6rem * var(--hk-heading-scale, 1)); }
.hk-pillar p { margin: 0; max-width: 30ch; margin-inline: auto; opacity: 0.82; }

/* Electrolytes */
.hk-electrolytes-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--hk-space-2xl); align-items: center; }
@media (max-width: 900px) { .hk-electrolytes-grid { grid-template-columns: 1fr; gap: var(--hk-space-xl); } }
.hk-electrolytes h2 { color: var(--hk-white); }
.hk-electrolytes .hk-lede { color: rgba(255, 255, 255, 0.85); }
.hk-minerals { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--hk-space-sm); }
.hk-mineral {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: var(--hk-space-lg) var(--hk-space-md);
	border-radius: var(--hk-radius-lg);
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.05);
	text-align: center;
	transition: transform var(--hk-duration) var(--hk-ease), border-color var(--hk-duration) var(--hk-ease), background var(--hk-duration) var(--hk-ease);
}
.hk-mineral:hover { transform: translateY(-5px); border-color: rgba(240, 152, 47, 0.6); background: rgba(240, 152, 47, 0.1); }
.hk-mineral--main { grid-column: 1 / -1; background: linear-gradient(135deg, rgba(240, 152, 47, 0.26), rgba(240, 152, 47, 0.06)); border-color: rgba(240, 152, 47, 0.55); }
/* Chemical symbols keep their capital + lower-case letters (Na, Mg), so they use the body font. */
.hk-mineral-symbol { font-family: var(--hk-font-body); font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--hk-orange); letter-spacing: 0; }
.hk-mineral--main .hk-mineral-symbol { font-size: 5.2rem; }
.hk-mineral-name { margin-top: 0.4em; font-weight: 700; font-size: 1.05rem; color: var(--hk-white); }
.hk-mineral-tag { margin-top: 0.6em; padding: 0.25em 0.9em; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.85); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.hk-mineral--main .hk-mineral-tag { background: var(--hk-orange); color: var(--hk-black); }
.hk-minerals-note { grid-column: 1 / -1; margin: var(--hk-space-xs) 0 0; color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; text-align: center; }

/* Hydration for every moment */
.hk-moment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--hk-space-md); }
@media (max-width: 1100px) { .hk-moment-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hk-moment-grid { grid-template-columns: 1fr; } }
.hk-moment { position: relative; aspect-ratio: 4 / 5; border-radius: var(--hk-radius-lg); overflow: hidden; color: var(--hk-white); box-shadow: var(--hk-shadow-sm); background: var(--hk-dark-bg); }
.hk-moment img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--hk-ease); }
.hk-moment:hover img { transform: scale(1.07); }
.hk-moment-caption { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--hk-space-md); background: linear-gradient(0deg, rgba(18, 16, 13, 0.88) 0%, rgba(18, 16, 13, 0.2) 58%, transparent 100%); }
.hk-moment-caption h3 { margin-bottom: 0.25em; color: var(--hk-white); font-size: calc(1.7rem * var(--hk-heading-scale, 1)); }
.hk-moment-caption p { margin: 0; font-size: 0.92rem; line-height: 1.45; opacity: 0.92; }
.hk-moments-link { margin-top: var(--hk-space-lg); }

/* Why king coconut water: cut-out bottle/fruit photo variant */
.hk-collage-inset--cutout {
	right: 2%;
	bottom: -6px;
	width: 32%;
	aspect-ratio: 688 / 1000;
	border: 0;
	border-radius: 0;
	overflow: visible;
	background: none;
	box-shadow: none;
}
.hk-collage-inset--cutout img { object-fit: contain; filter: drop-shadow(0 20px 22px rgba(18, 16, 13, 0.35)); }
.hk-story-collage--round .hk-collage-main { border-radius: 36px 36px 36px 120px; }

/* Required balance note */
.hk-important-card {
	padding: var(--hk-space-xl);
	border-radius: var(--hk-radius-lg);
	background: var(--hk-white);
	border: 1px solid var(--hk-border);
	border-left: 8px solid var(--hk-orange);
	box-shadow: var(--hk-shadow-md);
}
@media (max-width: 600px) { .hk-important-card { padding: var(--hk-space-lg) var(--hk-space-md); } }
.hk-important-head { display: flex; align-items: center; gap: var(--hk-space-md); margin-bottom: var(--hk-space-md); }
.hk-important-head .hk-eyebrow { margin-bottom: 0.2em; }
.hk-important-head h2 { margin: 0; }
.hk-important-icon { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 18px; background: var(--hk-dark-btn); color: var(--hk-orange); display: flex; align-items: center; justify-content: center; }
.hk-important-card p { font-size: 1.02rem; line-height: 1.65; }
.hk-important-card p:last-child { margin-bottom: 0; }

/* FAQ (Hydration page + the FAQ page) */
.hk-faq-question { font-family: var(--hk-font-body); text-transform: none; letter-spacing: 0; font-weight: 600; gap: var(--hk-space-sm); color: inherit; }
.hk-faq-item h3 { margin: 0; font-family: var(--hk-font-body); text-transform: none; letter-spacing: 0; }
.hk-faq-icon { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--hk-sand); color: var(--hk-orange-deep); font-size: 1.3rem; line-height: 1; transition: transform var(--hk-duration) var(--hk-ease), background var(--hk-duration) var(--hk-ease), color var(--hk-duration) var(--hk-ease); }
.hk-faq-item.is-open .hk-faq-icon { background: var(--hk-orange); color: var(--hk-black); }
.hk-faq-card { padding: 0 var(--hk-space-lg); border-radius: var(--hk-radius-lg); background: var(--hk-white); border: 1px solid var(--hk-border); box-shadow: var(--hk-shadow-sm); }
.hk-faq-card .hk-faq-item:last-child { border-bottom: 0; }
.hk-faq-card .hk-faq-question { padding: 1.3rem 0; font-size: 1.08rem; }
.hk-faq-card .hk-faq-answer { padding-bottom: 1.3rem; opacity: 0.85; line-height: 1.65; }
.hk-faq-card .hk-faq-answer p:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .hk-faq-card { padding: 0 var(--hk-space-md); } }

/* The Hydration banner photo has its splash along the bottom edge - keep it in view. */
.hk-page-hero--hydration .hk-page-hero-media img { object-position: center bottom; }

/* Keep the footer's closing line clear of the fixed back-to-top button. */
.hk-footer-bottom { padding-right: 4.5rem; }
@media (max-width: 600px) { .hk-footer-bottom { padding-right: 3.75rem; } }
