/* Detector note, 2026-10-15. The mechanical design detector reports
   "cramped-padding" on .rule and section.alt, and "tight-leading" on h1/h2.
   Both measured and both false positives for this layout:
     .rule        23.9px padding top and bottom, last child 25px clear of the hairline
     section.alt  64px top and bottom
     leading      only display type is below 1.3 (h1 51px/1.04, h2 30px/1.08). Body is 17.5px/1.6.
   The leading threshold is a body-copy rule; tight display leading is intentional.
   Do not "fix" these by adding padding or loosening headline leading. */

/* 8forty.com. Hand written, static, Cloudflare Pages.
   One accent (teal), one radius system, one theme with a dark counterpart.
   No eyebrows, no cards as page structure. */

:root{
  --paper:#FBFBF9;
  --paper-2:#F2F2EE;
  --ink:#141618;
  --ink-2:#464C52;
  --ink-3:#6E757C;
  --line:#E2E2DC;
  --line-2:#CFCFC7;
  --accent:#0C6B6B;
  --accent-deep:#084F4F;
  --accent-ink:#FFFFFF;
  --accent-wash:#EAF2F1;--accent-on-ink:#44ABA2;
  --r:14px;
  --r-sm:8px;
  --maxw:1140px;
  --ease:cubic-bezier(.2,.7,.2,1);
}
@media (prefers-color-scheme:dark){
  :root{
    --paper:#101214;
    --paper-2:#171A1D;
    --ink:#F3F3F0;
    --ink-2:#B4BAC0;
    --ink-3:#878E95;
    --line:#262A2E;
    --line-2:#343A3F;
    --accent:#44ABA2;
    --accent-deep:#5FC2B8;
    --accent-ink:#08100F;
    --accent-wash:#172322;--accent-on-ink:#0C6B6B;
  }
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} }

body{overflow-x:clip;
  margin:0;background:var(--paper);color:var(--ink);
  font-family:"Public Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:17.5px;line-height:1.6;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}

/* browser surfaces, themed rather than left to the browser */
::selection{background:var(--accent);color:var(--accent-ink)}
:root{accent-color:var(--accent);caret-color:var(--accent);color-scheme:light dark}
*{scrollbar-color:var(--line-2) transparent;scrollbar-width:thin}
::-webkit-scrollbar{width:11px;height:11px}
::-webkit-scrollbar-thumb{background:var(--line-2);border-radius:99px;border:3px solid var(--paper)}
::-webkit-scrollbar-thumb:hover{background:var(--ink-3)}
::-webkit-scrollbar-track{background:transparent}
:is(a,button,input,select,textarea,summary):focus-visible{
  outline:2px solid var(--accent);outline-offset:3px;border-radius:3px
}
a{color:inherit;text-underline-offset:3px;text-decoration-thickness:1px}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px}
@media (max-width:620px){ .wrap{padding:0 20px} }

/* nav */
.nav{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--paper) 88%,transparent);
  backdrop-filter:saturate(1.6) blur(10px);border-bottom:1px solid var(--line)}
.nav-in{display:flex;align-items:center;justify-content:space-between;height:70px;gap:24px}
/* The real mark. One colour, inherited, so it is correct in both schemes with
   no second file and no swap. The infinity is doing the arguing: 168, not 40. */
.brand{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);text-decoration:none}
.brandmark{display:block;height:23px;width:auto}
.brand:hover .brandmark{color:var(--accent)}
.brand-foot .brandmark{height:21px}
.nav-links{display:flex;align-items:center;gap:28px;white-space:nowrap}
/* the hero CTA scrolls away, so the action reappears here and nowhere before */
.nav-cta{
  display:inline-flex;align-items:center;min-height:0;
  padding:10px 18px;border-radius:999px;background:var(--accent);color:var(--accent-ink)!important;
  font-weight:650;font-size:15px;
  opacity:0;transform:translateY(-6px) scale(.96);pointer-events:none;
  transition:opacity .34s var(--ease),transform .34s var(--ease)
}
.nav-cta:hover{background:var(--accent-deep)}
body.scrolled .nav-cta{opacity:1;transform:none;pointer-events:auto}
@media (max-width:560px){ .nav-cta{padding:9px 14px;font-size:14px} }
.nav-links a{color:var(--ink-2);text-decoration:none;font-size:15.5px;font-weight:500;
  display:inline-flex;align-items:center;min-height:44px;transition:color .18s var(--ease)}
