/* The Handover. A printed week planner, marked up by hand. */

:root {
  --paper: #f2eee5;
  --paper-deep: #e9e3d6;
  --ink: #151413;
  --ink-2: #36322d;
  --mute: #7a7368;
  --rule: rgba(21, 20, 19, .14);
  --hl: #ffe247;
  --hl-edge: #f9d21c;
  --pen: #d42f22;
  --pen-on-dark: #ff5a46;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --hand: "Caveat Brush", "Segoe Print", "Bradley Hand", cursive;
  --nav: 64px;
  --gutter: clamp(20px, 4.4vw, 56px);
  --ragged-v: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 1000' preserveAspectRatio='none'%3E%3Cpath d='M0 16 C14 5 30 14 48 7 C66 0 84 10 100 3 L100 982 C88 996 72 984 54 994 C36 1004 18 986 0 996 Z'/%3E%3C/svg%3E");
  --ragged-h: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M10 4 C340 0 660 10 994 2 C1000 30 996 70 998 96 C660 100 330 90 4 98 C0 70 6 30 10 4 Z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font: 400 18px/1.55 var(--sans);
  font-variation-settings: "wdth" 100;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* paper grain, so the page prints rather than glows */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: url("/assets/grain.ab088685.png") repeat; background-size: 180px;
  opacity: .55;
}
::selection { background: var(--hl); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, blockquote, ol, dl, dd { margin: 0; }
ol { padding: 0; list-style: none; }
a { color: inherit; }
del, ins { text-decoration: none; }
:focus-visible { outline: 3px solid var(--pen); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: 800px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide { max-width: 1240px; }

.h2 {
  font: 800 clamp(2.15rem, 4.8vw, 3.75rem)/1.02 var(--sans);
  font-variation-settings: "wdth" 86;
  letter-spacing: -.026em;
  color: var(--ink);
  text-wrap: balance;
}

/* ---------- buttons: ink, square, a red fill on hover ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 28px;
  border: 0; border-radius: 2px;
  background: var(--ink); color: var(--paper);
  font: 600 1.02rem/1 var(--sans); font-variation-settings: "wdth" 100; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--pen);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .32s cubic-bezier(.6, 0, .2, 1);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn--sm { height: 40px; padding: 0 16px; font-size: .92rem; }
.btn--lg { height: 64px; padding: 0 36px; font-size: 1.1rem; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter);
  transition: background-color .25s ease, box-shadow .25s ease;
}
.nav__mark {
  font: 800 16px/1 var(--sans); font-variation-settings: "wdth" 125;
  text-transform: uppercase; letter-spacing: .01em; color: var(--ink); text-decoration: none;
  opacity: 0; transform: translateY(-4px); transition: opacity .25s ease, transform .25s ease;
}
.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a { font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.nav__links a:hover { text-decoration-line: underline; }
.nav.is-scrolled { background: rgba(242, 238, 229, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--rule); }
.nav.is-scrolled .nav__mark { opacity: 1; transform: none; }
@media (max-width: 640px) { .nav__links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- hero: the week, highlighted ---------- */
.hero { min-height: max(640px, 100svh); display: flex; flex-direction: column; }
.hero__week {
  position: relative; flex: 1 1 auto;
  display: flex; flex-direction: column;
  padding: calc(var(--nav) + 70px) var(--gutter) clamp(18px, 3vh, 30px);
}
.planner {
  position: absolute; inset: var(--nav) 0 0 0;
  display: grid; grid-template-columns: repeat(7, 1fr);
}
.planner::before { content: ""; position: absolute; left: 0; right: 0; top: 42px; height: 1px; background: var(--rule); }
.planner__col { position: relative; }
.planner__col + .planner__col { border-left: 1px solid var(--rule); }
.planner__day {
  position: absolute; z-index: 1; top: 14px; left: clamp(8px, 1.1vw, 14px);
  font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--mute);
}
.is-yours .planner__day { color: var(--ink); }
.hl {
  position: absolute; top: 2px; bottom: -4px; left: 5%; right: 7%;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 9px, rgba(255, 255, 255, .2) 9px 11px, rgba(255, 255, 255, 0) 11px 23px),
    linear-gradient(90deg, #ffe42b 0%, #fff24f 12%, #fff24f 86%, #ffe42b 100%);
  mix-blend-mode: multiply;
  -webkit-mask: var(--ragged-v) 0 0 / 100% 100% no-repeat;
  mask: var(--ragged-v) 0 0 / 100% 100% no-repeat;
  transform-origin: 50% 0;
  animation: swipe .8s cubic-bezier(.65, .05, .25, 1) .25s both;
}
.is-yours:nth-child(5) .hl { left: 7%; right: 5%; animation-delay: .4s; }
.is-yours:nth-child(6) .hl { left: 4%; right: 8%; animation-delay: .55s; }
.is-yours:nth-child(7) .hl { left: 6%; right: 6%; animation-delay: .7s; }
@keyframes swipe { from { transform: scaleY(0); } }

.masthead { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.masthead__name {
  font: 800 clamp(1.85rem, 4.6vw, 4.4rem)/.9 var(--sans); font-variation-settings: "wdth" 125;
  text-transform: uppercase; letter-spacing: -.012em; color: var(--ink);
}
.masthead__by { font-size: 14px; font-weight: 600; color: var(--ink-2); }

.promise {
  position: relative; z-index: 2; margin-top: auto; padding-top: .62em;
  font: 800 clamp(4.4rem, 12.6vw, 13rem)/.86 var(--sans); font-variation-settings: "wdth" 70;
  letter-spacing: -.02em; color: var(--ink);
}
.edit { position: relative; display: inline-block; }
.edit del { color: var(--ink); animation: strike-fade .45s ease 1.6s forwards; }
@keyframes strike-fade { to { color: rgba(21, 20, 19, .32); } }
.edit__strike { position: absolute; left: -5%; width: 110%; top: 30%; height: .38em; overflow: visible; pointer-events: none; }
.edit__strike path { fill: none; stroke: var(--pen); stroke-width: .07em; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .3s cubic-bezier(.5, 0, .3, 1) 1.35s forwards; }
.edit__strike path + path { stroke-width: .05em; animation-duration: .26s; animation-delay: 1.62s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.edit__pen {
  position: absolute; left: .04em; bottom: 76%;
  font: 400 .6em/1 var(--hand); letter-spacing: 0; color: var(--pen); white-space: nowrap;
  transform: rotate(-7deg); transform-origin: 0 100%;
  clip-path: inset(-20% 100% -20% 0);
  animation: write .7s cubic-bezier(.4, 0, .2, 1) 1.85s forwards;
}
@keyframes write { to { clip-path: inset(-20% -10% -20% 0); } }

.hero__foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 48px;
  padding: 22px var(--gutter) clamp(24px, 4vh, 40px);
  border-top: 1.5px solid var(--ink);
}
.hero__line { max-width: 36ch; font-size: clamp(1.05rem, 1.45vw, 1.28rem); line-height: 1.45; color: var(--ink); }
.hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.deadline { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.deadline__pen {
  display: inline-block; margin-left: 6px;
  font: 400 1.55em/1 var(--hand); color: var(--pen); transform: rotate(-4deg);
  opacity: 0; animation: appear .4s ease 2.6s forwards;
}
.deadline__pen:empty { display: none; }
@keyframes appear { to { opacity: 1; } }

/* ---------- sections ---------- */
.year, .host, .how, .lineup, .details, .close { padding: clamp(88px, 11vw, 148px) 0; }
.host, .how, .details { border-top: 1px solid var(--rule); }

/* ---------- your year ---------- */
.picker { display: flex; gap: 10px; margin-top: 30px; }
.picker button {
  width: clamp(58px, 9vw, 76px); aspect-ratio: 1;
  border: 1.5px solid var(--ink); border-radius: 2px; background: transparent; color: var(--ink);
  font: 800 clamp(1.6rem, 3vw, 2.1rem)/1 var(--sans); font-variation-settings: "wdth" 80; font-variant-numeric: tabular-nums;
  cursor: pointer; transition: background-color .18s ease, color .18s ease;
}
.picker button:hover { background: var(--hl); }
.picker button[aria-checked="true"] { background: var(--ink); color: var(--paper); }

.cal { position: relative; max-width: 1240px; margin: clamp(40px, 6vw, 64px) auto 0; padding: 0 var(--gutter); }
.cal__cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding-bottom: 10px; border-bottom: 1.5px solid var(--ink); margin-bottom: 18px; }
.cal__title { font: 800 1rem/1 var(--sans); font-variation-settings: "wdth" 120; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
.cal__key { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); }
.cal__swatch { display: inline-block; width: 12px; height: 12px; border-radius: 1px; margin-left: 10px; }
.cal__swatch:first-child { margin-left: 0; }
.cal__swatch--work { background: var(--ink); }
.cal__swatch--back { background: var(--hl); box-shadow: inset 0 0 0 1px rgba(160, 120, 0, .25); }
.cal__halves { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 44px); }
.cal__months { font: 600 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.cal__body { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; }
.cal__rows { display: grid; grid-template-rows: repeat(7, 1fr); gap: clamp(2px, .32vw, 4px); align-items: center; font: 600 10px/1 var(--sans); color: var(--mute); }
.cal__grid { display: grid; grid-template-rows: repeat(7, auto); grid-auto-flow: column; grid-auto-columns: 1fr; gap: clamp(2px, .32vw, 4px); }
.c {
  aspect-ratio: 1; border-radius: 1px;
  box-shadow: inset 0 0 0 1px rgba(21, 20, 19, .2);
  transition: background-color .22s ease, box-shadow .22s ease;
}
.c.is-work { background: var(--ink); box-shadow: none; }
.c.is-back { background: var(--hl); box-shadow: inset 0 0 0 1px rgba(160, 120, 0, .18); }
.cal__tip {
  position: absolute; z-index: 5; pointer-events: none;
  padding: 6px 9px; border-radius: 2px; background: var(--ink); color: var(--paper);
  font: 600 12px/1 var(--sans); white-space: nowrap; transform: translate(-50%, calc(-100% - 8px));
}
@media (max-width: 760px) { .cal__halves { grid-template-columns: 1fr; } }

.tally { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .35em; margin-top: clamp(44px, 6vw, 70px); color: var(--ink); }
.tally__n {
  position: relative; isolation: isolate;
  font: 800 clamp(5.2rem, 15vw, 11.5rem)/.82 var(--sans); font-variation-settings: "wdth" 70;
  letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.tally__n::before {
  content: ""; position: absolute; z-index: -1; left: -.05em; right: -.08em; top: 40%; bottom: 2%;
  background: var(--hl);
  -webkit-mask: var(--ragged-h) 0 0 / 100% 100% no-repeat; mask: var(--ragged-h) 0 0 / 100% 100% no-repeat;
  transform: rotate(-1.2deg);
}
.tally__t { font: 700 clamp(1.45rem, 3vw, 2.3rem)/1.1 var(--sans); font-variation-settings: "wdth" 88; letter-spacing: -.015em; }
.tally__sub { margin-top: 14px; font-size: 1.05rem; color: var(--mute); }
.ask { margin: clamp(40px, 5vw, 60px) 0 22px; font: italic 400 clamp(1.7rem, 3.4vw, 2.5rem)/1.15 var(--serif); color: var(--ink); }

/* ---------- host ---------- */
.host__photo { margin-top: 38px; }
.host__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.08); mix-blend-mode: multiply; }
.host__photo figcaption { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--mute); }
.host__quote { margin: 44px 0 26px; }
.host__quote p { font: italic 300 clamp(1.75rem, 3.5vw, 2.65rem)/1.2 var(--serif); color: var(--ink); text-indent: -.4em; text-wrap: pretty; }
.host__line { max-width: 38ch; font-size: 1.15rem; color: var(--ink); }

