/* Fine Teas — main stylesheet
   Tokens from development spec §9 */

:root {
	--ft-color-paper: #faf8f2;
	--ft-color-surface: #ffffff;
	--ft-color-ink: #1f2a24;
	--ft-color-forest: #244a38;
	--ft-color-forest-dark: #173629;
	--ft-color-leaf: #5c7f64;
	--ft-color-terracotta: #b96838;
	--ft-color-sand: #e8ddc7;
	--ft-color-mist: #eef3ed;
	--ft-color-border: #d8d2c5;
	--ft-color-muted: #5d6861;
	--ft-color-error: #a23a32;
	--ft-color-success: #2f6b48;

	--ft-font-heading: "PT Serif", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
	--ft-font-body: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--ft-space-2xs: 0.5rem;
	--ft-space-xs: 0.75rem;
	--ft-space-sm: 1rem;
	--ft-space-md: 1.5rem;
	--ft-space-lg: 2rem;
	--ft-space-xl: 3rem;
	--ft-space-2xl: 4rem;
	--ft-space-3xl: 6rem;

	--ft-radius-control: 8px;
	--ft-radius-card: 12px;
	--ft-radius-pill: 999px;

	--ft-container: 1200px;
	--ft-prose: 760px;
	--ft-header-h: 68px;
	--ft-gutter: 1rem;
}

@media (min-width: 768px) {
	:root {
		--ft-header-h: 72px;
	}
}

@font-face {
	font-family: Inter;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/inter-cyrillic-regular.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: Inter;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/inter-regular.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: Inter;
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/inter-medium.woff2") format("woff2");
}
@font-face {
	font-family: Inter;
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/inter-semibold.woff2") format("woff2");
}
@font-face {
	font-family: Inter;
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/inter-cyrillic-bold.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: Inter;
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/inter-bold.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "PT Serif";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/pt-serif-cyrillic-regular.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "PT Serif";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/pt-serif-regular.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "PT Serif";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/pt-serif-cyrillic-bold.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "PT Serif";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/pt-serif-bold.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--ft-header-h) + 1rem);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	background: var(--ft-color-paper);
	color: var(--ft-color-ink);
	font-family: var(--ft-font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
	body {
		font-size: 1.125rem;
		--ft-gutter: 1.5rem;
	}
}

@media (min-width: 1024px) {
	body {
		--ft-gutter: 2rem;
	}
}

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

a {
	color: var(--ft-color-forest-dark);
	text-underline-offset: 0.15em;
}

a:hover {
	color: var(--ft-color-forest);
}

:focus-visible {
	outline: 2px solid var(--ft-color-forest);
	outline-offset: 3px;
}

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

.ft-skip-link:focus {
	position: fixed;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 10000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.75rem 1rem;
	clip: auto;
	overflow: visible;
	white-space: normal;
	background: var(--ft-color-forest);
	color: #fff;
	border-radius: var(--ft-radius-control);
	text-decoration: none;
}

.ft-container {
	width: min(100% - (var(--ft-gutter) * 2), var(--ft-container));
	margin-inline: auto;
}

/* Header */
.ft-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: color-mix(in srgb, var(--ft-color-paper) 92%, transparent);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--ft-color-border);
}

.ft-header.is-scrolled {
	box-shadow: 0 1px 0 var(--ft-color-border);
}

.ft-header__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: var(--ft-header-h);
}

.ft-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	color: var(--ft-color-ink);
	flex-shrink: 0;
}

.ft-logo__mark {
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 8px;
	background: var(--ft-color-forest);
	color: #fff;
	font-family: var(--ft-font-heading);
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.02em;
}

.ft-logo__text {
	font-family: var(--ft-font-heading);
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: -0.01em;
}

.ft-nav {
	display: none;
	flex: 1;
	justify-content: center;
}

@media (min-width: 1024px) {
	.ft-nav {
		display: flex;
	}
	.ft-header__menu-toggle {
		display: none !important;
	}
}

.ft-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ft-nav__list a {
	text-decoration: none;
	color: var(--ft-color-ink);
	font-size: 0.95rem;
	font-weight: 500;
	padding: 0.35rem 0;
	border-bottom: 2px solid transparent;
}

.ft-nav__list .current-menu-item > a,
.ft-nav__list a:hover {
	border-bottom-color: var(--ft-color-leaf);
	color: var(--ft-color-forest-dark);
}

.ft-header__actions {
	margin-left: auto;
	display: flex;
	gap: 0.35rem;
}