.nav-links a:hover{color:var(--ink)}
@media (max-width:720px){ .nav-links{gap:20px} .nav-links a.hide-sm{display:none} }
/* Below 400px the brand, one link and the pill no longer fit on one line and the
   primary action was running off the right edge. The pill is the thing that has
   to survive, so the text links step aside. */
@media (max-width:400px){
  .nav-in{gap:12px}
  .nav-links a:not(.nav-cta){display:none}
}

/* type scale */
h1,h2,h3{margin:0;letter-spacing:-.035em;line-height:1.04;text-wrap:balance}
h1{font-size:clamp(2.6rem,6.4vw,4.6rem);font-weight:800}
h2{font-size:clamp(1.85rem,3.6vw,2.7rem);font-weight:780;line-height:1.08}
h3{font-size:1.16rem;font-weight:700;letter-spacing:-.015em;line-height:1.3}
p{margin:0}
.lede{font-size:clamp(1.08rem,1.6vw,1.27rem);color:var(--ink-2);max-width:62ch;line-height:1.55}
.muted{color:var(--ink-2)}
.small{font-size:14.5px;color:var(--ink-3);line-height:1.5}

section{padding:clamp(64px,8vw,112px) 0}
.alt{background:var(--paper-2);border-block:1px solid var(--line)}

/* hero */
.hero{padding:clamp(56px,7vw,92px) 0 clamp(40px,5vw,64px)}
.hero h1{max-width:15ch}
.hero .lede{margin-top:clamp(20px,2.4vw,28px)}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:clamp(26px,3vw,36px)}

/* the framed photograph */
.frame{
  position:relative;border-radius:var(--r);overflow:hidden;background:var(--paper-2);
  border:1px solid var(--line);
}
@media (prefers-color-scheme:dark){
  .btn-primary{box-shadow:0 1px 2px rgb(0 0 0/.5),0 10px 22px -14px rgb(0 0 0/.8)}
}
.frame img{display:block;width:100%;height:100%;object-fit:cover}
.frame-wide{aspect-ratio:21/9}
.frame-4x3{aspect-ratio:4/3}
@media (max-width:760px){ .frame-wide{aspect-ratio:3/2} }
.caption{margin-top:14px;font-size:14px;color:var(--ink-3)}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 24px;border-radius:999px;border:1px solid transparent;
  font-weight:650;font-size:16px;text-decoration:none;white-space:nowrap;cursor:pointer;
  transition:background .18s var(--ease),border-color .18s var(--ease),transform .12s var(--ease),box-shadow .18s var(--ease)}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--accent);color:var(--accent-ink);box-shadow:0 1px 2px rgb(20 22 24/.10),0 10px 22px -12px rgb(20 22 24/.42)}
.btn-primary:hover{background:var(--accent-deep)}
.btn-ghost{border-color:var(--line-2);color:var(--ink)}
.btn-ghost:hover{border-color:var(--ink-3);background:color-mix(in srgb,var(--ink) 4%,transparent)}

/* split: heading left, body right, hairline between. Not a card. */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,72px);align-items:start}
@media (max-width:820px){ .split{grid-template-columns:1fr;gap:26px} }

/* rule list: hairline separated rows, generous, no boxes */
.rules{margin-top:clamp(34px,4vw,52px);border-top:1px solid var(--line);padding-top:4px}
.rule{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.45fr);gap:clamp(20px,4vw,56px);
  padding:clamp(22px,3vw,32px) 0;border-bottom:1px solid var(--line)}
.rule h3{padding-top:1px}
.rule p{color:var(--ink-2)}
@media (max-width:760px){ .rule{grid-template-columns:1fr;gap:8px} }

/* the one big number */
.figure-lead{font-size:clamp(4rem,13vw,9rem);font-weight:800;letter-spacing:-.05em;line-height:.88;
  color:var(--accent);font-variant-numeric:tabular-nums}
.figure-sub{font-size:clamp(1.1rem,2vw,1.5rem);font-weight:600;color:var(--ink);margin-top:6px;letter-spacing:-.02em}

/* closing band */
.band{background:var(--ink);color:var(--paper);border-radius:var(--r);
  padding:clamp(40px,6vw,68px) clamp(28px,5vw,60px)}
