/* ============================================================
   techtice — direction 55 (sowieso wero warm pop-brand)
   Every value below is from design.md ## Active card.
   No colour, size or radius may appear here that is not on the card.
   ============================================================ */

:root{
  --ink:#1D1C1C;
  --ink-alt:#141414;
  --paper:#FFFFFF;
  --pink:#FF638B;
  --pink-hot:#FF5A8A;
  --peach:#FFC28C;
  --yellow:#FFF48D;

  --edge:1px solid var(--ink);
  --hard:0 6px 0 0 var(--ink);
  --pill:40px;
  --inset:clamp(18px,4vw,68.9px);
}

*,*::before,*::after{box-sizing:border-box}

html{-webkit-text-size-adjust:100%}

body{
  margin:0;
  color:var(--ink);
  font-family:Figtree,system-ui,sans-serif;
  font-weight:500;
  font-size:18.76px;
  line-height:25.32px;
  background:var(--pink);
  overflow-x:clip;
}

/* ---------- ground: one fixed gradient field, warms across the page ---------- */

.ground{
  position:fixed;inset:0;z-index:0;
  background:linear-gradient(112deg,
    var(--pink-hot) 0%,
    var(--pink) 26%,
    var(--peach) 62%,
    var(--yellow) 100%);
  pointer-events:none;
}

/* warmth is an opacity crossfade, never a repaint: animating background-position
   on a full-screen fixed gradient cost 33.5ms/frame median here (16.7 baseline). */