.ft-icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	color: var(--ft-color-ink);
	cursor: pointer;
	border-radius: var(--ft-radius-control);
}

.ft-icon-btn:hover {
	background: var(--ft-color-mist);
}

.ft-hamburger,
.ft-hamburger::before,
.ft-hamburger::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
	position: relative;
	transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.ft-hamburger::before,
.ft-hamburger::after {
	content: "";
	position: absolute;
	left: 0;
}
.ft-hamburger::before { top: -6px; }
.ft-hamburger::after { top: 6px; }

.ft-header__menu-toggle[aria-expanded="true"] .ft-hamburger {
	background: transparent;
}
.ft-header__menu-toggle[aria-expanded="true"] .ft-hamburger::before {
	top: 0;
	transform: rotate(45deg);
}
.ft-header__menu-toggle[aria-expanded="true"] .ft-hamburger::after {
	top: 0;
	transform: rotate(-45deg);
}

.ft-search-panel,
.ft-mobile-panel {
	border-top: 1px solid var(--ft-color-border);
	background: var(--ft-color-paper);
	padding: 1rem 0 1.25rem;
}

.ft-mobile-panel {
	position: relative;
	z-index: 950;
}

.ft-mobile-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ft-mobile-nav a {
	display: block;
	padding: 0.85rem 0;
	text-decoration: none;
	border-bottom: 1px solid var(--ft-color-border);
	color: var(--ft-color-ink);
	font-weight: 500;
}

.ft-overlay {
	position: fixed;
	inset: 0;
	background: rgb(31 42 36 / 0.35);
	z-index: 900;
}

body.ft-menu-open {
	overflow: hidden;
}

.ft-sitemap__section {
	margin-bottom: var(--ft-space-xl);
}

.ft-sitemap__section h2 {
	font-family: var(--ft-font-heading);
	font-size: 1.35rem;
	margin: 0 0 0.75rem;
}

.ft-search-form--results {
	margin: 1rem 0;
}

.ft-search-count {
	color: var(--ft-color-muted);
	font-size: 0.95rem;
}

/* Buttons & forms */
.ft-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0.65rem 1.15rem;
	border-radius: var(--ft-radius-control);
	border: 1px solid transparent;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ft-btn--primary {
	background: var(--ft-color-forest);
	color: #fff;
}
.ft-btn--primary:hover {
	background: var(--ft-color-forest-dark);
	color: #fff;
}

.ft-btn--ghost {
	background: transparent;
	border-color: var(--ft-color-border);
	color: var(--ft-color-ink);
}
.ft-btn--ghost:hover {
	border-color: var(--ft-color-forest);
	color: var(--ft-color-forest-dark);
}

.ft-btn--forest-dark {
	background: var(--ft-color-forest-dark);
	color: #fff;
}

.ft-search-form {
	display: grid;
	gap: 0.75rem;
}

@media (min-width: 640px) {
	.ft-search-form {
		grid-template-columns: 1fr auto;
		align-items: end;
	}
	.ft-search-form__label {
		grid-column: 1 / -1;
	}
}

.ft-search-form__label {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--ft-color-muted);
}

.ft-search-form__input,
.ft-hero__search input {
	width: 100%;
	min-height: 48px;
	padding: 0.65rem 0.9rem;
	border: 1px solid var(--ft-color-border);
	border-radius: var(--ft-radius-control);
	background: var(--ft-color-surface);
	font: inherit;
	color: var(--ft-color-ink);
}

/* Hero */
.ft-hero {
	padding: var(--ft-space-xl) 0 var(--ft-space-2xl);
	background:
		radial-gradient(ellipse 80% 60% at 90% 10%, rgb(92 127 100 / 0.14), transparent 55%),
		linear-gradient(180deg, var(--ft-color-mist), var(--ft-color-paper) 70%);
}

.ft-hero__grid {
	display: grid;
	gap: var(--ft-space-xl);
	align-items: center;
}

@media (min-width: 1024px) {
	.ft-hero__grid {
		grid-template-columns: 7fr 5fr;
	}
}

.ft-eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ft-color-leaf);
}

