:root {
	--hh-primary: #5fa8a0;
	--hh-primary-dark: #1f5f59;
	--hh-primary-soft: #dcefed;
	--hh-header-bg: #ffffff;
	--hh-footer-bg: #123c39;
	--hh-cream: #f7f2e9;
	--hh-surface: #ffffff;
	--hh-text: #153432;
	--hh-muted: #60706d;
	--hh-border: rgba(31, 95, 89, 0.14);
	--hh-shadow: 0 20px 45px rgba(26, 72, 68, 0.12);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Manrope", sans-serif;
	color: var(--hh-text);
	background: #f4f7f5;
	line-height: 1.6;
}

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

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font: inherit;
}

.section-shell {
	width: calc(100% - 2rem);
	max-width: 1500px;
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 500;
	background: color-mix(in srgb, var(--hh-header-bg) 92%, white 8%);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(31, 95, 89, 0.09);
	overflow: visible;
}

.site-header .section-shell,
.site-main .section-shell,
.content-shell {
	max-width: 1500px;
}

.topbar,
.footer-bottom,
.nav-wrap {
	display: flex;
	align-items: center;
}

.topbar {
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 0;
}

.brand-lockup {
	display: flex;
	align-items: center;
	gap: 0.9rem;
}

.site-title {
	display: inline-block;
	font-family: "Fraunces", serif;
	font-size: 1.45rem;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.site-tagline {
	margin: 0.2rem 0 0;
	color: var(--hh-muted);
	font-size: 0.92rem;
}

.menu-toggle {
	display: none;
	background: transparent;
	border: 1px solid var(--hh-border);
	border-radius: 999px;
	padding: 0.75rem 1rem;
}

.header-actions {
	display: flex;
	align-items: center;
}

.nav-wrap {
	border-top: 1px solid rgba(31, 95, 89, 0.08);
	background:
		linear-gradient(180deg, rgba(95, 168, 160, 0.1), rgba(255, 255, 255, 0.82)),
		rgba(255, 255, 255, 0.92);
	position: relative;
	z-index: 510;
	overflow: visible;
}

.primary-navigation ul,
.footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-navigation > div > ul,
.primary-navigation > ul {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.2rem;
	padding: 0.75rem 0;
}

.primary-navigation {
	position: relative;
	overflow: visible;
	z-index: 520;
	scrollbar-width: none;
}

.primary-navigation::-webkit-scrollbar {
	display: none;
}

.primary-navigation li {
	position: relative;
}

.primary-navigation a {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.72rem 0.92rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.9rem;
	background: rgba(255, 255, 255, 0.76);
	border: 1px solid transparent;
	transition: 180ms ease;
	white-space: nowrap;
}

.primary-navigation .menu-icon,
.footer-nav .menu-icon,
.hero-menu-card .menu-icon,
.tab-button .menu-icon,
.subtab-pill .menu-icon,
.pathway-card .menu-icon {
	font-size: 0.82rem;
	width: 0.82rem;
	height: 0.82rem;
}

.primary-navigation .menu-item-has-children {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
}

.submenu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	margin-left: -0.25rem;
	border: 0;
	border-radius: 999px;
	background: rgba(95, 168, 160, 0.1);
	color: var(--hh-primary-dark);
	cursor: pointer;
}

.primary-navigation li:hover > a,
.primary-navigation li.current-menu-item > a,
.primary-navigation li.current-menu-ancestor > a {
	background: linear-gradient(135deg, rgba(95, 168, 160, 0.22), rgba(255, 255, 255, 0.94));
	color: var(--hh-primary-dark);
	border-color: rgba(31, 95, 89, 0.12);
	box-shadow: 0 10px 22px rgba(31, 95, 89, 0.12);
}

.primary-navigation .sub-menu {
	position: absolute;
	left: 0;
	top: calc(100% + 0.08rem);
	min-width: 280px;
	display: none;
	flex-direction: column;
	gap: 0.35rem;
	padding: 0.75rem;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(220, 239, 237, 0.92));
	border: 1px solid var(--hh-border);
	border-radius: 24px;
	box-shadow: 0 26px 48px rgba(22, 58, 54, 0.18);
	z-index: 999;
}