.band h2{color:var(--paper);max-width:18ch}
.band p{color:color-mix(in srgb,var(--paper) 72%,var(--ink));margin-top:14px;max-width:52ch}
.band .btn-primary{margin-top:clamp(24px,3vw,32px)}
@media (prefers-color-scheme:dark){
  .band{background:var(--paper-2);border:1px solid var(--line);color:var(--ink)}
  .band h2{color:var(--ink)}
  .band p{color:var(--ink-2)}
}

/* prose */
.prose{max-width:68ch;padding:clamp(48px,6vw,72px) 0 96px}
.prose h1{font-size:clamp(2.1rem,4.4vw,3rem)}
.prose h2{margin:44px 0 12px;font-size:1.3rem;letter-spacing:-.02em}
.prose p,.prose li{color:var(--ink-2);margin:0 0 14px}
.prose ul{padding-left:20px}
.prose strong{color:var(--ink);font-weight:650}

/* form */
.form{max-width:640px;padding:clamp(44px,5vw,64px) 0 96px}
.field{display:flex;flex-direction:column;gap:7px;margin-bottom:22px}
.field label{font-weight:650;font-size:15.5px;color:var(--ink)}
.field .help{font-size:13.5px;color:var(--ink-3)}
.field input,.field select,.field textarea{
  font:inherit;font-size:16px;color:var(--ink);background:var(--paper);
  border:1px solid var(--line-2);border-radius:var(--r-sm);padding:13px 14px;width:100%;
  transition:border-color .18s var(--ease),box-shadow .18s var(--ease)}
.field input:hover,.field textarea:hover,.field select:hover{border-color:var(--ink-3)}
.field input:focus-visible,.field textarea:focus-visible,.field select:focus-visible{
  border-color:var(--accent);outline:2px solid var(--accent);outline-offset:1px;box-shadow:none}
.field input::placeholder,.field textarea::placeholder{color:var(--ink-3)}
.consent{border:1px solid var(--line-2);border-radius:var(--r);padding:22px;background:var(--accent-wash);margin:28px 0}
.consent label{display:flex;gap:13px;align-items:flex-start;font-size:15px;color:var(--ink-2);line-height:1.55}
.consent input[type=checkbox]{margin-top:4px;width:18px;height:18px;flex:none}
.consent a{color:var(--accent);font-weight:650}

/* footer */
footer{border-top:1px solid var(--line);padding:52px 0 64px;margin-top:clamp(40px,6vw,80px)}
.foot{display:grid;grid-template-columns:2fr 1fr 1fr;gap:32px;align-items:start}
.foot a{color:var(--ink-2);text-decoration:none;font-size:15.5px;display:flex;align-items:center;
  min-height:44px;margin-bottom:2px;transition:color .18s var(--ease)}
.foot a:hover{color:var(--ink)}
@media (max-width:680px){ .foot{grid-template-columns:1fr 1fr} .foot>div:first-child{grid-column:1/-1} }

/* Motion. Everything defaults to its finished state, so with JS off or motion
   reduced the page is simply complete. Three moves, each tied to what it carries. */
@media (prefers-reduced-motion:no-preference){

  /* 1. Hero: the one authored entrance, on load */
  .rise{animation:rise .9s var(--ease) both}
  .rise-2{animation-delay:.08s}
  .rise-3{animation-delay:.18s}
  .rise-4{animation-delay:.30s}
  @keyframes rise{from{opacity:0;transform:translateY(16px);filter:blur(7px)}to{opacity:1;transform:none;filter:blur(0)}}

  /* 2. Media: settles out of a slight oversize, the way a photograph lands */
  .motion-ready .r-media{opacity:0;transform:scale(1.035);filter:blur(10px);
    transition:opacity .9s var(--ease),transform 1.1s var(--ease),filter .9s var(--ease);
    transition-delay:calc(var(--i,0) * 110ms)}
  .motion-ready .in .r-media,.motion-ready .r-media.in{opacity:1;transform:none;filter:blur(0)}

  /* 3. Structure: the hairline draws, then its row arrives. The page assembling itself. */
  .motion-ready .rules{border-top-color:transparent}
  .motion-ready .rules::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--line);
    transform:scaleX(0);transform-origin:left;transition:transform .8s var(--ease)}
  .motion-ready .rules.in::before{transform:scaleX(1)}
  .motion-ready .rule{border-bottom-color:transparent}
  .motion-ready .rule::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--line);
    transform:scaleX(0);transform-origin:left;transition:transform .7s var(--ease);
    transition-delay:calc(var(--i,0) * 90ms + 140ms)}
  .motion-ready .rules.in .rule::after{transform:scaleX(1)}
  .motion-ready .rule > *{opacity:0;transform:translateY(10px);
    transition:opacity .6s var(--ease),transform .6s var(--ease);
    transition-delay:calc(var(--i,0) * 90ms + 220ms)}
  .motion-ready .rules.in .rule > *{opacity:1;transform:none}

  /* 4. Headings and lead copy: a quiet lift, no blur, so text stays crisp */
  .motion-ready .r-up{opacity:0;transform:translateY(14px);
    transition:opacity .7s var(--ease),transform .7s var(--ease);
    transition-delay:calc(var(--i,0) * 70ms)}
  .motion-ready .r-up.in{opacity:1;transform:none}

  /* 5. The closing band arrives as one solid object */
  .motion-ready .r-block{opacity:0;transform:translateY(20px) scale(.985);
    transition:opacity .8s var(--ease),transform .9s var(--ease)}
  .motion-ready .r-block.in{opacity:1;transform:none}
}
.rules{position:relative}
.rule{position:relative}