.warm{
  position:fixed;inset:0;z-index:0;
  background:linear-gradient(112deg,var(--peach) 0%,#FFE08C 46%,var(--yellow) 100%);
  opacity:0;will-change:opacity;
  pointer-events:none;
}

.ground::after,.warm::after{
  content:"";position:absolute;inset:0;
  background:url(grain.png) repeat;
  background-size:180px 180px;
  opacity:.18;
}

main{position:relative;z-index:2}

/* ---------- type ---------- */

h1,h2,h3,p{margin:0}

h1{
  font-weight:800;
  font-size:clamp(46px,10.76vw,155px);
  line-height:.85;
  letter-spacing:-.0237em;
  text-transform:uppercase;
}

h2{
  font-weight:800;
  font-size:clamp(31px,3.5vw,50.37px);
  line-height:.85;
  letter-spacing:-.028em;
  text-transform:uppercase;
}

.support{max-width:44ch;font-size:18.76px;line-height:25.32px}

.kicker{
  font-size:18px;line-height:23.4px;
  text-transform:uppercase;letter-spacing:.02em;
  margin-bottom:clamp(14px,2vw,24px);
}

/* ---------- top bar ---------- */

.topbar{
  position:fixed;top:0;left:0;right:0;z-index:20;
  display:flex;align-items:center;justify-content:space-between;
  padding:18px var(--inset);
  pointer-events:none;
}
.topbar > *{pointer-events:auto}
.brand{
  font-weight:800;
  font-size:clamp(24px,2.1vw,32px);
  line-height:1;
  letter-spacing:-.02em;
  text-decoration:none;color:var(--ink);
}

/* ---------- floor pill navigation ---------- */

.dock{
  position:fixed;bottom:clamp(14px,2.4vw,26px);left:50%;z-index:30;
  transform:translateX(-50%);
  display:flex;align-items:center;gap:4px;
  padding:8px;
  background:var(--paper);
  border:var(--edge);
  border-radius:var(--pill);
  box-shadow:var(--hard);
  max-width:calc(100vw - 24px);
}
.dock a{
  display:block;
  padding:9px 16px;
  font-size:18px;line-height:23.4px;
  color:var(--ink);text-decoration:none;
  border-radius:var(--pill);
  white-space:nowrap;
  transition:background .18s linear,color .18s linear;
}
.dock a:hover{background:var(--yellow)}
.dock a.cta{
  background:var(--ink);color:var(--paper);
  padding:9px 20px;font-weight:800;
}
.dock a.cta:hover{background:var(--ink-alt)}

/* header + nav invert while the ink flood owns the screen */
.brand{transition:color .25s linear}
.dock{transition:background .25s linear,border-color .25s linear,box-shadow .25s linear}
body.on-dark .brand{color:var(--paper)}
body.on-dark .dock{background:var(--ink-alt);border-color:var(--paper);box-shadow:0 6px 0 0 var(--paper)}
body.on-dark .dock a{color:var(--paper)}
body.on-dark .dock a:hover{background:var(--paper);color:var(--ink)}
body.on-dark .dock a.cta{background:var(--paper);color:var(--ink-alt)}

/* ---------- act scaffolding ---------- */

.act{position:relative}
.act[style*="--h"]{height:calc(var(--h) * 1vh)}

.stage{
  position:sticky;top:0;
  height:100vh;
  display:grid;
  place-items:center;
  overflow:clip;
  padding:clamp(66px,8vw,88px) var(--inset) clamp(96px,11vw,116px);
}

.act-head{
  position:relative;z-index:3;
  width:100%;max-width:1120px;
  text-align:center;
  pointer-events:none;
}
.act-head.left{text-align:left;max-width:760px}
.act-head .support{margin-top:clamp(18px,2.4vw,30px)}
.act-head.left .support{margin-left:0}
.act-head:not(.left) .support{margin-inline:auto}

/* ---------- ACT 0 hero ---------- */

.hero-act{height:100vh}
.hero{
  position:relative;z-index:3;
  width:100%;
  height:100%;
  display:flex;flex-direction:column;justify-content:center;
}
.hero-main{
  display:flex;flex-direction:column;align-items:flex-start;
  gap:clamp(18px,3vw,34px);
  min-width:0;
}
.hero h1{flex:0 0 auto}

.hero-foot{
  position:absolute;left:0;right:0;bottom:0;
  display:flex;align-items:flex-end;justify-content:space-between;gap:32px;
}
.hero-foot .support{max-width:44ch}

.btn{
  display:inline-block;
  padding:18px 38px;
  background:var(--ink);color:var(--paper);
  border:var(--edge);border-radius:var(--pill);
  box-shadow:var(--hard);
  font-size:18px;line-height:23.4px;font-weight:800;
  text-transform:uppercase;letter-spacing:.01em;text-decoration:none;
  transition:transform .16s cubic-bezier(.22,1,.36,1),box-shadow .16s linear,background .16s linear;
}
.btn:hover{transform:translateY(-3px);box-shadow:0 9px 0 0 var(--ink);background:var(--yellow);color:var(--ink)}
.btn.big{padding:22px 46px;font-size:18.76px}

.chip{
  padding:10px 16px;
  background:var(--paper);
  border:var(--edge);
  box-shadow:var(--hard);
  font-size:18px;line-height:23.4px;
  text-transform:uppercase;letter-spacing:.02em;
  white-space:nowrap;
}

/* ---------- ACT 1 field: scatter -> shortlist ---------- */

.field{
  position:relative;z-index:2;
  width:min(980px,88vw);
  height:min(452px,46vh);
  flex:0 0 auto;
  padding:1px;
}

#sort .stage,#send .stage{
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  gap:clamp(22px,3vw,36px);
}

.field .cell{
  position:absolute;
  border:var(--edge);
  background:var(--paper);
  margin-left:-1px;margin-top:-1px;
  display:flex;align-items:flex-start;justify-content:space-between;
  padding:8px 10px;
  font-size:18px;line-height:23.4px;
  overflow:hidden;
  will-change:transform;
}
.field .cell .n{opacity:.55}
.field .cell.on{background:var(--pink)}
.field .cell.on .n{opacity:1}

.field .cell{box-shadow:none}
.field .cell span{text-transform:uppercase;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}