.ft-hero__title {
	margin: 0 0 1rem;
	font-family: var(--ft-font-heading);
	font-size: clamp(2.25rem, 4.8vw, 3.75rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.ft-hero__lead {
	margin: 0 0 1.5rem;
	max-width: 38rem;
	color: var(--ft-color-muted);
	font-size: 1.05rem;
}

.ft-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
}

.ft-hero__search {
	display: grid;
	gap: 0.75rem;
	max-width: 36rem;
}

@media (min-width: 560px) {
	.ft-hero__search {
		grid-template-columns: 1fr auto;
	}
}

.ft-hero__visual {
	min-height: 280px;
	border-radius: var(--ft-radius-card);
	background:
		linear-gradient(145deg, var(--ft-color-sand), var(--ft-color-mist)),
		repeating-linear-gradient(
			-12deg,
			transparent,
			transparent 12px,
			rgb(36 74 56 / 0.04) 12px,
			rgb(36 74 56 / 0.04) 13px
		);
	border: 1px solid var(--ft-color-border);
}

@media (min-width: 1024px) {
	.ft-hero__visual {
		min-height: 420px;
	}
}

/* Sections & cards */
.ft-section {
	padding: var(--ft-space-xl) 0;
}

.ft-section__header {
	margin-bottom: var(--ft-space-lg);
}

.ft-section__header h2 {
	margin: 0 0 0.5rem;
	font-family: var(--ft-font-heading);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.ft-section__header p {
	margin: 0;
	color: var(--ft-color-muted);
}

.ft-quick-links__list {
	display: grid;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 640px) {
	.ft-quick-links__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.ft-quick-links__list {
		grid-template-columns: repeat(4, 1fr);
	}
}

.ft-quick-card {
	display: block;
	height: 100%;
	padding: 1.25rem;
	border-radius: var(--ft-radius-card);
	background: var(--ft-color-surface);
	border: 1px solid var(--ft-color-border);
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.ft-quick-card:hover {
	border-color: var(--ft-color-leaf);
	transform: translateY(-2px);
}

.ft-quick-card__title {
	display: block;
	font-family: var(--ft-font-heading);
	font-weight: 700;
	font-size: 1.2rem;
	margin-bottom: 0.35rem;
}

.ft-quick-card__desc {
	display: block;
	color: var(--ft-color-muted);
	font-size: 0.95rem;
}

.ft-card-grid {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 640px) {
	.ft-card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.ft-card-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.ft-card {
	position: relative;
	background: var(--ft-color-surface);
	border: 1px solid var(--ft-color-border);
	border-radius: var(--ft-radius-card);
	overflow: hidden;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.ft-card:hover {
	border-color: var(--ft-color-leaf);
	transform: translateY(-2px);
}

.ft-card__title-link {
	color: inherit;
	text-decoration: none;
}

.ft-card__title-link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.ft-card__title-link:hover,
.ft-card__title-link:focus-visible {
	color: var(--ft-color-forest);
	text-decoration: underline;
}

.ft-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.ft-card__media {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--ft-color-sand);
}

.ft-card__media--placeholder {
	background:
		linear-gradient(90deg, var(--ft-color-sand) 0%, var(--ft-color-mist) 45%, var(--ft-color-sand) 100%);
	background-size: 200% 100%;
	animation: ft-skeleton 1.4s ease-in-out infinite;
}

.ft-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: var(--ft-color-sand);
}

@keyframes ft-skeleton {
	0% { background-position: 100% 0; }
	100% { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
	.ft-card__media--placeholder {
		animation: none;
		background: linear-gradient(135deg, var(--ft-color-sand), var(--ft-color-mist));
	}
}

.ft-card__body {
	padding: 1.1rem 1.15rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	flex: 1;
}

.ft-card__meta {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--ft-color-leaf);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.ft-card__title {
	margin: 0;
	font-family: var(--ft-font-heading);
	font-size: 1.2rem;
	line-height: 1.25;
}

.ft-card__excerpt {
	margin: 0;
	color: var(--ft-color-muted);
	font-size: 0.95rem;
	flex: 1;
}

.ft-card__footer {
	margin: 0.5rem 0 0;
	font-size: 0.8rem;
	color: var(--ft-color-muted);
}

.ft-principles {
	background: var(--ft-color-mist);
	border-block: 1px solid var(--ft-color-border);
}

.ft-principles__inner h2 {
	font-family: var(--ft-font-heading);
	margin-top: 0;
}

.ft-principles__list {
	padding-left: 1.2rem;
	color: var(--ft-color-muted);
}

/* Article */
.ft-article__layout {
	display: grid;
	gap: var(--ft-space-lg);
	padding-block: var(--ft-space-lg) var(--ft-space-2xl);
	grid-template-columns: minmax(0, 1fr);
}

/* Two columns only while TOC is present (JS may remove an empty TOC). */
@media (min-width: 1024px) {
	.ft-article__layout:has(> .ft-toc) {
		grid-template-columns: 260px minmax(0, 1fr);
		align-items: start;
	}

	.ft-article__layout:not(:has(> .ft-toc)),
	.ft-article__layout--no-toc {
		justify-items: center;
	}

	.ft-article__layout:not(:has(> .ft-toc)) > .ft-article__main,
	.ft-article__layout--no-toc > .ft-article__main {
		width: 100%;
		max-width: calc(var(--ft-prose) + 2rem);
	}
}

.ft-toc {
	order: -1;
}

@media (min-width: 1024px) {
	.ft-toc {
		order: 0;
		position: sticky;
		top: calc(var(--ft-header-h) + 1rem);
	}
	.ft-toc__toggle {
		display: none;
	}
}

.ft-toc__toggle {
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--ft-color-border);
	border-radius: var(--ft-radius-control);
	background: var(--ft-color-surface);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.ft-toc__nav {
	padding: 1rem;
	border: 1px solid var(--ft-color-border);
	border-radius: var(--ft-radius-card);
	background: var(--ft-color-surface);
}

@media (max-width: 1023px) {
	.ft-toc__nav[hidden],
	.ft-toc:not(.is-open) .ft-toc__nav {
		display: none;
	}
	.ft-toc.is-open .ft-toc__nav {
		display: block;
		margin-top: 0.75rem;
	}
}

.ft-toc__title {
	margin: 0 0 0.75rem;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ft-color-muted);
}

.ft-toc__list {
	margin: 0;
	padding-left: 1.1rem;
	font-size: 0.9rem;
}

.ft-toc__list a {
	text-decoration: none;
	color: var(--ft-color-ink);
}

.ft-toc__list a:hover,
.ft-toc__list a.is-active {
	color: var(--ft-color-forest);
	text-decoration: underline;
}

.ft-article__title {
	margin: 0 0 0.75rem;
	font-family: var(--ft-font-heading);
	font-size: clamp(2.125rem, 3.6vw, 3rem);
	line-height: 1.15;
}

.ft-article__lead {
	font-size: 1.15rem;
	color: var(--ft-color-muted);
	max-width: 42rem;
}

.ft-article__meta,
.ft-article__kicker {
	font-size: 0.9rem;
	color: var(--ft-color-muted);
}

.ft-article__kicker {
	font-weight: 600;
	color: var(--ft-color-leaf);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.ft-article__featured {
	margin: 1.5rem 0;
	max-width: var(--ft-prose);
	border-radius: var(--ft-radius-card);
	overflow: hidden;
}

.ft-article__featured img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.ft-article__featured figcaption {
	padding: 0.5rem 0;
	font-size: 0.85rem;
	color: var(--ft-color-muted);
}

.ft-prose {
	max-width: var(--ft-prose);
}

.ft-prose > *:first-child {
	margin-top: 0;
}

.ft-prose h2,
.ft-prose h3 {
	font-family: var(--ft-font-heading);
	scroll-margin-top: calc(var(--ft-header-h) + 1rem);
}

.ft-prose a {
	text-decoration: underline;
}

.ft-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.ft-prose th,
.ft-prose td {
	border: 1px solid var(--ft-color-border);
	padding: 0.65rem 0.75rem;
	text-align: left;
}

.ft-takeaways,
.ft-callout,
.ft-block--answer {
	padding: 1.15rem 1.25rem;
	border-radius: var(--ft-radius-card);
	background: var(--ft-color-mist);
	border: 1px solid var(--ft-color-border);
	margin: 1.5rem 0;
}

.ft-callout--warning {
	background: color-mix(in srgb, var(--ft-color-terracotta) 12%, var(--ft-color-paper));
	border-color: color-mix(in srgb, var(--ft-color-terracotta) 35%, var(--ft-color-border));
}

.ft-callout--tip {
	background: var(--ft-color-mist);
}

.ft-block__label,
.ft-takeaways__title {
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ft-color-leaf);
}

.ft-sources {
	margin-top: var(--ft-space-xl);
	padding-top: var(--ft-space-lg);
	border-top: 1px solid var(--ft-color-border);
	max-width: var(--ft-prose);
}

.ft-sources__list {
	font-size: 0.95rem;
	color: var(--ft-color-muted);
}

.ft-faq__item {
	border: 1px solid var(--ft-color-border);
	border-radius: var(--ft-radius-control);
	background: var(--ft-color-surface);
	padding: 0.35rem 1rem;
	margin-bottom: 0.65rem;
}

.ft-faq__question {
	cursor: pointer;
	font-weight: 600;
	padding: 0.75rem 0;
}

.ft-faq__answer {
	padding-bottom: 0.85rem;
	color: var(--ft-color-muted);
}

.ft-breadcrumbs {
	padding-top: 1.75rem;
	overflow-x: auto;
}

.ft-breadcrumbs__list {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.85rem;
	color: var(--ft-color-muted);
	white-space: nowrap;
}

.ft-breadcrumbs__item:not(:last-child)::after {
	content: "/";
	margin-left: 0.35rem;
	opacity: 0.6;
}

.ft-breadcrumbs__link {
	text-decoration: none;
	color: var(--ft-color-muted);
}

.ft-breadcrumbs__current {
	color: var(--ft-color-ink);
}

.ft-empty__links {
	display: grid;
	gap: 0.5rem;
	padding-left: 1.1rem;
}

.ft-status-page {
	max-width: 40rem;
}

.ft-archive-header {
	margin-bottom: var(--ft-space-lg);
}

.ft-archive-header h1 {
	font-family: var(--ft-font-heading);
	margin: 0 0 0.5rem;
}

/* Footer */
.ft-footer {
	margin-top: auto;
	background: var(--ft-color-forest-dark);
	color: #e8efe9;
	padding: var(--ft-space-2xl) 0 var(--ft-space-lg);
}

.ft-footer a {
	color: #e8efe9;
	text-decoration: none;
}

.ft-footer a:hover {
	text-decoration: underline;
}

.ft-footer .ft-logo__text,
.ft-footer .ft-logo {
	color: #fff;
}

.ft-footer .ft-logo__mark {
	background: var(--ft-color-leaf);
}

.ft-footer__grid {
	display: grid;
	gap: var(--ft-space-lg);
}

@media (min-width: 768px) {
	.ft-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.ft-footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr 1fr;
	}
}

.ft-footer__heading {
	margin: 0 0 0.75rem;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ft-color-sand);
	font-family: var(--ft-font-body);
	font-weight: 700;
}

.ft-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ft-footer__menu li {
	margin-bottom: 0.45rem;
}

.ft-footer__tagline {
	color: rgb(232 239 233 / 0.8);
	font-size: 0.95rem;
}

.ft-footer__bottom {
	margin-top: var(--ft-space-xl);
	padding-top: var(--ft-space-md);
	border-top: 1px solid rgb(255 255 255 / 0.12);
}

.ft-footer__disclaimer {
	font-size: 0.85rem;
	color: rgb(232 239 233 / 0.72);
	max-width: 52rem;
}

.ft-footer__copy {
	font-size: 0.85rem;
	opacity: 0.7;
}

.ft-sitemap-list {
	line-height: 1.8;
}

.ft-main {
	min-height: 50vh;
}

.ft-related {
	margin-top: var(--ft-space-2xl);
}

.ft-hub__header h1 {
	font-family: var(--ft-font-heading);
	font-size: clamp(2rem, 4vw, 3rem);
}

.ft-hub__children {
	margin-top: var(--ft-space-xl);
}

.ft-hub__children-title {
	margin: 0 0 1rem;
	font-family: var(--ft-font-heading);
	font-size: 1.5rem;
	line-height: 1.25;
	color: var(--ft-color-ink);
}
.ft-facts {
	margin: 0;
}

.ft-facts__row {
	display: grid;
	grid-template-columns: minmax(7rem, 34%) 1fr;
	gap: 0.5rem 1rem;
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--ft-color-border);
}

