:root {
	--color-bg: #fbfaf7;
	--color-surface: #f3f0ea;
	--color-surface-strong: #e8e1d5;
	--color-text: #111111;
	--color-muted: #666666;
	--color-border: rgba(17, 17, 17, 0.14);
	--color-accent: #87b58f;
	--font-sans: "Outfit", sans-serif;
	--font-serif: "Newsreader", serif;
	--site-width: min(1220px, calc(100vw - 48px));
	--content-width: min(760px, calc(100vw - 48px));
	--radius-lg: 28px;
	--radius-md: 20px;
	--radius-sm: 12px;
	--shadow-soft: 0 16px 40px rgba(17, 17, 17, 0.06);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	background:
		radial-gradient(circle at top left, rgba(135, 181, 143, 0.18), transparent 28%),
		linear-gradient(180deg, #fffdf8 0%, var(--color-bg) 30%, #f6f1e9 100%);
	color: var(--color-text);
}

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

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

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.site-shell {
	min-height: 100vh;
}

.site-main,
.site-header__inner,
.site-footer,
.newsletter-band,
.hero,
.latest-strip,
.content-section,
.platform-band,
.archive-shell,
.single-story {
	width: var(--site-width);
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(14px);
	background: rgba(10, 10, 10, 0.92);
	border-bottom: 1px solid rgba(135, 181, 143, 0.24);
}

.site-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	padding: 18px 0;
}

.site-branding__fallback,
.site-footer__logo {
	display: inline-flex;
	color: #111;
}

.custom-logo-link img,
.site-branding__logo img,
.site-branding__fallback img {
	max-height: 60px;
	width: auto;
	filter: grayscale(1) contrast(1.1);
}

.site-branding__fallback {
	color: #fff;
}

.site-branding__fallback img {
	display: block;
	height: 60px;
	width: auto;
}

.primary-nav a,
.site-header__cta {
	color: #fff;
}

.menu-toggle span {
	background-color: #fff;
}

.primary-nav ul,
.site-footer__nav ul {
	display: flex;
	align-items: center;
	gap: 18px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.primary-nav li {
	font-size: 0.92rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.primary-nav a:hover,
.site-footer__nav a:hover,
.section-heading__link:hover {
	color: var(--color-accent);
}

.site-header__cta,
.button,
.newsletter-band__form button,
.search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	padding: 0.95rem 1.35rem;
	font-size: 0.86rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header__cta,
.button--solid,
.newsletter-band__form button,
.search-submit {
	background: var(--color-text);
	color: #fff;
}

.site-header__cta {
	background: var(--color-accent);
	color: var(--color-text);
}

.site-header__cta:hover,
.button--solid:hover,
.newsletter-band__form button:hover,
.search-submit:hover {
	background: var(--color-accent);
	color: var(--color-text);
	transform: translateY(-1px);
}

.button--ghost {
	border: 1px solid var(--color-border);
	background: rgba(255, 255, 255, 0.7);
}

.button--ghost:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

.menu-toggle {
	display: none;
	border: 0;
	background: none;
	padding: 0;
	width: 44px;
	height: 44px;
	position: relative;
}

.menu-toggle span {
	position: absolute;
	left: 10px;
	right: 10px;
	height: 2px;
	transition: transform 180ms ease, top 180ms ease, opacity 180ms ease;
}

.menu-toggle span:first-child {
	top: 16px;
}

.menu-toggle span:last-child {
	top: 26px;
}

.site-main {
	padding: 34px 0 72px;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
	gap: 32px;
	align-items: stretch;
	padding: 30px 0 34px;
	position: relative;
}

.hero__intro,
.hero__feature .story-card--feature,
.latest-strip,
.content-section,
.platform-band,
.newsletter-band,
.archive-shell,
.single-story {
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(17, 17, 17, 0.07);
	box-shadow: var(--shadow-soft);
}

.hero__intro,
.latest-strip,
.content-section,
.platform-band,
.archive-shell,
.single-story {
	border-radius: var(--radius-lg);
}

.hero__intro {
	padding: clamp(32px, 4vw, 54px);
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(8, 8, 8, 0.98), rgba(20, 20, 20, 0.95)),
		linear-gradient(135deg, rgba(135, 181, 143, 0.18), transparent 60%);
	color: #fff;
}

.hero__intro::after {
	content: "";
	position: absolute;
	inset: auto -80px -80px auto;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(135, 181, 143, 0.42), rgba(135, 181, 143, 0));
}

.brand-pattern {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
	z-index: 0;
}

.brand-shape {
	position: absolute;
	display: block;
	border: 1px solid rgba(135, 181, 143, 0.52);
	border-radius: 28px;
	clip-path: polygon(18% 0, 100% 0, 100% 80%, 82% 100%, 0 100%, 0 20%);
	opacity: 0.9;
}

