/* ============================================================
   THE LATER JAR — /jar/   (draft)
   ============================================================

   Same split as the focus timer and /trail/. The page around the tool
   is Rosie's; the frame rules below are copied from trail.css, which
   copied them from focus.css — the page frame lives in each page file,
   not in base.css.
   ============================================================ */

body{
  margin:0;background:var(--cream);color:var(--ink);font-family:var(--sans);font-weight:300;
  font-size:clamp(1rem,.94rem + .28vw,1.0625rem);line-height:1.78;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
  display:flex;flex-direction:column;min-height:100vh;
}
[id]{scroll-margin-top:6.5rem}
.wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:var(--gutter);width:100%}
.eyebrow{
  font-family:var(--cond);font-weight:400;font-size:clamp(.8125rem,.765rem + .2vw,.875rem);
  letter-spacing:.18em;text-transform:uppercase;color:var(--ink-soft);line-height:1;
}
.btn:hover::before,.btn:focus-visible::before{transform:translateY(0)}
.btn:hover,.btn:focus-visible{color:var(--ink-deep);border-color:var(--apricot)}

/* ============================ NAV ============================ */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:100;padding:1.6rem 0;
  transition:background .5s var(--ease),box-shadow .5s var(--ease),padding .5s var(--ease);
}
.nav__sublink[aria-current="page"]{color:var(--terracotta)}

/* ========================= PAGE HEAD ========================= */
main{flex:1 0 auto}
.phead{background:var(--dune);padding:clamp(8.5rem,15vh,11rem) 0 clamp(3rem,6vw,5rem)}
.phead__t{
  font-family:var(--serif);font-size:clamp(2.6rem,1.4rem + 5.4vw,6rem);
  line-height:.94;letter-spacing:-.04em;   /* no eyebrow above it anymore */
}
.phead__t em{font-style:italic;color:var(--terracotta)}
.phead__sub{
  margin-top:clamp(1.2rem,2.4vw,1.8rem);
  font-family:var(--serif);font-size:clamp(1.1rem,.98rem + .6vw,1.45rem);
  line-height:1.4;color:var(--ink-soft);
}

/* ========================= PAGE BODY ========================= */
.pbody{padding:clamp(2.5rem,5vw,4rem) 0 clamp(5rem,10vw,8rem)}



/* ============================================================
   THE TOOL
   ============================================================

   White box, Helvetica, black on white, like the timer and /trail/. Its
   colours live in their own --t-* tokens under .tool, so a change to the
   brand palette cannot quietly retint the slips. What you write is on yellow
   index-card paper in Caveat, the same as the cards on /trail/. Terracotta
   is the lid, the "later" line and the done stamp, and nothing else.

   The jar is drawn in three layers so the slips really sit inside it: the
   tint of the glass at the back, then the slips (clipped to the inside of
   the glass), then the outline and highlights in front, and the lid on top.
   Everything in the jar is sized off --jw, its width, so the slips scale
   with it on a phone and the percentages in the script stay true. */

.tool{
  --t-ink:#111111;
  --t-pen:#2B2624;                 /* what is written on a slip */
  --t-card:#FDE98F;                /* the index card */
  --t-rule:rgba(120,90,10,.17);    /* the ruled lines on a card */
  --t-head:#B85A34;                /* the red line under a card's header */
  --t-soft:rgba(17,17,17,.42);     /* the small capitals */
  --t-faint:rgba(43,38,36,.4);     /* placeholder */
  --t-accent:#B85A34;
  --t-glass:rgba(17,17,17,.75);    /* the outline of the jar */
  --t-ease:cubic-bezier(.76,0,.24,1);
  --t-out:cubic-bezier(.22,.61,.36,1);

  --toolh:clamp(30rem,68vh,40rem);
  --side:clamp(17rem,40%,30rem);   /* the jar's column */
  --jw:clamp(170px,17vw,236px);  /* the jar's width */

  position:relative;height:var(--toolh);
  background:#ffffff;color:var(--t-ink);
  border:1px solid var(--hairline);border-radius:6px;
  overflow:hidden;
  font-family:"Helvetica Neue",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  -webkit-tap-highlight-color:transparent;
  -webkit-user-select:none;user-select:none;
}
.tool p{margin:0}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