.ft-facts__row:last-child {
	border-bottom: 0;
}

.ft-facts dt {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--ft-color-muted);
}

.ft-facts dd {
	margin: 0;
}
/* —— ACF Blocks —— */
.ft-block {
	margin: 1.75rem 0;
}

.ft-block__heading {
	margin: 0 0 1rem;
	font-family: var(--ft-font-heading);
	font-size: 1.35rem;
	line-height: 1.25;
}

.ft-block__preview {
	margin: 0;
	color: var(--ft-color-muted);
	font-style: italic;
}

.ft-block--brewing,
.ft-block--facts,
.ft-block--answer,
.ft-block--note {
	padding: 1.15rem 1.25rem;
	border-radius: var(--ft-radius-card);
	background: var(--ft-color-mist);
	border: 1px solid var(--ft-color-border);
}

.ft-brew {
	display: grid;
	gap: 0.75rem;
	margin: 0;
}

@media (min-width: 640px) {
	.ft-brew {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 900px) {
	.ft-brew {
		grid-template-columns: repeat(3, 1fr);
	}
}

.ft-brew__item {
	padding: 0.75rem 0.9rem;
	background: var(--ft-color-surface);
	border: 1px solid var(--ft-color-border);
	border-radius: var(--ft-radius-control);
}

.ft-brew dt {
	margin: 0 0 0.25rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--ft-color-muted);
}

