/* Advent Overflow — 2026 season site
   Visual idea: the website is the wall where the family builds its tree.
   Kraft paper, construction-paper color, tape, handwriting on the back. */

:root {
  /* paper + ink */
  --paper: #f7f0e3;
  --paper-2: #efe4d0;
  --card: #fffaf1;
  --kraft: #c9a87c;
  --ink: #2a2019;
  --ink-2: #5a4a3d;
  --ink-3: #8a7866;
  --rule: #e2d4bd;
  --gold: #c8962b;
  --gold-2: #e8bf55;

  /* November: the leaves turning, then falling */
  --c-prepare: #8b6a48;      /* bare trunk */
  --c-improvement: #d9a12a;  /* first gold leaves */
  --c-important: #d86f26;    /* orange */
  --c-impairment: #a63a2a;   /* rust red: protect */
  --c-thanksgiving: #7a2c22; /* deep harvest */
  --c-left-overs: #b48a57;   /* leaves falling */
  --c-pivot: #5f4532;        /* the trunk, cut down */

  /* December: the Giving Tree */
  --c-generosity: #2e6a48;   /* first green layer */
  --c-hope: #a8283c;         /* red ornament */
  --c-peace: #5b8f7b;        /* second green */
  --c-joy: #c4373f;          /* bright red */
  --c-love: #b88a1d;         /* gold star */

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Segoe Print", cursive;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(42, 32, 25, .08), 0 8px 24px -10px rgba(42, 32, 25, .25);
  --shadow-lift: 0 2px 4px rgba(42, 32, 25, .1), 0 18px 36px -14px rgba(42, 32, 25, .35);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--paper);
  /* subtle paper fiber */
  background-image:
    radial-gradient(rgba(139, 106, 72, .05) 1px, transparent 1.2px),
    radial-gradient(rgba(139, 106, 72, .04) 1px, transparent 1.2px);
  background-size: 22px 22px, 37px 37px;
  background-position: 0 0, 11px 7px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.55rem); }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.eyebrow { font-family: var(--font-body); font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .7em; display: block; }
