/* Mythintea — site styles. Mobile-first, no external assets, no JS. */

@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-latin.woff2") format("woff2");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Instrument Sans";
	src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--paper: #f6f3ec;
	--paper-2: #fbfaf6;
	--sand: #ebe2d0;
	--sand-2: #e2d6bf;
	--sage: #7d8c66;
	--sage-soft: #dfe4d4;
	--moss: #3d4a32;
	--moss-hover: #2e3926;
	--ink: #1f2620;
	--ink-2: #4b5349;
	--line: #dcd3c1;
	--error: #9a3a2c;

	--serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--sans: "Instrument Sans", ui-sans-serif, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--wrap: 1160px;
	--gutter: clamp(20px, 5vw, 48px);
	--space: clamp(64px, 10vw, 128px);
	--radius: 14px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
	font-family: var(--serif);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.015em;
	margin: 0 0 0.5em;
	text-wrap: balance;
	font-optical-sizing: auto;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
h1 em, h2 em { font-style: italic; color: var(--moss); }

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--moss); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 12px; top: 12px; z-index: 10; background: var(--paper-2); padding: 8px 14px; }

.eyebrow {
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-2);
	margin-bottom: 1.1rem;
	display: flex;
	align-items: center;
	gap: 0.7rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--sage); }

.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 36em; }
.mt-small { font-size: 0.9rem; color: var(--ink-2); }

/* ---------- Buttons & links ---------- */
.mt-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.75rem 1.6rem;
	border-radius: 999px;
	border: 1px solid var(--moss);
	color: var(--moss);
	background: transparent;
	font: 500 1rem/1.2 var(--sans);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.mt-button:hover { background: var(--moss); color: var(--paper); }
.mt-button--solid { background: var(--moss); color: var(--paper); }
.mt-button--solid:hover { background: var(--moss-hover); color: var(--paper); transform: translateY(-1px); }
.mt-button--small { min-height: 40px; padding: 0.45rem 1.1rem; font-size: 0.92rem; }