.cap{
  font-size:12px;font-weight:500;
  letter-spacing:.22em;text-transform:uppercase;color:var(--t-soft);
  line-height:1.5;
}

/* ---- the buttons ----------------------------------------------------------
   One black pill for the thing to do next, white pills for the rest — the
   same pair as the timer and the bar on /trail/. */
.pill,.tb{
  font:inherit;font-size:15px;font-weight:500;line-height:1;
  height:44px;padding:0 22px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  cursor:pointer;white-space:nowrap;touch-action:manipulation;
  transition:transform .08s ease,opacity .25s ease,background .2s ease,color .2s ease;
}
.pill{background:var(--t-ink);color:#ffffff;border:1px solid var(--t-ink)}
.tb{
  background:#ffffff;color:var(--t-ink);border:1px solid rgba(17,17,17,.16);
  box-shadow:0 8px 18px -12px rgba(0,0,0,.4);
}
.tb:hover{background:#f4f4f4}
.pill:active,.tb:active{transform:scale(.96)}
.pill svg,.tb svg{width:16px;height:16px;flex:none}
/* never hidden, only switched off, so nothing jumps when the jar fills */
.pill:disabled{opacity:.22;cursor:default;transform:none}

.tool :focus-visible{outline:2px solid var(--t-ink);outline-offset:3px}

/* ---- the two columns ------------------------------------------------------ */
.jarview{
  position:absolute;inset:0;
  display:grid;grid-template-columns:minmax(0,1fr) var(--side);
  transition:opacity .35s ease;
}
.desk{
  display:flex;align-items:center;justify-content:center;min-width:0;
  padding:clamp(24px,4vw,64px);
  transition:opacity .35s ease,transform .45s var(--t-ease),visibility 0s;
}
.desk__in{width:100%;max-width:30rem;display:flex;flex-direction:column;gap:14px}

/* ---- the slip you write on ------------------------------------------------
   An index card cut down to one line: the red header line, one ruled line,
   Caveat on it. The script copies these measurements for the slip that folds
   and flies, so the copy lands exactly on top of the original. */
.paper{
  --ph:86px;
  position:relative;height:var(--ph);
  background:var(--t-card);color:var(--t-pen);
  border-radius:3px;
  box-shadow:0 1px 1px rgba(80,60,0,.10),0 10px 22px -12px rgba(80,60,0,.5);
  outline:1.5px solid transparent;outline-offset:5px;
  transition:outline-color .25s ease,box-shadow .3s var(--t-ease),transform .3s var(--t-ease);
}
.paper::before,.paper::after{content:"";position:absolute;left:0;right:0;pointer-events:none}
.paper::before{top:22px;height:1.5px;background:var(--t-head);opacity:.5}   /* the red line */
.paper::after{top:71px;height:1px;background:var(--t-rule)}                 /* the line written on */
.paper:focus-within{
  outline-color:rgba(17,17,17,.42);transform:translateY(-2px);
  box-shadow:0 1px 1px rgba(80,60,0,.10),0 18px 30px -16px rgba(80,60,0,.55);
}

.paper__in,.paper__txt{
  position:absolute;left:18px;right:60px;top:33px;height:40px;
  margin:0;padding:0;border:0;outline:0;background:transparent;
  font-family:var(--script);font-weight:500;font-size:29px;line-height:40px;
  color:var(--t-pen);white-space:nowrap;overflow:hidden;
}
.paper__in{width:calc(100% - 78px);-webkit-user-select:text;user-select:text;border-radius:0}
.paper__in::placeholder{color:var(--t-faint);opacity:1}
.paper__in:focus-visible{outline:0}

/* the drop button: the touch way to do what Enter does */
.paper__go{
  position:absolute;right:10px;top:31px;
  width:40px;height:40px;border-radius:50%;padding:0;
  border:1.6px solid var(--t-faint);background:transparent;color:var(--t-pen);
  display:grid;place-items:center;cursor:pointer;touch-action:manipulation;
  transition:background .2s ease,border-color .2s ease,color .2s ease,opacity .2s ease,transform .08s ease;
}
.paper__go svg{width:16px;height:16px}
.paper__go:disabled{opacity:.35;cursor:default}
.paper__go:not(:disabled){background:var(--t-pen);border-color:var(--t-pen);color:var(--t-card)}
.paper__go:not(:disabled):active{transform:scale(.92)}

.desk__foot{position:relative;min-height:30px;display:flex;align-items:flex-start}
.desk__hint{font-size:13px;line-height:1.5;color:rgba(17,17,17,.5)}

/* Rosie's one line, in her hand, for a moment after each slip goes in */
.parked{
  position:absolute;right:4px;top:-4px;
  font-family:var(--script);font-weight:600;font-size:25px;line-height:1;
  color:var(--t-accent);white-space:nowrap;
  opacity:0;transform:translateY(4px) rotate(-2deg);
  transition:opacity .35s ease,transform .5s var(--t-out);
  pointer-events:none;
}
.parked.is-on{opacity:1;transform:rotate(-2deg)}

/* ---- the jar's column ----------------------------------------------------- */
.side{
  position:relative;min-width:0;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:calc(var(--jw) * .16) 24px 28px;
  transform-origin:0 0;   /* for the trip into the corner, see parkJar() */
  transition:opacity .45s ease,transform .55s var(--t-ease);
}

.jar{position:relative;width:var(--jw);height:calc(var(--jw) * 1.3);flex:none}
.jar > *{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible}

/* the soft shadow where the glass meets the shelf */
.jar::after{
  content:"";position:absolute;left:4%;right:4%;bottom:-4px;height:14px;
  background:radial-gradient(closest-side,rgba(17,17,17,.2),rgba(17,17,17,0));
  z-index:-1;
}
.shelf{
  flex:none;width:min(100%,calc(var(--jw) * 1.55));height:1px;margin-top:-1.6%;
  background:linear-gradient(to right,rgba(17,17,17,0),rgba(17,17,17,.28) 18%,rgba(17,17,17,.28) 82%,rgba(17,17,17,0));
}

/* the inside of the glass, as a polygon in the jar's own percentages. It runs
   on up past the mouth, so a slip handed over from the flight above is never
   cut off on its way in; below the mouth the walls of the jar do the cutting. */
.jar__pile{
  clip-path:polygon(31.5% -15.4%, 31.5% 17.7%, 30.7% 19.4%, 28.5% 20.9%, 25.5% 22.5%, 22% 24.4%, 18.5% 26.5%, 15.5% 29.2%, 13.3% 32.6%, 12.5% 36.9%, 12.5% 86.9%, 13.1% 90.3%, 14.9% 93%, 17.8% 94.9%, 21.5% 96.1%, 26% 96.5%, 74% 96.5%, 78.5% 96.1%, 82.2% 94.9%, 85.1% 93%, 86.9% 90.3%, 87.5% 86.9%, 87.5% 36.9%, 86.7% 32.6%, 84.5% 29.2%, 81.5% 26.5%, 78% 24.4%, 74.5% 22.5%, 71.5% 20.9%, 69.3% 19.4%, 68.5% 17.7%, 68.5% -15.4%);
}

.jl{fill:none;stroke:var(--t-glass);stroke-width:2;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.jl--faint{stroke:rgba(17,17,17,.28);stroke-width:1.4}
.hl{fill:none;stroke:#ffffff;stroke-width:5;stroke-linecap:round;opacity:.9}
.hl--s{stroke-width:3}

.tag__string{fill:none;stroke:rgba(43,38,36,.55);stroke-width:1.1}
.tag__card{fill:#FBF9F8;stroke:rgba(43,38,36,.35);stroke-width:1}
.tag__hole{fill:#ffffff;stroke:rgba(43,38,36,.35);stroke-width:.8}
.tag__txt{font-family:var(--script);font-weight:600;font-size:17px;fill:var(--t-accent)}

/* The lid lifts a little while you write, as if the jar were waiting, lifts
   properly while a slip is on its way in, and settles back once it lands. */
.jar__lid{transform-origin:50% 8%;transition:transform .55s cubic-bezier(.34,1.45,.5,1)}
.lid__ring{fill:#B85A34}
.lid__top{fill:#9C4A29}
.lid__band{fill:#D47E58}
.lid__ribs{stroke:#8E4426;stroke-width:1.2;opacity:.45}
.tool.is-typing .jar__lid{transform:translateY(-4%) rotate(4deg)}
.tool.is-dropping .jar__lid{transform:translate(4%,-16%) rotate(11deg);transition:transform .4s var(--t-out)}

.tool .count{
  margin-top:18px;font-size:15px;line-height:1.4;color:rgba(17,17,17,.62);
  font-variant-numeric:tabular-nums;
}
.count.bump{animation:bump .5s var(--t-ease)}
@keyframes bump{from{transform:scale(1.08)}to{transform:scale(1)}}
#btnOpen{margin-top:14px}

/* Empty the jar: a quiet line under the black pill, there when it is
   needed and out of the way of the one thing the column is for */
.quiet{
  font:inherit;font-size:13.5px;font-weight:500;line-height:1;
  height:40px;margin-top:4px;padding:0 12px;border:0;background:none;
  color:rgba(17,17,17,.55);cursor:pointer;touch-action:manipulation;
  text-decoration:underline;text-decoration-color:rgba(17,17,17,.22);
  text-underline-offset:4px;text-decoration-thickness:1px;
  transition:color .2s ease,opacity .25s ease,text-decoration-color .2s ease;
}
.quiet:hover{color:var(--t-ink);text-decoration-color:currentColor}
/* never hidden, only switched off, like the pill above */
.quiet:disabled{opacity:.35;cursor:default;text-decoration-color:transparent}
.tool[data-mode="review"] #btnEmpty{visibility:hidden;opacity:0}

/* the glass opens the jar too: a hand cursor, and the lid lifts a little
   under the pointer, as it does while you write */
.jar.is-openable{cursor:pointer}
.tool[data-mode="jar"] .jar.is-openable:hover .jar__lid{transform:translateY(-4%) rotate(4deg)}

/* ---- a slip in the jar ------------------------------------------------------
   34 x 22 in the jar's 200-wide drawing, folded once, so one half sits a
   shade darker than the other and the crease shows. The colour comes from
   the script, cycling through four papers. */
.slip{
  position:absolute;
  width:calc(var(--jw) * .17);height:calc(var(--jw) * .11);
  margin:calc(var(--jw) * -.055) 0 0 calc(var(--jw) * -.085);
  background:var(--c,#FDE98F);
  background-image:linear-gradient(to right,rgba(255,255,255,.22) 0 49%,rgba(90,60,0,.22) 49% 51%,rgba(90,60,0,.07) 51% 100%);
  border-radius:1.5px;
  transform:rotate(var(--r,0deg));
  box-shadow:0 0 0 .5px rgba(80,60,0,.16),0 1.5px 2px rgba(80,60,0,.18);
}
/* a few strokes of writing showing through */
.slip::after{
  content:"";position:absolute;left:14%;right:58%;top:34%;height:32%;
  background:repeating-linear-gradient(to bottom,rgba(43,38,36,.28) 0 1px,transparent 1px 4px);
  border-radius:1px;
}
/* settling, after slips under them have gone */
.jar__pile.is-live .slip{transition:left .6s var(--t-out),top .6s var(--t-out)}

/* ---- the slip in flight ---------------------------------------------------- */
.fly{position:absolute;inset:0;pointer-events:none;z-index:20}
.flyer{position:absolute;width:0;height:0}
.fcard{position:absolute;filter:drop-shadow(0 8px 10px rgba(80,60,0,.22))}
.fcard__half{position:absolute;left:0;right:0;height:50%;overflow:hidden}
.fcard__half--top{top:0;transform-origin:50% 100%;z-index:1}
.fcard__half--bot{top:50%}
.fcard__half .paper{position:absolute;left:0;width:100%;box-shadow:none;border-radius:0;outline:0;transform:none}
.fcard__half--top .paper{top:0;border-radius:3px 3px 0 0}
.fcard__half--bot .paper{bottom:0;border-radius:0 0 3px 3px}
/* the back of the paper, seen once the top half has folded over */
.fcard__back{position:absolute;inset:0;background:#F2DC7E;opacity:0;z-index:2}
.flyer .slip{left:0;top:0;opacity:0}

/* ============================================================
   REVIEW — every slip at once
   ============================================================
   The slips side by side, oldest first, in a row that scrolls sideways once
   there are more than fit: about four across on a desk, one and a bit on a
   phone. Each keeps its own three buttons underneath. A slip that is dealt
   with leaves for the layer on top (the row clips, being a scroller), and
   its empty slot then narrows to nothing, so the rest slide along into the
   gap. The jar meanwhile goes small into the bottom corner — the script
   works out where — and stays there, dimmed, as the place Keep goes to. */
.review{
  position:absolute;inset:0;z-index:10;
  visibility:hidden;opacity:0;
  transition:opacity .35s ease,visibility 0s .35s;
}
.tool[data-mode="review"] .review{visibility:visible;opacity:1;transition:opacity .35s ease .1s}
.tool[data-mode="review"] .desk{opacity:0;visibility:hidden;transform:translateX(-24px);transition:opacity .3s ease,transform .45s var(--t-ease),visibility 0s .3s}
.tool[data-mode="review"] .side{opacity:.6}
.tool[data-mode="review"] .count,
.tool[data-mode="review"] #btnOpen{visibility:hidden;opacity:0}

.review__left{position:absolute;left:24px;top:27px}
/* Undo and Close, top right. Undo is never hidden, only switched off until
   there is something to take back, so Close never moves. */
.review__bar{position:absolute;right:16px;top:16px;z-index:1;display:flex;gap:8px}
.review__bar .tb{height:40px;padding:0 16px;font-size:14px}
.review__bar .tb:disabled{opacity:.38;cursor:default;box-shadow:none;transform:none;background:#ffffff}

/* minmax(0,1fr): without it the column grows to the width of every slip
   together, and the row never has anything to scroll */
.review__main{
  position:absolute;left:0;right:0;top:64px;bottom:112px;
  display:grid;grid-template-columns:minmax(0,1fr);place-items:center;
}
.rowwrap{grid-area:1/1;position:relative;width:100%;transition:opacity .25s ease}
.review.is-end .rowwrap{opacity:0;visibility:hidden}

.row{
  --fl:0px;--fr:0px;
  display:flex;align-items:stretch;
  overflow-x:auto;overflow-y:hidden;
  padding:18px 14px 20px;
  scroll-snap-type:x proximity;scroll-padding-inline:14px;
  overscroll-behavior-x:contain;
  scrollbar-width:none;
  /* the soft edge where the row carries on out of sight */
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 var(--fl),#000 calc(100% - var(--fr)),transparent 100%);
          mask-image:linear-gradient(to right,transparent 0,#000 var(--fl),#000 calc(100% - var(--fr)),transparent 100%);
}
.row::-webkit-scrollbar{display:none}
.rowwrap.has-prev .row{--fl:64px}
.rowwrap.has-next .row{--fr:64px}

.slot{
  flex:none;min-width:0;
  padding:0 14px;
  display:flex;flex-direction:column;align-items:center;
  scroll-snap-align:start;
  transition:width .45s var(--t-ease),padding .45s var(--t-ease);
}
/* centred while they all fit, from the first one once they do not: auto
   margins in a row that overflows fall back to nothing */
.slot:first-child{margin-left:auto}
.slot:last-child{margin-right:auto}
.slot.is-gone{overflow:hidden}
.slot.is-closing{width:0 !important;padding-left:0;padding-right:0}

/* the card: a real index card, header line and all, a size down */
.rcard{
  position:relative;
  width:15.75rem;min-height:11rem;
  display:flex;flex-direction:column;
  padding:4px 16px 14px;
  background:var(--t-card);color:var(--t-pen);
  border-radius:3px;
  box-shadow:0 1px 1px rgba(80,60,0,.10),0 16px 28px -16px rgba(80,60,0,.55);
  transform:rotate(var(--tilt,-1deg));
}
.rcard::before{content:"";position:absolute;left:0;right:0;top:35px;height:1.5px;background:var(--t-head);opacity:.5}
.rcard__when{
  flex:none;height:30px;display:flex;align-items:center;
  font-family:var(--cond);font-size:12px;font-weight:500;
  letter-spacing:.12em;text-transform:uppercase;color:rgba(43,38,36,.55);
}
.tool .rcard__txt{
  flex:1;margin-top:9px;
  font-family:var(--script);font-weight:500;font-size:26px;line-height:31px;
  background:repeating-linear-gradient(to bottom,transparent 0,transparent 30px,var(--t-rule) 30px,var(--t-rule) 31px);
  min-height:93px;overflow-wrap:anywhere;
}
.rcard__crease{
  position:absolute;left:0;right:0;top:50%;height:2px;margin-top:-1px;
  background:linear-gradient(to bottom,rgba(90,60,0,.18),rgba(255,255,255,.4));
  opacity:0;pointer-events:none;
}
/* the done stamp */
.stamp{
  position:absolute;right:8px;top:36px;width:58px;height:58px;
  color:var(--t-accent);opacity:0;pointer-events:none;
  mix-blend-mode:multiply;
}
.stamp svg{width:100%;height:100%;overflow:visible}

/* its three buttons: Done is the black one, as everywhere in the box */
.slot__acts{
  margin-top:auto;padding-top:16px;
  display:flex;gap:6px;
  transition:opacity .2s ease;
}
.slot.is-gone .slot__acts{opacity:0;visibility:hidden;pointer-events:none}
.act{
  font:inherit;font-size:13px;font-weight:500;line-height:1;
  height:40px;padding:0 13px;border-radius:999px;
  display:inline-flex;align-items:center;gap:6px;
  background:#ffffff;color:var(--t-ink);border:1px solid rgba(17,17,17,.16);
  cursor:pointer;white-space:nowrap;touch-action:manipulation;
  transition:transform .08s ease,background .2s ease;
}
.act:hover{background:#f4f4f4}
.act:active{transform:scale(.95)}
.act svg{width:14px;height:14px;flex:none}
.act--done{background:var(--t-ink);color:#ffffff;border-color:var(--t-ink)}
.act--done:hover{background:#333333}

/* the arrows at the ends, only where there is more that way. Out of the tab
   order: Tab moves along the slips and the row follows it by itself. */
.row__nav{
  position:absolute;z-index:2;top:calc(18px + 5.5rem);
  width:40px;height:40px;margin-top:-20px;padding:0;border-radius:50%;
  background:#ffffff;color:var(--t-ink);border:1px solid rgba(17,17,17,.16);
  box-shadow:0 8px 18px -10px rgba(0,0,0,.4);
  display:grid;place-items:center;cursor:pointer;
  opacity:0;visibility:hidden;
  transition:opacity .25s ease,visibility 0s .25s,background .2s ease,transform .08s ease;
}
.row__nav svg{width:16px;height:16px}
.row__nav:hover{background:#f4f4f4}
.row__nav:active{transform:scale(.94)}
.row__nav--prev{left:12px}
.row__nav--next{right:12px}
.rowwrap.has-prev .row__nav--prev,
.rowwrap.has-next .row__nav--next{opacity:1;visibility:visible;transition:opacity .25s ease,background .2s ease,transform .08s ease}

/* in the layer on top, on its way out */
.fly .rcard{position:absolute}

.review__end{
  grid-area:1/1;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;
  opacity:0;visibility:hidden;transform:translateY(8px);
  transition:opacity .4s ease,transform .5s var(--t-out),visibility 0s .4s;
}
.review.is-end .review__end{opacity:1;visibility:visible;transform:none;transition:opacity .4s ease .15s,transform .5s var(--t-out) .15s}
.review__sorted{font-family:var(--script);font-weight:600;font-size:46px;line-height:1;color:var(--t-accent)}
.review__end .pill{margin-top:10px}

/* ---- the tool on a phone ----------------------------------------------------
   The columns stack: the slip on top where the thumb is, the jar under it,
   a size smaller. Sorting then takes the whole box and the jar steps out. */
@media (max-width:760px){
  .tool{--jw:172px;--side:0px}
  .jarview{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}
  .desk{padding:22px 18px 0}
  .desk__in{gap:10px}
  /* no room for both side by side: the hint steps back while Rosie speaks */
  .desk__hint{transition:opacity .3s ease}
  .desk__foot:has(.parked.is-on) .desk__hint{opacity:0}
  .parked{right:auto;left:2px}
  .side{padding:calc(var(--jw) * .2) 18px 20px}
  .tool .count{margin-top:12px;font-size:14px}
  #btnOpen{margin-top:10px}
  .review__left{left:18px;top:25px}
  .review__bar{right:12px;top:12px;gap:6px}
  .review__bar .tb{padding:0 13px}
  .review__main{top:58px;bottom:112px}
  .row{padding:14px 8px 16px;scroll-padding-inline:8px}
  .rowwrap.has-prev .row{--fl:28px}
  .rowwrap.has-next .row{--fr:28px}
  .slot{padding:0 10px}
  .rcard{width:16.25rem}
  /* a finger swipes; the arrows are for a mouse */
  .row__nav{display:none}
  .review__sorted{font-size:40px}
}

@media (prefers-reduced-motion:reduce){
  .jar__lid,.jarview,.desk,.side,.review,.review__end,.parked,.paper,.jar__pile.is-live .slip,.slot,.rowwrap{transition:none !important}
  .count.bump{animation:none}
}


/* ---- the one line under the box ------------------------------------- */
.tool__note{
  margin:1.1rem 0 0;font-size:.875rem;line-height:1.7;color:var(--ink-soft);
  display:flex;flex-wrap:wrap;gap:.35rem 1.4rem;
}
.tool__note b{font-weight:500;white-space:nowrap}   /* a key combination never breaks in two */


/* ============================================================
   THE LINE ABOVE THE BOX, HOW IT WORKS, CLOSING NOTE + CTA
   ============================================================
   The same on all six tool pages (pick, focus, jar, trail, sign, meeting).
   A short line above the tool links down to the steps (#how), for whoever
   would rather read first. Down there the steps sit in one box and the
   coaching box stands next to them from 60rem up — under the steps, as it
   used to be, it was below the point where most people stop scrolling. */
/* padding-left: the hook of the J hangs about .09em left of its own box, which
   put the line visibly in front of the tool's edge; this sets the ink flush */
.jump{
  margin:0 0 1.2rem;padding-left:.09em;
  font-size:clamp(1.0625rem,.98rem + .35vw,1.25rem);line-height:1.5;color:var(--ink-soft);
}
.jump a{
  color:var(--terracotta);text-decoration-thickness:1px;text-underline-offset:.22em;
  white-space:nowrap;transition:color .2s ease;
}
.jump a:hover{color:var(--ink-deep)}
.jump svg{width:.62em;height:.86em;margin-left:.35em;vertical-align:-.06em}

.outro{
  margin-top:clamp(3.5rem,7vw,6rem);
  display:grid;gap:clamp(1rem,2vw,1.5rem);
  grid-template-columns:minmax(0,1fr);
}
@media (min-width:60rem){
  .outro{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}
}

.how{
  background:var(--paper);border:1px solid var(--hairline);border-radius:6px;
  padding:clamp(1.6rem,3.5vw,2.6rem);
}
.how__t{font-family:var(--serif);font-size:clamp(1.4rem,1.1rem + 1.1vw,2rem);letter-spacing:-.025em}
.how__t em{font-style:italic;color:var(--terracotta)}
.how__list{list-style:none;margin:clamp(1.1rem,2.2vw,1.5rem) 0 0;padding:0}
.how__item{
  display:grid;grid-template-columns:2.2rem minmax(0,1fr);column-gap:.5rem;
  padding:.9rem 0;border-top:1px solid var(--hairline);
}
.how__item:last-child{padding-bottom:0}
.how__n{
  font-family:var(--cond);font-weight:500;font-size:.875rem;letter-spacing:.18em;
  color:var(--terracotta);line-height:1.5;padding-top:.15rem;
}
.how__h{font-family:var(--serif);font-size:1.1rem;line-height:1.35;letter-spacing:-.02em}
.how__p{margin:.3rem 0 0;font-size:.9375rem;line-height:1.65;color:var(--ink-soft)}
.how__p code{
  font-family:var(--cond);font-size:1em;letter-spacing:.04em;
  text-transform:uppercase;color:var(--ink);
}

/* A photo of Rosie across the top, edge to edge, then the words and the
   button. Next to the steps the box is taller than its words, and the photo
   takes up the difference (flex-grow), so there is never an empty stretch;
   min-height keeps it a real photo where the steps are short and on a phone. */
.close{
  --pad:clamp(1.6rem,3.5vw,2.6rem);
  background:var(--sand);border-radius:6px;overflow:hidden;
  padding:var(--pad);
  display:flex;flex-direction:column;align-items:flex-start;
}
.close__img{
  flex:1 1 0;min-height:15rem;
  width:calc(100% + 2 * var(--pad));max-width:none;height:auto;
  margin:calc(-1 * var(--pad)) calc(-1 * var(--pad)) var(--pad);
  object-fit:cover;object-position:50% 22%;
}
.close__t{font-family:var(--serif);font-size:clamp(1.4rem,1.1rem + 1.1vw,2rem);letter-spacing:-.025em}
.close__t em{font-style:italic;color:var(--terracotta)}
.close__p{margin:.8rem 0 0;font-size:.9375rem;line-height:1.75;color:var(--ink-soft);max-width:44ch}
.close__act{padding-top:clamp(1.4rem,3vw,2rem)}

/* ============================================================
   FOOTER — same as every other page, it lives in base.css
   ============================================================ */
.foot{background:var(--ink-deep);color:#FFFFFF;padding:clamp(2.75rem,5.5vw,4.25rem) 0 1.75rem;flex-shrink:0}


/* ============================================================
   BREAKPOINTS THE WHOLE SITE SHARES
   ============================================================
   Copied verbatim from focus.css — see the note there on why these are not
   in base.css. */
@media (max-width:1080px){
  .nav__links{
    position:fixed;inset:0 0 auto;top:0;background:var(--cream);
    flex-direction:column;justify-content:center;gap:2rem;height:100dvh;
    clip-path:inset(0 0 100% 0);transition:clip-path .7s var(--ease);margin-bottom:0;
  }
  .nav.is-open .nav__links{clip-path:inset(0 0 0 0)}
  .nav__link{font-size:1.5rem;font-family:var(--serif);letter-spacing:.04em;text-transform:none}
  .burger{display:block;position:relative;z-index:2}
}
@media (max-width:860px){
  .foot__grid{grid-template-columns:1fr 1fr}
  .foot__brand{grid-column:1/-1}
}
@media (max-width:640px){
  .foot__grid{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
}

/* ============================================================
   SECTION SPACING — since 22.10.2026
   Every section boundary has the same air on both sides: from the edge to
   the first or last thing you can see in the section (the tops of the letters,
   a box, a photo, a frame line), as much as the footer has from its top edge
   to the letters of "Navigate". That is 69px on a desktop and 47px on a phone,
   measured on the pixels, not on the text boxes: a large heading carries
   20-30px of empty font box above its letters, and that is what the eye
   does not count. --sec-pad in base.css is the footer's padding; the + or -
   on a value makes up for what sits between a section's padding and its
   first or last visible edge. Last in the file so it wins over the paddings
   above, media queries included. Not touched: the hero with the stats or
   fact band under it. Change a section's first or last element and its
   value here may need measuring again.
   ============================================================ */
main > .pbody{padding-bottom:var(--sec-pad)}