.brand-shape--a {
	top: 18px;
	right: 48px;
	width: 132px;
	height: 132px;
}

.brand-shape--b {
	top: 128px;
	right: -22px;
	width: 210px;
	height: 210px;
}

.brand-shape--c {
	left: -60px;
	bottom: 24px;
	width: 170px;
	height: 170px;
}

.brand-shape--d {
	left: 180px;
	bottom: -18px;
	width: 72px;
	height: 72px;
}

.hero > *:not(.brand-pattern),
.latest-strip > *:not(.pattern-panel),
.newsletter-band > *:not(.pattern-panel) {
	position: relative;
	z-index: 1;
}

.pattern-panel {
	position: absolute;
	pointer-events: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	opacity: 0.16;
	mix-blend-mode: multiply;
	filter: grayscale(1) contrast(1.04);
}

.pattern-panel--latest {
	inset: 18px 18px auto auto;
	width: 220px;
	height: 160px;
	background-image: var(--pattern-latest);
}

.pattern-panel--newsletter {
	top: 20px;
	right: 24px;
	width: 260px;
	height: 180px;
	background-image: var(--pattern-newsletter);
	opacity: 0.18;
}

.brand-pattern--hero::before {
	content: "";
	position: absolute;
	top: 24px;
	right: 24px;
	width: 260px;
	height: 220px;
	background-image: var(--pattern-hero);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	opacity: 0.14;
	mix-blend-mode: screen;
	filter: grayscale(1) contrast(1.08);
}

.hero__eyebrow,
.section-heading__eyebrow,
.newsletter-band__eyebrow {
	margin: 0 0 14px;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--color-accent);
	font-weight: 700;
}

.hero h1,
.section-heading h2,
.platform-band h2,
.archive-shell h1,
.single-story h1,
.newsletter-band h2 {
	font-family: var(--font-serif);
	font-weight: 500;
	line-height: 0.96;
	letter-spacing: -0.03em;
	margin: 0;
}

.hero h1 {
	font-size: clamp(3.4rem, 8vw, 6.5rem);
	max-width: 10ch;
}

.hero__text {
	max-width: 56ch;
	font-size: 1.06rem;
	color: rgba(255, 255, 255, 0.72);
	margin: 22px 0 0;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.hero__feature .story-card--feature {
	height: 100%;
	border-radius: var(--radius-lg);
	padding: 34px;
	background:
		linear-gradient(180deg, rgba(17, 17, 17, 0.95), rgba(17, 17, 17, 0.88)),
		linear-gradient(135deg, rgba(135, 181, 143, 0.25), transparent 65%);
	color: #fff;
	border: 0;
	position: relative;
	overflow: hidden;
}

.hero__feature .story-card--feature::after {
	content: "";
	position: absolute;
	inset: auto auto -45px -45px;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.16);
}

.story-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: inherit;
	opacity: 0.78;
}

.story-card__dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.7;
}

.story-card__title {
	margin: 0;
	font-family: var(--font-serif);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -0.02em;
	font-size: clamp(1.5rem, 2vw, 2rem);
}

.story-card--feature .story-card__title {
	font-size: clamp(2rem, 3.2vw, 3rem);
	max-width: 12ch;
}

.story-card__excerpt {
	margin: 16px 0 0;
	color: inherit;
	opacity: 0.8;
	max-width: 38ch;
}

.latest-strip,
.content-section,
.platform-band,
.archive-shell {
	padding: 28px;
	margin-top: 28px;
	position: relative;
}

.section-heading,
.newsletter-band,
.site-footer__grid {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
}

.section-heading h2,
.platform-band h2,
.archive-shell h1,
.single-story h1,
.newsletter-band h2 {
	font-size: clamp(2rem, 4vw, 3.7rem);
}

.section-heading__link {
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 600;
}

.latest-strip__grid,
.story-grid,
.platform-band__grid {
	display: grid;
	gap: 18px;
	margin-top: 24px;
}

.latest-strip__grid,
.story-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.story-card {
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.72);
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.story-card__link {
	display: block;
	padding: 22px;
	height: 100%;
}

.story-card:hover {
	transform: translateY(-3px);
	border-color: rgba(135, 181, 143, 0.6);
	background: rgba(255, 255, 255, 0.9);
}

.story-card--compact .story-card__title {
	font-size: 1.35rem;
}

.platform-card {
	padding: 24px;
	border-radius: var(--radius-md);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 241, 233, 0.95));
	border: 1px solid var(--color-border);
}

.platform-card h3 {
	margin: 0 0 10px;
	font-size: 1.4rem;
	font-family: var(--font-serif);
	font-weight: 500;
}