/* montage: one tall, two stacked. Deliberately unequal so it reads as one image, not three stock buys. */
.montage{display:grid;grid-template-columns:1.15fr 1fr;grid-template-rows:1fr 1fr;gap:12px;aspect-ratio:16/10}
/* the grid owns the heights, so frames fill their cell rather than imposing their own ratio */
.montage .frame{margin:0;height:100%;aspect-ratio:auto}
.montage .frame:first-child{grid-row:1 / span 2}
@media (max-width:760px){
  .montage{grid-template-columns:1fr 1fr;grid-template-rows:auto 1fr;aspect-ratio:auto}
  .montage .frame:first-child{grid-row:1;grid-column:1 / -1;aspect-ratio:16/10;height:auto}
  .montage .frame:not(:first-child){aspect-ratio:4/3;height:auto}
}

/* asset pending: deliberate, not a broken image */
.frame-empty{
  position:absolute;inset:0;display:grid;place-items:center;padding:28px;text-align:center;
  background:
    linear-gradient(180deg,color-mix(in srgb,var(--accent) 7%,var(--paper-2)),var(--paper-2));
}
.frame-empty p{font-weight:700;letter-spacing:-.02em;color:var(--ink-2);font-size:15px}
.frame-empty span{display:block;font-weight:400;color:var(--ink-3);font-size:13.5px;margin-top:7px;max-width:42ch;line-height:1.5}

/* form error, shown only when the endpoint redirects back with a reason */
.formerror{
  border:1px solid var(--accent);
  border-radius:var(--r-sm);background:var(--accent-wash);
  padding:15px 17px;margin:0 0 26px;font-size:15.5px;color:var(--ink);line-height:1.5
}

/* keyboard: reach the content without tabbing the whole nav */
.skip{position:absolute;left:-9999px;top:0;z-index:100}
.skip:focus{left:12px;top:12px;width:auto;padding:12px 18px;border-radius:var(--r-sm);
  background:var(--accent);color:var(--accent-ink);font-weight:650;text-decoration:none}

/* ============================================================
   The week. 24 hours across, 7 days down, 168 cells.
   The 40 lit ones are Monday to Friday, nine to five. Exactly.
   The dark field around them is the product.
   ============================================================ */
/* No mask here. The grid states a number the visitor can count, so fading the
   first row makes the picture say 32 while the legend says 40. */
.gridwrap{position:relative;margin-top:clamp(28px,3.6vw,44px);padding-bottom:58px}
/* The week grid breaks out of the text column entirely and runs the full width
   of the window. It is the signature element, and 112% was a bleed small enough
   to miss. clip rather than hidden on the body, because hidden would kill the
   sticky nav. */
.gridwrap:has(.week){width:auto;margin-inline:calc(50% - 50vw + 22px)}
@media (max-width:560px){ .gridwrap:has(.week){margin-inline:calc(50% - 50vw + 12px)} }
.week,.day{display:grid;grid-template-columns:repeat(24,1fr);gap:min(.62vw,8px)}
.day{max-width:860px}
.week i,.day i{display:block;aspect-ratio:1;border-radius:3px;background:var(--line)}
.week i.on,.day i.on{background:var(--accent)}

.hero-week{padding:clamp(40px,5vw,68px) 0 clamp(44px,6vw,80px)}
.hero-week h1{font-size:clamp(2.7rem,8.6vw,7rem);font-weight:800;letter-spacing:-.05em;
  line-height:.95;max-width:12ch}