/* ---------- ACT 2 lanes ---------- */

.lanes{
  position:relative;z-index:2;
  width:100%;height:min(400px,44vh);flex:0 0 auto;
  pointer-events:none;
}
.msg{
  position:absolute;left:0;top:0;
  width:clamp(220px,22vw,300px);
  padding:14px 16px;
  background:var(--paper);
  border:var(--edge);
  box-shadow:var(--hard);
  will-change:transform;
}
.msg .who{font-weight:800;font-size:18px;line-height:23.4px;text-transform:uppercase}
.msg .why{font-size:18px;line-height:23.4px;opacity:.7;margin-top:2px}
.msg.sent{background:var(--yellow)}

/* ---------- ACT 3 flood ---------- */

.flood-act{height:240vh}
.flood-act .stage{place-items:center}
.flood{
  position:absolute;inset:0;z-index:2;
  background:var(--ink-alt);
  transform:scaleY(0);transform-origin:50% 50%;
  will-change:transform;
}
.takeover{
  position:relative;z-index:3;
  display:flex;flex-direction:column;align-items:center;
  text-align:center;
  color:var(--paper);
  font-weight:800;
  font-size:clamp(40px,10.4vw,150px);
  line-height:.85;
  letter-spacing:-.0237em;
  text-transform:uppercase;
  will-change:transform;
}
.takeover .t-line{display:block;white-space:nowrap}
.flood-note{
  position:absolute;z-index:3;bottom:14%;
  color:var(--paper);opacity:0;
  font-size:18.76px;line-height:25.32px;
  text-align:center;max-width:38ch;
}

/* ---------- ACT 4 the week ---------- */

.week-wrap{
  position:relative;z-index:3;
  width:100%;max-width:1140px;
  display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:clamp(24px,4vw,56px);align-items:center;
}
.week-head h2{margin-top:6px}

.plate{
  background:var(--paper);
  border:var(--edge);
  box-shadow:var(--hard);
  padding:0;
}
.plate-top,.plate-foot{
  display:flex;justify-content:space-between;gap:12px;
  padding:12px 16px;
  font-size:18px;line-height:23.4px;text-transform:uppercase;letter-spacing:.02em;
  border-bottom:var(--edge);
}
.plate-foot{border-bottom:0;border-top:var(--edge);opacity:.55}

.grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  grid-auto-rows:1fr;
}
.day{
  position:relative;
  border-right:var(--edge);border-bottom:var(--edge);
  padding:8px 10px;
  min-height:clamp(52px,7.4vh,74px);
  display:flex;flex-direction:column;justify-content:space-between;
  background:var(--paper);
  transition:background .2s linear;
  cursor:default;
}
.day:nth-child(5n){border-right:0}
.day:nth-last-child(-n+5){border-bottom:0}
.day .d{font-size:18px;line-height:23.4px;opacity:.5}
.day .s{font-size:18px;line-height:23.4px;opacity:.5}
.day .mark{
  width:14px;height:14px;border:var(--edge);
  opacity:0;transform:scale(.4);
  transition:opacity .2s linear,transform .2s cubic-bezier(.22,1,.36,1);
  align-self:flex-start;
}
.day.booked{background:var(--pink)}
.day.booked .d,.day.booked .s{opacity:1}
.day.booked .mark{opacity:1;transform:scale(1);background:var(--ink)}
.day:hover{background:var(--yellow)}

.pop{
  position:absolute;z-index:20;
  width:250px;padding:12px 14px;
  background:var(--paper);
  border:var(--edge);
  box-shadow:var(--hard);
  pointer-events:none;
  opacity:0;transform:translateY(6px);
  transition:opacity .16s linear,transform .16s cubic-bezier(.22,1,.36,1);
}
.pop.show{opacity:1;transform:translateY(0)}
.pop .co{font-weight:800;font-size:18px;line-height:23.4px;text-transform:uppercase}
.pop .ro,.pop .sl{font-size:18px;line-height:23.4px;opacity:.7}

