/* ==========================================================================
   BudgetShots - all site CSS

   HOW TO USE
   1. Numbers in token names are design px at the 1440 frame (--f-44 = 44px
      there). Never convert: use the token or calc(N * var(--px)).
   2. Tokens scale with the screen and stop shrinking at a floor:
      fonts <= 18 stay fixed; larger fonts floor at 60% (never below 16px);
      spacing floors at 50% (never below 8px).
   3. Headings: one .sectiontitle-N per heading style.
   4. Mobile first: base rules are the phone layout; wider layouts are in the
      MEDIA QUERIES block at the end (min-width, smallest first).
   5. Motion: every animation is switched off under prefers-reduced-motion
      (end of file), showing its final, still state.
   ========================================================================== */

/* ---------- FONTS (self-hosted, OFL licence in assets/fonts) ---------- */
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-latin-opsz-italic.woff2") format("woff2");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ---------- FRAME + TOKENS ---------- */
:root {
	/* Frame */
	--design-w: 1440;
	--max-w: 1440px;
	--px: calc(min(100vw, var(--max-w)) / var(--design-w));
	--gutter: max(16px, calc(24 * var(--px)));
	--container: 1200px;
	--measure: 760px;

	/* Colours */
	--cream: #FAF7F2;      /* page background */
	--white: #FFFFFF;
	--ink: #241A13;        /* text, dark bands */
	--espresso: #3B2416;   /* button hover, coffee fill */
	--muted: #5E5047;      /* secondary text (7:1 on cream) */
	--copper: #A4501A;     /* links, small accent text (5.2:1 on cream) */
	--copper-dark: #7A3A10;
	--crema: #D9822B;      /* buttons and large accents only, dark text on it */
	--crema-light: #F2B57A;/* accent text on dark */
	--latte: #F3E4D3;
	--latte-2: #EFDCC7;
	--line: #EADFD2;
	--line-2: #D8CBBE;
	--foam: #F3E9DD;       /* text on dark */
	--foam-muted: #CBBBAA;
	--green: #1F5E39;      /* "Tested" pill text (6.6:1 on its bg) */
	--green-bg: #E2F0E6;
	--amber-bg: #FDF0DD;   /* "Researched" pill bg, text copper-dark (7.6:1) */
	--tag-bg: #F3EEE8;

	/* Type */
	--font-title: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	/* FONT SIZES */
	--f-13: 13px;
	--f-14: 14px;
	--f-15: 15px;
	--f-16: 16px;
	--f-19: max(16px, calc(19 * var(--px)));
	--f-22: max(18px, calc(22 * var(--px)));  /* floor raised: card titles must stay readable */
	--f-23: max(19px, calc(23 * var(--px)));
	--f-27: max(20px, calc(27 * var(--px)));
	--f-34: max(24px, calc(34 * var(--px)));
	--f-44: max(28px, calc(44 * var(--px)));
	--f-52: max(32px, calc(52 * var(--px)));
	--f-64: max(38px, calc(64 * var(--px)));

	/* SPACING */
	--s-8: 8px;
	--s-10: 10px;
	--s-12: 12px;
	--s-14: max(8px, calc(14 * var(--px)));
	--s-16: max(8px, calc(16 * var(--px)));
	--s-20: max(10px, calc(20 * var(--px)));
	--s-24: max(12px, calc(24 * var(--px)));
	--s-28: max(14px, calc(28 * var(--px)));
	--s-32: max(16px, calc(32 * var(--px)));
	--s-40: max(20px, calc(40 * var(--px)));
	--s-48: max(24px, calc(48 * var(--px)));
	--s-56: max(28px, calc(56 * var(--px)));
	--s-72: max(36px, calc(72 * var(--px)));
	--s-96: max(48px, calc(96 * var(--px)));

	--radius-s: 10px;
	--radius-m: 18px;
	--radius-l: 26px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--f-16);
	line-height: 1.6;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper); text-underline-offset: 3px; }
a:hover { color: var(--copper-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--crema); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 1em; }

.skip-link {
	position: absolute; left: 8px; top: -60px; z-index: 100;
	background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: var(--radius-s);
}
.skip-link:focus { top: 8px; color: var(--cream); }