.ft-brew dd {
	margin: 0;
	font-family: var(--ft-font-heading);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ft-color-forest-dark);
}

.ft-brew__note {
	margin: 1rem 0 0;
	font-size: 0.95rem;
	color: var(--ft-color-muted);
}

.ft-compare-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--ft-color-border);
	border-radius: var(--ft-radius-card);
	background: var(--ft-color-surface);
}

.ft-compare {
	width: 100%;
	min-width: 28rem;
	border-collapse: collapse;
	font-size: 0.95rem;
	margin: 0;
}

.ft-compare th,
.ft-compare td {
	padding: 0.75rem 0.9rem;
	border-bottom: 1px solid var(--ft-color-border);
	border-right: 1px solid var(--ft-color-border);
	text-align: left;
	vertical-align: top;
}

.ft-compare th:last-child,
.ft-compare td:last-child {
	border-right: 0;
}

.ft-compare thead th {
	background: var(--ft-color-mist);
	font-weight: 600;
}

.ft-compare tbody th {
	font-weight: 600;
	white-space: nowrap;
	background: color-mix(in srgb, var(--ft-color-sand) 45%, var(--ft-color-surface));
}

.ft-compare tr:last-child th,
.ft-compare tr:last-child td {
	border-bottom: 0;
}

.ft-steps {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: ft-step;
	display: grid;
	gap: 0.85rem;
}

