/* ODAILY — "The lamp that does not go out" (Proverbs 31:15, 18).
   Olive, cream, clay, saffron and crust brown: a home kitchen before dawn.
   Every class is ODAILY's own (hearth-, loaf-, ember-); nothing is shared
   with another site. */

:root {
  --olive: #33401f;
  --olive-2: #4a5a2c;
  --olive-light: #8a9a5b;
  --clay: #c0582f;
  --clay-deep: #8f3a1c;
  --saffron: #e8a33d;
  --saffron-light: #f6d38a;
  --crust: #7a4a25;
  --cream: #fbf6ec;
  --cream-2: #f3ead7;
  --paper: #fffdf8;
  --ink: #2a2418;
  --ink-2: #5c5444;
  --rule-blue: rgba(70, 110, 160, .16);
  --rule-red: #d8574b;
  --red: #c60b1e;
  --yellow: #ffc400;
  --shadow: 0 22px 40px -26px rgba(51, 64, 31, .55);
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.hearth {
  margin: 0;
  font: 400 1.09rem/1.72 var(--serif);
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 100% 0, rgba(232, 163, 61, .12), transparent 60%),
    radial-gradient(700px 460px at 0 35%, rgba(138, 154, 91, .1), transparent 60%),
    var(--cream);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--clay-deep); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--olive); }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }

.hearth-skip { position: absolute; left: -999px; top: 0; background: var(--olive); color: #fff; padding: .6rem 1rem; z-index: 50; }
.hearth-skip:focus { left: 1rem; top: 1rem; }

/* Spain 2026 — a red-gold flame over a striped table runner. */
.hearth-champions { position: relative; display: flex; align-items: center; justify-content: center; gap: .55rem; padding: .42rem 1rem .55rem; background: var(--olive); color: var(--saffron-light); font: 500 .88rem var(--display); overflow: hidden; }
.hearth-champions p { margin: 0; }
.hearth-champions strong { color: #fff; }
.hearth-champions em { font-style: normal; color: var(--yellow); font-weight: 800; }
.hearth-champions__aside { opacity: .78; }
.hearth-champions__flame { display: inline-flex; transform-origin: 50% 100%; animation: hearth-flicker 1.6s ease-in-out infinite; }
.hearth-champions__runner { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--red) 0 14px, var(--yellow) 14px 22px, var(--red) 22px 36px, var(--cream) 36px 40px); background-size: 80px 100%; animation: hearth-runner 12s linear infinite; }
@keyframes hearth-flicker { 0%, 100% { transform: scale(1, 1); } 30% { transform: scale(.94, 1.06) rotate(-2deg); } 60% { transform: scale(1.05, .95) rotate(2deg); } }
@keyframes hearth-runner { to { background-position: 80px 0; } }