.container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.main-content { display: block; }
.page-plain { padding-block: var(--s-56) var(--s-96); }

/* ---------- HEADINGS ---------- */
.sectiontitle-64, .sectiontitle-52, .sectiontitle-44, .sectiontitle-34,
.sectiontitle-23, .sectiontitle-22 {
	font-family: var(--font-title);
	font-weight: 600;
	color: var(--ink);
}
.sectiontitle-64 { font-size: var(--f-64); line-height: 1.05; letter-spacing: -0.02em; }
.sectiontitle-52 { font-size: var(--f-52); line-height: 1.08; letter-spacing: -0.02em; }
.sectiontitle-44 { font-size: var(--f-44); line-height: 1.1;  letter-spacing: -0.02em; }
.sectiontitle-34 { font-size: var(--f-34); line-height: 1.15; letter-spacing: -0.01em; }
.sectiontitle-23 { font-size: var(--f-23); line-height: 1.25; }
.sectiontitle-22 { font-size: var(--f-22); line-height: 1.25; font-weight: 700; }

/* ---------- COMPONENTS ---------- */

/* Buttons. Hover changes colour/position only - never weight (no jump). */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 12px 22px;
	border-radius: var(--radius-s);
	font-weight: 600; font-size: var(--f-16); line-height: 1.2;
	text-decoration: none; text-align: center;
	transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--espresso); color: var(--cream); }
.btn--crema { background: var(--crema); color: var(--ink); }
.btn--crema:hover { background: var(--crema-light); color: var(--ink); }
.btn--outline { border: 1.5px solid var(--line-2); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-10); }
.btn-row .btn { flex: 1 1 100%; }

/* Pills (evidence + tags) */
.pill-row { display: flex; flex-wrap: wrap; gap: var(--s-8); }
.pill {
	display: inline-block; padding: 4px 11px; border-radius: 999px;
	font-size: var(--f-13); font-weight: 600; line-height: 1.4;
}
.pill--tested { background: var(--green-bg); color: var(--green); }
.pill--researched { background: var(--amber-bg); color: var(--copper-dark); }
.pill--unset { background: var(--white); color: var(--copper-dark); border: 1.5px dashed var(--copper); }
.pill--tag { background: var(--tag-bg); color: var(--muted); }

/* Placeholder for the owner's own photos */
.photo-slot {
	display: flex; align-items: center; justify-content: center;
	padding: 20px; text-align: center;
	background: repeating-linear-gradient(135deg, var(--latte) 0 14px, var(--latte-2) 14px 28px);
	color: var(--copper-dark); font-size: var(--f-13); font-weight: 600; letter-spacing: .02em;
}
.photo-slot--fill { width: 100%; height: 100%; min-height: 240px; border-radius: var(--radius-m); }
.photo-slot--round {
	flex: 0 0 96px; width: 96px; height: 96px; border-radius: 50%; padding: 10px;
	font-size: 11px; border: 4px solid var(--white);
}

/* Disclosure line next to the first affiliate link */
.disclosure-line {
	margin: 0; padding-top: var(--s-12);
	border-top: 1px solid var(--line);
	font-size: var(--f-13); color: var(--muted);
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--white); }

/* Article text */
.prose { max-width: var(--measure); font-size: var(--f-16); }
.prose h2 { font-family: var(--font-title); font-weight: 600; font-size: var(--f-34); line-height: 1.15; margin: 1.6em 0 .5em; }
.prose h3 { font-family: var(--font-title); font-weight: 600; font-size: var(--f-23); line-height: 1.25; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: var(--radius-m); margin-block: var(--s-24); }
.prose blockquote { margin: var(--s-24) 0; padding-left: var(--s-20); border-left: 3px solid var(--crema); font-family: var(--font-title); font-size: var(--f-23); }
.prose > :first-child { margin-top: 0; }

/* ---------- HEADER ---------- */
.disclosure-strip { background: var(--ink); color: var(--foam); font-size: var(--f-13); text-align: center; }
.disclosure-strip p { margin: 0; padding-block: 10px; }
.disclosure-strip a { color: var(--crema-light); }
.disclosure-strip a:hover { color: var(--foam); }