.ft-steps__item {
	position: relative;
	padding: 1rem 1rem 1rem 3.25rem;
	background: var(--ft-color-surface);
	border: 1px solid var(--ft-color-border);
	border-radius: var(--ft-radius-card);
	counter-increment: ft-step;
}

.ft-steps__item::before {
	content: counter(ft-step);
	position: absolute;
	left: 0.85rem;
	top: 1rem;
	display: grid;
	place-items: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 999px;
	background: var(--ft-color-forest);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
}

.ft-steps__title {
	margin: 0 0 0.35rem;
	font-weight: 700;
}

.ft-steps__text {
	color: var(--ft-color-muted);
}

.ft-steps__text > *:first-child {
	margin-top: 0;
}

.ft-steps__text > *:last-child {
	margin-bottom: 0;
}

.ft-myth {
	display: grid;
	gap: 0.85rem;
}

@media (min-width: 768px) {
	.ft-myth {
		grid-template-columns: 1fr 1fr;
	}
}

.ft-myth__myth,
.ft-myth__fact {
	padding: 1.1rem 1.2rem;
	border-radius: var(--ft-radius-card);
	border: 1px solid var(--ft-color-border);
}

.ft-myth__myth {
	background: color-mix(in srgb, var(--ft-color-error) 8%, var(--ft-color-paper));
	border-color: color-mix(in srgb, var(--ft-color-error) 25%, var(--ft-color-border));
}

.ft-myth__myth .ft-block__label {
	color: var(--ft-color-error);
}

.ft-myth__fact {
	background: var(--ft-color-mist);
}

.ft-myth__body > *:first-child {
	margin-top: 0;
}

.ft-myth__body > *:last-child {
	margin-bottom: 0;
}