/* ---------- ACT 5 sources ---------- */

.tiles{
  position:relative;z-index:2;
  width:100%;max-width:1180px;
  margin-top:clamp(26px,4vw,46px);
  display:grid;grid-template-columns:repeat(7,1fr);
  border:var(--edge);
  background:var(--paper);
}
.tile{
  border-right:var(--edge);border-bottom:var(--edge);
  padding:16px 14px 18px;
  min-height:132px;
  display:flex;flex-direction:column;justify-content:space-between;
  background:var(--paper);
  transition:background .18s linear;
}
.tile:nth-child(7n){border-right:0}
.tile:nth-last-child(-n+7){border-bottom:0}
.tile:hover{background:var(--yellow)}
.tile .idx{font-size:18px;line-height:23.4px;opacity:.45}
.tile .nm{font-weight:800;font-size:18px;line-height:23.4px;text-transform:uppercase;margin-top:auto}
.tile .chk{font-size:18px;line-height:23.4px;opacity:.6}

/* ---------- ACT 6 faq ---------- */

.faq-wrap{
  position:relative;z-index:3;
  width:100%;max-width:1140px;
  display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  gap:clamp(24px,4vw,56px);align-items:start;
}
.faq{display:flex;flex-direction:column}
.qa{border:var(--edge);border-bottom:0;background:var(--paper)}
.qa:last-child{border-bottom:var(--edge)}
.qa button{
  width:100%;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:20px 22px;
  background:none;border:0;
  font-family:inherit;font-weight:800;
  font-size:18.76px;line-height:25.32px;
  color:var(--ink);text-align:left;cursor:pointer;
}
.qa button:hover{background:var(--yellow)}
.qa i{
  position:relative;flex:0 0 auto;
  width:22px;height:22px;
  border:var(--edge);border-radius:50%;
}
.qa i::before,.qa i::after{
  content:"";position:absolute;left:50%;top:50%;
  background:var(--ink);transform:translate(-50%,-50%);
}
.qa i::before{width:10px;height:1px}
.qa i::after{width:1px;height:10px;transition:transform .2s cubic-bezier(.22,1,.36,1)}
.qa[open-state="1"] i::after{transform:translate(-50%,-50%) scaleY(0)}
.answer{overflow:hidden;max-height:0;transition:max-height .3s cubic-bezier(.22,1,.36,1)}
.answer p{padding:0 22px 22px;max-width:52ch;opacity:.78}

/* ---------- ACT 7 close ---------- */

.close{
  position:relative;z-index:3;
  width:100%;height:100%;
  display:flex;flex-direction:column;justify-content:flex-end;
  gap:clamp(16px,2.4vw,26px);
}
.close-line{
  font-size:clamp(40px,9vw,132px);
  line-height:.85;letter-spacing:-.0237em;
}
.close .btn{margin-top:clamp(4px,1.4vw,12px);align-self:flex-start}
.contact{display:flex;gap:12px;margin-top:2px}
.ic{
  display:grid;place-items:center;
  width:52px;height:52px;
  background:var(--paper);border:var(--edge);border-radius:50%;
  box-shadow:var(--hard);
  transition:background .18s linear,transform .18s cubic-bezier(.22,1,.36,1);
}
.ic:hover{background:var(--yellow);transform:translateY(-3px)}
.ic svg{width:22px;height:22px;fill:var(--ink)}

.wordmark{
  font-weight:800;
  font-size:clamp(52px,17.2vw,248px);
  line-height:.78;letter-spacing:-.03em;
  color:transparent;
  -webkit-text-stroke:1px var(--ink);
  white-space:nowrap;
  margin-bottom:-.04em;
  pointer-events:none;
}
.legal{
  display:flex;justify-content:space-between;gap:16px;
  font-size:18px;line-height:23.4px;text-transform:uppercase;letter-spacing:.03em;
}