.platform-card p,
.archive-description,
.single-story__excerpt,
.site-footer__brand p {
	color: var(--color-muted);
}

.single-story {
	max-width: 900px;
	padding: clamp(28px, 4vw, 54px);
}

.single-story__header {
	max-width: 720px;
	margin: 0 auto 36px;
}

.single-story__meta {
	margin: 0 0 16px;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--color-accent);
}

.single-story__excerpt {
	font-size: 1.1rem;
	margin: 18px 0 0;
	max-width: 55ch;
}

.single-story__content {
	max-width: var(--content-width);
	margin: 0 auto;
	font-size: 1.06rem;
}

.single-story__content > *:first-child {
	margin-top: 0;
}

.single-story__content a {
	color: var(--color-accent);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.single-story__content blockquote {
	margin: 32px 0;
	padding: 24px 28px;
	border-left: 3px solid var(--color-accent);
	background: rgba(135, 181, 143, 0.08);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-family: var(--font-serif);
	font-size: 1.3rem;
}

.newsletter-band {
	width: var(--site-width);
	margin: 72px auto 24px;
	padding: 30px;
	border-radius: var(--radius-lg);
	background:
		linear-gradient(180deg, rgba(8, 8, 8, 0.98), rgba(20, 20, 20, 0.95)),
		linear-gradient(120deg, rgba(135, 181, 143, 0.2), transparent 60%);
	border-color: rgba(135, 181, 143, 0.22);
	color: #fff;
	position: relative;
	overflow: hidden;
}

.newsletter-band__copy {
	max-width: 720px;
}

.newsletter-band h2,
.newsletter-band__copy p,
.newsletter-band .newsletter-band__eyebrow {
	color: inherit;
}

.newsletter-band__form {
	display: flex;
	gap: 12px;
	align-items: center;
	min-width: min(100%, 420px);
}

.newsletter-band__form input,
.search-field {
	flex: 1;
	min-height: 52px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1px solid var(--color-border);
	background: rgba(255, 255, 255, 0.92);
	font: inherit;
}

.site-footer {
	padding-bottom: 28px;
	position: relative;
}

.site-footer__grid {
	padding: 20px 0 14px;
	border-top: 1px solid var(--color-border);
	align-items: flex-start;
}

.site-footer__brand {
	max-width: 420px;
}

.site-footer__logo {
	width: 132px;
	height: auto;
	color: var(--color-text);
	margin-bottom: 16px;
}

.site-footer__copyright {
	margin: 0;
	padding-top: 18px;
	border-top: 1px solid var(--color-border);
	font-size: 0.88rem;
	color: var(--color-muted);
}

.search-form {
	display: flex;
	gap: 10px;
	align-items: center;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	margin-right: 8px;
	margin-top: 28px;
	border-radius: 999px;
	border: 1px solid var(--color-border);
}

.page-numbers.current,
.page-numbers:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

@media (max-width: 1024px) {
	.hero,
	.latest-strip__grid,
	.story-grid,
	.platform-band__grid {
		grid-template-columns: 1fr 1fr;
	}

	.hero {
		grid-template-columns: 1fr;
	}

	.section-heading,
	.newsletter-band,
	.site-footer__grid {
		flex-direction: column;
		align-items: flex-start;
	}

	.newsletter-band__form {
		width: 100%;
	}
}

@media (max-width: 760px) {
	:root {
		--site-width: min(100vw - 28px, 1000px);
		--content-width: min(100vw - 28px, 680px);
	}

	.site-header__inner {
		grid-template-columns: auto auto;
	}

	.menu-toggle {
		display: inline-flex;
		justify-self: end;
	}

	.primary-nav {
		grid-column: 1 / -1;
		display: none;
		width: 100%;
		padding-top: 6px;
	}

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

	.primary-nav ul,
	.site-footer__nav ul,
	.latest-strip__grid,
	.story-grid,
	.platform-band__grid,
	.newsletter-band__form,
	.search-form {
		flex-direction: column;
		grid-template-columns: 1fr;
		align-items: stretch;
	}

	.site-header__cta {
		display: none;
	}

	.hero h1 {
		font-size: clamp(2.8rem, 18vw, 4.6rem);
	}

	.brand-shape--a,
	.brand-shape--b {
		right: -28px;
	}

	.brand-shape--c {
		left: -90px;
	}

	.pattern-panel--latest,
	.pattern-panel--newsletter,
	.brand-pattern--hero::before {
		width: 160px;
		height: 120px;
	}

	.latest-strip,
	.content-section,
	.platform-band,
	.archive-shell,
	.single-story,
	.newsletter-band {
		padding: 22px;
	}

	.story-card__link,
	.platform-card {
		padding: 18px;
	}
}
