/* CaviKin marketing site: Morning Paper on the Taste kit. Page CSS for visuals the kit lacks. */
:root {
  --font-text: "DM Sans", system-ui, sans-serif;
  --display-weight: 560;
  --display-tracking: -0.022em;
  --display-tracking-xl: -0.03em;
  --display-axes: 'SOFT' 50, 'WONK' 0;
  --mp-line: #e4dccf;
  --mp-line-strong: #d6ccbc;
  --mp-paper: #ffffff;
  --mp-accent-subtle: #e3f1ec;
  --mp-accent-fg: #1a5047;
  --mp-wait: #835511; --mp-wait-bg: #fbf0dc;
  --mp-do: #a8432a; --mp-do-bg: #fce9e2;
  --mp-know: #1f6496; --mp-know-bg: #e3f0fa;
  --mp-hand: "Newsreader", Georgia, serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --p-bg: #16130f; --p-surface: #1f1b17; --p-ink: #f3eee6; --p-muted: #c2b8ab;
    --p-accent: #7fd1bf; --p-accent-ink: #0e2420; --p-action: #7fd1bf; --p-action-ink: #0e2420;
    --p-inv-bg: #f3eee6; --p-inv-surface: #e8e1d6; --p-inv-ink: #1f1b16; --p-inv-muted: #5e564c;
    --p-inv-accent: #1f5f55; --p-inv-accent-ink: #fbf8f3; --p-inv-action: #1f5f55; --p-inv-action-ink: #fbf8f3;
    --mp-line: #302a23; --mp-line-strong: #3d362e; --mp-paper: #1f1b17;
    --mp-accent-subtle: #1c3530; --mp-accent-fg: #9fe0d1;
    --mp-wait: #ebc27a; --mp-wait-bg: #3a2c14; --mp-do: #f2a38c; --mp-do-bg: #3a221a;
    --mp-know: #8ec3ea; --mp-know-bg: #18303f;
  }
}

/* browser surfaces */
::selection { background: color-mix(in oklab, var(--p-accent) 28%, transparent); color: var(--p-ink); }
html { caret-color: var(--p-accent); scrollbar-color: var(--mp-line-strong) var(--p-bg); }
:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 3px; }
a { text-underline-offset: 0.18em; }

/* the wordmark and its mark */
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; color: var(--p-ink); text-decoration: none; font-variation-settings: 'SOFT' 60; }
.brand svg { width: 28px; height: 28px; flex: none; }
.brand .bm-bg { fill: var(--p-accent); }
.brand .bm-fg { stroke: var(--p-accent-ink); }
.brand .bm-dot { fill: var(--p-accent-ink); }

/* the invite form, one field and one button, used in the hero and the close */
.form.invite { display: flex; flex-wrap: wrap; gap: 10px; width: min(100%, 520px); margin-inline: auto; align-items: flex-start; }
.form.invite > .field { flex: 1 1 260px; min-width: 0; }
.invite .field { flex: 1; text-align: left; }
.invite .field label { font-size: 14px; font-weight: 600; color: var(--p-ink); }
.invite .field input { height: 48px; border-radius: 999px; padding-inline: 20px; background: var(--mp-paper); border: 1px solid var(--mp-line-strong); font-size: 16px; color: var(--p-ink); }
.invite .field input::placeholder { color: color-mix(in oklab, var(--p-muted) 85%, transparent); }
.invite .btn { height: 48px; flex: none; margin-top: calc(14px * 1.45 + var(--s-2)); }
.invite .form__status { width: 100%; }
.invite-wrap { display: grid; gap: 10px; justify-items: center; width: 100%; }
.invite-note { font-size: 14px; color: var(--p-muted); }
@media (max-width: 639px) { .form.invite { flex-direction: column; align-items: stretch; } .form.invite > .field { flex: none; } .invite .btn { width: 100%; justify-content: center; } }

/* hero */
.hero--centred h1 { font-size: clamp(38px, 4.4vw, 64px); max-width: 24ch; text-wrap: balance; }
.hero--centred .hero__lead { color: var(--p-ink); }