.ft-block--quote {
	margin: 2rem 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.ft-quote {
	margin: 0;
	padding: 1.25rem 1.35rem;
	border-left: 4px solid var(--ft-color-leaf);
	background: var(--ft-color-mist);
	border-radius: 0 var(--ft-radius-card) var(--ft-radius-card) 0;
}

.ft-quote__text {
	font-family: var(--ft-font-heading);
	font-size: 1.2rem;
	line-height: 1.45;
}

.ft-quote__text > *:first-child {
	margin-top: 0;
}

.ft-quote__text > *:last-child {
	margin-bottom: 0;
}

.ft-quote__caption {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	margin-top: 0.75rem;
	padding-left: 1.35rem;
	font-size: 0.9rem;
	color: var(--ft-color-muted);
}

.ft-quote__author {
	font-weight: 600;
	color: var(--ft-color-ink);
}

.ft-quote__role::before,
.ft-quote__source::before {
	content: "·";
	margin-right: 0.75rem;
	opacity: 0.5;
}

.ft-gallery {
	display: grid;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ft-gallery--cols-2 {
	grid-template-columns: 1fr;
}

.ft-gallery--cols-3 {
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.ft-gallery--cols-2 {
		grid-template-columns: repeat(2, 1fr);
	}
	.ft-gallery--cols-3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.ft-gallery--cols-3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

.ft-gallery__item figure {
	margin: 0;
}

.ft-gallery__image {
	width: 100%;
	border-radius: var(--ft-radius-card);
	aspect-ratio: 3 / 2;
	object-fit: cover;
	background: var(--ft-color-sand);
}

.ft-gallery__caption {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.55rem 0.15rem 0;
	font-size: 0.85rem;
	color: var(--ft-color-muted);
}

.ft-gallery__credit {
	font-size: 0.8rem;
	opacity: 0.85;
}

.ft-term-grid {
	display: grid;
	gap: 0.85rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 640px) {
	.ft-term-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.ft-term-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.ft-term-card {
	padding: 1.1rem 1.15rem;
	background: var(--ft-color-surface);
	border: 1px solid var(--ft-color-border);
	border-radius: var(--ft-radius-card);
}

.ft-term-card__link {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.ft-term-card__link:hover .ft-term-card__title {
	color: var(--ft-color-forest);
}

.ft-term-card__title {
	font-family: var(--ft-font-heading);
	font-weight: 700;
	font-size: 1.15rem;
}

.ft-term-card__desc {
	color: var(--ft-color-muted);
	font-size: 0.95rem;
}

.ft-region {
	display: grid;
	gap: 1.25rem;
	padding: 1.15rem;
	background: var(--ft-color-surface);
	border: 1px solid var(--ft-color-border);
	border-radius: var(--ft-radius-card);
}

@media (min-width: 768px) {
	.ft-region {
		grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
		align-items: start;
	}
}

.ft-region__media {
	overflow: hidden;
	border-radius: var(--ft-radius-control);
	aspect-ratio: 4 / 3;
	background: var(--ft-color-sand);
}

.ft-region__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ft-region__title {
	margin: 0 0 0.85rem;
	font-family: var(--ft-font-heading);
	font-size: 1.5rem;
}

.ft-region__title a {
	text-decoration: none;
	color: inherit;
}

.ft-region__title a:hover {
	color: var(--ft-color-forest);
}

.ft-region__profile {
	margin: 0.85rem 0 0;
}

.ft-region__note {
	margin: 0.65rem 0 0;
	font-size: 0.9rem;
	color: var(--ft-color-muted);
}

.ft-facts--compact .ft-facts__row {
	padding: 0.4rem 0;
}

.ft-block--sources {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--ft-color-border);
}

/* Logo image */
.ft-logo__image {
	display: block;
	width: auto;
	height: 32px;
}

@media (min-width: 768px) {
	.ft-logo__image {
		height: 36px;
	}
}

.ft-footer .ft-logo__image {
	height: 34px;
}

/* Hero motion + richer visual */
.ft-hero__content {
	animation: ft-rise 0.7s ease both;
}

.ft-hero__media {
	animation: ft-rise 0.9s ease 0.1s both;
}

.ft-hero__visual {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 30% 40%, rgb(92 127 100 / 0.35), transparent 45%),
		radial-gradient(circle at 75% 70%, rgb(185 104 56 / 0.18), transparent 40%),
		linear-gradient(145deg, #E8DDC7, #EEF3ED 55%, #D8D2C5);
}

.ft-hero__visual::before,
.ft-hero__visual::after {
	content: "";
	position: absolute;
	border-radius: 50% 40% 55% 45%;
	background: rgb(36 74 56 / 0.12);
	animation: ft-float 8s ease-in-out infinite;
}

.ft-hero__visual::before {
	width: 42%;
	height: 55%;
	left: 18%;
	top: 18%;
}

.ft-hero__visual::after {
	width: 28%;
	height: 36%;
	right: 16%;
	bottom: 18%;
	animation-delay: -3s;
	background: rgb(185 104 56 / 0.14);
}

@keyframes ft-rise {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes ft-float {
	0%, 100% { transform: translateY(0) rotate(-4deg); }
	50% { transform: translateY(-10px) rotate(3deg); }
}

@media (prefers-reduced-motion: reduce) {
	.ft-hero__content,
	.ft-hero__media,
	.ft-hero__visual::before,
	.ft-hero__visual::after {
		animation: none;
	}
}

.ft-type-grid {
	display: grid;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 640px) {
	.ft-type-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.ft-type-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.ft-type-card {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-height: 8rem;
	padding: 1.25rem;
	border-radius: var(--ft-radius-card);
	text-decoration: none;
	color: inherit;
	background:
		linear-gradient(160deg, var(--ft-color-surface), var(--ft-color-mist));
	border: 1px solid var(--ft-color-border);
	transition: transform 0.15s ease, border-color 0.15s ease;
}

.ft-type-card:hover {
	transform: translateY(-3px);
	border-color: var(--ft-color-leaf);
}

.ft-type-card__title {
	font-family: var(--ft-font-heading);
	font-size: 1.35rem;
	font-weight: 700;
}

.ft-type-card__desc {
	color: var(--ft-color-muted);
	font-size: 0.95rem;
}

.ft-section__more {
	margin-top: 1.25rem;
}

.ft-ceylon-band {
	background: linear-gradient(180deg, var(--ft-color-mist), var(--ft-color-paper));
	border-block: 1px solid var(--ft-color-border);
}

.ft-ceylon-band__grid {
	display: grid;
	gap: var(--ft-space-lg);
	align-items: center;
}

@media (min-width: 900px) {
	.ft-ceylon-band__grid {
		grid-template-columns: 1.2fr 0.8fr;
	}
}

.ft-ceylon-band__panel {
	min-height: 220px;
	border-radius: var(--ft-radius-card);
	border: 1px solid var(--ft-color-border);
	background:
		radial-gradient(circle at 40% 40%, rgb(36 74 56 / 0.2), transparent 50%),
		linear-gradient(135deg, #E8DDC7, #EEF3ED);
}

.ft-chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
}

.ft-chip-list a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0.4rem 0.85rem;
	border-radius: var(--ft-radius-pill);
	background: var(--ft-color-surface);
	border: 1px solid var(--ft-color-border);
	text-decoration: none;
	color: var(--ft-color-ink);
	font-size: 0.9rem;
	font-weight: 500;
}

.ft-chip-list a:hover {
	border-color: var(--ft-color-leaf);
	color: var(--ft-color-forest-dark);
}

.ft-quick-card,
.ft-card {
	transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.ft-quick-card:hover,
.ft-card:hover {
	box-shadow: 0 8px 24px rgb(31 42 36 / 0.06);
}

.ft-hero__image {
	width: 100%;
	height: 100%;
	min-height: 280px;
	object-fit: cover;
	border-radius: var(--ft-radius-card);
	border: 1px solid var(--ft-color-border);
}

@media (min-width: 1024px) {
	.ft-hero__image {
		min-height: 420px;
	}
}

.ft-ceylon-band__panel {
	overflow: hidden;
	padding: 0;
	min-height: 220px;
}

.ft-ceylon-band__image {
	width: 100%;
	height: 100%;
	min-height: 220px;
	object-fit: cover;
	display: block;
}

/* Cookie notice (informational) */
.ft-cookie {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 1000;
	padding: var(--ft-space-sm);
	pointer-events: none;
}

.ft-cookie[hidden] {
	display: none;
}

.ft-cookie__inner {
	pointer-events: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--ft-space-sm) var(--ft-space-md);
	max-width: var(--ft-container);
	margin: 0 auto;
	padding: var(--ft-space-sm) var(--ft-space-md);
	background: var(--ft-color-surface);
	border: 1px solid var(--ft-color-border);
	border-radius: var(--ft-radius-card);
	box-shadow: 0 -4px 24px rgb(31 42 36 / 0.1);
}

.ft-cookie__text {
	flex: 1 1 16rem;
	margin: 0;
	color: var(--ft-color-muted);
	font-size: 0.9rem;
	line-height: 1.45;
}

.ft-cookie__text a {
	color: var(--ft-color-forest);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ft-cookie__btn {
	flex: 0 0 auto;
	min-height: 40px;
	padding-inline: 1.25rem;
}

@media (max-width: 639px) {
	.ft-cookie__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.ft-cookie__btn {
		width: 100%;
	}
}

/* Glossary */
.ft-glossary__filter-wrap{margin:0 0 1rem}
.ft-glossary__filter{width:min(100%,24rem);padding:.5rem .75rem;border:1px solid var(--ft-border, #cfc8bf);border-radius:4px;font:inherit}
.ft-glossary__letters a{margin-right:.35rem}
.ft-glossary__item{margin:0 0 1rem}
.ft-glossary__term{margin:0 0 .25rem;font-size:1.05rem}
.ft-glossary__en{font-weight:400;opacity:.75}
.ft-glossary__def{margin:0}