.figure-huge{font-size:clamp(5.5rem,19vw,17rem);font-weight:800;letter-spacing:-.07em;line-height:.8;
  color:var(--accent);margin-top:.04em;margin-left:-.055em;display:block}
.hero-week .sub{font-size:clamp(1.08rem,2vw,1.42rem);color:var(--ink-2);max-width:36ch;
  margin-top:clamp(20px,2.6vw,30px);line-height:1.45}
.weekkey{display:flex;gap:14px 34px;margin-top:24px;font-size:15px;color:var(--ink-2);flex-wrap:wrap;line-height:1.45}
.weekkey b{color:var(--ink);font-weight:700}
.weekkey .sw{display:inline-block;width:11px;height:11px;border-radius:2px;vertical-align:-1px;margin-right:7px}

@media (prefers-reduced-motion:no-preference){
  /* the authored moment: the grid arrives dark, then the covered hours light up.
     The argument happening, rather than decoration. */
  .motion-ready .week i,.motion-ready .day i{opacity:0;transition:opacity .5s var(--ease)}
  .motion-ready .week.in i,.motion-ready .day.in i{opacity:1;transition-delay:calc(var(--n,0) * 3.2ms)}
  .motion-ready .week i.on,.motion-ready .day i.on{background:var(--line)}
  .motion-ready .week.in i.on,.motion-ready .day.in i.on{background:var(--accent);
    transition:opacity .5s var(--ease),background .55s var(--ease);
    transition-delay:calc(var(--n,0) * 3.2ms), calc(620ms + var(--k,0) * 9ms)}
}

/* The footer sits directly under the CTA band, so a second filled pill here was
   boldness spent twice. A weighted link reads as the same invitation, quietly. */
.foot-cta{color:var(--accent);font-weight:650}

/* A call landing in an hour nobody covers. Ink, never the accent: teal means
   somebody was there, and these are the opposite of that. */
/* A call that landed when nobody could pick up. Scroll scrubs these on and off,
   so they fade rather than snap, and the cell returns to its unlit state. */
.week i.miss,.day i.miss{background:var(--ink);transform:scale(1)}
.week i,.day i{transition:background .34s var(--ease),transform .34s var(--ease)}
.week i:not(.on):not(.miss),.day i:not(.on):not(.miss){transform:scale(1)}
.week i.miss,.day i.miss{animation:missIn .42s var(--ease)}
@keyframes missIn{from{transform:scale(.4)}to{transform:scale(1)}}
.missbub{
  position:absolute;z-index:2;pointer-events:none;
  opacity:0;transition:opacity .26s var(--ease);
  /* No transition on left/top. These are three separate notifications, not
     one card touring the grid, and gliding made it cross the lit block. */
  display:flex;gap:11px;align-items:flex-start;max-width:min(330px,88%);
  background:var(--ink);color:var(--paper);border-radius:12px;
  padding:11px 14px 12px;line-height:1.3;
  box-shadow:0 2px 3px rgb(0 0 0/.18),0 10px 20px -12px rgb(0 0 0/.5)
}
.missbub.is-on{opacity:1;animation:bubIn .34s var(--ease)}
@keyframes bubIn{from{opacity:0;transform:translateY(5px) scale(.97)}to{opacity:1;transform:none}}
/* An avatar slot. Initials today; drop an <img> in the day there are licensed
   photographs, and the dashed ring is the caller there will never be one for. */
.missbub .av{
  flex:0 0 auto;width:34px;height:34px;border-radius:50%;
  display:grid;place-items:center;font-size:12.5px;font-weight:700;letter-spacing:.01em;
  background:color-mix(in srgb,var(--paper) 17%,transparent);color:var(--paper)
}
.missbub .av.is-unknown{
  background:none;border:1.5px dashed color-mix(in srgb,var(--paper) 40%,transparent);
  color:color-mix(in srgb,var(--paper) 62%,transparent);font-size:15px
}
.missbub .who{display:block;min-width:0}
.missbub b{display:block;font-size:14px;font-weight:700;letter-spacing:-.01em}
.missbub em{display:block;font-style:normal;font-size:12px;opacity:.62;margin-top:1px}
.missbub i{display:block;font-style:normal;font-size:12.5px;opacity:.88;margin-top:6px;
  white-space:normal;max-width:30ch}