/* ---------- how ---------- */
.entries { margin-top: 38px; border-top: 1.5px solid var(--ink); }
.entry { display: grid; grid-template-columns: 210px 1fr; gap: 6px 28px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.entry__when { padding-top: .55em; font: 600 13px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--pen); }
.entry__what { font: 700 clamp(1.45rem, 2.7vw, 2.05rem)/1.14 var(--sans); font-variation-settings: "wdth" 90; letter-spacing: -.018em; color: var(--ink); text-wrap: balance; }
.how__aside { margin-top: 40px; font: italic 400 clamp(1.35rem, 2.4vw, 1.7rem)/1.3 var(--serif); color: var(--ink); }
.how__aside span { display: block; margin-top: 8px; font: 600 12px/1 var(--sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 640px) { .entry { grid-template-columns: 1fr; } .entry__when { padding-top: 0; } }

/* ---------- lineup: a printed programme ---------- */
.lineup { background: var(--paper-deep); }
.lineup__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 40px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.lineup__head p { max-width: 32ch; color: var(--ink-2); font-size: 1.05rem; }
.act { border-bottom: 1px solid var(--rule); }
.act__row {
  position: relative; isolation: isolate; width: 100%;
  display: grid; grid-template-columns: 70px 74px 170px minmax(190px, 250px) 1fr 24px; align-items: center; gap: 0 22px;
  padding: 18px 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.act__row::before {
  content: ""; position: absolute; z-index: -1; inset: 8px -14px;
  background: var(--hl);
  -webkit-mask: var(--ragged-h) 0 0 / 100% 100% no-repeat; mask: var(--ragged-h) 0 0 / 100% 100% no-repeat;
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .38s cubic-bezier(.6, 0, .2, 1);
}
.act__row:hover::before, .act__row[aria-expanded="true"]::before { transform: scaleX(1); }
.act__no { font: 800 2.3rem/1 var(--sans); font-variation-settings: "wdth" 70; color: var(--ink); font-variant-numeric: tabular-nums; }
.act__img { width: 74px; height: 92px; object-fit: cover; filter: grayscale(1) contrast(1.08); mix-blend-mode: multiply; }
.act__when { display: grid; gap: 3px; font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.act__when b { font-size: 1rem; font-weight: 700; color: var(--ink); }
.act__yours { color: var(--mute); }
.act__who { display: grid; gap: 4px; font-size: 14px; color: var(--ink-2); }
.act__who b { font: 800 1.32rem/1.08 var(--sans); font-variation-settings: "wdth" 90; letter-spacing: -.01em; color: var(--ink); }
.act__what { font: italic 400 1.22rem/1.3 var(--serif); color: var(--ink); text-wrap: pretty; }
.act__plus { position: relative; width: 22px; height: 22px; justify-self: end; transition: transform .3s cubic-bezier(.6, 0, .2, 1); }
.act__plus::before, .act__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; background: var(--ink); }
.act__plus::after { transform: rotate(90deg); }
.act__row[aria-expanded="true"] .act__plus { transform: rotate(45deg); }
.act__bio { padding: 4px 0 26px calc(70px + 74px + 44px); }
.act__bio p { max-width: 64ch; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 960px) {
  .act__row { grid-template-columns: 64px 1fr 22px; grid-template-areas: "img when plus" "img who plus" "img what plus"; align-items: start; gap: 4px 16px; }
  .act__no { position: absolute; left: 0; top: 18px; z-index: 1; padding: 3px 5px; background: var(--ink); color: var(--paper); font-size: 13px; font-variation-settings: "wdth" 90; }
  .act__img { grid-area: img; width: 64px; height: 80px; }
  .act__when { grid-area: when; display: block; font-size: 13px; line-height: 1.45; }
  .act__when b { display: inline; font-size: 13px; white-space: nowrap; }
  .act__when b + span::before { content: ", "; }
  .act__yours { display: block; }
  .act__who { grid-area: who; }
  .act__what { grid-area: what; margin-top: 4px; font-size: 1.08rem; }
  .act__plus { grid-area: plus; margin-top: 2px; }
  .act__row::before { inset: 8px -10px; }
  .act__bio { padding-left: 80px; }
}

/* ---------- the real test ---------- */
.test { background: var(--ink); color: var(--paper); padding: clamp(96px, 13vw, 170px) 0; }
.test__quote p { font: italic 300 clamp(2.5rem, 6.6vw, 5.8rem)/1.02 var(--serif); letter-spacing: -.012em; color: var(--paper); text-indent: -.38em; text-wrap: balance; }
.test__quote cite { display: block; margin-top: 22px; font: 600 12px/1 var(--sans); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: #b8b0a3; }
.test__line { margin-top: clamp(40px, 5vw, 60px); max-width: 30ch; font: 500 clamp(1.25rem, 2.3vw, 1.65rem)/1.4 var(--sans); color: var(--paper); }
.underlined { position: relative; white-space: nowrap; }
.underlined svg { position: absolute; left: -2%; bottom: -.34em; width: 104%; height: .42em; overflow: visible; }
.underlined path { fill: none; stroke: var(--pen-on-dark); stroke-width: .11em; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-drawn path { animation: draw .7s cubic-bezier(.5, 0, .3, 1) .2s forwards; }

/* ---------- details ---------- */
.asks { margin-top: 36px; border-top: 1.5px solid var(--ink); counter-reset: ask; }
.asks li { position: relative; counter-increment: ask; padding: 18px 0 18px 54px; border-bottom: 1px solid var(--rule); font-size: 1.15rem; line-height: 1.4; color: var(--ink); }
.asks li::before { content: counter(ask); position: absolute; left: 0; top: 13px; font: 800 1.75rem/1 var(--sans); font-variation-settings: "wdth" 70; color: var(--ink); }
.facts { margin-top: 56px; }
.fact { display: grid; grid-template-columns: 150px 1fr; gap: 6px 24px; padding: 18px 0; border-top: 1px solid var(--rule); }
.fact dt { padding-top: .2em; font: 700 13px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.fact dd { color: var(--ink-2); }
.fact__you { display: block; margin-top: 6px; color: var(--pen); font-weight: 600; }
@media (max-width: 640px) { .fact { grid-template-columns: 1fr; } }

/* ---------- close ---------- */
.close { border-top: 1.5px solid var(--ink); }
.close__title { font: 800 clamp(3.1rem, 9.4vw, 8rem)/.92 var(--sans); font-variation-settings: "wdth" 72; letter-spacing: -.02em; color: var(--ink); }
.circled { position: relative; display: inline-block; }
.circled svg { position: absolute; left: -10%; top: -13%; width: 120%; height: 128%; overflow: visible; pointer-events: none; }
.circled path { fill: none; stroke: var(--pen); stroke-width: .04em; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.circled.is-drawn path { animation: draw .8s cubic-bezier(.5, 0, .3, 1) .15s forwards; }
.close__line { max-width: 36ch; margin: 30px 0 34px; font-size: 1.2rem; color: var(--ink); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #c9c1b5; padding: 64px 0 calc(64px + env(safe-area-inset-bottom)); font-size: 15px; }
.foot__inner { display: grid; gap: 10px; }
.foot__mark { font: 800 clamp(1.8rem, 4.6vw, 3.4rem)/1 var(--sans); font-variation-settings: "wdth" 125; text-transform: uppercase; letter-spacing: -.01em; color: var(--paper); margin-bottom: 14px; }
.foot__contact { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot a { color: var(--paper); text-underline-offset: 4px; text-decoration-color: rgba(242, 238, 229, .35); }
.foot__small { margin-top: 18px; font-size: 13px; color: #8f877b; }

/* ---------- phone dock ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 500;
  transform: translateY(105%); transition: transform .35s cubic-bezier(.6, 0, .2, 1);
}
.dock .btn { background: var(--paper); color: var(--ink); }
.dock .btn::before { background: var(--hl); }
.dock.is-up { transform: none; }
@media (max-width: 720px) { .dock { display: flex; } }

/* ---------- small screens ---------- */
@media (max-width: 640px) {
  :root { --nav: 56px; }
  body { font-size: 17px; }
  .hero__week { padding-top: calc(var(--nav) + 62px); }
  .planner::before { top: 38px; }
  .planner__day { top: 12px; font-size: 11px; letter-spacing: .04em; left: 6px; }
  .promise { padding-top: .7em; }
  .hero__act, .hero__act .btn { width: 100%; }
  .picker { gap: 8px; }
  .close .btn { width: 100%; }
}
