/* Ricarel Vital House: "Daily Calendar". The page is a day planner on a desk: a tear-off calendar pad showing today's real date, index tabs down the edge, products as ticked planner entries in time blocks, and today's list on a sticky note. Black ink on paper, one red like the Sundays on a calendar. */
:root {
  --paper: #f7f5f0;
  --sheet: #fdfcf9;
  --desk: #ebe7de;
  --ink: #111111;
  --ink-2: #34312c;
  --muted: #67625a;
  --rule: rgba(17, 17, 17, .13);
  --rule-strong: rgba(17, 17, 17, .32);
  --red: #b8322a;
  --note: #f6e3dd;
  --error: #a3261b;
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Herr Von Muellerhoff', cursive;
  --dots: radial-gradient(circle, rgba(17, 17, 17, .17) 1px, transparent 1.4px) 0 0 / 18px 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.62 var(--sans); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.wrap { width: min(1240px, 100% - 2 * clamp(16px, 4vw, 48px)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--paper); padding: .7rem 1rem; font-weight: 600; }
.skip-link:focus { top: 12px; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; flex: none; }
[hidden] { display: none !important; }

.kicker { font: 600 .74rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.lede { font-size: 1.15rem; color: var(--ink-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.4rem; background: var(--ink); color: var(--paper); border: 1.5px solid var(--ink); text-decoration: none; font: 600 .98rem/1.2 var(--sans); transition: background-color .2s, color .2s; }
.btn:hover { background: var(--ink-2); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }

/* Header: one quiet line. Solid and unfiltered so the fixed index page is never trapped. */
.header { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid var(--rule-strong); }
.topline { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: block; margin-right: auto; }
.brand img { width: 150px; height: auto; }
.status { font: 500 .88rem/1.3 var(--sans); color: var(--muted); display: flex; align-items: center; gap: .55rem; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--muted); flex: none; }
.status.is-open { color: var(--ink); }
.status.is-open::before { background: var(--red); border-color: var(--red); }
.back-link { font-weight: 600; text-underline-offset: 4px; }
.nav-toggle { display: none; min-height: 44px; padding: 0 1rem; background: var(--sheet); border: 1.5px solid var(--ink); font: 600 .9rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.nav-close-li { display: none; }

/* Index tabs: on wide screens they stick out of the right edge like planner tabs */
@media (min-width: 1100px) {
  .tabs { position: fixed; right: 0; top: 96px; z-index: 50; }
  .nav-list { display: flex; flex-direction: column; gap: 4px; }
  .tab { display: flex; flex-direction: column; align-items: center; gap: .5rem; width: 46px; padding: 1rem 0 .9rem; text-decoration: none; background: var(--desk); border: 1px solid var(--rule-strong); border-right: 0; border-radius: 8px 0 0 8px; transition: width .2s, background-color .2s; }
  .nav-list li:nth-child(odd) .tab { background: #e2ddd2; }
  .tab:hover, .tab.is-here { width: 54px; background: var(--sheet) !important; }
  .tab.is-here .tab-no { color: var(--red); }
  .tab-no { font: 600 .7rem/1 var(--sans); color: var(--muted); }
  .tab-name { writing-mode: vertical-rl; transform: rotate(180deg); font: 400 1rem/1 var(--serif); }
  .wrap { width: min(1240px, 100% - 2 * 48px - 2 * 46px); }
}
@media (max-width: 1099px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-list { display: none; }
  .nav-list.open { display: flex; position: fixed; inset: 0; z-index: 200; height: 100dvh; overflow-y: auto; flex-direction: column; gap: 0; padding: 1.2rem clamp(16px, 6vw, 48px) 3rem; background: var(--dots), var(--sheet); }
  .nav-list.open .nav-close-li { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1.2rem; margin-bottom: .6rem; border-bottom: 2px solid var(--ink); }
  .index-title { font: 400 2.4rem/1 var(--serif); }
  .nav-close { display: grid; place-items: center; width: 46px; height: 46px; background: var(--sheet); border: 1.5px solid var(--ink); }
  .nav-list.open .tab { display: flex; align-items: baseline; gap: 1rem; padding: .9rem 0; border-bottom: 1px dotted var(--rule-strong); text-decoration: none; }
  .nav-list.open .tab-no { font: 600 .8rem/1 var(--sans); color: var(--red); width: 2rem; }
  .nav-list.open .tab-name { font: 400 2rem/1.1 var(--serif); }
}
@media (max-width: 620px) { .status { display: none; } .brand img { width: 120px; } }

/* The sticky note: today's list, always within reach */
.cart-btn { position: fixed; right: clamp(14px, 3vw, 34px); bottom: clamp(14px, 3vw, 30px); z-index: 70; display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; width: 150px; min-height: 96px; padding: 1rem .9rem .8rem; background: var(--note); border: 0; color: var(--ink); text-align: left; transform: rotate(2.5deg); box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 14px 22px -12px rgba(17, 17, 17, .45); transition: transform .25s; }
.cart-btn:hover { transform: rotate(0deg) translateY(-3px); }
.note-tape, .tape { position: absolute; top: -10px; left: 50%; width: 64px; height: 20px; margin-left: -32px; background: rgba(235, 231, 222, .78); border: 1px solid rgba(17, 17, 17, .08); transform: rotate(-4deg); }
.note-title { font: 400 1.9rem/1 var(--script); }
.note-count { font: 600 .82rem/1.2 var(--sans); }
.cart-count { font: 400 1.35rem/1 var(--serif); color: var(--red); }
.cart-btn.pop { animation: wiggle .55s ease; }
@keyframes wiggle { 25% { transform: rotate(-3deg) scale(1.05); } 60% { transform: rotate(4deg); } }
@media (max-width: 1099px) { .cart-btn { width: 116px; min-height: 66px; padding: .7rem .7rem .5rem; } .note-title { font-size: 1.45rem; } .note-unit { display: none; } body { padding-bottom: 84px; } }
@media (min-width: 1100px) { .cart-btn { right: 70px; } }

/* Today: the copy beside a desk with the planner photo and the tear-off pad */
.today { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.today-grid { display: grid; gap: 3rem; align-items: center; }
.daily-script { width: 150px; margin: 0 0 .8rem -6px; }
.today h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); margin-bottom: 1.3rem; max-width: 14ch; }
.today h1 em { color: var(--red); }
.today-copy > p:not(.kicker):not(.motto) { max-width: 34rem; }
.today-copy > p + p { margin-top: .8rem; }
.motto { margin-top: 1.4rem; font: italic 400 1.35rem/1.35 var(--serif); }
.today-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.desk { position: relative; padding: 0 0 7rem; }
.desk-photo { position: relative; background: var(--sheet); padding: 10px 10px 36px; box-shadow: 0 18px 34px -22px rgba(17, 17, 17, .5); transform: rotate(-1.5deg); }
.desk-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pad { position: absolute; left: clamp(8px, 4%, 40px); bottom: 0; width: min(290px, 74%); }
.pad-binding { position: relative; z-index: 3; height: 24px; background: var(--ink); border-radius: 3px 3px 0 0; display: flex; justify-content: space-around; align-items: center; }
.pad-binding span { width: 10px; height: 10px; border-radius: 50%; background: var(--paper); box-shadow: 0 -10px 0 -3px var(--ink-2); }
.pad-under { position: absolute; left: 4px; right: -4px; top: 24px; height: 100%; max-height: 290px; background: var(--sheet); box-shadow: 3px 3px 0 #e9e5dc, 6px 6px 0 #e2ddd2, 0 22px 30px -18px rgba(17, 17, 17, .5); }
.leaf { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.2rem 1rem 1.3rem; background: var(--sheet); border-top: 1px dashed var(--rule-strong); }
.leaf-month { font: 600 .78rem/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.leaf-day { font: 400 clamp(6rem, 14vw, 8.2rem)/.92 var(--serif); margin: .2rem 0 .1rem; }
.leaf-weekday { font: italic 400 1.25rem/1.2 var(--serif); }
.leaf-hours { margin-top: .9rem; padding-top: .7rem; border-top: 1px solid var(--rule); font: 600 .9rem/1.35 var(--sans); }
.leaf-note { margin-top: .3rem; font-size: .84rem; color: var(--muted); }
.leaf.is-sunday .leaf-day, .leaf.is-sunday .leaf-weekday { color: var(--red); }
.leaf--gone { position: absolute; left: 0; right: 0; top: 24px; z-index: 4; pointer-events: none; animation: tear 1s cubic-bezier(.5, 0, .75, .4) forwards; transform-origin: 8% 0; }
@keyframes tear { 0% { transform: none; } 18% { transform: rotate(-6deg); } 100% { transform: translate(-60px, 320px) rotate(-38deg); opacity: 0; } }
.pad-actions { position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .9rem; }
.tear, .back-today { min-height: 44px; padding: 0; background: none; border: 0; font: 600 .92rem/1.2 var(--sans); text-decoration: underline; text-underline-offset: 4px; }
.tear::after { content: ' \2197'; }
.tear:disabled { color: var(--muted); text-decoration: none; cursor: default; }
.tear:disabled::after { content: ''; }
@media (min-width: 960px) { .today-grid { grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 5vw, 5rem); } .desk { padding-bottom: 5rem; } .pad { left: -40px; } }

/* Today's list: a two-page planner spread, products as ticked entries in time blocks */
.list { padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6rem); background: var(--desk); }
.list-head { max-width: 44rem; margin-bottom: 2.2rem; }
.list-head h2 em { color: var(--red); }
.list-head > p:last-child { margin-top: .9rem; color: var(--muted); }
.spread { display: grid; background: var(--sheet); box-shadow: 0 30px 50px -36px rgba(17, 17, 17, .55); }
.page { padding: clamp(1.2rem, 3vw, 2.4rem); background: var(--dots), var(--sheet); }
.block + .block { margin-top: 2.4rem; }
.block-head { display: grid; grid-template-columns: 5.4rem 1fr; gap: 1rem; align-items: start; padding-bottom: .8rem; border-bottom: 2px solid var(--ink); }
.block-time { font: 400 2.1rem/1 var(--serif); }
.block-time small { display: block; margin-top: .2rem; font: 600 .72rem/1 var(--sans); letter-spacing: .16em; color: var(--red); }
.block--any .block-time span { font-size: 1.4rem; font-style: italic; }
.block-head h3 { font: italic 400 1.6rem/1.1 var(--serif); }
.block-head p { font-size: .92rem; color: var(--muted); }
.entries { display: grid; }
.product-card { position: relative; display: grid; grid-template-columns: 44px 92px minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: .2rem .9rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 110px; }
.entry-box { grid-row: 1 / 3; align-self: center; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: none; border: 0; }
.entry-box svg { width: 28px; height: 28px; fill: var(--sheet); stroke: var(--red); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; border: 2px solid var(--ink); transition: stroke-dashoffset .35s ease; }
.product-card.in-cart .entry-box svg { stroke-dashoffset: 0; }
.entry-photo { grid-row: 1 / 3; position: relative; background: var(--paper); padding: 4px; box-shadow: 0 6px 12px -8px rgba(17, 17, 17, .5); transform: rotate(-1.2deg); }
.product-card:nth-child(even) .entry-photo { transform: rotate(1.1deg); }
.entry-photo::before { content: ''; position: absolute; z-index: 2; top: -7px; right: 12px; width: 9px; height: 28px; border: 1.8px solid #8d877c; border-radius: 6px; }
.entry-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.entry-text { grid-row: 1 / 3; }
.entry-text h4 { font: 400 1.22rem/1.2 var(--serif); }
.product-card.in-cart .entry-text h4 { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.item-desc { margin-top: .25rem; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.stock { margin-top: .3rem; font-size: .78rem; color: var(--muted); }
.item-price, .price { font: 400 1.3rem/1 var(--serif); text-align: right; }
.cur { font-family: var(--sans); font-size: .8em; margin-right: .06em; }
.buy { display: flex; justify-content: flex-end; }
.add-btn { min-height: 44px; padding: .4rem 0; background: none; border: 0; font: 600 .88rem/1 var(--sans); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.add-btn::before { content: '+ '; color: var(--red); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); background: var(--sheet); }
.stepper button, .qty button { display: grid; place-items: center; width: 40px; height: 40px; background: none; border: 0; }
.stepper button:hover, .qty button:hover { background: var(--desk); }
.stepper button:disabled, .qty button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 2ch; text-align: center; font-weight: 700; }
@media (min-width: 1000px) {
  .spread { grid-template-columns: 1fr 1fr; }
  .page--left { box-shadow: inset -26px 0 30px -26px rgba(17, 17, 17, .35); }
  .page--right { box-shadow: inset 26px 0 30px -26px rgba(17, 17, 17, .35); }
}
@media (max-width: 560px) {
  .product-card { grid-template-columns: 40px 72px minmax(0, 1fr); gap: .15rem .7rem; }
  .entry-box { width: 40px; }
  .entry-text { grid-row: 1; }
  .item-price { grid-column: 3; grid-row: 2; text-align: left; align-self: center; }
  .buy { grid-column: 3; grid-row: 3; justify-content: flex-start; }
  .block-head { grid-template-columns: 4.2rem 1fr; }
  .block-time { font-size: 1.7rem; }
  .block--any .block-time span { font-size: 1.02rem; }
}

/* Notes: the founder's page with top-3 priorities */
.notes { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.notes-grid { display: grid; gap: 3rem; align-items: start; }
.notes-page { background: var(--dots), var(--sheet); padding: clamp(1.4rem, 4vw, 2.8rem); border-left: 3px double var(--rule-strong); }
.notes h2 { margin-bottom: 1.3rem; }
.notes-page > p + p { margin-top: .8rem; }
.priorities { margin-top: 2rem; border: 1.5px solid var(--ink); }
.priorities h3, .goal h3 { padding: .5rem .9rem; background: var(--ink); color: var(--paper); font: 600 .74rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.priorities ol { counter-reset: pr; }
.priorities li { display: grid; grid-template-columns: 28px 1fr; gap: .9rem; padding: .9rem; border-top: 1px solid var(--rule); counter-increment: pr; }
.pr-box { width: 24px; height: 24px; border: 2px solid var(--ink); display: grid; place-items: center; font: 400 .95rem/1 var(--serif); }
.pr-box::before { content: counter(pr); }
.priorities h4 { font: 400 1.2rem/1.2 var(--serif); }
.priorities p { color: var(--muted); font-size: .95rem; }
.goal { margin-top: 1.4rem; border: 1.5px solid var(--ink); }
.goal p { padding: .9rem; font: italic 400 1.2rem/1.4 var(--serif); }
.notes-photo { position: relative; background: var(--sheet); padding: 10px 10px 34px; box-shadow: 0 18px 34px -22px rgba(17, 17, 17, .5); transform: rotate(1.4deg); max-width: 440px; justify-self: center; }
.notes-photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
@media (min-width: 900px) { .notes-grid { grid-template-columns: 1.35fr 1fr; gap: clamp(3rem, 6vw, 5.5rem); } .notes-photo { margin-top: 4rem; } }

/* Messages: testimonials on "While you were out" memo slips */
.messages { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--desk); }
.messages h2 em { color: var(--red); }
.slips { display: grid; gap: 1.6rem; margin-top: 2.4rem; align-items: start; }
.slip { background: var(--sheet); padding: 0 0 1.2rem; box-shadow: 0 16px 28px -22px rgba(17, 17, 17, .55); }
.slip:nth-child(1) { transform: rotate(-1.2deg); }
.slip:nth-child(2) { transform: rotate(.9deg); }
.slip-head { padding: .7rem 1.1rem; background: var(--ink); color: var(--paper); font: 400 1.25rem/1.1 var(--serif); font-style: italic; }
.slip dl { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--rule); }
.slip dl div { padding: .6rem 1.1rem; }
.slip dl div + div { border-left: 1px solid var(--rule); }
.slip dt { font: 600 .7rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.slip dd { font: 400 1.15rem/1.3 var(--serif); }
.slip blockquote { padding: 1rem 1.1rem .4rem; background: repeating-linear-gradient(transparent 0 31px, var(--rule) 31px 32px); }
.slip blockquote p { font: 400 1.18rem/32px var(--serif); }
.slip-mark { margin: .6rem 1.1rem 0; display: inline-block; padding: .25rem .55rem; border: 1.5px solid var(--red); color: var(--red); font: 600 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; transform: rotate(-4deg); }
.slip--photo { padding: 10px 10px 34px; transform: rotate(-.6deg); }
.slip--photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 860px) { .slips { grid-template-columns: 1fr 1fr 1.2fr; } .slip--photo { margin-top: 2.5rem; } }

/* Reminders */
.reminders { padding: clamp(4rem, 8vw, 6rem) 0; }
.reminders-grid { display: grid; gap: 2rem; }
.rem-list { border-top: 2px solid var(--ink); }
.reminders details { border-bottom: 1px dashed var(--rule-strong); }
.reminders summary { display: flex; align-items: center; gap: .7rem; min-height: 58px; padding: .9rem 0; cursor: pointer; list-style: none; font: 400 1.25rem/1.3 var(--serif); }
.reminders summary::-webkit-details-marker { display: none; }
.rem-re { font: 600 .85rem/1 var(--sans); color: var(--red); }
.reminders summary .icon { margin-left: auto; transition: transform .25s; }
.reminders details[open] summary .icon { transform: rotate(45deg); }
.reminders details p { padding: 0 2.5rem 1.2rem 2.1rem; color: var(--muted); }
@media (min-width: 900px) { .reminders-grid { grid-template-columns: 1fr 1.6fr; gap: 4rem; } }

/* Visit: this week's hours as calendar days, today circled */
.visit { padding: clamp(4rem, 8vw, 6rem) 0 clamp(4rem, 8vw, 5.5rem); background: var(--desk); }
.visit h2 em { color: var(--red); }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin-top: 2rem; background: var(--sheet); border: 1.5px solid var(--ink); }
.week li { position: relative; display: flex; flex-direction: column; gap: .5rem; min-height: 120px; padding: .8rem; border-left: 1px solid var(--rule); }
.week li:first-child { border-left: 0; }
.wk-day { font: 400 1.4rem/1 var(--serif); align-self: flex-start; padding: .15rem .35rem; }
.wk-hours { font-size: .88rem; color: var(--ink-2); }
.wk-sun .wk-day, .wk-sun .wk-hours { color: var(--red); }
.wk-today { background: var(--note); }
.wk-today .wk-day { border: 2px solid var(--red); border-radius: 50% 46% 52% 44%; }
.wk-today::after { content: 'Today'; position: absolute; right: .7rem; top: .9rem; font: 400 1.6rem/1 var(--script); color: var(--red); }
@media (max-width: 760px) {
  .week { grid-template-columns: 1fr; }
  .week li { flex-direction: row; justify-content: space-between; align-items: center; min-height: 56px; border-left: 0; border-top: 1px solid var(--rule); }
  .week li:first-child { border-top: 0; }
  .wk-hours br { display: none; }
  .wk-today::after { position: static; order: 3; }
}
.visit-grid { display: grid; gap: 2.4rem; margin-top: 2.6rem; align-items: start; }
.card-book { position: relative; font-style: normal; background: var(--sheet); border: 1.5px solid var(--ink); padding: 0 0 .4rem; }
.card-book::after { content: 'R'; position: absolute; right: -34px; top: 22px; width: 34px; height: 44px; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 400 1.2rem/1 var(--serif); border-radius: 0 6px 6px 0; }
.book-head { padding: .6rem 1.1rem; border-bottom: 2px solid var(--ink); font: 600 .74rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.book-row { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); gap: .8rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--rule); }
.book-row:last-child { border-bottom: 0; }
.book-row span { font: 600 .74rem/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.book-row p { overflow-wrap: anywhere; }
.book-row a { font-weight: 600; text-underline-offset: 4px; }
.visit-photo { position: relative; background: var(--sheet); padding: 10px 10px 34px; max-width: 380px; justify-self: center; transform: rotate(-1.6deg); box-shadow: 0 18px 34px -22px rgba(17, 17, 17, .5); }
.visit-photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
@media (max-width: 560px) { .card-book::after { right: -26px; width: 26px; } .card-book { margin-right: 26px; } .book-row { grid-template-columns: 1fr; gap: .1rem; } }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1.4fr 1fr; gap: 5rem; } }
.policy-notes { display: grid; gap: 1rem; margin-top: 3rem; }
.policy-notes li { background: var(--sheet); padding: 1.2rem 1.2rem 1.3rem; border-top: 4px solid var(--ink); }
.policy-notes h3 { font: 400 1.4rem/1.2 var(--serif); margin-bottom: .4rem; }
.policy-notes p { color: var(--muted); font-size: .94rem; }
.policy-notes a { display: inline-block; margin-top: .6rem; font-weight: 600; text-underline-offset: 4px; }
@media (min-width: 800px) { .policy-notes { grid-template-columns: repeat(3, 1fr); } }

/* Footer: the back cover, with this month at a glance */
.footer { background: var(--ink); color: var(--paper); padding: clamp(3rem, 7vw, 4.5rem) 0 2.4rem; }
.back-cover { display: grid; gap: 2.6rem; }
.glance-label { font: 600 .74rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #b9b3a8; margin-bottom: .8rem; }
.month-name { font: 400 1.7rem/1 var(--serif); margin-bottom: .8rem; }
.month-grid { display: grid; grid-template-columns: repeat(7, 2.4rem); gap: .2rem; }
.month-grid li { display: grid; place-items: center; height: 2.2rem; font-size: .9rem; }
.month-grid .mh { font: 600 .72rem/1 var(--sans); color: #b9b3a8; }
.month-grid .sun { color: #f08a7f; }
.month-grid .is-today { border: 2px solid #f08a7f; border-radius: 50% 46% 52% 44%; font-weight: 700; }
.month-fallback { color: #d6d0c4; max-width: 22rem; }
.colophon-logo { width: 150px; filter: invert(1); opacity: .92; }
.colophon-line { margin-top: 1rem; font: italic 400 1.3rem/1.35 var(--serif); }
.colophon-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1.4rem; }
.colophon-links a { text-decoration: none; display: inline-block; padding: .3rem 0; }
.colophon-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.colophon-fine { margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid rgba(247, 245, 240, .2); font-size: .84rem; color: #c9c3b7; }
@media (min-width: 860px) { .back-cover { grid-template-columns: auto 1fr; gap: 5rem; align-items: start; } }

/* Cart drawer: the sticky note, larger */
.cart-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(17, 17, 17, .4); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-sidebar { position: fixed; top: 14px; right: 14px; bottom: 14px; z-index: 160; width: min(400px, 100% - 28px); display: flex; flex-direction: column; background: var(--note); box-shadow: 0 28px 50px -20px rgba(17, 17, 17, .55); transform: translateX(115%) rotate(4deg); visibility: hidden; transition: transform .4s cubic-bezier(.2, .8, .2, 1), visibility .4s; }
.cart-sidebar.open { transform: rotate(-.8deg); visibility: visible; }
.cart-sidebar::before { content: ''; position: absolute; top: -11px; left: 50%; width: 90px; height: 24px; margin-left: -45px; background: rgba(235, 231, 222, .85); border: 1px solid rgba(17, 17, 17, .08); transform: rotate(-3deg); }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 1.3rem 1.3rem .6rem; }
.cart-head h2 { font: 400 2.6rem/1 var(--script); }
.cart-close { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 1.5px solid var(--ink); }
.cart-items { flex: 1; overflow-y: auto; padding: 0 1.3rem; background: repeating-linear-gradient(transparent 0 35px, rgba(17, 17, 17, .12) 35px 36px); }
.cart-item { display: grid; grid-template-columns: 58px 1fr; gap: .8rem; padding: .8rem 0; }
.cart-item img { width: 58px; height: 58px; object-fit: cover; }
.cart-item h3 { font: 400 1.05rem/1.2 var(--serif); }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; margin-top: .4rem; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); }
.qty button { width: 38px; height: 38px; }
.qty output { min-width: 2ch; text-align: center; font-weight: 700; }
.cart-item-sub { font: 400 1.1rem/1 var(--serif); }
.cart-remove { margin-top: .25rem; padding: .3rem 0; background: none; border: 0; font-size: .82rem; color: var(--ink-2); text-decoration: underline; }
.cart-empty { padding: 2.6rem 0; text-align: center; }
.cart-empty p { font: italic 400 1.4rem/1.3 var(--serif); margin-bottom: 1rem; }
.cart-empty a { font-weight: 600; text-underline-offset: 4px; }
.cart-foot { padding: 1rem 1.3rem 1.3rem; border-top: 2px solid var(--ink); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; font-size: .92rem; }
.cart-total .price { font-size: 1.5rem; color: var(--red); }
.cart-foot .btn { width: 100%; }
.cart-foot p { margin-top: .7rem; font-size: .82rem; color: var(--ink-2); text-align: center; }

/* Order page */
.order-page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }
.order-intro { max-width: 40rem; margin-bottom: 2.2rem; }
.order-intro h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); margin-bottom: .9rem; }
.order-intro .lede { color: var(--muted); }
.order { display: grid; gap: 2rem; align-items: start; }
.order-form { background: var(--dots), var(--sheet); border: 1.5px solid var(--ink); padding: 2rem clamp(1.1rem, 4vw, 2.2rem); }
.order-form h2, .summary h2 { font-size: 1.9rem; margin-bottom: 1.3rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; margin-bottom: .4rem; font-weight: 600; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .9rem; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid var(--rule-strong); border-radius: 0; }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.field-hint { margin-top: .35rem; font-size: .84rem; color: var(--muted); }
.field-error { margin-top: .35rem; font-size: .88rem; font-weight: 600; color: var(--error); }
.field-error:empty { display: none; }
.order-submit { width: 100%; margin-top: .6rem; }
.summary { background: var(--note); padding: 2rem clamp(1.1rem, 4vw, 2rem); transform: rotate(.6deg); box-shadow: 0 20px 34px -24px rgba(17, 17, 17, .55); }
.summary table { width: 100%; border-collapse: collapse; }
.summary td { padding: .75rem 0; border-bottom: 1px solid rgba(17, 17, 17, .14); vertical-align: top; }
.summary td small { display: block; margin-top: .2rem; color: var(--ink-2); font-size: .84rem; }
.summary td:last-child { text-align: right; font: 400 1.1rem/1.3 var(--serif); white-space: nowrap; padding-left: 1rem; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.2rem; }
.summary-total .price { font-size: 1.6rem; color: var(--red); }
.summary-note { margin-top: 1.2rem; }
.summary-note a { font-weight: 600; text-underline-offset: 4px; }
.sent { max-width: 44rem; background: var(--sheet); border: 1.5px solid var(--ink); padding: 2.4rem clamp(1.1rem, 4vw, 2.4rem); }
.sent h2 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); margin-bottom: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.sent-copy { margin-top: 2rem; }
.sent-copy pre { margin-top: 1rem; padding: 1rem; background: var(--paper); border: 1px solid var(--rule); white-space: pre-wrap; overflow-wrap: anywhere; font-size: .86rem; }
@media (min-width: 900px) { .order { grid-template-columns: 1.4fr 1fr; gap: 3rem; } .summary { position: sticky; top: 100px; } }

/* Legal pages */
.legal-head { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 2px solid var(--ink); background: var(--dots), var(--sheet); }
.legal-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.legal-body { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.7rem; margin: 2.2rem 0 .7rem; }
.legal p + p { margin-top: .9rem; }
.legal ul, .legal ol { padding-left: 1.3rem; list-style: disc; margin-top: .6rem; }
.legal ol { list-style: decimal; }
.legal li + li { margin-top: .45rem; }
.legal a { color: var(--red); text-underline-offset: 3px; overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