.site-header__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: var(--s-12); padding-block: var(--s-20);
}
.site-header__logo { text-decoration: none; color: var(--ink); }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { flex: 0 0 auto; }
.logo__swirl { transform-origin: 20px 20px; animation: bs-spin 18s linear infinite; }
.logo__word {
	font-family: var(--font-title); font-weight: 700; font-size: var(--f-27);
	letter-spacing: -0.02em; color: var(--ink); line-height: 1;
}
.logo__word em { font-style: italic; font-weight: 500; color: var(--copper); }
.logo--dark .logo__word { color: var(--cream); }
.logo--dark .logo__word em { color: var(--crema-light); }

.nav-toggle {
	display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
	background: transparent; border: 1.5px solid var(--line-2); border-radius: var(--radius-s);
	color: var(--ink); font: 600 var(--f-15) var(--font-body); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
	transition: transform .25s var(--ease), opacity .25s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav { display: none; flex: 1 1 100%; }
.site-nav.is-open { display: block; }
.site-nav__list { list-style: none; margin: 0; padding: var(--s-8) 0; display: flex; flex-direction: column; }
.site-nav__list a {
	display: block; padding: 12px 0; border-bottom: 1px solid var(--line);
	color: var(--ink); text-decoration: none; font-weight: 500; font-size: var(--f-16);
}
.site-nav__list a:hover, .site-nav__list .current-menu-item > a { color: var(--copper); }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--ink); color: var(--foam-muted); font-size: var(--f-14); padding-top: var(--s-56); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-32); }
.site-footer__about { flex: 1 1 320px; min-width: 0; }
.site-footer__logo { text-decoration: none; }
.site-footer__statement { margin: var(--s-12) 0 0; max-width: 440px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-12) var(--s-24); }
.site-footer__list a { color: var(--foam); text-decoration: none; }
.site-footer__list a:hover { color: var(--crema-light); text-decoration: underline; }
.site-footer__copy { margin-block: 0; padding-block: var(--s-40) var(--s-32); font-size: var(--f-13); }

/* ---------- SECTIONS ---------- */

/* ---------- REVIEW: HEAD ---------- */
.review-head { padding-block: var(--s-32) var(--s-28); display: flex; flex-direction: column; gap: var(--s-14); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--f-14); color: var(--muted); }
.breadcrumb a { color: var(--copper); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.review-head__title { max-width: 900px; }
.byline { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: var(--f-14); color: var(--muted); }
.byline a { font-weight: 600; }

/* ---------- REVIEW: QUICK VERDICT ---------- */
.verdict { display: grid; gap: var(--s-24); padding-bottom: var(--s-56); }
.verdict__box {
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
	padding: var(--s-24); display: flex; flex-direction: column; gap: var(--s-16);
	box-shadow: 0 18px 40px rgba(36, 26, 19, .06);
	animation: bs-up .7s var(--ease) both;
}
.verdict__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-10); }
.verdict__facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-10); }
.fact { background: var(--cream); border-radius: 12px; padding: 12px 14px; }
.fact--wide { grid-column: 1 / -1; }
.fact dt { font-size: var(--f-13); color: var(--muted); }
.fact dd { margin: 2px 0 0; font-weight: 700; font-size: var(--f-16); }
.verdict__text { color: var(--muted); }
.verdict__text p:last-child { margin-bottom: 0; }
.verdict__photo { min-height: 240px; border-radius: var(--radius-m); overflow: hidden; animation: bs-up .7s var(--ease) .12s both; }
.verdict__img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- REVIEW: BODY ---------- */
.review-body { display: block; padding-bottom: var(--s-96); }
.review-body__main { display: flex; flex-direction: column; gap: var(--s-48); max-width: var(--measure); min-width: 0; }
.review-body__main > * { width: 100%; }

/* ---------- REVIEW: AT A GLANCE (desktop only) ---------- */
.glance { display: none; }
.glance__box {
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
	padding: var(--s-24); display: flex; flex-direction: column; gap: var(--s-14);
}
.glance__box p { margin: 0; }
.glance__label { font-size: var(--f-13); font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--copper-dark); }
.glance__product { font-family: var(--font-title); font-weight: 600; font-size: var(--f-22); line-height: 1.25; }
.glance__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.glance__link { font-size: var(--f-14); font-weight: 600; }