.link-arrow { font-weight: 500; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.link-arrow span { display: inline-block; transition: transform 0.2s ease; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.75rem;
	padding-block: 0.9rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__name { font-family: var(--serif); font-size: 1.5rem; letter-spacing: -0.01em; }
.site-nav__list { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav__list a { color: var(--ink); text-decoration: none; font-size: 0.97rem; padding-block: 0.5rem; display: inline-block; }
.site-nav__list a:hover, .site-nav__list .current-menu-item a { color: var(--moss); text-decoration: underline; }
@media (max-width: 720px) {
	.site-header__cta { order: 2; }
	.site-nav { order: 3; width: 100%; border-top: 1px solid var(--line); padding-top: 0.25rem; }
	.site-nav__list { gap: 1.4rem; }
	.site-nav__list a { font-size: 0.93rem; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px) var(--space); }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.hero__title { max-width: 11ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.hero__note { margin-top: 1.5rem; font-size: 0.9rem; color: var(--ink-2); }
.hero__art { max-width: 520px; margin-inline: auto; width: 100%; }
@media (min-width: 880px) {
	.hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
}

.illo__steam path { animation: steam 6s ease-in-out infinite; transform-origin: center bottom; }
.illo__steam .s2 { animation-delay: -2s; }
.illo__steam .s3 { animation-delay: -4s; }
@keyframes steam {
	0%, 100% { opacity: 0.25; transform: translateY(4px); }
	50% { opacity: 1; transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) { .illo__steam path { animation: none; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--space); }
.section--tight { padding-block: clamp(32px, 5vw, 64px) var(--space); }
.split { display: grid; gap: 2.5rem; }
@media (min-width: 880px) {
	.split { grid-template-columns: 0.85fr 1.15fr; gap: 5rem; align-items: start; }
	.split__aside { position: sticky; top: 2rem; }
}

.botanicals { border-top: 1px solid var(--line); }
.botanicals__list { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.botanicals__list > div {
	display: grid;
	grid-template-columns: minmax(8.5rem, 0.8fr) 1.2fr;
	gap: 1rem;
	padding-block: 1.25rem;
	border-bottom: 1px solid var(--line);
	align-items: baseline;
}
.botanicals__list dt { font-family: var(--serif); font-size: 1.4rem; }
.botanicals__list dd { margin: 0; color: var(--ink-2); }

.ritual { background: var(--sage-soft); }
.ritual__title { max-width: 14ch; margin-bottom: 3rem; }
.ritual__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem; }
.ritual__steps li { border-top: 1px solid rgba(31, 38, 32, 0.25); padding-top: 1.25rem; }
.ritual__num { font-family: var(--serif); font-size: 0.95rem; color: var(--moss); letter-spacing: 0.08em; display: block; margin-bottom: 0.75rem; }
.ritual__steps h3 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.ritual__steps p { color: var(--ink-2); max-width: 26em; }
@media (min-width: 760px) {
	.ritual__steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
	.ritual__steps li:nth-child(2) { margin-top: 3rem; }
	.ritual__steps li:nth-child(3) { margin-top: 6rem; }
}

.statement__inner { max-width: 860px; }
.statement__quote {
	font-family: var(--serif);
	font-size: clamp(2rem, 4.6vw, 3.6rem);
	line-height: 1.12;
	letter-spacing: -0.015em;
	font-style: italic;
	margin-bottom: 1.5rem;
}
.statement__body { color: var(--ink-2); max-width: 34em; font-size: 1.15rem; }

/* ---------- Inquiry / form ---------- */
.inquire { background: var(--sand); padding-block: var(--space); scroll-margin-top: 1rem; }
.inquire__grid { display: grid; gap: 2.5rem; }
@media (min-width: 920px) {
	.inquire__grid { grid-template-columns: 0.9fr 1.1fr; gap: 5rem; align-items: start; }
}
.inquire__title { max-width: 13ch; }
.inquire__alt { font-size: 0.95rem; color: var(--ink-2); }
.steps-mini { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 0.85rem; }
.steps-mini li { display: flex; gap: 1rem; color: var(--ink-2); }
.steps-mini span { font-family: var(--serif); color: var(--moss); min-width: 1.6rem; }

.inquire__card {
	background: var(--paper-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(22px, 4vw, 44px);
	box-shadow: 0 1px 0 rgba(31, 38, 32, 0.04), 0 24px 48px -32px rgba(61, 74, 50, 0.35);
}

.mt-form { display: grid; gap: 1.15rem; }
.mt-field { display: grid; gap: 0.4rem; }
.mt-field label { font-weight: 500; font-size: 0.95rem; }
.mt-optional { font-weight: 400; color: var(--ink-2); }
.mt-field input,
.mt-field textarea {
	width: 100%;
	font: inherit;
	font-size: 1rem;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 0.8rem 0.9rem;
	min-height: 48px;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
.mt-field textarea { resize: vertical; min-height: 110px; }
.mt-field input:focus,
.mt-field textarea:focus { outline: none; border-color: var(--moss); background: #fff; box-shadow: 0 0 0 3px rgba(125, 140, 102, 0.25); }
.mt-field input::placeholder,
.mt-field textarea::placeholder { color: #8a8f86; }
.mt-field [aria-invalid="true"] { border-color: var(--error); }
.mt-field__error { color: var(--error); font-size: 0.88rem; margin: 0; }
.mt-form__alert { background: #f6e4df; color: var(--error); border-radius: 10px; padding: 0.75rem 1rem; margin: 0; font-size: 0.95rem; }

.mt-consent {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.8rem;
	align-items: start;
	padding: 1rem;
	border: 1px dashed var(--line);
	border-radius: 10px;
	background: var(--paper);
}
.mt-consent input[type="checkbox"] {
	width: 22px;
	height: 22px;
	margin: 0.15rem 0 0;
	accent-color: var(--moss);
	cursor: pointer;
}
.mt-consent label { font-size: 0.86rem; line-height: 1.55; color: var(--ink-2); cursor: pointer; }
.mt-form .mt-button { justify-self: start; min-width: 12rem; }
.mt-form__note { font-size: 0.84rem; color: var(--ink-2); margin: 0; }

.mt-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.mt-form-thanks { padding: 0.5rem 0; }
.mt-form-thanks__title { font-family: var(--serif); font-size: 1.7rem; line-height: 1.2; margin-bottom: 0.75rem; }

/* ---------- Product ---------- */
.product-hero { padding-block: clamp(32px, 6vw, 80px) var(--space); }
.product-hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.product-hero__art {
	background: var(--sage-soft);
	border-radius: 220px 220px var(--radius) var(--radius);
	padding: clamp(24px, 5vw, 56px) clamp(16px, 4vw, 40px) clamp(16px, 3vw, 24px);
	max-width: 500px;
	width: 100%;
	margin-inline: auto;
}
.product-hero__sub { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--moss); margin-top: -0.4rem; }
@media (min-width: 880px) {
	.product-hero__grid { grid-template-columns: 0.9fr 1.1fr; gap: 5rem; }
}
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 2rem 0 0; border-top: 1px solid var(--line); }
.facts > div { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(odd) { padding-right: 1rem; }
.facts dt { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { margin: 0.2rem 0 0; }

.ingredients-line { font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; }
.brew { width: 100%; border-collapse: collapse; }
.brew caption { text-align: left; font-family: var(--serif); font-size: 1.6rem; padding-bottom: 1rem; }
.brew th, .brew td { text-align: left; padding: 1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.brew tr:first-child th, .brew tr:first-child td { border-top: 1px solid var(--line); }
.brew th { font-weight: 500; width: 34%; padding-right: 1rem; }
.brew td { color: var(--ink-2); }

.goodtoknow { padding-top: 0; }
.goodtoknow__inner { border-top: 1px solid var(--line); padding-top: 3rem; max-width: 900px; margin-inline: auto; }
.goodtoknow__list { padding-left: 1.2rem; color: var(--ink-2); display: grid; gap: 0.6rem; }
.disclaimer {
	margin-top: 2rem;
	font-size: 0.9rem;
	color: var(--ink);
	background: var(--paper-2);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 1rem 1.25rem;
}

/* ---------- Generic pages / legal ---------- */
.page-head { padding-block: clamp(40px, 7vw, 96px) 0; }
.page-head h1 { max-width: 16ch; }
.page-head .lede { margin-top: 1rem; }
.page-head--legal { border-bottom: 1px solid var(--line); padding-bottom: 2rem; }
.page-head--legal h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.meta { color: var(--ink-2); font-size: 0.92rem; margin: 0; }

.prose { max-width: 760px; }
.prose--wide { max-width: 860px; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-top: 2.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.5rem; }
.prose blockquote {
	margin: 1.5rem 0;
	padding: 1.1rem 1.3rem;
	background: var(--paper-2);
	border: 1px solid var(--line);
	border-radius: 10px;
	font-size: 0.95rem;
	color: var(--ink-2);
}
.callout { background: var(--sage-soft); border-radius: 10px; padding: 1.1rem 1.3rem; }

.summary { display: grid; gap: 0; margin: 0 0 1rem; border-top: 1px solid var(--line); }
.summary > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.summary dt { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); padding-top: 0.2rem; }
.summary dd { margin: 0; }

/* ---------- Contact ---------- */
.contact { padding-block: 3rem var(--space); scroll-margin-top: 1rem; }
.contact__grid { display: grid; gap: 3rem; }
@media (min-width: 920px) {
	.contact__grid { grid-template-columns: 1.2fr 0.8fr; gap: 5rem; align-items: start; }
}
.contact__details h2 { font-size: 1.8rem; }
.contact__details h3 { font-size: 1.25rem; margin-top: 2rem; }
.details { margin: 0 0 1.25rem; border-top: 1px solid var(--line); }
.details > div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.details dt { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); padding-top: 0.2rem; }
.details dd { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d8d6cc; padding-block: 4rem 2rem; font-size: 0.95rem; }
.site-footer a { color: #f1eee5; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr 1fr; }
.site-footer__brand { grid-column: 1 / -1; }
@media (min-width: 880px) {
	.site-footer__grid { grid-template-columns: 1.6fr 1fr 0.8fr 0.9fr; }
	.site-footer__brand { grid-column: auto; }
}
.brand--footer { margin-right: 0; }
.brand--footer .brand__name { color: #f6f3ec; }
.site-footer__line { margin: 1rem 0 0.5rem; color: #d8d6cc; }
.site-footer__address { font-style: normal; color: #b7b6ab; }
.site-footer__heading { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: #a9ac9c; font-weight: 500; margin-bottom: 1rem; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer__list a { display: inline-block; padding-block: 0.15rem; }
.site-footer__fine { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(246, 243, 236, 0.15); font-size: 0.82rem; color: #a9ac9c; }
.site-footer__fine p { max-width: 70em; }