/* the paper sheet in the hero: the list in your head, handed to Cavi */
.hero__window.sheet-stage { background: none; }
.hero__window.sheet-stage::before, .hero__window.sheet-stage::after { display: none; }
.sheet { align-items: start; background: var(--mp-paper); border-radius: 18px; box-shadow: 0 1px 2px rgb(31 27 22 / .06), 0 24px 48px -28px rgb(31 27 22 / .28); display: grid; grid-template-columns: minmax(0, 51.4fr) minmax(0, 48.6fr); overflow: hidden; text-align: left; }
.sheet p { margin: 0; }
.today__date { display: block; }
.sheet__mind { padding: 26px 28px 30px; border-right: 1px solid var(--mp-line); }
.sheet__today { padding: 26px 28px 30px; }
.sheet .sheet__label, .sheet h3 { font-family: var(--font-text); font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--p-muted); margin: 0 0 14px; }
.mind { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mind li { font-family: var(--mp-hand); font-style: italic; font-size: 16px; line-height: 1.3; color: var(--p-ink); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.mind li span:first-child { text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: transparent; transition: text-decoration-color .45s ease, color .45s ease; }
.mind li .to { font: 600 12px/1 var(--font-text); font-style: normal; color: var(--mp-accent-fg); background: var(--mp-accent-subtle); padding: 4px 8px; border-radius: 99px; opacity: 0; transform: translateX(-6px); transition: opacity .4s ease, transform .4s cubic-bezier(.2,.8,.2,1); white-space: nowrap; }
.mind li.is-handed span:first-child { color: var(--p-muted); }
.mind li.is-handed span:first-child { text-decoration-color: var(--p-accent); }
.mind li.is-handed .to { opacity: 1; transform: none; }
.today__date { font: 600 12px/1 var(--font-text); letter-spacing: .08em; color: var(--p-muted); }
.today__hi { font-family: var(--font-display); font-weight: 600; font-size: 30px; letter-spacing: -0.03em; margin: 8px 0 4px; }
.today__sum { font-family: var(--font-display); font-style: italic; font-size: 16px; color: var(--p-muted); margin: 0 0 16px; }
.today__card { border-top: 1px solid var(--mp-line); padding: 16px 0 0; }
.today__card b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; margin: 6px 0 4px; }
.today__card p { margin: 0; font-size: 14px; color: var(--p-muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--font-text); padding: 5px 9px; border-radius: 99px; }
.chip--do { color: var(--mp-do); background: var(--mp-do-bg); }
.chip--wait { color: var(--mp-wait); background: var(--mp-wait-bg); }
.chip--know { color: var(--mp-know); background: var(--mp-know-bg); }
.chip--home { color: var(--mp-accent-fg); background: var(--mp-accent-subtle); }
.today__acts { display: flex; gap: 8px; margin-top: 14px; }
.ui-btn { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; font: 600 13px/1 var(--font-text); border: 1px solid var(--mp-line-strong); color: var(--p-ink); background: var(--mp-paper); }
.ui-btn--primary { background: var(--p-accent); color: var(--p-accent-ink); border-color: transparent; }
.ui-btn--quiet { border-color: transparent; background: transparent; color: var(--mp-accent-fg); padding-inline: 6px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) { .sheet { grid-template-columns: 1fr; } .sheet__today { display: none; } .sheet__mind { border-right: 0; } }
@media (max-width: 639px) { .mind li { font-size: 16px; } .sheet__mind { padding: 18px 18px 22px; } .mind li:nth-child(n+6) { display: none; } }

/* the stops: morning, pickup, kitchen tablet, Sunday evening */
.stop .grid { align-items: start; row-gap: var(--s-6); }
.stop__text { display: grid; gap: var(--s-4); align-content: start; }
.stop__text h2 { text-wrap: balance; }
.stop__text > p { font-size: var(--t-lead); line-height: 1.5; color: var(--p-ink); max-width: 46ch; margin: 0; }
.handed { margin-top: var(--s-3); border-top: 1px solid var(--mp-line); padding-top: var(--s-4); display: grid; gap: 8px; }
.handed__count { font-size: 15px; color: var(--p-ink); margin: 0; }
.handed ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.handed li { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; max-width: 46ch; }
.handed li span:first-child { font-family: var(--mp-hand); font-style: italic; font-size: 18px; color: var(--p-muted); text-decoration: line-through; text-decoration-color: var(--p-accent); text-decoration-thickness: 1.5px; }
.handed .to { font: 600 12px/1 var(--font-text); color: var(--mp-accent-fg); background: var(--mp-accent-subtle); padding: 4px 8px; border-radius: 99px; white-space: nowrap; }
.handed--done li span:first-child { text-decoration: none; color: var(--p-ink); }

.shot { position: relative; }
.shot .photo { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--p-surface); }
.shot .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot .ui { position: absolute; right: 16px; bottom: 16px; width: min(76%, 360px); }
.shot--left .ui { right: auto; left: 16px; }
.paper-ui { background: var(--mp-paper); border-radius: 16px; padding: 18px 20px; box-shadow: 0 1px 2px rgb(31 27 22 / .06), 0 18px 40px -24px rgb(31 27 22 / .32); font-size: 14px; color: var(--p-ink); }
.paper-ui h3 { font: 600 13px/1.2 var(--font-text); color: var(--p-muted); margin: 0 0 12px; }
.row { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--mp-line); align-items: start; }
.row:first-of-type { border-top: 0; padding-top: 0; }
.row b { font-weight: 600; font-size: 15px; }
.row small { grid-column: 2; color: var(--p-muted); font-size: 13px; }
.row .chip { grid-row: 1 / span 2; align-self: start; margin-top: 1px; }
.row .row__acts { grid-column: 2; display: flex; gap: 8px; margin-top: 8px; }
@media (max-width: 1023px) { .shot .ui { position: relative; right: auto; left: auto; bottom: auto; width: auto; margin: -40px 16px 0; } }