.proscons { display: grid; gap: var(--s-16); }
.proscons__col { border-radius: var(--radius-m); padding: var(--s-24); }
.proscons__col--pros { background: var(--green-bg); }
.proscons__col--cons { background: var(--amber-bg); }
.proscons__col h2 { margin-bottom: var(--s-12); }
.proscons ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.proscons li { position: relative; padding-left: 28px; }
.proscons li::before {
	content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
	background-position: center; background-repeat: no-repeat; background-size: 12px;
}
.proscons__col--pros li::before {
	background-color: var(--green);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.proscons__col--cons li::before {
	background-color: var(--copper-dark);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6h6' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.specs h2, .who-for h2 { margin-bottom: var(--s-16); }
.specs__table { width: 100%; border-collapse: collapse; font-size: var(--f-15); }
.specs__table th, .specs__table td { padding: 14px 18px; text-align: left; vertical-align: top; }
.specs__table th { width: 42%; font-weight: 600; background: var(--latte); }
.specs__table tr + tr th, .specs__table tr + tr td { border-top: 1px solid var(--line); }

.buy-box { background: var(--latte); border-radius: var(--radius-m); padding: var(--s-24); display: flex; flex-direction: column; gap: var(--s-14); }

.author-box {
	display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-20);
	border-top: 1px solid var(--line); padding-top: var(--s-32);
}
.author-box > div:not(.photo-slot) { flex: 1 1 240px; min-width: 0; }
.author-box p { margin: 0 0 4px; color: var(--muted); }
.author-box__name { font-family: var(--font-title); font-weight: 600; font-size: var(--f-22); color: var(--ink) !important; }
.author-box__links { display: flex; flex-wrap: wrap; gap: var(--s-16); font-weight: 600; margin-top: 8px !important; }

/* ---------- SHARED: section heads, kicker, cards ---------- */
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.bodytext-19 { font-size: var(--f-19); line-height: 1.55; color: var(--muted); }
.kicker { margin: 0 0 6px; font-size: var(--f-13); font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--copper-dark); }
.kicker--light { color: var(--crema-light); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-16); margin-bottom: var(--s-32); }
.section-head__link { font-weight: 600; }
.section-title { margin-bottom: var(--s-28); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--s-28); }
.card {
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(36, 26, 19, .12); }
.card__link { display: block; height: 100%; color: inherit; text-decoration: none; }
.card__photo { height: 210px; }
.card__photo .photo-slot--fill { min-height: 0; border-radius: 0; }
.card__img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: var(--s-20) var(--s-20) var(--s-24); display: flex; flex-direction: column; gap: 10px; }
.card__title { margin: 0; }
.card__link:hover .card__title { color: var(--copper); }
.card__meta { margin: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: var(--f-14); color: var(--muted); }
.card__meta strong { color: var(--ink); }