.missbub::after{
  content:"";position:absolute;bottom:100%;left:var(--tip,16px);transform:translateX(-50%);
  border:6px solid transparent;border-bottom-color:var(--ink);border-top:0
}
.missbub.is-above::after{bottom:auto;top:100%;border-bottom:0;border-top:6px solid var(--ink)}
/* Beside the cell: the pointer moves to the card's edge and aims sideways. */
.missbub.is-side::after{
  bottom:auto;left:auto;right:100%;top:var(--tip-y,20px);transform:translateY(-50%);
  border:6px solid transparent;border-right-color:var(--ink);border-left:0
}
.missbub.is-side.is-left::after{
  right:auto;left:100%;
  border:6px solid transparent;border-left-color:var(--ink);border-right:0
}

/* The day strip is the week grid at one row's zoom, so it can afford the hour
   labels the 168-cell version cannot. */
.daykey{display:grid;grid-template-columns:repeat(24,1fr);gap:min(.62vw,8px);max-width:860px;
  margin-top:10px;font-size:12.5px;color:var(--ink-3);font-variant-numeric:tabular-nums}
.daykey span{white-space:nowrap}
.daykey span:nth-child(1){grid-column:1/span 3}
.daykey span:nth-child(2){grid-column:10/span 3}
.daykey span:nth-child(3){grid-column:18/span 3}
.daykey span:nth-child(4){grid-column:22/span 3;text-align:right}
/* The day strip's bubble sits above the row, so the wrap reserves the height
   rather than letting it land on the heading. */
.gridwrap:has(.day){padding-top:62px;padding-bottom:0}

/* The pin. Without JS, or with Reduce Motion, the track has no extra height and
   the stage never sticks: the grid is simply part of the page, which is the
   state everything else here degrades to as well. */
.pin-track{position:relative}
.pin-stage > .wrap{width:100%}
/* The stage is exactly as tall as the grid and its legend. Making it a full
   viewport and centring the content inside manufactured a gap above it and
   another below, which is space that says nothing. Its height and its sticky
   offset are both set in JS, because neither can be expressed in CSS without
   knowing how tall the grid renders. */
@media (min-width:760px){ .motion-ready .pin-stage{position:sticky} }
.weekkey{margin-top:clamp(18px,2.4vw,26px)}

/* Phone: the card is wider than the grid is tall, so it sits under the grid in
   flow rather than covering the thing it is pointing at. */
.gridwrap.has-flowcard{padding-bottom:0}
.missbub.is-flow{
  position:static;max-width:none;width:100%;margin-top:14px;
  animation:none
}
.missbub.is-flow::after{display:none}

/* A call that landed inside the hours somebody is meant to be free. The cell
   keeps its accent so the 40 stays countable -- turning it solid would make the
   block read as 38 -- and carries the same ink mark as the others, smaller. */
.week i.on.miss,.day i.on.miss,
.motion-ready .week.in i.on.miss,.motion-ready .day.in i.on.miss{
  background:radial-gradient(circle at 50% 50%,var(--ink) 0 33%,var(--accent) 34%)
}

/* The reverse: the same week once something is answering. Every hour fills in,
   left to right and top to bottom, and the missed calls stop existing. */
/* A split-flap board. Each square turns on its own offset rather than sweeping
   left to right, and flips as it turns -- which is the native motion of a
   timetable, and this grid is one. The colour changes while the flap is edge-on,
   so you never see it cross-fade. */
.week.covered i,
.motion-ready .week.covered.in i,
.motion-ready .week.covered.in i.on,
.motion-ready .week.covered.in i.miss,
.motion-ready .week.covered.in i.on.miss{
  background:var(--accent);
  transition:background .01s linear;
  transition-delay:calc(var(--d,0ms) + var(--fd,340ms) * 0.44)
}
@media (prefers-reduced-motion:no-preference){
  .motion-ready .week.covered.in i{
    animation:flap var(--fd,340ms) var(--ease) both;
    animation-delay:var(--d,0ms)
  }
}
@keyframes flap{
  0%{transform:scaleY(1)}
  44%{transform:scaleY(.08)}
  100%{transform:scaleY(1)}
}
/* The payoff statement. Display size, because it is the answer to the question
   the headline asked, not a footnote to a chart. The mark is the attribution:
   the grid did not fill itself. */
/* The measure belongs on the sentence, not the container: the result sheet
   wants the grid's full width so four calls sit on one line. */