.primary-navigation .sub-menu a {
	width: 100%;
	justify-content: flex-start;
	padding: 0.85rem 0.95rem;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.82);
}

.primary-navigation .sub-menu li:hover > a,
.primary-navigation .sub-menu li.current-menu-item > a {
	background: rgba(95, 168, 160, 0.18);
}

.primary-navigation li.is-submenu-open > .sub-menu {
	display: flex;
}

.primary-navigation li.is-submenu-open > .submenu-toggle {
	background: linear-gradient(135deg, var(--hh-primary), #83bdb6);
	color: white;
}

.primary-navigation li.is-submenu-open > .submenu-toggle .dashicons {
	transform: rotate(180deg);
}

.site-main {
	padding: 2rem 0 4rem;
}

.hero,
.health-grid,
.editorial-grid,
.trust-block,
.archive-shell,
.content-shell,
.topic-tabs {
	margin-top: 1.5rem;
}

.hero {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 1.5rem;
	align-items: stretch;
}

.hero-copy {
	padding: clamp(1.8rem, 2vw, 2.5rem);
	background: #fff;
	border: 1px solid var(--hh-border);
	border-radius: 32px;
	box-shadow: var(--hh-shadow);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.8rem;
	border-radius: 999px;
	background: rgba(95, 168, 160, 0.16);
	color: var(--hh-primary-dark);
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.hero h1,
.section-heading h2,
.panel h2,
.entry-header h1,
.archive-shell h1 {
	margin: 0.8rem 0 0;
	font-family: "Fraunces", serif;
	font-size: clamp(2.5rem, 4vw, 4.5rem);
	line-height: 1.02;
	letter-spacing: -0.04em;
}

.hero p {
	max-width: 58ch;
	font-size: 1.05rem;
	color: #33514e;
}

.hero-panels,
.panel,
.trust-card,
.story-card,
.calculator-card,
.short-card,
.empty-card,
.page-article,
.single-article {
	background: var(--hh-surface);
	border: 1px solid var(--hh-border);
	border-radius: 28px;
	box-shadow: var(--hh-shadow);
}

.hero-panels {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.panel {
	padding: 1.2rem;
}

.panel-title-row,
.section-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.panel-featured .panel-title-row {
	align-items: center;
	padding: 0.95rem 1rem;
	margin: -0.1rem -0.1rem 1rem;
	border-radius: 22px;
	color: white;
}

.panel-featured .panel-title-row h2 {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	margin: 0;
	color: inherit;
}

.panel-featured .panel-title-row .text-link {
	color: inherit;
}

.panel-picks .panel-title-row {
	background: linear-gradient(135deg, #2d7c74, #5fa8a0);
}

.panel-latest .panel-title-row {
	background: linear-gradient(135deg, #c7763f, #e0ab63);
}

.section-heading h2,
.panel h2,
.archive-shell h1 {
	font-size: clamp(1.6rem, 2.4vw, 2.5rem);
}

.button-primary,
.button-secondary,
.text-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	transition: 180ms ease;
}

.button-primary,
.button-secondary {
	padding: 0.9rem 1.2rem;
	border-radius: 999px;
	font-weight: 800;
}

.button-primary {
	background: var(--hh-primary);
	color: white;
}

.button-primary:hover,
.button-secondary:hover {
	transform: translateY(-1px);
}

.button-secondary {
	border: 1px solid var(--hh-border);
	background: rgba(95, 168, 160, 0.08);
	color: var(--hh-primary-dark);
}

.text-link {
	color: var(--hh-primary-dark);
	font-weight: 800;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 1.3rem;
}

.hero-menu-grid,
.pathway-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem;
}

.hero-menu-grid {
	margin-top: 1.6rem;
}

.hero-menu-card,
.pathway-card {
	display: grid;
	gap: 0.5rem;
	padding: 1rem 1.05rem;
	border: 1px solid var(--hh-border);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 16px 28px rgba(21, 52, 50, 0.08);
}

.hero-menu-card strong,
.pathway-card h3 {
	font-size: 1rem;
}

.hero-menu-card span:last-child,
.pathway-card p,
.panel-intro,
.topic-panel-intro p {
	color: #4f6462;
}

.stack-list {
	display: grid;
	gap: 0.85rem;
}

.story-column {
	display: grid;
	gap: 1rem;
	max-height: 820px;
	overflow-y: auto;
	padding-right: 0.25rem;
}

.scroll-row {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(260px, 1fr);
	gap: 1rem;
	overflow-x: auto;
	padding-bottom: 0.2rem;
	scroll-snap-type: x proximity;
}

.scroll-row-vertical {
	grid-auto-flow: row;
	grid-auto-columns: unset;
	max-height: 610px;
	overflow-y: auto;
}

.story-card {
	display: grid;
	overflow: hidden;
	scroll-snap-align: start;
}

.story-card-compact {
	grid-template-columns: 110px 1fr;
}

.story-card-media,
.short-thumb {
	position: relative;
	display: block;
	background: linear-gradient(145deg, rgba(95, 168, 160, 0.2), rgba(246, 239, 230, 0.6));
	min-height: 170px;
}

.story-card-compact .story-card-media {
	min-height: 100%;
}

.story-card-media img,
.short-thumb img,
.entry-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.story-card-placeholder,
.video-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 170px;
	background:
		linear-gradient(135deg, rgba(95, 168, 160, 0.2), rgba(255, 255, 255, 0.2)),
		repeating-linear-gradient(45deg, rgba(31, 95, 89, 0.1) 0 12px, rgba(255, 255, 255, 0.05) 12px 24px);
}

.story-card-content,
.short-card h3 {
	padding: 1rem 1rem 1.1rem;
}

.story-card-overlay {
	position: absolute;
	top: 0.9rem;
	left: 0.9rem;
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.75rem;
	border-radius: 999px;
	background: rgba(21, 52, 50, 0.84);
	color: white;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.story-card-meta {
	display: flex;
	gap: 0.5rem;
	font-size: 0.82rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--hh-primary-dark);
}

.story-card h3,
.short-card h3,
.trust-card h3 {
	margin: 0.35rem 0 0;
	font-size: 1.1rem;
	line-height: 1.25;
}

.story-card-highlight .story-card-media {
	aspect-ratio: 16 / 10;
	min-height: unset;
}

.story-card-highlight {
	grid-template-columns: 1fr;
}

.story-card-highlight .story-card-content {
	padding-top: 1.1rem;
}

.story-card p,
.calc-result,
.trust-card p,
.archive-description,
.entry-content {
	color: #4f6462;
}

.topic-tabs {
	padding: 1.4rem 0 0;
}

.tab-controls,
.subtab-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.tab-button,
.subtab-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.8rem 1rem;
	border-radius: 18px;
	border: 1px solid var(--hh-border);
	background: white;
	font-weight: 800;
	color: var(--hh-primary-dark);
	cursor: pointer;
}

.tab-button.is-active {
	background: linear-gradient(135deg, var(--hh-primary), #83bdb6);
	color: white;
}

.tab-panel {
	display: none;
	margin-top: 1rem;
	padding: 1rem;
	background: #fff;
	border-radius: 28px;
	border: 1px solid var(--hh-border);
}

.tab-panel.is-active {
	display: block;
}

.nested-tab-panel {
	display: none;
	margin-top: 1rem;
}

.nested-tab-panel.is-active {
	display: block;
}

.topic-panel-intro {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.topic-panel-intro h3 {
	margin: 0.6rem 0 0;
	font-size: 1.25rem;
}

.subtab-pill.is-active {
	background: rgba(95, 168, 160, 0.14);
	border-color: rgba(31, 95, 89, 0.2);
}

.health-grid,
.editorial-grid,
.trust-grid,
.post-grid,
.footer-grid,
.pathway-grid {
	display: grid;
	gap: 1.2rem;
}

.health-grid,
.editorial-grid {
	grid-template-columns: 1fr 1fr;
}

.shorts-grid,
.calc-grid,
.feature-list,
.post-grid {
	display: grid;
	gap: 1rem;
}

.shorts-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.short-card {
	overflow: hidden;
}

.short-thumb {
	aspect-ratio: 9 / 16;
}

.calc-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
}

.calculator-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 1rem;
	overflow: hidden;
	background: #fff;
}

.calculator-card h3 {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: -1rem -1rem 0.8rem;
	padding: 0.95rem 1rem;
	color: white;
	font-size: 1.05rem;
	min-height: 68px;
}

.calculator-card-bmi h3 {
	background: linear-gradient(135deg, #2d7c74, #5fa8a0);
}

.calculator-card-water h3 {
	background: linear-gradient(135deg, #3f76c7, #6ab7d6);
}

.calculator-card-protein h3 {
	background: linear-gradient(135deg, #c7763f, #e0ab63);
}

.calculator-card label {
	display: grid;
	gap: 0.35rem;
	margin-top: 0.9rem;
}

.calculator-card input,
.calculator-card select {
	width: 100%;
	padding: 0.8rem 0.9rem;
	border: 1px solid rgba(31, 95, 89, 0.15);
	border-radius: 16px;
	background: #fbfefd;
}

.calculator-card button {
	width: 100%;
	margin-top: auto;
	border: 0;
	cursor: pointer;
}

.calc-result {
	min-height: 2rem;
	margin: 0.9rem 0 0;
	font-weight: 700;
}

.trust-grid,
.post-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-card {
	padding: 1.3rem;
	background: #fff;
}

.content-shell {
	max-width: 1500px;
}

.page-article,
.single-article {
	padding: 1.4rem;
}

.entry-thumb {
	margin: 1rem 0 1.4rem;
	overflow: hidden;
	border-radius: 22px;
}

.site-footer {
	background: var(--hh-footer-bg);
	color: #edf7f5;
	margin-top: 3rem;
	padding-top: 3rem;
}

.footer-grid {
	align-items: start;
	padding-bottom: 2rem;
}

.footer-brand h2,
.footer-nav h3,
.footer-widget-title,
.footer-contact h3 {
	margin-top: 0;
	font-family: "Fraunces", serif;
}

.footer-nav a,
.footer-widgets a {
	color: rgba(237, 247, 245, 0.86);
}

.footer-nav li + li {
	margin-top: 0.4rem;
}

.footer-contact address {
	font-style: normal;
	line-height: 1.8;
	color: rgba(237, 247, 245, 0.9);
}

.footer-contact a {
	color: #edf7f5;
}

.footer-bottom {
	justify-content: space-between;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	padding: 1rem 0 1.6rem;
}

.empty-copy,
.empty-card {
	padding: 1rem;
	background: rgba(95, 168, 160, 0.06);
	border-radius: 18px;
}

@media (max-width: 1080px) {
	.hero,
	.health-grid,
	.editorial-grid {
		grid-template-columns: 1fr;
	}

	.hero-panels,
	.calc-grid,
	.trust-grid,
	.post-grid,
	.footer-grid,
	.hero-menu-grid,
	.pathway-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.menu-toggle {
		display: inline-flex;
	}

	.header-actions {
		display: none;
	}

	.primary-navigation {
		display: none;
		padding-bottom: 1rem;
		overflow: visible;
	}

	.primary-navigation.is-open {
		display: block;
	}

	.primary-navigation > div > ul,
	.primary-navigation > ul {
		flex-direction: column;
		flex-wrap: wrap;
		align-items: stretch;
	}

	.primary-navigation .menu-item-has-children {
		display: block;
	}

	.primary-navigation li > a:first-child {
		width: calc(100% - 2.5rem);
	}

	.submenu-toggle {
		float: right;
		margin-top: 0.3rem;
	}

	.primary-navigation .sub-menu {
		position: static;
		display: none;
		margin-top: 0.4rem;
		min-width: 100%;
		box-shadow: none;
		border-radius: 18px;
	}

	.primary-navigation li.is-submenu-open > .sub-menu {
		display: flex;
	}

	.hero-panels,
	.calc-grid,
	.trust-grid,
	.shorts-grid,
	.post-grid,
	.hero-menu-grid,
	.pathway-grid {
		grid-template-columns: 1fr;
	}

	.story-card-compact {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.section-shell {
		width: min(100% - 1rem, 1500px);
	}

	.hero h1 {
		font-size: 2.35rem;
	}

	.topbar {
		padding: 0.9rem 0;
	}

	.panel,
	.hero-copy,
	.page-article,
	.single-article {
		border-radius: 22px;
	}

	.story-column {
		max-height: none;
		overflow: visible;
	}
}