/* Header: brand on cream, recipe-divider tabs beneath, a bake bar that browns as you read. */
.hearth-head { position: sticky; top: 0; z-index: 30; background: rgba(251, 246, 236, .96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(122, 74, 37, .2); }
.hearth-head__in { max-width: 1200px; margin: 0 auto; padding: .7rem 1.2rem .5rem; display: flex; align-items: center; gap: 1rem; }
.hearth-brand { display: grid; grid-template-columns: auto auto; column-gap: .7rem; align-items: center; text-decoration: none; color: var(--olive); }
.hearth-brand__mark { grid-row: span 2; display: inline-flex; }
.hearth-brand__steam { animation: hearth-steam-mark 3.2s ease-in-out infinite; }
@keyframes hearth-steam-mark { 0%, 100% { opacity: .4; transform: translateY(1px); } 50% { opacity: 1; transform: translateY(-1px); } }
.hearth-brand__word { font: 800 1.6rem/1 var(--display); letter-spacing: .08em; }
.hearth-brand__sub { font: 500 .74rem var(--display); color: var(--ink-2); letter-spacing: .02em; }
.hearth-toggle { display: none; margin-left: auto; align-items: center; gap: .6rem; padding: .55rem 1rem; border: 2px solid var(--olive); border-radius: 999px; background: var(--paper); color: var(--olive); font: 700 .95rem var(--display); cursor: pointer; }
.hearth-toggle__lines { display: inline-grid; gap: 3px; width: 18px; }
.hearth-toggle__lines i { height: 2px; border-radius: 2px; background: var(--olive); transition: transform .35s, opacity .35s; }
.hearth-toggle[aria-expanded="true"] .hearth-toggle__lines i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.hearth-toggle[aria-expanded="true"] .hearth-toggle__lines i:nth-child(2) { opacity: 0; }
.hearth-toggle[aria-expanded="true"] .hearth-toggle__lines i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.hearth-nav__in { max-width: 1200px; margin: 0 auto; padding: 0 1.2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem; }
.hearth-nav__tab { position: relative; display: inline-flex; align-items: center; gap: .42rem; padding: .5rem .85rem .55rem; color: var(--ink); text-decoration: none; font: 600 .93rem var(--display); border-radius: 12px 12px 0 0; background: transparent; transition: background .3s, color .3s, transform .3s; }
.hearth-nav__tab--mobile { display: none; }
.hearth-service { margin-left: auto; display: flex; gap: .2rem; }
.hearth-service a { padding: .42rem .8rem; border-radius: 999px; color: var(--ink-2); text-decoration: none; font: 600 .9rem var(--display); transition: background .3s, color .3s; }
.hearth-service a:hover, .hearth-service a[aria-current="page"] { background: rgba(51, 64, 31, .08); color: var(--olive); }
.hearth-service a[data-promo] { color: var(--clay-deep); box-shadow: inset 0 0 0 1px rgba(192, 88, 47, .4); }
.hearth-nav__icon { width: 19px; height: 19px; color: var(--clay); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
/* The menu's own motion: the tab rises like a recipe divider pulled from the box, and its icon tilts. */
.hearth-nav__tab:hover, .hearth-nav__tab[aria-current="page"] { background: var(--paper); color: var(--olive); transform: translateY(-2px); box-shadow: 0 -1px 0 rgba(122, 74, 37, .18), 1px 0 0 rgba(122, 74, 37, .12), -1px 0 0 rgba(122, 74, 37, .12); }
.hearth-nav__tab:hover .hearth-nav__icon, .hearth-nav__tab[aria-current="page"] .hearth-nav__icon { transform: rotate(-14deg) scale(1.08); }
.hearth-nav__tab::after { content: ""; position: absolute; left: .85rem; right: .85rem; top: .32rem; height: 2px; border-radius: 2px; background: var(--rule-red); transform: scaleX(0); transition: transform .4s; }
.hearth-nav__tab[aria-current="page"]::after { transform: scaleX(1); }
.hearth-bake { height: 4px; background: var(--cream-2); }
.hearth-bake span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, #f3e2c0, #e4b874 40%, #c67f3d 75%, #7a4a25); }
.hearth--home .hearth-bake, .hearth--section .hearth-bake, .hearth--page .hearth-bake, .hearth--lost .hearth-bake { display: none; }

/* Hero: the kitchen scene as a wide band, the text on a recipe card that overlaps it. */
.hearth-hero { margin: 0 0 3rem; }
.hearth-hero__scene { margin: 0; height: 440px; border-bottom: 6px solid var(--crust); overflow: hidden;
  background:
    linear-gradient(180deg, transparent 0 84%, #a8743f 84% calc(84% + 3px), transparent calc(84% + 3px)),
    repeating-linear-gradient(180deg, transparent 0 12px, rgba(74, 44, 21, .35) 12px 13px) left bottom / 100% 16% no-repeat,
    linear-gradient(180deg, transparent 0 84%, #8a5a32 84%, #5e3a1d),
    linear-gradient(90deg, #e7d6b6, #f0dfbf 60%, #f6d3a2); }
.hearth-hero__scene svg { display: block; width: 100%; height: 100%; }
.hearth-hero__card { position: relative; max-width: 820px; margin: -64px auto 0; padding: 2.2rem 2.4rem 1.9rem; text-align: center; border-radius: 6px;
  background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--paper);
  background-image: linear-gradient(transparent 0 2.9rem, var(--rule-red) 2.9rem calc(2.9rem + 2px), transparent calc(2.9rem + 2px)), repeating-linear-gradient(transparent 0 1.9rem, var(--rule-blue) 1.9rem calc(1.9rem + 1px));
  box-shadow: 0 30px 60px -34px rgba(42, 36, 24, .55); transform: rotate(-.6deg); }
.hearth-hero__kicker { margin: 0 0 1.1rem; font: 700 .78rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--clay-deep); }
.hearth-hero__title { margin: 0 0 .9rem; font: 800 clamp(2.1rem, 4.6vw, 3.5rem)/1.04 var(--display); color: var(--olive); letter-spacing: -.01em; }
.hearth-hero__title em { font-style: normal; color: var(--clay); background: linear-gradient(transparent 72%, rgba(232, 163, 61, .45) 72%); }
.hearth-hero__lead { margin: 0 0 .7rem; font-size: 1.18rem; }
.hearth-hero__intro { margin: 0 0 1.4rem; color: var(--ink-2); font-size: 1rem; }
.hearth-hero__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: 0; }
.hearth-button { display: inline-flex; align-items: center; padding: .78rem 1.45rem; border-radius: 999px; background: var(--clay); color: #fff; font: 700 1rem var(--display); text-decoration: none; box-shadow: 0 14px 24px -14px rgba(143, 58, 28, .9); transition: transform .25s, background .25s; }
.hearth-button:hover { color: #fff; background: var(--clay-deep); transform: translateY(-2px); }
.hearth-button--line { background: transparent; color: var(--olive); box-shadow: inset 0 0 0 2px var(--olive); }
.hearth-button--line:hover { background: rgba(51, 64, 31, .08); color: var(--olive); }

/* Scene motion: the sky warms, stars fade, the lamp flame flickers, embers glow, sparks rise, steam curls, herbs sway. */
.ember-daemmerung { opacity: 0; animation: ember-dawn 14s ease-in-out 1s forwards; }
@keyframes ember-dawn { to { opacity: .32; } }
.ember-stern { animation: ember-twinkle 3.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes ember-twinkle { 0%, 100% { opacity: .9; } 50% { opacity: .2; } }
.ember-morgenstern { animation: ember-twinkle 5s ease-in-out infinite; }
.ember-flamme { transform-box: fill-box; transform-origin: 50% 100%; animation: hearth-flicker 1.4s ease-in-out infinite; }
.ember-lampenschein { animation: ember-glow 2.8s ease-in-out infinite; }
.ember-glut { animation: ember-glow 3.4s ease-in-out infinite; }
.ember-schein { animation: ember-glow 5s ease-in-out infinite; }
@keyframes ember-glow { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.ember-funken circle { animation: ember-spark 2.6s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes ember-spark { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-36px); opacity: 0; } }
.ember-dampf path { animation: ember-steam 3.3s ease-in-out infinite; animation-delay: var(--d, 0s); opacity: 0; }
@keyframes ember-steam { 0% { transform: translateY(8px); opacity: 0; } 30% { opacity: .75; } 100% { transform: translateY(-26px); opacity: 0; } }
.ember-flimmern { animation: ember-steam 4s ease-in-out infinite; }
.ember-kraeuter g { transform-box: fill-box; transform-origin: 50% 0; animation: ember-sway 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes ember-sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.ember-aehren { transform-box: fill-box; transform-origin: 50% 100%; animation: ember-sway 7s ease-in-out infinite; }

/* Section headings */
.hearth-heading { max-width: 1200px; margin: 0 auto 1.3rem; padding: 0 1.2rem; text-align: center; }
.hearth-heading__kicker { margin: 0; font: 700 .78rem var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--clay); }
.hearth-heading h2 { margin: .25rem 0 0; font: 800 clamp(1.6rem, 3vw, 2.35rem)/1.12 var(--display); color: var(--olive); }
.hearth-heading h2::after { content: ""; display: block; width: 90px; height: 10px; margin: .55rem auto 0; background: radial-gradient(circle, var(--saffron) 3px, transparent 3.5px) 0 50% / 18px 10px repeat-x; }
.hearth-heading--dark .hearth-heading__kicker { color: var(--saffron-light); }
.hearth-heading--dark h2 { color: var(--cream); }

/* Three habits: numbered loaves on a board. */
.hearth-habits { margin: 0 auto 3.4rem; }
.hearth-habits__row { max-width: 1200px; margin: 0 auto; padding: 0 1.2rem; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.hearth-habit { padding: 1.4rem 1.4rem 1.3rem; background: var(--paper); border-radius: 18px; border: 1px solid rgba(122, 74, 37, .18); box-shadow: var(--shadow); }
.hearth-habit__num { display: inline-grid; place-items: center; width: 3rem; height: 2.2rem; border-radius: 1.5rem 1.5rem .5rem .5rem; background: linear-gradient(180deg, #d89a52, #a8622a); color: #fff8ea; font: 800 1.05rem var(--display); }
.hearth-habit h3 { margin: .7rem 0 .35rem; font: 800 1.2rem/1.25 var(--display); color: var(--olive); }
.hearth-habit p { margin: 0; color: var(--ink-2); font-size: 1rem; }

/* Recipe cards */
.hearth-pick, .hearth-latest__grid { max-width: 1200px; margin: 0 auto; padding: 0 1.2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.hearth-pick { margin-bottom: 3.4rem; }
.loaf-card { position: relative; border-radius: 6px; background: var(--paper);
  background-image: linear-gradient(transparent 0 3.4rem, var(--rule-red) 3.4rem calc(3.4rem + 2px), transparent calc(3.4rem + 2px)), repeating-linear-gradient(transparent 0 1.75rem, var(--rule-blue) 1.75rem calc(1.75rem + 1px));
  box-shadow: 0 16px 30px -22px rgba(42, 36, 24, .55); transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s, opacity .7s; }
.js .loaf-card:not(.is-seen) { opacity: 0; transform: translateY(18px) rotate(1deg); }
.loaf-card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 26px 40px -24px rgba(42, 36, 24, .6); }
.loaf-card__link { display: flex; flex-direction: column; gap: .55rem; height: 100%; padding: 1rem 1.35rem 1.2rem; text-decoration: none; color: inherit; }
.loaf-card__tab { align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; margin: -.1rem 0 .9rem; padding: .28rem .75rem .28rem .5rem; border-radius: 10px 10px 4px 4px; background: var(--olive); color: var(--cream); font: 700 .74rem var(--display); letter-spacing: .08em; text-transform: uppercase; }
.loaf-card__icon { width: 18px; height: 18px; color: var(--saffron-light); }
.loaf-card__title { margin: 0; font: 800 1.22rem/1.25 var(--display); color: var(--olive); }
.loaf-card__text { margin: 0; color: var(--ink-2); font-size: .98rem; flex: 1; }
.loaf-card__foot { display: inline-flex; align-items: center; gap: .45rem; font: 700 .84rem var(--display); color: var(--clay-deep); }
.loaf-card__timer { position: relative; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; }
.loaf-card__timer::after { content: ""; position: absolute; left: 50%; top: 2px; width: 2px; height: 5px; margin-left: -1px; background: currentColor; transform-origin: 50% 100%; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.loaf-card:hover .loaf-card__timer::after { transform: rotate(270deg); }
.loaf-card--big { grid-column: span 3; transform: rotate(-.4deg); }
.loaf-card--big .loaf-card__link { padding: 1.2rem 2.2rem 1.9rem; }
.loaf-card--big .loaf-card__title { font-size: clamp(1.6rem, 3vw, 2.25rem); max-width: 30ch; }
.loaf-card--big .loaf-card__text { font-size: 1.08rem; max-width: 72ch; }
.hearth-soon { max-width: 1200px; margin: 0 auto 3rem; padding: 1.2rem; text-align: center; color: var(--ink-2); }

/* Six jars on a shelf */
.hearth-pantry { margin: 0 auto 3.6rem; }
.hearth-pantry__shelf { max-width: 1200px; margin: 0 auto; padding: 0 1.2rem 1.2rem; list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem;
  background: linear-gradient(transparent calc(100% - 14px), #8a5a32 calc(100% - 14px), #5e3a1d) no-repeat; }
.hearth-jar { position: relative; display: flex; flex-direction: column; align-items: center; gap: .5rem; height: 100%; padding: 1.6rem .8rem 1.2rem; text-align: center; text-decoration: none; color: inherit;
  border-radius: 20px 20px 14px 14px; background: linear-gradient(90deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .2) 30%, rgba(255, 255, 255, .45) 70%, rgba(255, 255, 255, .15)), #e9efd9;
  border: 1px solid rgba(51, 64, 31, .2); transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s, opacity .7s; }
.js .hearth-jar:not(.is-seen) { opacity: 0; transform: translateY(14px); }
.hearth-jar:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.hearth-jar__lid { position: absolute; left: 14%; right: 14%; top: -10px; height: 16px; border-radius: 6px; background: linear-gradient(180deg, var(--clay), var(--clay-deep)); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.hearth-jar:hover .hearth-jar__lid { transform: translateY(-8px) rotate(-6deg); }
.hearth-jar__icon { display: inline-flex; width: 46px; height: 46px; color: var(--olive); }
.hearth-jar__icon svg { width: 100%; height: 100%; }
.hearth-jar__label { display: flex; flex-direction: column; padding: .4rem .7rem; border-radius: 50% / 40%; background: var(--paper); border: 1px solid rgba(122, 74, 37, .3); min-width: 80%; }
.hearth-jar__name { font: 800 .98rem/1.2 var(--display); color: var(--olive); }
.hearth-jar__count { font: 600 .76rem var(--display); color: var(--clay-deep); }
.hearth-jar__text { font-size: .86rem; color: var(--ink-2); line-height: 1.5; }

.hearth-latest { margin: 0 auto 3.6rem; }
.hearth-latest--section, .hearth-latest--more { margin-top: 2.4rem; }

/* The recipe box: dividers on an olive ground */
.hearth-box { padding: 3.2rem 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 22px), var(--olive); color: var(--cream); }
.hearth-box__dividers { max-width: 1200px; margin: 0 auto; padding: 0 1.2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.hearth-box section { padding: 1.1rem 1.25rem; border-radius: 14px 14px 6px 6px; background: rgba(251, 246, 236, .08); border: 1px solid rgba(246, 211, 138, .25); }
.hearth-box h3 { margin: 0 0 .6rem; font: 800 1.08rem var(--display); }
.hearth-box h3 a { display: inline-flex; align-items: center; gap: .5rem; color: var(--saffron-light); text-decoration: none; }
.hearth-box h3 svg { width: 22px; height: 22px; color: var(--saffron); }
.hearth-box ol { margin: 0; padding-left: 1.2rem; }
.hearth-box li { margin: .28rem 0; font-size: .95rem; }
.hearth-box li::marker { color: var(--saffron); font-family: var(--display); }
.hearth-box li a { color: #f4eedf; text-decoration: none; }
.hearth-box li a:hover { color: var(--saffron-light); text-decoration: underline; }

/* Section header */
.hearth-sectionhead { max-width: 860px; margin: 2.6rem auto 0; padding: 0 1.2rem; text-align: center; }
.hearth-sectionhead__jar { display: inline-grid; place-items: center; width: 86px; height: 86px; padding: 18px; border-radius: 26px 26px 18px 18px; background: #e9efd9; color: var(--olive); border: 1px solid rgba(51, 64, 31, .25); box-shadow: inset 0 10px 0 var(--clay); }
.hearth-sectionhead__jar svg { width: 100%; height: 100%; }
.hearth-sectionhead h1 { margin: .9rem 0 .5rem; font: 800 clamp(2rem, 4vw, 2.9rem)/1.08 var(--display); color: var(--olive); }
.hearth-sectionhead p { color: var(--ink-2); }
.hearth-sectionhead__count { font: 700 .95rem var(--display); color: var(--clay-deep) !important; }
.hearth-crumbs { font: 500 .86rem var(--display); color: var(--ink-2); margin-bottom: .9rem; }

/* Article: one column, the contents as an ingredient card at the top. */
.hearth-article { max-width: 820px; margin: 2.4rem auto 0; padding: 0 1.2rem; }
.hearth-article__head { text-align: center; margin-bottom: 1.8rem; }
.hearth-article__label { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .8rem; padding: .35rem .95rem; border-radius: 50% / 45%; background: var(--paper); border: 1px solid rgba(122, 74, 37, .3); color: var(--olive); font: 700 .8rem var(--display); letter-spacing: .08em; text-transform: uppercase; }
.hearth-article__label svg { width: 18px; height: 18px; color: var(--clay); }
.hearth-article__title { margin: 0 0 .8rem; font: 800 clamp(2rem, 4.4vw, 3.05rem)/1.08 var(--display); color: var(--olive); letter-spacing: -.01em; }
.hearth-article__lead { margin: 0 0 .7rem; font-size: 1.2rem; font-style: italic; }
.hearth-article__meta { margin: 0; font: 500 .9rem var(--display); color: var(--ink-2); }
.hearth-toc { margin: 0 0 2rem; padding: 1rem 1.4rem 1.1rem; border-radius: 6px; background: var(--paper); background-image: linear-gradient(transparent 0 2.6rem, var(--rule-red) 2.6rem calc(2.6rem + 2px), transparent calc(2.6rem + 2px)); box-shadow: 0 14px 26px -22px rgba(42, 36, 24, .55); }
.hearth-toc__title { margin: 0 0 .9rem; font: 800 .8rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--clay-deep); }
.hearth-toc ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 2rem; }
.hearth-toc li { position: relative; break-inside: avoid; margin: .3rem 0; padding-left: 1.6rem; font-size: .96rem; }
.hearth-toc li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 14px; border-radius: 4px; border: 2px solid var(--olive-light); transition: background .3s, border-color .3s; }
.hearth-toc li:has(a.is-here)::before { background: var(--olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7l3 3 5-6' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 10px no-repeat; border-color: var(--olive); }
.hearth-toc a { color: var(--ink); text-decoration: none; }
.hearth-toc a:hover, .hearth-toc a.is-here { color: var(--olive); font-weight: 600; }
.hearth-text > p:first-child::first-letter { float: left; font: 800 3.6rem/.86 var(--display); color: var(--clay); padding: .25rem .5rem 0 0; }
.hearth-text h2 { margin: 2.4rem 0 .8rem; font: 800 1.68rem/1.2 var(--display); color: var(--olive); scroll-margin-top: 150px; }
.hearth-text h2::before { content: ""; display: block; width: 48px; height: 8px; margin-bottom: .55rem; border-radius: 8px 8px 2px 2px; background: linear-gradient(180deg, #d89a52, #a8622a); }
.hearth-text h3 { margin: 1.7rem 0 .5rem; font: 800 1.25rem/1.25 var(--display); color: var(--clay-deep); scroll-margin-top: 150px; }
.hearth-text ul, .hearth-text ol { padding-left: 1.35rem; }
.hearth-text li { margin: .32rem 0; }
.hearth-text ul li::marker { color: var(--clay); }
.hearth-text ol li::marker { color: var(--olive); font-family: var(--display); font-weight: 800; }
.hearth-text blockquote { margin: 1.5rem 0; padding: 1rem 1.3rem; border-radius: 14px; background: #eef1e2; border-left: 5px solid var(--olive-light); }
.hearth-text blockquote p { margin: .3rem 0; }
.hearth-text table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.5rem 0; font-size: .96rem; display: block; overflow-x: auto; border-radius: 12px; border: 1px solid rgba(122, 74, 37, .25); }
.hearth-text th, .hearth-text td { padding: .6rem .75rem; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(122, 74, 37, .15); }
.hearth-text th { background: var(--olive); color: var(--cream); font: 700 .92rem var(--display); }
.hearth-text tr:nth-child(even) td { background: var(--cream-2); }
.hearth-text tr:last-child td { border-bottom: 0; }
.hearth-text strong { color: var(--olive); }
.hearth-text a { color: var(--clay-deep); font-weight: 600; }
.hearth-note { margin: 2.6rem 0 1rem; padding: 1.1rem 1.3rem; border-radius: 14px; background: linear-gradient(135deg, rgba(232, 163, 61, .16), rgba(138, 154, 91, .16)); border: 1px dashed rgba(122, 74, 37, .4); font-size: .97rem; }
.hearth-note p { margin: 0; }

/* Footer: a gingham tablecloth edge, then olive */
.hearth-foot { margin-top: 3.6rem; color: #e9e4d3; }
.hearth-foot__cloth { height: 22px; background:
  linear-gradient(90deg, rgba(192, 88, 47, .55) 50%, transparent 50%) 0 0 / 22px 22px,
  linear-gradient(rgba(192, 88, 47, .55) 50%, transparent 50%) 0 0 / 22px 22px, var(--cream-2); }
.hearth-foot__in, .hearth-foot__note { background: var(--olive); }
.hearth-foot__in { padding: 2rem max(1.2rem, calc((100vw - 1200px) / 2 + 1.2rem)) 1rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.hearth-foot__word { margin: 0; font: 800 1.6rem var(--display); letter-spacing: .08em; color: var(--saffron-light); }
.hearth-foot__sub { margin: .2rem 0 .8rem; font: 500 .8rem var(--display); color: #cdd5ae; }
.hearth-foot__title { margin: 0 0 .6rem; font: 800 .8rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--saffron-light); }
.hearth-foot ul { list-style: none; margin: 0; padding: 0; }
.hearth-foot li { margin: .32rem 0; }
.hearth-foot a { color: #f4eedf; text-decoration: none; }
.hearth-foot a:hover { color: var(--saffron-light); text-decoration: underline; }
.hearth-foot__note { margin: 0; padding: 1rem max(1.2rem, calc((100vw - 1200px) / 2 + 1.2rem)) 1.6rem; border-top: 1px solid rgba(246, 211, 138, .2); font-size: .85rem; color: #cdd5ae; }

/* 404 */
.hearth-lost { max-width: 1000px; margin: 3rem auto; padding: 0 1.2rem; text-align: center; }
.hearth-lost__code { margin: 0; font: 800 5.4rem/1 var(--display); color: var(--clay); }
.hearth-lost h1 { font: 800 2rem var(--display); color: var(--olive); }
.hearth-lost .hearth-pantry__shelf { padding: 0 0 1.2rem; margin-top: 1.8rem; }

/* Celebration: red and gold sprinkles fall once per session. */
.hearth-party { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.hearth-party i { position: absolute; top: -20px; width: 4px; height: 12px; border-radius: 3px; background: var(--red); animation: hearth-sprinkle var(--t, 2.8s) cubic-bezier(.3, .1, .7, 1) forwards; animation-delay: var(--d, 0s); }
.hearth-party i:nth-child(2n) { background: var(--yellow); }
@keyframes hearth-sprinkle { 0% { transform: translate(0, 0) rotate(var(--r, 0deg)); opacity: 1; } 85% { opacity: 1; } 100% { transform: translate(var(--x, 0), 105vh) rotate(calc(var(--r, 0deg) + 540deg)); opacity: .2; } }

/* Responsive */
@media (max-width: 1100px) {
  .hearth-pantry__shelf { grid-template-columns: repeat(3, 1fr); row-gap: 1.8rem; background: none; }
}
@media (max-width: 980px) {
  .hearth-pick, .hearth-latest__grid, .hearth-box__dividers { grid-template-columns: repeat(2, 1fr); }
  .loaf-card--big { grid-column: span 2; }
  .hearth-habits__row { grid-template-columns: 1fr; }
  .hearth-foot__in { grid-template-columns: 1fr 1fr; }
  .hearth-hero__scene { height: 360px; }
  .hearth-hero__card { margin: -48px 1.2rem 0; }
}
@media (max-width: 860px) {
  .hearth-toggle { display: inline-flex; }
  .hearth-head__in { justify-content: space-between; }
  .hearth-nav { display: none; }
  .hearth-nav.is-open { display: block; }
  .hearth-nav__in { flex-direction: column; align-items: stretch; padding: .2rem 1.2rem .8rem; }
  .hearth-nav__tab { border-radius: 10px; }
  .hearth-nav__tab--mobile { display: inline-flex; }
  .hearth-service { display: none; }
  .hearth-brand__sub { display: none; }
  .hearth-champions__aside { display: none; }
}
@media (max-width: 600px) {
  .hearth-pick, .hearth-latest__grid, .hearth-box__dividers { grid-template-columns: 1fr; }
  .loaf-card--big { grid-column: auto; }
  .loaf-card--big .loaf-card__link { padding: 1rem 1.35rem 1.4rem; }
  .hearth-pantry__shelf { grid-template-columns: repeat(2, 1fr); }
  .hearth-hero__scene { height: auto; aspect-ratio: 640 / 400; }
  .hearth-hero__card { padding: 1.8rem 1.2rem 1.5rem; transform: none; margin-top: -24px; }
  .hearth-toc ol { columns: 1; }
  .hearth-foot__in { grid-template-columns: 1fr; }
  body.hearth { font-size: 1.03rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .loaf-card:not(.is-seen), .js .hearth-jar:not(.is-seen) { opacity: 1; transform: none; }
  .ember-dampf path { opacity: .5; }
  .hearth-party { display: none; }
}

@media print {
  .hearth-champions, .hearth-head, .hearth-foot, .hearth-latest--more, .hearth-bake { display: none !important; }
  body.hearth { background: #fff; }
}