/* ---------- HOME: HERO ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-48); padding-block: var(--s-40) var(--s-72); }
.hero__text { flex: 1 1 520px; min-width: 0; }
.hero__badge {
	display: inline-block; margin: 0; padding: 6px 14px; border-radius: 999px;
	background: var(--latte); color: var(--copper-dark); font-size: var(--f-13); font-weight: 600;
}
.hero__title { margin: var(--s-20) 0 var(--s-16); }
.hero__title em { font-style: italic; color: var(--copper); }
.hero__intro { max-width: 520px; margin: 0 0 var(--s-28); }
.hero__buttons .btn { padding-inline: 26px; }
.hero__points {
	list-style: none; margin: var(--s-32) 0 0; padding: 0;
	display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: var(--f-14); color: var(--muted);
}
.hero__points a { font-weight: 600; }
.hero__point { display: flex; align-items: center; gap: 8px; }
.hero__point::before { content: ""; width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.hero__point--green::before { background: #2F7D4F; }
.hero__point--crema::before { background: var(--crema); }

.hero__visual { flex: 1 1 300px; min-width: 0; display: flex; justify-content: center; }

/* The cup: drawn in a fixed 380px box and scaled down on small screens. */
.cup {
	position: relative; width: 380px; height: 380px; flex: 0 0 auto;
	border-radius: 50%; background: var(--latte);
	transform: scale(var(--cup-scale, .78)); transform-origin: center top;
	/* Negative margins give back the space the scale-down frees, so the layout box shrinks too. */
	margin-bottom: calc(380px * (var(--cup-scale, .78) - 1));
	margin-inline: calc(190px * (var(--cup-scale, .78) - 1));
}
.cup span, .cup i { position: absolute; display: block; }
.cup__group { top: 58px; left: 130px; width: 120px; height: 26px; background: var(--ink); border-radius: 6px 6px 14px 14px; }
.cup__pour { top: 84px; left: 187px; width: 6px; height: 112px; background: #5A3520; border-radius: 3px; transform-origin: top; animation: cup-pour 6s ease-in-out infinite; }
.cup__steam { top: 150px; left: 142px; width: 96px; height: 30px; }
.cup__steam i { top: 0; width: 6px; height: 26px; border-radius: 6px; background: var(--line-2); opacity: 0; animation: cup-steam 3s ease-out infinite; }
.cup__steam i:nth-child(1) { left: 0; }
.cup__steam i:nth-child(2) { left: 28px; animation-delay: 1s; }
.cup__steam i:nth-child(3) { left: 56px; animation-delay: 2s; }
.cup__body {
	top: 196px; left: 124px; width: 132px; height: 92px; overflow: hidden;
	background: var(--white); border: 6px solid var(--ink); border-top: 0; border-radius: 0 0 46px 46px;
}
.cup__fill { left: 0; right: 0; bottom: 0; height: 62px; background: var(--espresso); animation: cup-fill 6s ease-in-out infinite; }
.cup__crema { left: 0; right: 0; top: -6px; height: 10px; border-radius: 50%; background: var(--crema); animation: cup-crema 6s ease-in-out infinite; }
.cup__handle { top: 214px; left: 256px; width: 30px; height: 40px; border: 6px solid var(--ink); border-left: 0; border-radius: 0 20px 20px 0; }
.cup__saucer { top: 300px; left: 94px; width: 192px; height: 10px; background: var(--ink); border-radius: 6px; }

@keyframes cup-fill { 0%, 8% { height: 0; } 70%, 100% { height: 62px; } }
@keyframes cup-crema { 0%, 55% { opacity: 0; transform: scaleX(.6); } 75%, 100% { opacity: 1; transform: scaleX(1); } }
@keyframes cup-pour { 0% { opacity: 0; transform: scaleY(0); } 10% { opacity: 1; transform: scaleY(1); } 62% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes cup-steam { 0% { opacity: 0; transform: translateY(10px); } 40% { opacity: .7; } 100% { opacity: 0; transform: translateY(-34px) scaleX(1.4); } }

/* On-load fade (first screen only, never waits for a scroll). */
.anim-in { animation: bs-up .8s var(--ease) both; }
.anim-d1 { animation-delay: .1s; }
.anim-d2 { animation-delay: .25s; }
.anim-d3 { animation-delay: .4s; }
.anim-d4 { animation-delay: .55s; }

/* ---------- HOME: STRIP ---------- */
.strip { overflow: hidden; padding-block: 18px; background: var(--white); border-block: 1px solid var(--line-2); }
.strip__track {
	display: flex; gap: var(--s-40); width: max-content;
	font-family: var(--font-title); font-style: italic; font-size: var(--f-22); color: var(--muted); white-space: nowrap;
	animation: strip-scroll 28s linear infinite;
}
.strip:hover .strip__track { animation-play-state: paused; }
.strip__dot { color: var(--crema); font-style: normal; font-size: .6em; align-self: center; }
@keyframes strip-scroll { to { transform: translateX(-50%); } }

/* ---------- HOME: SECTIONS ---------- */
.home-section { padding-top: var(--s-72); }
.home-section--last { padding-bottom: var(--s-96); }

/* ---------- HOME: QUICK VERDICT BAND ---------- */
.verdict-band {
	background: var(--ink); color: var(--foam-muted); border-radius: var(--radius-l);
	padding: var(--s-28); display: flex; flex-wrap: wrap; gap: var(--s-40); align-items: flex-start;
}
.verdict-band__text { flex: 1 1 300px; min-width: 0; }
.verdict-band__title { color: var(--foam); margin-bottom: var(--s-14); }
.verdict-band .verdict__box { flex: 1 1 440px; min-width: 0; animation: none; box-shadow: none; color: var(--ink); }
.verdict__review { margin: 0; font-family: var(--font-title); font-size: var(--f-19); font-weight: 600; }
.verdict__review a { color: var(--ink); text-decoration: none; }
.verdict__review a:hover { color: var(--copper); text-decoration: underline; }

/* ---------- HOME / POSTS: COMPARISON TABLE ---------- */
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--f-15); }
.compare th, .compare td { padding: 16px 20px; text-align: left; }
.compare thead th { background: var(--latte); font-weight: 600; }
.compare tbody tr { border-top: 1px solid var(--line); }
.compare tbody th { font-weight: 600; }
.compare tbody th a { color: var(--ink); }
.compare tbody th a:hover { color: var(--copper); }
.compare__links a { font-weight: 600; white-space: nowrap; }