.hand { font-family: var(--font-hand); font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(247, 240, 227, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; white-space: nowrap; }
.brand svg { width: 42px; height: 42px; flex: none; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a { text-decoration: none; font-weight: 700; font-size: .92rem; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a.today-link { background: var(--ink); color: var(--paper); }
.nav a.today-link:hover { background: #000; color: #fff; }
@media (max-width: 520px) { .nav a.hide-sm { display: none; } .brand span { font-size: 1.02rem; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 800 1rem/1 var(--font-body); padding: 15px 22px; border-radius: 999px; text-decoration: none; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); transition: transform .15s ease, box-shadow .15s ease; box-shadow: 0 4px 0 rgba(42, 32, 25, .25); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(42, 32, 25, .25); }
.btn:active { transform: translateY(1px); box-shadow: 0 2px 0 rgba(42, 32, 25, .25); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: none; }
.btn.ghost:hover { background: var(--card); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #fff; box-shadow: 0 4px 0 #9a7019; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- tape + taped cards ---------- */
.taped { position: relative; background: var(--card); border-radius: 6px; box-shadow: var(--shadow); }
.taped::before, .taped.two::after {
  content: ""; position: absolute; top: -12px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%) rotate(-3deg);
  background: rgba(235, 222, 190, .82); border-left: 1px dashed rgba(0, 0, 0, .06); border-right: 1px dashed rgba(0, 0, 0, .06);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}
.taped.two::before { left: 14%; transform: rotate(-8deg); }
.taped.two::after { left: auto; right: 4%; transform: rotate(7deg); }

/* ---------- today strip ---------- */
.today-strip { background: var(--ink); color: var(--paper); }
.today-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 14px 0; }
.today-strip .ts-label { font-weight: 800; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.today-strip .ts-text { font-family: var(--font-display); font-size: clamp(1.05rem, 2.6vw, 1.3rem); flex: 1 1 260px; }
.today-strip .ts-text em { font-style: normal; color: var(--gold-2); }
.today-strip a.ts-go { color: var(--ink); background: var(--gold-2); text-decoration: none; font-weight: 800; padding: 10px 16px; border-radius: 999px; white-space: nowrap; }
.today-strip a.ts-go:hover { background: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 90px) 0 clamp(40px, 6vw, 70px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { margin-bottom: .28em; }
.hero h1 .line2 { display: block; color: var(--c-generosity); font-style: italic; font-weight: 600; }
.hero .lede { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--ink-2); max-width: 34em; }
.hero .dates .sep { opacity: .6; }
@media (max-width: 520px) { .hero .dates .sep { display: none; } }
.hero .dates { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 800; font-size: .95rem; margin: 6px 0 26px; }
.hero .dates .pill { background: var(--card); border: 1.5px solid var(--rule); border-radius: 999px; padding: 6px 14px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; aspect-ratio: 1 / 1.02; }
.hero-art .wall { position: absolute; inset: 0; border-radius: 22px; background: linear-gradient(180deg, #fbf5ea, #f1e5cf); box-shadow: inset 0 0 0 1px var(--rule), var(--shadow); overflow: hidden; }
.hero-art .wall::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 13%; background: linear-gradient(180deg, #d9c3a0, #cfb48c); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .35); }
.hero-art svg.tree { position: absolute; inset: 4% 6% 9% 6%; width: 88%; height: 87%; z-index: 1; }
.hero-art .caption { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%) rotate(-1.5deg); z-index: 2; padding: 10px 18px; white-space: nowrap; font-family: var(--font-hand); font-size: 1.35rem; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; width: 100%; margin: 10px auto 10px; }
}

/* ---------- sections ---------- */
section.band { padding: clamp(56px, 9vw, 110px) 0; position: relative; }
section.band.alt { background: var(--paper-2); }
section.band.dark { background: #261d16; color: #f4ead8; }
section.band.dark .eyebrow { color: var(--gold-2); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 5vw, 48px); }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }
section.band.dark .section-head p { color: #d7c8b0; }
.center { text-align: center; margin-inline: auto; }

/* problem → answer */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: stretch; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.manual { padding: 30px 28px 26px; }
.manual h3 { display: flex; align-items: center; gap: 10px; }
.manual ul { margin: 0; padding: 0; list-style: none; }
.manual li { padding: 10px 0 10px 34px; position: relative; border-top: 1px dashed var(--rule); }
.manual li:first-child { border-top: 0; }
.manual.old li::before { content: "✕"; position: absolute; left: 4px; top: 10px; color: var(--c-impairment); font-weight: 900; }
.manual.new li::before { content: "✓"; position: absolute; left: 4px; top: 10px; color: var(--c-generosity); font-weight: 900; }
.manual.old { transform: rotate(-1deg); }
.manual.new { transform: rotate(.8deg); }
.manual .tag { font-family: var(--font-hand); font-size: 1.5rem; color: var(--ink-3); }

/* overflow statement */
.overflow-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 760px) { .overflow-grid { grid-template-columns: 1fr; } }
.big-quote { font-family: var(--font-display); font-size: clamp(2rem, 5.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .4em; }
.big-quote em { color: var(--gold-2); font-style: italic; }
.cup { width: min(340px, 80%); margin-inline: auto; }

/* rhythm */
.rhythm { display: grid; grid-template-columns: 3fr 2.1fr 3fr; gap: 14px; }
.phase-card { padding: 22px 20px 20px; border-radius: var(--radius); position: relative; }
.phase-card h3 { margin-bottom: .25em; }
.phase-card .days { font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.phase-card .dots { display: flex; gap: 8px; margin: 12px 0 14px; }
.phase-card .dots span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: .9rem; background: rgba(255, 255, 255, .7); }
.phase-card p { margin: 0; font-size: 1rem; }
.phase-card.receive { background: #f3e6c4; }
.phase-card.celebrate { background: #e9c66a; text-align: center; }
.phase-card.celebrate .dots { justify-content: center; }
.phase-card.give { background: #d7e6d6; }
.phase-card .sub { margin-top: 12px; display: grid; gap: 6px; font-size: .95rem; }
.phase-card .sub div { display: flex; justify-content: space-between; gap: 10px; border-top: 1px dashed rgba(42, 32, 25, .18); padding-top: 6px; }
.phase-card .sub b { font-weight: 800; }
@media (max-width: 760px) { .rhythm { grid-template-columns: 1fr; } .phase-card.celebrate { text-align: left; } .phase-card.celebrate .dots { justify-content: flex-start; } }
.rhythm-foot { text-align: center; margin-top: 26px; font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.8rem); }
.rhythm-foot b { color: var(--c-important); }

/* the note flip */
.note-row { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 60px); align-items: center; margin-top: clamp(40px, 6vw, 70px); }
@media (max-width: 760px) { .note-row { grid-template-columns: 1fr; justify-items: center; } .note-row h3 { text-align: center; } }
@media (max-width: 760px) { .cup { width: min(230px, 70%); } }
.flip { width: 230px; height: 230px; perspective: 900px; cursor: pointer; border: 0; padding: 0; background: none; font: inherit; color: inherit; }
.flip .inner { display: block; position: relative; width: 100%; height: 100%; transition: transform .7s cubic-bezier(.3, .8, .3, 1); transform-style: preserve-3d; }
.flip.flipped .inner { transform: rotateY(180deg); }
.flip .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: grid; place-items: center; text-align: center; padding: 34px; }
.flip .front { color: #fff; }
.flip .front svg, .flip .back svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.flip .face .txt { position: relative; z-index: 1; font-family: var(--font-hand); line-height: 1.15; }
.flip .front .txt { font-size: 2.6rem; }
.flip .back { transform: rotateY(180deg); color: var(--ink); }
.flip .back .txt { font-size: 1.32rem; }
.flip-hint { font-size: .9rem; color: var(--ink-3); font-weight: 700; margin-top: 10px; text-align: center; }

/* trees */
.two-trees { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(12px, 3vw, 30px); align-items: end; }
.tree-card { padding: 22px 20px 20px; text-align: center; }
.tree-card svg { height: 300px; width: 100%; margin-bottom: 12px; }
.tree-card h3 { margin-bottom: .2em; }
.tree-card .when { font-weight: 800; color: var(--ink-3); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.tree-card p { font-size: 1rem; color: var(--ink-2); margin: 10px 0 0; }
.pivot-arrow { align-self: center; text-align: center; font-family: var(--font-hand); font-size: 1.4rem; color: var(--ink-2); line-height: 1.1; }
.pivot-arrow svg { width: 70px; margin: 0 auto 6px; }
@media (max-width: 760px) {
  .two-trees { grid-template-columns: 1fr; }
  .pivot-arrow svg { transform: rotate(90deg); }
}

/* season map */
.season-map { display: flex; height: 18px; border-radius: 999px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.season-map span { display: block; height: 100%; }
.season-legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 22px; }
.season-legend a { display: flex; gap: 10px; align-items: center; text-decoration: none; background: var(--card); border-radius: 10px; padding: 10px 12px; box-shadow: var(--shadow); }
.season-legend a:hover { box-shadow: var(--shadow-lift); }
.season-legend i { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.season-legend b { display: block; font-size: .95rem; }
.season-legend small { display: block; color: var(--ink-3); font-weight: 700; font-size: .78rem; }

/* Wanderful Woods */
.ww-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 60px); align-items: center; }
@media (max-width: 760px) { .ww-grid { grid-template-columns: 1fr; } }
.ww-frame { padding: 14px; transform: rotate(-1.4deg); }
.ww-frame .art { aspect-ratio: 1375 / 768; border-radius: 4px; overflow: hidden; background: linear-gradient(160deg, #c9dcc0, #8fb08c 60%, #6d8f6a); position: relative; }
.ww-frame .art img { width: 100%; height: 100%; object-fit: cover; }
.ww-frame figcaption { font-family: var(--font-hand); font-size: 1.35rem; text-align: center; padding-top: 8px; }
.formats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.formats span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); font-weight: 800; font-size: .92rem; }

/* supplies */
.supplies { columns: 2 260px; column-gap: 28px; padding: 30px 30px 18px; }
.supplies li { break-inside: avoid; list-style: none; padding: 10px 0 10px 40px; position: relative; border-bottom: 1px dashed var(--rule); }
.supplies li::before { content: ""; position: absolute; left: 0; top: 11px; width: 24px; height: 24px; border-radius: 6px; border: 2px solid var(--ink-3); }
.supplies li.dec::before { border-color: var(--c-generosity); }
.supplies ul { margin: 0; padding: 0; }

/* closing */
.closing { text-align: center; max-width: 820px; margin-inline: auto; }
.closing .big-quote { color: var(--paper); }
.closing p { color: #d7c8b0; font-size: 1.15rem; }
.closing .btn { margin-top: 12px; }

/* footer */
.site-footer { padding: 34px 0 44px; color: var(--ink-3); font-size: .92rem; border-top: 1px solid var(--rule); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }
.site-footer a { color: var(--ink-2); font-weight: 700; }

/* ---------- block color utilities ---------- */
[data-block="prepare"] { --bc: var(--c-prepare); --bt: #fff; }
[data-block="improvement"] { --bc: var(--c-improvement); --bt: #2a2019; }
[data-block="important"] { --bc: var(--c-important); --bt: #fff; }
[data-block="impairment"] { --bc: var(--c-impairment); --bt: #fff; }
[data-block="thanksgiving"] { --bc: var(--c-thanksgiving); --bt: #fff; }
[data-block="left-overs"] { --bc: var(--c-left-overs); --bt: #2a2019; }
[data-block="pivot"] { --bc: var(--c-pivot); --bt: #fff; }
[data-block="generosity"] { --bc: var(--c-generosity); --bt: #fff; }
[data-block="hope"] { --bc: var(--c-hope); --bt: #fff; }
[data-block="peace"] { --bc: var(--c-peace); --bt: #fff; }
[data-block="joy"] { --bc: var(--c-joy); --bt: #fff; }
[data-block="love"] { --bc: var(--c-love); --bt: #fff; }

/* ---------- calendar page ---------- */
.cal-hero { padding: clamp(36px, 6vw, 70px) 0 20px; }
.cal-hero .row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.today-card { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; margin-top: 22px; border-left: 10px solid var(--bc, var(--ink)); }
.today-card .datebox { text-align: center; min-width: 64px; }
.today-card .datebox .m { font-weight: 900; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.today-card .datebox .d { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1; }
.today-card .meta b { font-family: var(--font-display); font-size: 1.3rem; display: block; }
.today-card .meta span { color: var(--ink-2); font-weight: 700; }
@media (max-width: 560px) { .today-card { grid-template-columns: auto 1fr; } .today-card .btn { grid-column: 1 / -1; justify-content: center; } }

.legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 24px 0 8px; font-size: .86rem; font-weight: 800; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 13px; height: 13px; border-radius: 4px; background: var(--bc); }

.month { margin: 34px 0 10px; }
.month h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); display: flex; align-items: baseline; gap: 12px; }
.month h2 small { font-family: var(--font-body); font-size: .9rem; font-weight: 800; color: var(--ink-3); letter-spacing: .1em; text-transform: uppercase; }
.grid7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.dow { text-align: center; font-weight: 900; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 6px 0; }
.cell { position: relative; min-height: 132px; border-radius: 10px; background: rgba(255, 250, 241, .5); border: 1.5px dashed var(--rule); padding: 8px; color: var(--ink-3); }
.cell.empty { visibility: hidden; }
a.cell { display: flex; flex-direction: column; text-decoration: none; background: var(--card); border: 0; color: var(--ink); box-shadow: var(--shadow); overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
a.cell::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 6px; background: var(--bc); }
a.cell:hover, a.cell:focus-visible { transform: translateY(-3px) rotate(-.4deg); box-shadow: var(--shadow-lift); outline: none; }
a.cell .num { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; line-height: 1; margin-top: 4px; display: inline-flex; align-items: center; gap: 5px; }
a.cell .num .today-mark { width: 1.35em; height: 1.26em; flex: none; }
a.cell .lbl { margin-top: auto; display: flex; flex-direction: column; gap: 2px; font-size: .78rem; line-height: 1.2; }
a.cell .lbl .b { font-weight: 900; color: color-mix(in srgb, var(--bc) 72%, #1a120c); }
a.cell .lbl .p { font-weight: 800; color: var(--ink-2); }
a.cell .lbl .f { font-weight: 700; color: var(--ink-3); }
a.cell .star { position: absolute; top: 8px; right: 8px; font-size: .66rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; color: var(--bt); background: var(--bc); padding: 3px 6px; border-radius: 6px; max-width: 70%; text-align: right; line-height: 1.15; }
a.cell.is-today { box-shadow: 0 0 0 3px var(--ink), var(--shadow-lift); }
a.cell.is-today::after { content: "Today"; position: absolute; right: 8px; bottom: 8px; font: 900 .6rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 4px 6px; border-radius: 4px; }
a.cell.is-past { opacity: .78; }
a.cell .tint { position: absolute; inset: 0; background: var(--bc); opacity: .07; pointer-events: none; }

/* phone calendar: keep the grid, simplify the cell */
@media (max-width: 720px) {
  .grid7 { gap: 4px; }
  .cell { min-height: 64px; padding: 5px; border-radius: 8px; }
  a.cell::before { height: 100%; opacity: .14; }
  a.cell .num { font-size: 1.15rem; margin-top: 0; }
  a.cell .lbl .p, a.cell .lbl .f { display: none; }
  a.cell .lbl .b { font-size: .64rem; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: color-mix(in srgb, var(--bc) 60%, #1a120c); }
  a.cell .lbl .b .full { display: none; }
  a.cell .star { top: 4px; right: 4px; font-size: 0; padding: 0; width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; }
  a.cell .star::before { content: "★"; font-size: .58rem; line-height: 1; }
  a.cell.is-today::after { display: none; }
  a.cell.is-today { box-shadow: 0 0 0 2.5px var(--ink), var(--shadow-lift); }
  .dow { font-size: .62rem; letter-spacing: .04em; }
}
@media (min-width: 721px) { a.cell .lbl .b .short { display: none; } }

/* chapters overview */
.chapters { display: grid; gap: clamp(22px, 4vw, 34px); margin-top: 18px; }
.chapter { border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.chapter-head { background: var(--bc); color: var(--bt); padding: 22px 24px 20px; position: relative; overflow: hidden; }
.chapter-head .eyebrow { color: inherit; opacity: .8; margin-bottom: .35em; }
.chapter-head h3 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0; }
.chapter-head .tag { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; margin-top: 6px; opacity: .95; }
.chapter-head .dates { position: absolute; right: 22px; top: 22px; font-weight: 900; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.chapter-head svg.motif { position: absolute; right: -10px; bottom: -18px; width: 140px; height: 140px; opacity: .22; }
@media (max-width: 560px) { .chapter-head .dates { position: static; display: block; margin-bottom: 6px; } }
.chapter ol { list-style: none; margin: 0; padding: 6px 0; }
.chapter li a { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; align-items: center; padding: 12px 24px; text-decoration: none; border-top: 1px dashed var(--rule); }
.chapter li:first-child a { border-top: 0; }
.chapter li a:hover { background: var(--paper); }
.chapter li .d { font-weight: 900; font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); line-height: 1.25; white-space: nowrap; }
.chapter li .d small { display: block; font-size: .7rem; color: var(--ink-3); letter-spacing: .12em; }
.chapter li .t { display: flex; flex-direction: column; }
.chapter li .t b { font-weight: 800; }
.chapter li .t small { color: var(--ink-2); font-weight: 700; font-size: .88rem; }
.chapter li .t q { font-family: var(--font-display); font-style: italic; color: var(--ink-2); quotes: "\201C" "\201D"; font-size: .98rem; margin-top: 2px; }
.chapter li .go { color: var(--bc); font-weight: 900; font-size: 1.2rem; }
.chapter li.is-today a { background: color-mix(in srgb, var(--bc) 12%, white); }
.chapter li.is-today .d::after { content: "Today"; display: block; color: var(--ink); }
@media (max-width: 480px) { .chapter li a { grid-template-columns: 58px 1fr auto; padding: 12px 16px; gap: 10px; } }

/* ---------- day page ---------- */
.day-hero { background: var(--bc); color: var(--bt); position: relative; overflow: hidden; }
.day-hero .wrap { padding: clamp(28px, 6vw, 60px) 0 clamp(30px, 6vw, 56px); position: relative; z-index: 1; }
.day-hero .crumbs { font-weight: 800; font-size: .86rem; letter-spacing: .06em; opacity: .85; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.day-hero .crumbs a { text-decoration: none; border-bottom: 1px solid currentColor; }
.day-hero h1 { font-size: clamp(2.2rem, 7vw, 4rem); margin: 10px 0 8px; }
.day-hero .date { font-family: var(--font-display); font-size: clamp(1.1rem, 3vw, 1.4rem); font-style: italic; opacity: .95; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-weight: 800; font-size: .88rem; border: 1px solid rgba(255, 255, 255, .35); }
[data-block="improvement"] .chip, [data-block="left-overs"] .chip { background: rgba(42, 32, 25, .1); border-color: rgba(42, 32, 25, .2); }
.day-hero svg.motif { position: absolute; right: -40px; bottom: -60px; width: min(360px, 60vw); height: auto; opacity: .18; }
.hook { margin: -26px auto 0; position: relative; z-index: 2; padding: 26px 28px; text-align: center; font-family: var(--font-display); font-size: clamp(1.3rem, 3.6vw, 1.9rem); line-height: 1.25; max-width: 760px; }
.hook.pending { font-family: var(--font-body); font-size: 1rem; color: var(--ink-3); font-weight: 700; }
.day-body { padding: clamp(36px, 6vw, 64px) 0; }
.day-body .wrap { max-width: 780px; }
.part { margin-bottom: clamp(40px, 6vw, 64px); }
.part > .label { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.part > .label .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bc); color: var(--bt); flex: none; }
.part > .label .ico svg { width: 24px; height: 24px; }
.part > .label h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin: 0; }
.part > .label small { display: block; font-weight: 800; color: var(--ink-3); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.prose { font-size: 1.12rem; line-height: 1.75; }
.prose h3 { margin-top: 1.6em; display: flex; align-items: baseline; gap: 10px; }
.prose h3 .hhh { font-family: var(--font-body); font-weight: 900; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bc); filter: brightness(.8); }
.placeholder { border: 2px dashed var(--rule); border-radius: 14px; padding: 22px 24px; color: var(--ink-2); background: rgba(255, 250, 241, .6); }
.placeholder b { color: var(--ink); }
.placeholder .slots { display: grid; gap: 10px; margin-top: 14px; }
.placeholder .slots div { display: flex; gap: 12px; align-items: baseline; }
.placeholder .slots span { font-weight: 900; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bc); filter: brightness(.8); min-width: 120px; }

/* kids media */
.kids { background: #eaf1e4; border-radius: 22px; padding: clamp(22px, 4vw, 34px); position: relative; }
.kids .placeholder { border: 0; background: transparent; padding: 8px 10px; }
.kids::before { content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(46, 106, 72, .25); border-radius: 16px; pointer-events: none; }
.media-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 16px; position: relative; }
.media-tabs button { font: 800 .95rem/1 var(--font-body); padding: 11px 16px; border-radius: 999px; border: 2px solid var(--c-generosity); background: transparent; color: var(--c-generosity); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.media-tabs button[aria-selected="true"] { background: var(--c-generosity); color: #fff; }
.media-panel { position: relative; }
.media-panel[hidden] { display: none; }
.embed { position: relative; width: 100%; border-radius: 12px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.embed.video { aspect-ratio: 16 / 9; }
.embed.slides { aspect-ratio: 3 / 4; background: #fff; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-panel audio { width: 100%; }

/* day nav */
.day-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; padding: 10px 0 50px; }
.day-nav a { text-decoration: none; padding: 14px 16px; border-radius: 12px; background: var(--card); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; }
.day-nav a:hover { box-shadow: var(--shadow-lift); }
.day-nav a small { font-weight: 900; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.day-nav a b { font-weight: 800; font-size: .98rem; }
.day-nav .next { text-align: right; }
.day-nav .cal { justify-content: center; align-items: center; }
.day-nav .spacer { visibility: hidden; }
@media (max-width: 560px) { .day-nav { grid-template-columns: 1fr 1fr; } .day-nav .cal { grid-column: 1 / -1; order: -1; } }

/* preview banner (only shows when ?date= is used) */
.preview-banner { position: fixed; left: 12px; bottom: 12px; z-index: 50; background: #fff8d6; color: #5a4300; border: 1px solid #e3c96a; font-weight: 800; font-size: .82rem; padding: 8px 12px; border-radius: 10px; box-shadow: var(--shadow); }
.preview-banner a { margin-left: 8px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .flip .inner { transition: none; } html { scroll-behavior: auto; } }

/* Guide import: chapter intro on each block's first day, smaller sub-heads, tables */
.prose .chapter-intro { background: color-mix(in srgb, var(--bc, #c96) 8%, transparent); border-left: 4px solid var(--bc, #c96); border-radius: 12px; padding: 18px 22px; margin: 0 0 2em; font-size: 1.02rem; }
.prose .chapter-intro > :first-child { margin-top: 0; }
.prose .chapter-intro > :last-child { margin-bottom: 0; }
.prose h4 { font-family: var(--font-display); font-size: clamp(1.08rem, 2.4vw, 1.25rem); margin: 1.4em 0 .4em; }
.prose blockquote { margin: 1.2em 0; padding: .2em 0 .2em 1em; border-left: 3px solid var(--bc, #c96); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid rgba(0,0,0,.1); vertical-align: top; }

/* ---------- Wanderful Woods picture book (day pages) ---------- */
.pb { position: relative; display: grid; gap: 16px; }
.pb-head h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 4.4vw, 2.1rem); line-height: 1.15; margin: 2px 0 0; }
.pb-eyebrow, .pb-label { display: block; font-weight: 900; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-generosity); }
.pb-intro { background: rgba(255, 250, 241, .75); border-radius: 14px; padding: 14px 18px; font-style: italic; color: var(--ink-2); font-size: 1.02rem; line-height: 1.6; }
.pb-intro .pb-label { font-style: normal; margin-bottom: 4px; }
.pb-intro p { margin: .35em 0 0; }
.pb-stage { position: relative; }
.pb-track { display: grid; align-items: start; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 16px; outline: none; overflow-y: hidden; transition: height .25s ease; }
.pb-track::-webkit-scrollbar { display: none; }
.pb-track:focus-visible { box-shadow: 0 0 0 3px var(--gold-2); }
.pb-slide { scroll-snap-align: start; scroll-snap-stop: always; margin: 0; background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.pb-art { aspect-ratio: 16 / 9; background: linear-gradient(160deg, #c9dcc0, #8fb08c 60%, #6d8f6a); }
.pb-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-text { padding: 16px 20px 20px; font-family: var(--font-display); font-size: clamp(1.08rem, 2.6vw, 1.25rem); line-height: 1.55; color: var(--ink); }
.pb-text p { margin: 0 0 .55em; }
.pb-text p:last-child { margin-bottom: 0; }
.pb-text .song { text-align: center; font-style: italic; }
.pb-arrow { position: absolute; top: 40%; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 250, 241, .92); color: var(--ink); font: 700 1.9rem/1 var(--font-display); cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center; padding-bottom: 4px; transition: opacity .2s; }
.pb-arrow.prev { left: 10px; }
.pb-arrow.next { right: 10px; }
.pb-arrow[disabled] { opacity: 0; pointer-events: none; }
@media (hover: none) { .pb-arrow { display: none; } }
.pb-bar { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.pb-btn { font: 800 .95rem/1 var(--font-body); padding: 12px 16px; border-radius: 999px; border: 2px solid var(--c-generosity); background: transparent; color: var(--c-generosity); cursor: pointer; }
.pb-btn.primary { background: var(--c-generosity); color: #fff; }
.pb-btn[disabled] { opacity: .35; cursor: default; }
.pb-progress { display: grid; gap: 6px; justify-items: center; }
.pb-count { font-weight: 800; font-size: .9rem; color: var(--ink-2); }
.pb-meter { width: 100%; height: 6px; border-radius: 99px; background: rgba(46, 106, 72, .15); overflow: hidden; }
.pb-meter i { display: block; height: 100%; background: var(--c-generosity); border-radius: 99px; transition: width .25s ease; }
.pb-talk { background: var(--card); border: 2px solid rgba(46, 106, 72, .3); border-radius: 16px; padding: 16px 20px; }
.pb-talk ol { margin: 8px 0 0; padding-left: 1.3em; font-size: 1.05rem; line-height: 1.55; }
.pb-talk li + li { margin-top: 6px; }
@media (max-width: 560px) { .pb-btn { padding: 11px 13px; font-size: .9rem; } .pb-text { padding: 14px 16px 18px; } }
.pb-talk ul { margin: 6px 0 2px; padding-left: 1.2em; font-size: .97rem; color: var(--ink-2); list-style: disc; }
.pb-talk ul li + li { margin-top: 2px; }

/* ---------- day page, scannable layout (2026-10-23) ---------- */
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 4px; z-index: 40; pointer-events: none; }
.read-progress i { display: block; height: 100%; width: 0; background: var(--bc, var(--gold)); transition: width .1s linear; }

/* hero: week tracker + today's picture */
.day-hero .week { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.day-hero .week ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.day-hero .week a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; text-decoration: none; font: 900 .85rem/1 var(--font-body);
  color: var(--bt); border: 2px solid color-mix(in srgb, var(--bt) 55%, transparent); transition: transform .15s ease, background .15s ease; }
.day-hero .week a:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--bt) 18%, transparent); }
.day-hero .week li.receive a, .day-hero .week li.protect a, .day-hero .week li.chap a { background: color-mix(in srgb, var(--bt) 10%, transparent); }
.day-hero .week li.celebrate a { border-radius: 9px; transform: rotate(45deg); width: 30px; height: 30px; margin: 2px; }
.day-hero .week li.celebrate a > span { transform: rotate(-45deg); }
.day-hero .week li.celebrate a:hover { transform: rotate(45deg) scale(1.08); }
.day-hero .week li.give a { background: color-mix(in srgb, var(--bt) 32%, transparent); border-color: transparent; }
.day-hero .week li.is-here a { background: var(--bt); color: var(--bc); border-color: var(--bt); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bt) 30%, transparent); }
.day-hero .week-key { display: flex; gap: 12px; font-weight: 800; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.day-hero .week-key .k { display: inline-flex; align-items: center; gap: 6px; }
.day-hero .week-key i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; }
.day-hero .week-key .give i { background: currentColor; opacity: .6; }
.day-hero .week-key .celebrate i { border-radius: 2px; transform: rotate(45deg); }

.hero-snap { display: none; }
@media (min-width: 1000px) {
  .day-hero.has-snap svg.motif { display: none; }
  .day-hero.has-snap .wrap { padding-right: 360px; }
  .hero-snap { display: block; position: absolute; right: 0; top: 50%; width: 320px; transform: translateY(-46%) rotate(2.2deg); background: var(--card); padding: 10px 10px 12px;
    border-radius: 4px; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .45); text-decoration: none; color: var(--ink); transition: transform .2s ease; }
  .hero-snap:hover { transform: translateY(-48%) rotate(.8deg); }
  .hero-snap::before { content: ""; position: absolute; top: -12px; left: 50%; width: 96px; height: 26px; transform: translateX(-50%) rotate(-4deg); background: rgba(235, 222, 190, .85); }
  .hero-snap .ph { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; background: #cfdcc4; }
  .hero-snap img { width: 100%; height: 100%; object-fit: cover; }
  .hero-snap .cap { display: block; font-family: var(--font-hand); font-size: 1.45rem; line-height: 1.1; text-align: center; padding: 8px 6px 0; }
  .hero-snap .cap small { display: block; font: 800 .68rem/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
}

/* at a glance */
.glance { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; margin: 0 0 clamp(36px, 6vw, 56px); }
.g-q { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 20px 22px; border-top: 6px solid var(--bc); }
.g-label { display: block; font-weight: 900; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--bc) 75%, #1a120c); }
.g-q .q { font-family: var(--font-display); font-size: clamp(1.25rem, 3.2vw, 1.55rem); line-height: 1.25; margin: 8px 0 12px; }
.g-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.g-meta span { font-size: .88rem; color: var(--ink-2); background: var(--paper-2); border-radius: 999px; padding: 5px 12px; }
.g-meta b { font-weight: 900; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-right: 4px; }
.g-jump { display: grid; gap: 12px; }
.jump { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; text-decoration: none; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 12px 14px; transition: box-shadow .15s ease, transform .15s ease; }
.jump:hover { box-shadow: var(--shadow-lift); transform: translateY(-1px); }
.jump .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--bc); color: var(--bt); }
.jump .ico svg { width: 24px; height: 24px; }
.jump .th { width: 92px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #cfdcc4; }
.jump .th img { width: 100%; height: 100%; object-fit: cover; }
.jump .tx small { display: block; font-weight: 900; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.jump .tx b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.2; }
.jump .tx em { display: block; font-style: normal; font-size: .86rem; color: var(--ink-3); }
.kids-jump { background: #eaf1e4; }
@media (max-width: 760px) {
  .glance { grid-template-columns: 1fr; }
  .g-jump { grid-template-columns: 1fr 1fr; }
  .g-jump.single { grid-template-columns: 1fr; }
  .g-jump.single .jump { grid-template-columns: auto 1fr; gap: 14px; }
  .jump { grid-template-columns: 1fr; gap: 8px; padding: 12px; align-content: start; }
  .jump .th { width: 100%; }
  .jump .tx b { font-size: 1rem; }
}

/* long chapters: an "On this page" list (sticky beside the text on wide screens) */
.day-cols { display: block; }
.toc { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 16px; margin: 0 0 30px; }
.toc summary { cursor: pointer; font-weight: 900; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.toc ol { margin: 10px 0 4px; padding-left: 1.3em; display: grid; gap: 4px; font-size: .97rem; }
.toc a { text-decoration: none; color: var(--ink-2); }
.toc a:hover, .toc a.on { color: var(--ink); text-decoration: underline; text-decoration-color: var(--bc); text-decoration-thickness: 2px; }
@media (min-width: 1180px) {
  .day-body.has-toc .wrap { max-width: 1120px; }
  .day-body.has-toc .glance { max-width: 780px; margin-left: 260px; }
  .day-body.has-toc .day-cols { display: grid; grid-template-columns: 220px minmax(0, 780px); gap: 40px; align-items: start; }
  .day-body.has-toc .toc { position: sticky; top: 84px; background: transparent; box-shadow: none; padding: 0; border-left: 3px solid var(--bc); padding-left: 14px; }
  .day-body.has-toc .toc summary { pointer-events: none; list-style: none; }
  .day-body.has-toc .toc summary::-webkit-details-marker { display: none; }
  .day-body.has-toc .toc ol { font-size: .9rem; padding-left: 1.1em; }
}

/* the Guide text, regrouped */
.prose.rich .lead-in { margin-bottom: 1.6em; }
.hhh-card, .notes-card, .prose.rich .sec { scroll-margin-top: 80px; }
.hhh-card { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(20px, 4vw, 30px) clamp(18px, 4vw, 32px) clamp(10px, 3vw, 18px); margin: 0 0 22px; position: relative; overflow: hidden; }
.hhh-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--bc); }
.hhh-card > header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.hhh-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--bc) 14%, white); color: color-mix(in srgb, var(--bc) 82%, #1a120c); }
.hhh-ico svg { width: 24px; height: 24px; }
.hhh-kicker { display: block; font-weight: 900; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--bc) 75%, #1a120c); }
.prose .hhh-card h3, .prose .notes-card h3 { margin: 0; display: block; font-size: clamp(1.3rem, 3.4vw, 1.6rem); }
.hhh-card.heart { background: linear-gradient(180deg, color-mix(in srgb, var(--bc) 7%, var(--card)), var(--card) 160px); }
.hhh-card.heart > p:first-of-type::first-letter { font-family: var(--font-display); font-weight: 700; float: left; font-size: 3.3em; line-height: .82; padding: 6px 8px 0 0; color: color-mix(in srgb, var(--bc) 85%, #1a120c); }
.hhh-card.hands { background: linear-gradient(180deg, color-mix(in srgb, var(--bc) 5%, var(--card)), var(--card)); }
.carry { position: relative; margin: 1.6em 0 1.2em; background: #fffdf6; border-radius: 6px; box-shadow: var(--shadow); padding: 22px 22px 16px; transform: rotate(-.6deg);
  background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(90, 74, 61, .08) 31px 32px); }
.carry::before { content: ""; position: absolute; top: -11px; left: 50%; width: 90px; height: 24px; transform: translateX(-50%) rotate(-3deg); background: rgba(235, 222, 190, .85); }
.carry-label { display: block; font-family: var(--font-hand); font-size: 1.5rem; line-height: 1; color: color-mix(in srgb, var(--bc) 80%, #1a120c); margin-bottom: 6px; }
.carry p { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.45; margin: 0; }
.notes-card { background: color-mix(in srgb, var(--bc) 8%, var(--paper)); border: 2px dashed color-mix(in srgb, var(--bc) 35%, transparent); border-radius: 20px; padding: 20px clamp(18px, 4vw, 28px) 10px; margin: 30px 0 22px; }
.notes-card > header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.notes-card ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; font-size: 1.02rem; line-height: 1.55; }
.notes-card li { background: rgba(255, 250, 241, .8); border-radius: 12px; padding: 10px 14px; }
.notes-card li strong:first-child { display: block; font-size: .74rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: color-mix(in srgb, var(--bc) 75%, #1a120c); }
.catchup { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 14px 18px; margin: 0 0 22px; }
.catchup summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.catchup > div { margin-top: 10px; font-size: 1.02rem; }
.prose.rich .sec { margin-top: 2.2em; }
.prose.rich .sec > h3 { display: block; padding-top: 1.1em; border-top: 2px solid color-mix(in srgb, var(--bc) 30%, transparent); position: relative; }
.prose.rich .sec > h3::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--bc); box-shadow: 0 0 0 4px var(--paper); }
@media (max-width: 560px) { .prose { font-size: 1.06rem; } .hhh-card { border-radius: 16px; } }
.day-hero:has(.week) .wrap { padding-bottom: clamp(48px, 7vw, 66px); }
@media (max-width: 760px) {
  .day-hero svg.motif { width: 220px; right: -60px; bottom: -40px; opacity: .12; }
  .day-hero .week a { width: 32px; height: 32px; }
  .day-hero .week li.celebrate a { width: 28px; height: 28px; }
  .jump .tx small { font-size: .62rem; letter-spacing: .08em; }
  .jump .ico { width: 40px; height: 40px; }
}
.adult-jump { align-content: center; }

/* ---------- home page fixes and books (2026-10-23) ---------- */
.closing .big-quote { font-size: clamp(2rem, 5.6vw, 3.6rem); }
.flip .front .txt { font-size: 2.1rem; }
.flip .face { padding: 40px 46px; }
.site-footer small { font-size: .82rem; }
@media (max-width: 860px) {
  .hero .copy { display: contents; }
  .hero .wrap { gap: 0; }
  .hero .eyebrow { order: 1; } .hero h1 { order: 2; } .hero-art { order: 3; } .hero .lede { order: 4; } .hero .dates { order: 5; } .hero .cta { order: 6; }
  .hero-art { max-width: 330px; margin: 6px auto 34px; }
}
@media (max-width: 560px) {
  .season-legend { grid-template-columns: 1fr 1fr; gap: 8px; }
  .season-legend a { padding: 8px 10px; }
  .season-legend b { font-size: .9rem; }
}
.bk-group { font-family: var(--font-body); font-weight: 900; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 34px 0 16px; }
.bk-row { display: grid; gap: clamp(18px, 3vw, 30px); }
.bk-row.grown { grid-template-columns: 1fr 1fr; }
.bk-row.for-kids { grid-template-columns: repeat(4, 1fr); }
.bk { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: start; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 20px; }
.bk-row.for-kids .bk { grid-template-columns: 1fr; }
.bk-cover { position: relative; transform: rotate(-2deg); }
.bk:nth-child(even) .bk-cover { transform: rotate(1.6deg); }
.bk-cover img, .bk-cover .title-card { display: block; width: 100%; aspect-ratio: 8.5 / 11; object-fit: cover; border-radius: 3px; box-shadow: 0 10px 22px -10px rgba(42, 32, 25, .55), 0 1px 2px rgba(0, 0, 0, .15); }
.bk-row.for-kids .bk-cover { width: min(190px, 70%); margin: 4px auto 6px; }
.bk-row.for-kids .bk-cover img, .bk-row.for-kids .bk-cover .title-card { aspect-ratio: 6 / 9; }
.bk-cover::before { content: ""; position: absolute; z-index: 2; top: -10px; left: 50%; width: 64px; height: 20px; transform: translateX(-50%) rotate(-4deg); background: rgba(235, 222, 190, .88); }
.title-card { background: var(--kraft); background-image: radial-gradient(rgba(90, 60, 30, .12) 1px, transparent 1.3px); background-size: 9px 9px;
  display: flex !important; flex-direction: column; justify-content: center; gap: 6px; padding: 14px; text-align: center; color: var(--ink); }
.title-card b { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.1; background: var(--card); padding: 12px 8px; border-radius: 3px; transform: rotate(-1deg); }
.title-card .tc-k { font-weight: 900; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; }
.title-card small { font-size: .72rem; line-height: 1.3; font-weight: 700; color: #3d2f24; }
.bk-text h3 { font-size: 1.25rem; margin: 4px 0 4px; }
.bk-tag { font-weight: 900; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-generosity); }
.bk-sub { font-family: var(--font-display); font-style: italic; color: var(--ink-2); font-size: .98rem; line-height: 1.35; margin: 0 0 8px; }
.bk-text p { font-size: .98rem; color: var(--ink-2); line-height: 1.55; }
.bk-soon, .bk-buy { display: inline-block; font-weight: 800; font-size: .85rem; padding: 6px 12px; border-radius: 999px; }
.bk-soon { background: var(--paper-2); color: var(--ink-3); }
.bk-buy { background: var(--ink); color: var(--paper); text-decoration: none; }
@media (max-width: 900px) { .bk-row.grown { grid-template-columns: 1fr; } .bk-row.for-kids { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .bk, .bk-row.for-kids .bk { grid-template-columns: 112px 1fr; gap: 14px; padding: 16px; }
  .bk-row.for-kids { grid-template-columns: 1fr; }
  .bk-row.for-kids .bk-cover { width: 100%; margin: 0; }
  .title-card b { font-size: .95rem; padding: 8px 4px; }
  .title-card small { display: none; }
}
.hero .dates .pill .sep { display: inline; margin: 0 4px; }
@media (max-width: 560px) { .bk-tag { letter-spacing: .08em; font-size: .68rem; } }

/* Back of the Guide: link cards on the days that point there, and the pages themselves */
.bob-links { display: grid; gap: 12px; margin: 1.6em 0 0; }
.bob-card { position: relative; display: block; text-decoration: none; background: var(--card); border-radius: 16px; box-shadow: var(--shadow);
  padding: 16px 48px 16px 18px; border-left: 4px solid var(--bc, var(--gold)); transition: box-shadow .15s ease, transform .15s ease; }
.bob-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-1px); }
.bob-card small { display: block; font-weight: 900; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.bob-card b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.25; margin: 2px 0; color: var(--ink); }
.bob-card em { display: block; font-style: normal; font-size: .92rem; color: var(--ink-2); }
.bob-card .arrow { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.2rem; color: var(--bc, var(--ink)); }
.bob-from { margin-top: 2em; font-size: .95rem; color: var(--ink-3); }
.bob-from a { color: inherit; }

/* Each cover keeps its own trim shape: the Guide is 7 x 10, the activity books 8.5 x 11 */
.bk-guide .bk-cover img { aspect-ratio: 7 / 10; }
.bk-row.for-kids .bk-ab1 .bk-cover img, .bk-row.for-kids .bk-ab2 .bk-cover img { aspect-ratio: 8.5 / 11; }
@media (max-width: 1100px) and (min-width: 901px) { .bk-row.for-kids { grid-template-columns: 1fr 1fr; } }
/* Activity book covers are wider (8.5 x 11) than the storybooks (6 x 9); size them so all four kids' covers stand the same height */
@media (min-width: 561px) { .bk-row.for-kids .bk-ab1 .bk-cover, .bk-row.for-kids .bk-ab2 .bk-cover { width: min(220px, 81%); } }