/* the kitchen tablet stop */
.tablet-stop .grid { align-items: start; }
.tablet-side { display: grid; gap: var(--s-5); align-content: start; }
.tablet-side h2 { text-wrap: balance; }
.tablet-side > p { font-size: var(--t-lead); line-height: 1.5; margin: 0; }
.tablet { width: 100%; aspect-ratio: 4 / 3.1; background: #12100d; border-radius: 34px; padding: 18px; box-shadow: 0 2px 4px rgb(31 27 22 / .12), 0 40px 80px -40px rgb(31 27 22 / .5); }
.tablet__screen { height: 100%; border-radius: 18px; background: #16130f; color: #f3eee6; padding: clamp(18px, 3.4vw, 44px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(16px, 3vw, 40px); overflow: hidden; }
.tablet__screen .tw-date { font: 600 clamp(11px, 1.1vw, 15px)/1 var(--font-text); letter-spacing: .1em; color: #c2b8ab; }
.tablet__screen .tw-hi { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -0.03em; margin: 10px 0 8px; }
.tablet__screen .tw-sum { font-family: var(--font-display); font-style: italic; font-size: clamp(14px, 1.7vw, 22px); color: #c2b8ab; margin: 0; }
.tw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(8px, 1.2vw, 14px); align-content: start; }
.tw-list li { display: grid; grid-template-columns: clamp(52px, 6vw, 80px) 1fr; gap: 12px; align-items: baseline; font-size: clamp(15px, 1.9vw, 24px); padding-bottom: clamp(8px, 1.2vw, 14px); border-bottom: 1px solid #302a23; }
.tw-list time { font: 600 clamp(13px, 1.5vw, 19px)/1 var(--font-text); color: #7fd1bf; font-variant-numeric: tabular-nums; }
.tw-list small { display: block; color: #998f82; font-size: .7em; margin-top: 2px; }
.tw-foot { grid-column: 1 / -1; align-self: end; display: flex; justify-content: space-between; font-size: clamp(12px, 1.2vw, 15px); color: #998f82; border-top: 1px solid #302a23; padding-top: 12px; }
.tablet-copy { display: grid; gap: var(--s-4); border-top: 1px solid var(--mp-line); padding-top: var(--s-5); }
.tablet-copy p { margin: 0; color: var(--p-ink); font-size: 16px; line-height: 1.5; }
.tablet-copy b { display: block; font-weight: 600; margin-bottom: 4px; }
@media (max-width: 767px) {
  .tablet { aspect-ratio: auto; max-height: none; border-radius: 24px; padding: 12px; }
  .tablet__screen { grid-template-columns: 1fr; }
}

/* privacy */
.promise { display: grid; gap: var(--s-6); }
.promise__lead { font-family: var(--font-display); font-weight: 560; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; letter-spacing: -0.025em; max-width: 22ch; margin: 0; text-wrap: balance; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
.facts b { display: block; font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.facts p { margin: 0; color: var(--p-ink); line-height: 1.5; }
@media (max-width: 767px) { .facts { grid-template-columns: 1fr; gap: var(--s-5); } }

/* the note from Cavi */
.note { max-width: none; }
.note__paper { background: var(--mp-paper); border-radius: 6px; padding: clamp(28px, 5vw, 64px); box-shadow: 0 1px 2px rgb(31 27 22 / .06), 0 30px 60px -36px rgb(31 27 22 / .35); }
.note h2 { font-size: clamp(28px, 3vw, 40px); margin: 0 0 var(--s-5); }
.note p { font-family: var(--font-display); font-size: clamp(20px, 1.9vw, 26px); line-height: 1.6; margin: 0 0 1em; font-variation-settings: 'SOFT' 80; }
.note .sign { display: flex; align-items: center; gap: 12px; margin-top: var(--s-5); font-family: var(--font-text); font-size: 15px; color: var(--p-muted); }
.note .sign svg { width: 36px; height: 36px; }

/* pricing */
.price { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.price > div { display: grid; gap: 10px; align-content: start; grid-column: 1 / span 5; }
.price > div + div { grid-column: 7 / span 6; }
.price :is(h3, h2.plan) { font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; margin: 0; }
.price p.amount { color: var(--p-ink); font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -0.03em; line-height: 1; margin: 6px 0 0; font-variant-numeric: tabular-nums; }
.price .amount small { font-family: var(--font-text); font-weight: 500; font-size: 16px; letter-spacing: 0; color: var(--p-muted); margin-left: 6px; }
.price p { margin: 0; color: var(--p-ink); line-height: 1.5; max-width: 40ch; }
.price-foot { margin-top: var(--s-6); color: var(--p-ink); }
@media (max-width: 639px) { .price { grid-template-columns: 1fr; row-gap: var(--s-6); } .price > div, .price > div + div { grid-column: 1 / -1; } .price p.amount { font-size: 28px; } }

/* close */
.close-invite { display: grid; gap: var(--s-5); justify-items: start; text-align: left; }
.close-invite h2 { max-width: 18ch; text-wrap: balance; }
.close-invite > p { color: var(--p-ink); max-width: 48ch; margin: 0; font-size: var(--t-lead); }

/* inner pages: one reading column */
.page-head { padding-top: calc(var(--bar, 72px) + clamp(48px, 8vw, 112px)); padding-bottom: clamp(32px, 5vw, 64px); }
.page-head h1 { font-size: clamp(40px, 5vw, 64px); max-width: 18ch; text-wrap: balance; }
.page-head p { font-size: var(--t-lead); color: var(--p-muted); max-width: 52ch; margin: var(--s-4) 0 0; line-height: 1.5; }
.read { max-width: 680px; }
.read h2 { font-size: clamp(26px, 2.6vw, 34px); margin: var(--s-8) 0 var(--s-3); }
.read h2:first-child { margin-top: 0; }
.read p, .read li { font-size: 18px; line-height: 1.65; color: var(--p-ink); }
.read p { margin: 0 0 1em; }
.read ul { padding-left: 1.2em; margin: 0 0 1em; }
.read .muted { color: var(--p-muted); }
.areas { display: grid; gap: clamp(56px, 8vw, 112px); }
.area { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.area:nth-child(even) .area__ui { order: -1; }
.area h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 0 0 var(--s-3); }
.area p { font-size: 18px; line-height: 1.6; margin: 0 0 .8em; max-width: 44ch; }
@media (max-width: 899px) { .area { grid-template-columns: 1fr; } .area:nth-child(even) .area__ui { order: 0; } }
.gap-note { border: 1.5px dashed var(--mp-line-strong); border-radius: 16px; padding: 24px 28px; color: var(--p-muted); background: var(--p-surface); }
.gap-note b { color: var(--p-ink); display: block; margin-bottom: 6px; }
.inner main > section { min-height: 0 !important; height: auto !important; }
.inner main > section > .wrap { height: auto !important; }
.inner-body { padding-bottom: clamp(64px, 10vw, 140px); }

@media (prefers-reduced-motion: reduce) {
  .mind li span:first-child, .mind li .to { transition: none; }
}

/* the close sits in the footer's first row */
footer.closing .closing__cta.close-invite { align-content: center; }
.hero__invite { width: 100%; }

.close-invite .invite-wrap { justify-items: start; }
.close-invite .form.invite { margin-inline: 0; }
.privacy-ui { display: grid; gap: 0; }
.toggle { width: 38px; height: 22px; border-radius: 99px; background: var(--p-accent); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--p-accent-ink); }
.toggle--off { background: var(--mp-line-strong); } .toggle--off::after { right: auto; left: 3px; background: var(--mp-paper); }
.set-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--mp-line); }
.set-row:first-of-type { border-top: 0; }
.set-row b { display: block; font-size: 15px; font-weight: 600; }
.set-row small { color: var(--p-muted); font-size: 13px; }
.note-grid { align-items: start; }
.note__side { display: grid; gap: var(--s-4); align-content: start; }
.note__side p { margin: 0; font-size: var(--t-lead); line-height: 1.5; }
.cavi-mark svg { width: 96px; height: 96px; }
.footer__legal > span { display: inline-flex; flex-wrap: wrap; column-gap: 14px; row-gap: 6px; }
@media (max-width: 380px) { .nav .nav__actions { display: none !important; } }
@media (max-width: 639px) {
  .hero--centred .hero__c { gap: var(--s-3); }
  .invite-note { font-size: 13px; }
  .hero--centred h1 { font-size: 32px; }
  .shot .ui { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: 12px 0 0; }
}
.read ul { list-style: disc; } .read ul li { margin-bottom: .3em; }

/* ---- revision 2026-11-08 ---- */
/* hero: the thesis line, with the plain description above it */
.hero__eyebrow { font: 600 15px/1.4 var(--font-text); color: var(--mp-accent-fg); margin: 0 0 var(--s-3); text-wrap: balance; }
.hero--centred h1 { max-width: 16ch; margin-inline: auto; }

/* calmer rhythm: sections size to their content instead of a full screen each */
.home main > .section:not(.hero) { min-height: 0 !important; height: auto !important; padding-block: clamp(56px, 8vw, 112px); }
.home main > .section:not(.hero) > .wrap { height: auto !important; }
.home main > .hero { min-height: 0 !important; padding-bottom: clamp(32px, 5vw, 64px); }
.home main > .hero > .wrap { height: auto !important; }
footer.closing { min-height: 0 !important; }
footer.closing > .wrap { height: auto !important; }

/* the list starts heavy, then gets handed over; the morning page waits until it is done */
.sheet__today { transition: opacity .6s ease; }
.sheet.is-sorting .sheet__today { opacity: .28; }

/* phones keep the payoff: the morning page sits under the list */
@media (max-width: 1023px) {
  .sheet__today { display: block; border-top: 1px solid var(--mp-line); }
  .today__acts { flex-wrap: wrap; }
}
@media (max-width: 639px) {
  .sheet__today { padding: 18px 18px 22px; }
  .today__hi { font-size: 26px; }
}

/* progress through the nine things */
.handed__bar { height: 6px; border-radius: 99px; background: var(--mp-line); overflow: hidden; max-width: 46ch; }
.handed__bar span { display: block; height: 100%; border-radius: inherit; background: var(--p-accent); }

/* the pickup stop: a quiet stack of school email instead of a stand-in photo */
.photo--plain { background: var(--mp-accent-subtle); display: grid; align-content: start; padding: clamp(20px, 3vw, 36px); }
.mail-stack { display: grid; gap: 10px; }
.mail-stack span { display: block; background: var(--mp-paper); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--p-muted); box-shadow: 0 1px 2px rgb(31 27 22 / .06); }
@media (max-width: 1023px) { .photo--plain { aspect-ratio: auto !important; padding-bottom: 56px; } }

/* privacy sub-line */
.promise__sub { font-size: var(--t-lead); line-height: 1.5; color: var(--p-ink); max-width: 44ch; margin: calc(var(--s-6) * -0.5) 0 0; }

/* pricing plans with what each includes */
.price { row-gap: var(--s-6); }
.plan-card { background: var(--mp-paper); border: 1px solid var(--mp-line); border-radius: 18px; padding: clamp(22px, 3vw, 32px); }
.plan-card--plus { border-color: color-mix(in oklab, var(--p-accent) 45%, var(--mp-line)); }
.plan__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.plan__list li { position: relative; padding-left: 18px; line-height: 1.45; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--p-accent); }
.plan__trial { font-size: 14px; color: var(--p-muted) !important; margin-top: 6px !important; }
.price > .plan-card { grid-column: 1 / span 6; }
.price > .plan-card + .plan-card { grid-column: 7 / span 6; }
@media (max-width: 639px) { .price > .plan-card, .price > .plan-card + .plan-card { grid-column: 1 / -1; } }

/* show the whole sheet (list and morning page) instead of a cropped window */
.hero--centred .hero__window.sheet-stage { height: auto !important; aspect-ratio: auto !important; overflow: visible !important; -webkit-mask-image: none !important; mask-image: none !important; padding: var(--s-6) 0 0; }
.hero--centred .hero__window.sheet-stage > .ly-piece { position: relative; top: 0; left: 0; transform: none; margin-inline: auto; width: min(880px, 100%); }
@media (max-width: 639px) { .mind li:nth-child(n+6) { display: flex; } }
.hero--centred > .wrap > .hero-text { height: auto !important; }
.hero--centred .hero__window.sheet-stage { flex: 0 0 auto !important; min-height: 0 !important; max-height: none !important; }
/* the hero sizes to its content at every window height, so the sheet never runs into the next section */
.home main > .hero { height: auto !important; max-height: none !important; }
.home main > .hero > .wrap { grid-template-rows: auto !important; }

/* section links clear the sticky nav */
main [id] { scroll-margin-top: calc(var(--nav-h, 72px) + 16px); }

/* kitchen tablet: the day's schedule is the main thing; the greeting is a small header */
.tablet { aspect-ratio: auto; }
.tablet__screen { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; gap: clamp(14px, 2vw, 24px); height: auto; }
.tablet__screen > div:first-child { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 14px; row-gap: 4px; padding-bottom: clamp(10px, 1.4vw, 16px); border-bottom: 1px solid #302a23; }
.tablet__screen .tw-date { order: 2; margin-left: auto; }
.tablet__screen .tw-hi { order: 1; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.1; margin: 0; }
.tablet__screen .tw-sum { order: 3; flex-basis: 100%; font-size: clamp(13px, 1.3vw, 16px); }
.tw-list li { grid-template-columns: clamp(56px, 6vw, 76px) 1fr; font-size: clamp(17px, 1.9vw, 24px); line-height: 1.25; }
.tw-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.tw-list small { font-size: .68em; margin-top: 4px; }
.tw-foot { grid-column: auto; }
@media (max-width: 767px) { .tablet__screen .tw-date { margin-left: 0; order: 0; flex-basis: 100%; } }
.tablet__screen .tw-date { order: 0; margin-left: 0; flex-basis: 100%; }

/* section headings wrap evenly without leaving one word alone */
.stop__text h2, .tablet-side h2, .note__side h2, .section-head h2, .close-invite h2 { text-wrap: pretty; }

/* about: the founder's note */
.read .about__lead { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.3; color: var(--p-ink); margin-bottom: 1.2em; }
.read .about__sign { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--p-muted); margin-top: 1.4em; }
.inner .inner-body { padding-top: clamp(8px, 2vw, 24px) !important; }

/* reading pages (About, Privacy and safety, legal): one centred column, title included */
.inner .read { max-width: 720px; margin-inline: auto; }
.inner:has(.inner-body .wrap > .read:first-child) .page-head .wrap > * { max-width: 720px; margin-inline: auto; }
.inner:has(.inner-body .wrap > .read:first-child) .page-head h1 { font-size: clamp(36px, 4.4vw, 56px); }
.inner:has(.inner-body .wrap > .read:first-child) .page-head h1 { max-width: 720px; width: 100%; text-align: left; }
.inner .page-head { padding-bottom: clamp(16px, 3vw, 32px); }

/* inner pages share one left edge with the logo: reading pages 720px, side-by-side pages 960px */
.inner .read { margin-inline: 0; }
.inner:has(.inner-body .wrap > .read:first-child) .page-head .wrap > * { margin-inline: 0; }
.inner .areas, .inner .price { max-width: 960px; }
.inner .price + .read { margin-left: 0 !important; margin-right: 0 !important; }