.weekdone{display:none;margin-top:clamp(18px,2.4vw,26px)}
.gridwrap.is-covered ~ .weekkey{display:none}
.gridwrap.show-done ~ .weekdone{display:block;animation:none}
.gridwrap.is-covered ~ .weekdone{display:block;animation:doneIn .5s var(--ease) both}
@keyframes doneIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.done-mark{display:inline-block;vertical-align:-.14em;margin-right:.42em;color:var(--accent)}
.done-mark .brandmark{height:clamp(22px,2.6vw,34px);width:auto}
.done-lead{display:inline;max-width:52ch;font-size:clamp(1.55rem,3.2vw,2.5rem);font-weight:800;
  letter-spacing:-.035em;line-height:1.1;color:var(--ink)}
.done-sub{margin-top:clamp(12px,1.6vw,18px);font-size:clamp(1rem,1.5vw,1.16rem);
  color:var(--ink-2);line-height:1.5;max-width:46ch}
@media (max-width:560px){ .weekdone{max-width:none} }

/* The same caller, answered. Ink on the now-accent field so it still reads as a
   notification, with the status line carrying the whole difference. */
.missbub.is-answered em{color:var(--accent-on-ink);opacity:1;font-weight:650}

/* An example call, in the same hairline grammar as every other list here --
   speaker left, line right, a rule between. No bubbles: this is a transcript,
   not a chat app. */
.transcript{margin-top:clamp(30px,3.6vw,46px);border-top:1px solid var(--line)}
.tr{display:grid;grid-template-columns:minmax(0,118px) minmax(0,1fr);
  gap:clamp(16px,3vw,34px);padding:clamp(13px,1.6vw,17px) 0;border-bottom:1px solid var(--line)}
.tr .who{font-size:13.5px;font-weight:700;color:var(--ink-2);padding-top:2px;letter-spacing:-.01em}
.tr p{color:var(--ink);line-height:1.5;max-width:56ch}
.tr-us .who{color:var(--accent)}
.tr-us p{color:var(--ink-2)}
.tr-meta{background:var(--paper)}
.tr-meta .who{color:var(--ink-3);font-variant-numeric:tabular-nums}
.tr-meta p{color:var(--ink-3);font-size:15px}
.tr-meta b{color:var(--ink);font-weight:650}
@media (max-width:620px){
  .tr{grid-template-columns:1fr;gap:5px}
  .tr .who{padding-top:0}
}

/* Tabs in the same hairline grammar: a rule under the row, the active one
   marked by a heavier rule rather than a pill. */
.tablist{display:flex;gap:clamp(18px,3vw,32px);border-bottom:1px solid var(--line);
  margin-top:clamp(26px,3vw,34px)}
.tablist button{appearance:none;background:none;border:0;cursor:pointer;
  font:inherit;font-size:15.5px;font-weight:650;letter-spacing:-.01em;
  color:var(--ink-2);padding:0 2px 11px;margin-bottom:-1px;
  border-bottom:2px solid transparent;min-height:44px;
  transition:color .18s var(--ease),border-color .18s var(--ease)}
.tablist button:hover{color:var(--ink)}
.tablist button[aria-selected="true"]{color:var(--ink);border-bottom-color:var(--accent)}
.tabs .transcript{margin-top:clamp(22px,2.6vw,30px)}
.panel-note{margin-top:clamp(22px,2.6vw,30px);color:var(--ink-2);max-width:54ch;line-height:1.5}
/* Only needed when the tablist is absent, i.e. no JS. */
.panel-label{font-size:15.5px;font-weight:700;color:var(--ink);
  margin-top:clamp(26px,3vw,34px)}
.tabs.is-live .panel-label{display:none}
[role="tabpanel"]:focus-visible{outline:2px solid var(--accent);outline-offset:6px;border-radius:var(--r-sm)}

/* A message thread, in the one place bubbles are the honest drawing of a thing
   rather than decoration: this is a text message, and everyone reads that shape
   without being taught it. Kept to a phone's measure so it reads as a phone. */
.thread{max-width:440px;margin-top:clamp(30px,3.6vw,44px)}
.thread-day{font-size:13.5px;font-weight:650;color:var(--ink-2);text-align:center;
  margin-bottom:16px;font-variant-numeric:tabular-nums}
.msg{max-width:84%;width:fit-content;padding:11px 15px;margin-bottom:9px;
  font-size:15.5px;line-height:1.45;border-radius:17px}