/* ---------- reveal (non-scrub sections) ---------- */

.rv{opacity:0;transform:translateY(26px)}

/* ---------- responsive ---------- */

@media (max-width:980px){
  .week-wrap,.faq-wrap{grid-template-columns:1fr;gap:28px;align-items:start}
  .tiles{grid-template-columns:repeat(4,1fr)}
  .tile:nth-child(7n){border-right:var(--edge)}
  .tile:nth-child(4n){border-right:0}
  .tile:nth-last-child(-n+7){border-bottom:var(--edge)}
  .tile:nth-last-child(-n+2){border-bottom:0}
  .hero-foot{position:static;flex-direction:column;align-items:flex-start;gap:22px}
  .hero{justify-content:space-between;padding-block:6px 0}
  .wordmark{bottom:clamp(88px,16vw,110px)}
}

@media (max-width:720px){
  :root{--inset:18px}
  body{font-size:18px;line-height:24px}
  .support{font-size:18px;line-height:24px}
  .chip{display:none}
  .topbar{justify-content:flex-start}
  .dock{gap:0;padding:4px;bottom:12px}
  .dock a{padding:9px 11px;font-size:14px}
  .dock a[data-goto="faq"]{display:none}
  .dock a.cta{padding:9px 14px;font-size:14px}
  .stage{padding:64px var(--inset) 74px}
  .field{width:94vw;height:52vh}
  .cell{font-size:15px;padding:5px 6px}
  .tiles{grid-template-columns:repeat(2,1fr)}
  .tile:nth-child(4n){border-right:var(--edge)}
  .tile:nth-child(2n){border-right:0}
  .tile:nth-last-child(-n+2){border-bottom:0}
  .tile{min-height:112px;padding:12px 12px 14px}
  .tile .nm,.tile .chk,.tile .idx{font-size:15px;line-height:20px}
  .day{min-height:50px;padding:6px 7px}
  .day .d,.day .s{font-size:13px;line-height:17px}
  .day .mark{width:10px;height:10px}
  .plate-top,.plate-foot{font-size:14px;line-height:19px;padding:8px 10px}
  .plate-top span:nth-child(2){display:none}
  .qa button{font-size:18px;line-height:24px;padding:16px 16px;gap:14px}
  .answer p{padding:0 16px 18px}
  .msg{width:200px;padding:10px 12px}
  .msg .who,.msg .why{font-size:15px;line-height:20px}
  .close-line{font-size:clamp(38px,12vw,64px)}
  .contact{margin-top:16px}
  .ic{width:46px;height:46px}
  .legal{font-size:14px;line-height:19px;bottom:-6px}
  .wordmark{bottom:74px}
}

/* ---------- reduced motion: no sticky, no scrub, all readable ---------- */

@media (prefers-reduced-motion:reduce){
  .act[style*="--h"]{height:auto}
  .stage{position:static;height:auto;min-height:auto;padding-block:72px;overflow:visible}
  .hero-act,.flood-act{height:auto;min-height:100vh}
  .field{position:relative;left:auto;top:auto;transform:none;margin:32px auto 0;height:auto;
         display:grid;grid-template-columns:repeat(5,1fr);gap:0}
  .field .cell{position:static!important;transform:none!important;opacity:1!important;
               min-height:74px;margin:0}
  .lanes{position:relative;inset:auto;display:grid;gap:12px;margin-top:28px}
  .lanes .msg{position:static!important;transform:none!important;width:100%}
  .flood{position:relative;inset:auto;transform:none;height:auto;padding:64px 0}
  .takeover{position:static;transform:none!important;color:var(--paper);margin-top:-64px}
  .flood-act .stage{display:flex;flex-direction:column;justify-content:center;background:var(--ink-alt)}
  .flood-note{position:static;opacity:1!important;margin-top:34px;color:var(--paper)}
  .rv{opacity:1!important;transform:none!important}
  .hero-foot{position:static;margin-top:32px}
  .wordmark{position:static;margin-top:56px;font-size:clamp(48px,14vw,140px)}
  .legal{position:static;margin-top:24px}
  .close{height:auto}
  .cue{display:none}
}