/* ---------- HOME: GUIDES ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--s-20); }
.guide-card {
	display: flex; flex-direction: column; gap: 6px; padding: var(--s-24);
	background: var(--white); border: 1px solid var(--line); border-radius: 16px;
	color: var(--ink); text-decoration: none;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.guide-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(36, 26, 19, .12); color: var(--ink); }
.guide-card__cat { font-size: var(--f-13); font-weight: 600; color: var(--copper); }
.guide-card__title { font-family: var(--font-title); font-size: var(--f-22); font-weight: 600; line-height: 1.25; }

/* ---------- HOME: ABOUT ME ---------- */
.about-band {
	background: var(--latte); border-radius: var(--radius-l); padding: var(--s-28);
	display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-32);
}
.about-band .about-photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 4px solid var(--white); }
.photo-slot--round-lg { flex: 0 0 160px; width: 160px; height: 160px; font-size: var(--f-13); padding: 16px; }
.about-band__text { flex: 1 1 320px; min-width: 0; }
.about-band__text h2 { margin-bottom: 10px; }
.about-band__text p { margin: 0 0 4px; color: var(--muted); }
.about-band__text .kicker { color: var(--copper-dark); }
.about-band__links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px !important; font-weight: 600; }
.author-box .about-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }

/* ---------- ANIMATIONS ---------- */
@keyframes bs-spin { to { transform: rotate(360deg); } }
@keyframes bs-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- MEDIA QUERIES (mobile first: smallest first) ---------- */
@media (min-width: 600px) {
	.btn-row .btn { flex: 0 1 auto; }
	.cup { --cup-scale: 1; }
	.verdict-band, .about-band { padding: var(--s-48); }
	.proscons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.verdict__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.fact--wide { grid-column: auto; }
}

@media (min-width: 1024px) {
	.nav-toggle { display: none; }
	.site-nav { display: block; flex: 0 1 auto; }
	.site-nav__list { flex-direction: row; flex-wrap: wrap; gap: var(--s-24); padding: 0; }
	.site-nav__list a { padding: 6px 0; border: 0; font-size: var(--f-15); }

	.verdict { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch; }
	.verdict__box { padding: var(--s-32); }
	.verdict__photo { min-height: 100%; }

	.review-body { display: flex; align-items: flex-start; gap: var(--s-56); }
	.review-body__main { flex: 1 1 640px; }
	.glance { display: block; flex: 0 1 340px; min-width: 280px; position: sticky; top: var(--s-24); }
}

/* ---------- REDUCED MOTION: final still state, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
	.btn:hover { transform: none; }
	/* Cup shows the finished shot: full, crema on, no stream or steam. */
	.cup__fill { height: 62px; }
	.cup__crema { opacity: 1; transform: none; }
	.cup__pour, .cup__steam { display: none !important; }
	.anim-in { opacity: 1; transform: none; }
}