.msg-in{background:var(--ink);color:var(--paper);border-bottom-left-radius:5px;margin-right:auto}
.msg-out{background:var(--accent);color:var(--accent-ink);border-bottom-right-radius:5px;
  margin-left:auto}
.msg-meta{display:inline-block;margin-top:7px;font-size:13.5px;opacity:.68}
.msg-photo{display:block;width:clamp(180px,46vw,232px);aspect-ratio:4/3;border-radius:9px;
  background:color-mix(in srgb,var(--accent-ink) 16%,transparent);
  border:1px dashed color-mix(in srgb,var(--accent-ink) 42%,transparent)}
.msg-photo-cap{display:block;margin-top:8px;font-size:13px;opacity:.82;max-width:232px}

/* The objection a restaurant raises before anything else, answered where they
   are already looking rather than in a FAQ nobody opens. */
.qa{margin-top:clamp(26px,3vw,34px);border-top:1px solid var(--line);padding-top:clamp(20px,2.4vw,26px)}
.qa-q{font-size:clamp(1.08rem,1.8vw,1.28rem);font-weight:700;letter-spacing:-.02em;color:var(--ink)}
.qa-a{margin-top:9px;color:var(--ink-2);max-width:58ch;line-height:1.55}

/* The tagline decodes the name: 40 and 128 are the two halves of 168, and the
   mark in front of it is the other half of the joke. */
.tagline{font-size:clamp(1.02rem,1.5vw,1.2rem);font-weight:700;letter-spacing:-.022em;
  line-height:1.3;color:var(--ink);margin:14px 0 16px}
.brand-foot{margin-bottom:4px}

/* A note from Kurt. A rounded square rather than a circle, because the source
   photograph has no headroom and a circle clips the top of his head. */
.note{display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(18px,3vw,34px);
  align-items:start;max-width:62ch}
.note-face{display:block}
.note-face img{display:block;width:clamp(72px,9vw,104px);height:auto;border-radius:14px;
  border:1px solid var(--line)}
.note-body p{color:var(--ink-2);line-height:1.6;max-width:54ch}
.note-body p + p{margin-top:clamp(13px,1.5vw,17px)}
.note-sign{margin-top:clamp(20px,2.4vw,26px);line-height:1.5}
.note-sign b{color:var(--ink);font-weight:700}
.note-sign a{color:var(--accent);text-decoration:none;font-weight:600}
.note-sign a:hover{text-decoration:underline}
.note-sign span{color:var(--ink-2);font-size:14.5px}
@media (max-width:620px){
  .note{grid-template-columns:1fr;gap:16px}
}


/* Five answered calls, sitting on the hours they came in on. They arrive after
   the board has finished turning, which is why the delay starts past the last
   flap rather than with it. */
.pops{position:absolute;inset:0;pointer-events:none}
.pop{position:absolute;background:var(--ink);color:var(--paper);
  border-radius:11px;padding:8px 12px 9px;line-height:1.25;white-space:nowrap;
  box-shadow:0 2px 3px rgb(0 0 0/.2),0 10px 22px -12px rgb(0 0 0/.55);
  opacity:0;transform:translateY(5px) scale(.97)}
.pop b{display:block;font-size:13.5px;font-weight:700;letter-spacing:-.01em}
.pop em{display:block;font-style:normal;font-size:12px;color:var(--accent-on-ink);
  font-weight:650;margin-top:1px}
.pop.is-spam em{color:color-mix(in srgb,var(--paper) 62%,transparent)}
.gridwrap.is-covered .pop,.gridwrap.show-done .pop{opacity:1;transform:none}
@media (prefers-reduced-motion:no-preference){
  .motion-ready .gridwrap.is-covered .pop{
    transition:opacity .34s var(--ease),transform .34s var(--ease);
    transition-delay:calc(1500ms + var(--r,0) * 150ms)}
}
/* Stacked, the list is in flow, so hiding it with opacity alone would reserve
   its height through the whole problem phase. It is not there until it is. */
.pops.is-stacked{display:none}
.gridwrap.is-covered .pops.is-stacked,
.gridwrap.show-done .pops.is-stacked{position:static;display:grid;gap:7px;
  margin-top:14px;justify-items:start}
.pops.is-stacked .pop{position:static}
@media (max-width:620px){
  .pop{padding:7px 11px 8px;border-radius:9px;white-space:normal}
  .pop b{font-size:12.5px}
  .pop em{font-size:11px}
}