/* ============================================================
   MERGE LAYER — hero calendar from new2 (verbatim behaviour),
   receipt-week, per-section signal / ghost / orb / scan.
   Hero rules are scoped to .hero so the week plate keeps its own.
   ============================================================ */

:root{ --sand:#F4EFE2; --card:6px; --drop:0 6px 0 0 var(--ink); --rule:1px solid var(--ink); }

/* ---------- status pill ---------- */

.status{
  display:inline-flex;align-items:center;gap:9px;
  padding:8px 15px;
  background:var(--paper);border:var(--rule);border-radius:var(--pill);
  box-shadow:var(--drop);
  font-size:14px;line-height:18px;text-transform:uppercase;letter-spacing:.04em;
}
.status i{
  width:8px;height:8px;border-radius:50%;background:var(--pink-hot);
  animation:pulse 2.6s ease-out infinite;
}
@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(255,90,138,.55)}
  70%{box-shadow:0 0 0 9px rgba(255,90,138,0)}
  100%{box-shadow:0 0 0 0 rgba(255,90,138,0)}
}

/* ---------- hero: calendar first, then the texts, then the button ---------- */

.hero-act{height:170vh}
.hero{
  position:relative;z-index:3;width:100%;height:100%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:clamp(18px,2.2vw,30px);text-align:center;
}
.hero h1{
  font-size:clamp(38px,6.6vw,96px);
  line-height:.86;letter-spacing:-.026em;
}
.hero .support{max-width:46ch;margin-inline:auto}
.hero .btn{margin-top:2px}

/* the plate is new2's: same card, same day row, same cells, same popup */
.hero .plate{
  position:relative;width:min(560px,92vw);
  background:var(--paper);border:var(--rule);border-radius:var(--card);
  box-shadow:var(--drop);padding:16px 16px 12px;text-align:left;
  will-change:transform;
}
.hero .plate__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:2px 2px 12px}
.hero .plate__month{font-weight:800;font-size:20px;letter-spacing:-.02em;text-transform:uppercase}
.hero .plate__count{font-size:18px;line-height:23.4px;font-weight:500}
.hero .plate__count b{font-weight:800}

.hero .grid{
  display:grid;grid-template-columns:repeat(7,1fr);
  border-top:var(--rule);border-left:var(--rule);
}
.hero .dow{
  border-right:var(--rule);border-bottom:var(--rule);padding:7px 0;text-align:center;
  font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;background:var(--yellow);
}
.hero .cell{
  position:relative;aspect-ratio:1.35/1;
  border-right:var(--rule);border-bottom:var(--rule);
  padding:7px 8px 22px;font-size:15px;font-weight:500;background:var(--paper);
  transition:background .18s ease,color .18s ease;
}
.hero .cell.off{background:var(--sand);color:#8A8578}
.hero .cell.booked{background:var(--pink);font-weight:800}
.hero .cell.hot{background:var(--ink);color:var(--paper)}
.hero .cell .d{position:relative;z-index:1}
.hero .cell.booked::after{
  content:attr(data-co);position:absolute;left:6px;right:4px;bottom:6px;
  font-size:10px;font-weight:800;letter-spacing:-.01em;line-height:1.05;opacity:.85;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.hero .cell.fresh{animation:stamp .34s cubic-bezier(.2,1.3,.4,1) both}
@keyframes stamp{from{transform:scale(.82);opacity:.35} to{transform:none;opacity:1}}

.hero .pop{
  position:absolute;z-index:5;width:232px;pointer-events:none;
  background:var(--paper);border:var(--rule);border-radius:var(--card);box-shadow:var(--drop);
  padding:11px 13px;opacity:0;transform:translateY(6px) scale(.96);transform-origin:top left;
  transition:opacity .16s ease,transform .22s cubic-bezier(.22,1,.36,1);text-align:left;
}
.hero .pop.on{opacity:1;transform:none}
.hero .pop__k{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;opacity:.6}
.hero .pop__co{font-size:17px;font-weight:800;line-height:1.2;margin-top:3px}
.hero .pop__role{font-size:15px;font-weight:500;margin-top:2px}
.hero .pop__slot{
  margin-top:8px;padding-top:8px;border-top:1px dashed rgba(29,28,28,.35);
  font-size:14px;font-weight:500;
}

/* ---------- ACT 4: replies become slots ---------- */

.week-wrap{align-items:center}
.week-copy{display:flex;flex-direction:column;align-items:flex-start;gap:clamp(12px,1.6vw,20px)}
.replies{position:relative;height:clamp(112px,17vh,176px);width:100%;margin-top:4px}
.reply{
  position:absolute;left:0;top:0;
  width:min(310px,88%);
  padding:9px 12px;
  background:var(--paper);border:var(--edge);box-shadow:var(--hard);
  will-change:transform,opacity;
}
.reply .who{font-weight:800;font-size:15px;line-height:19px;text-transform:uppercase}
.reply .why{font-size:14px;line-height:18px;opacity:.62;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.reply.sent{background:var(--yellow)}
#week .plate{justify-self:end;width:100%;max-width:520px}
#week .grid{grid-template-columns:repeat(5,1fr)}

/* ---------- big figures that sit behind the text ---------- */

.ghost{
  position:absolute;z-index:1;right:-1%;top:50%;
  transform:translateY(-50%);
  font-weight:800;font-size:clamp(300px,42vw,600px);line-height:.68;letter-spacing:-.06em;
  color:transparent;-webkit-text-stroke:2px rgba(29,28,28,.2);
  pointer-events:none;will-change:transform,opacity;
}
#read .ghost--num{
  left:auto;right:-5%;top:-2%;transform:none;
  font-size:clamp(300px,40vw,560px);
  color:rgba(29,28,28,.07);-webkit-text-stroke:0;
  z-index:1;
}
#read .act-head{position:relative;z-index:3}
#read .tiles-wrap{z-index:4}

/* ---------- glow: orb + per-section signal ---------- */

.orb{
  position:absolute;z-index:2;right:7%;top:24%;
  width:clamp(150px,21vw,300px);aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle,rgba(255,244,141,.9),rgba(255,194,140,.34) 46%,rgba(255,194,140,0) 72%);
  pointer-events:none;will-change:transform,opacity;
}
.orb--big{top:auto;bottom:4%;right:4%;width:clamp(220px,30vw,430px)}

.sig{
  position:absolute;left:0;top:0;z-index:4;
  width:12px;height:12px;border-radius:50%;
  background:var(--yellow);border:var(--rule);
  opacity:0;pointer-events:none;
  will-change:transform,opacity;
}
.sig::after{
  content:"";position:absolute;inset:-9px;border-radius:50%;
  border:1px solid rgba(255,99,139,.5);
}

/* ---------- ACT 5: scan line across the tiles ---------- */

.tiles-wrap{position:relative;z-index:2;width:100%;max-width:1180px}
.scan{
  position:absolute;left:0;right:0;top:0;height:3px;
  background:linear-gradient(90deg,rgba(29,28,28,0),rgba(29,28,28,.55),rgba(29,28,28,0));
  opacity:0;pointer-events:none;will-change:transform,opacity;
}

/* ---------- close: wordmark + button ---------- */

.close-line .ln b{transform:translateY(106%)}
body.ready .close-line .ln b{transform:none}
.close-line .ln:nth-child(2) b{transition-delay:.1s}

/* ---------- responsive ---------- */

@media (max-width:980px){
  .hero-act{height:160vh}
  .hero h1{font-size:clamp(36px,7.4vw,64px)}
  .hero .plate{width:min(520px,92vw)}
  .week-wrap{grid-template-columns:1fr}
  .replies{height:clamp(86px,13vh,120px)}
  #week .plate{max-width:none}
  .ghost{font-size:clamp(220px,52vw,420px);right:-8%}
  .orb{right:2%;top:12%;width:clamp(120px,30vw,220px)}
}

@media (max-width:720px){
  .status{padding:6px 10px;font-size:11px;line-height:14px;gap:7px}
  .status i{width:6px;height:6px}
  .hero-act .stage{padding:72px var(--inset) 84px}
  .hero{gap:14px}
  .hero h1{font-size:clamp(30px,8.4vw,44px)}
  .hero .plate{padding:10px 10px 8px}
  .hero .plate__head{padding:0 0 8px;gap:8px}
  .hero .plate__month{font-size:14px}
  .hero .plate__count{font-size:10px;line-height:14px}
  .hero .dow{font-size:9px;padding:4px 0;letter-spacing:.04em}
  .hero .cell{padding:4px 4px 14px;font-size:11px}
  .hero .cell.booked::after{display:none}
  .hero .pop{width:180px;padding:8px 10px}
  .hero .pop__co{font-size:14px}
  .hero .pop__role,.hero .pop__slot{font-size:12px}
  .hero .btn{padding:13px 24px;font-size:15px}
  .hero .support{font-size:15px;line-height:21px}
  .week-copy{gap:10px}
  .reply{width:min(250px,86%);padding:8px 10px}
  .reply .who{font-size:13px;line-height:17px}
  .reply .why{font-size:12px;line-height:16px}
  .replies{height:96px}
  .orb{width:130px;right:-6%;opacity:.7}
  .orb--big{width:190px;right:-10%}
  .sig{width:9px;height:9px}
  .plate-foot{flex-direction:column;align-items:flex-start;gap:2px}
  .day{min-height:44px;padding:5px 6px}
  .day .d,.day .s{font-size:12px;line-height:15px}
  .plate-top,.plate-foot{padding:7px 9px;font-size:11px;line-height:15px}
  #week h2{font-size:clamp(26px,7.6vw,36px)}
  #read .stage{position:static;height:auto;overflow:visible;padding-block:72px 128px}
  #read .ghost--num{display:none}
}

@media (max-width:980px) and (min-width:721px){
  .replies{height:86px}
  .day{min-height:46px}
  .plate-top,.plate-foot{padding:9px 11px;font-size:12px;line-height:16px}
}

@media (max-width:380px){
  .week-copy{gap:8px}
  .replies{height:52px}
  .day{min-height:38px}
  .week-wrap{margin-top:-20px}
  .hero h1{font-size:28px}
}

/* ---------- reduced motion: everything still, everything readable ---------- */

@media (prefers-reduced-motion:reduce){
  .hero-act{height:auto;min-height:100vh}
  .hero{height:auto;padding-block:64px}
  .ln b,.close-line .ln b{transform:none}
  .replies{height:auto;display:grid;gap:8px}
  .reply{position:static!important;transform:none!important;opacity:1!important;width:100%}
  .sig,.scan{display:none}
  .orb{opacity:.5}
}
@media (max-width:380px){
  #week .stage{padding-bottom:104px}
  .week-wrap{margin-top:-24px}
}
@media (max-width:380px){
  .week-copy{gap:6px}
  .replies{height:40px}
  .day{min-height:34px}
  #week h2{font-size:23px}
  .week-copy .support{font-size:14px;line-height:19px}
}
@media (max-width:380px){
  .field{height:min(320px,36vh)}
}
.field{height:min(420px,42vh)}
