/* Overtime (v6). Shape rule: blocks and panels are square (radius 0); interactive controls are full pills. One accent: Sun. */
@font-face{font-family:"Familjen Grotesk";src:url(./assets/fonts/familjen-grotesk-latin-400-normal.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Familjen Grotesk";src:url(./assets/fonts/familjen-grotesk-latin-500-normal.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Familjen Grotesk";src:url(./assets/fonts/familjen-grotesk-latin-700-normal.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Familjen Grotesk";src:url(./assets/fonts/familjen-grotesk-latin-500-italic.woff2) format("woff2");font-weight:500;font-style:italic;font-display:swap}

:root{
  --bg:#F3F4F0; --bg-2:#E6E9F1; --ink:#11204A; --muted:#47547A; --line:rgba(17,32,74,.16);
  --navy:#24489F; --navy-ink:#F3F4F0; --sun:#F7BE3A; --sun-ink:#11204A; --block:#FFFFFF; --pending:#8C96B2;
  --pad:clamp(1rem,3.4vw,3rem); --head:64px; --daybar:64px;
  --ease:cubic-bezier(.16,1,.3,1);
  color-scheme:light;
}
[data-theme="dark"]{
  --bg:#0E1938; --bg-2:#15244F; --ink:#EEF1F8; --muted:#B4BEDA; --line:rgba(238,241,248,.16);
  --navy:#2D56BC; --navy-ink:#F3F4F0; --block:#172A5C; --pending:#7F8BB0;
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:"Familjen Grotesk",ui-sans-serif,system-ui,sans-serif;font-size:1.0625rem;line-height:1.5;overflow-x:clip;transition:background-color .4s var(--ease),color .4s var(--ease)}
img,svg{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3,p{margin:0}
h2{font-size:clamp(2.2rem,5.2vw,4.6rem);line-height:.98;letter-spacing:-.035em;font-weight:700}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:1rem;top:-4rem;z-index:100;background:var(--sun);color:var(--sun-ink);padding:.6rem 1rem;border-radius:999px;font-weight:700}
.skip:focus{top:1rem}
:focus-visible{outline:3px solid var(--sun);outline-offset:3px}
.fine{font-size:.9rem;color:var(--muted);max-width:68ch}

/* buttons: full pills */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 1.6rem;border-radius:999px;font-weight:700;font-size:1.05rem;text-decoration:none;white-space:nowrap;border:2px solid transparent;transition:transform .25s var(--ease),background-color .25s,color .25s}
.btn:active{transform:translateY(1px) scale(.98)}
.btn-primary{background:var(--sun);color:var(--sun-ink)}
.btn-primary:hover{transform:translateY(-2px)}
.btn-ghost{border-color:currentColor;color:var(--ink)}
.btn-ghost:hover{background:var(--ink);color:var(--bg)}
.btn-small{min-height:42px;padding:0 1.1rem;font-size:.95rem}
.toggle{min-height:42px;padding:0 1rem;border-radius:999px;border:2px solid var(--line);background:transparent;color:var(--ink);font:inherit;font-weight:500;font-size:.95rem;cursor:pointer}
.toggle[aria-pressed="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}

/* header */
.site-head{height:var(--head);display:flex;align-items:center;gap:1.5rem;padding:0 var(--pad)}
.brand{display:inline-flex;align-items:center;gap:.6rem;text-decoration:none;font-weight:700;font-size:1.15rem;letter-spacing:-.02em}
.brand img{border-radius:8px}
.nav{display:flex;gap:1.6rem;margin-left:auto}
.nav a{text-decoration:none;font-weight:500;color:var(--muted)}
.nav a:hover{color:var(--ink)}
.head-tools{display:flex;gap:.5rem;align-items:center}
@media (max-width:1060px){.nav{display:none}.head-tools{margin-left:auto}}
@media (max-width:560px){.head-tools .btn{display:none}.brand span{font-size:1rem}}

/* hero */
.hero{min-height:calc(100dvh - var(--head));display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr);gap:clamp(1.5rem,4vw,4rem);align-items:center;padding:clamp(1rem,3vw,3rem) var(--pad) clamp(2rem,5vw,4rem)}
.hero h1{font-size:clamp(3rem,6.6vw,6.6rem);line-height:1.02;letter-spacing:-.045em;font-weight:700}
.hero h1 em{font-style:italic;font-weight:500;color:var(--navy);display:inline-block;padding-bottom:.08em}
[data-theme="dark"] .hero h1 em{color:var(--sun)}
.hero-sub{margin-top:1.6rem;font-size:clamp(1.1rem,1.5vw,1.35rem);max-width:34ch;color:var(--muted)}
.hero-cta{margin-top:2rem;display:flex;flex-wrap:wrap;gap:.8rem}
.hero-art{position:relative;aspect-ratio:4/4.4;max-height:72dvh;width:100%;justify-self:center;max-width:520px}
.sun-disc{position:absolute;width:46%;aspect-ratio:1;border-radius:50%;background:var(--sun);right:-4%;top:-2%}
.calendar{position:absolute;inset:8% 10% 12% 4%;perspective:1400px}
.cal-bind{position:absolute;left:0;right:0;top:0;height:9%;background:var(--ink);z-index:4}
.cal-page{position:absolute;inset:9% 0 0 0;background:var(--navy);color:var(--navy-ink);padding:6% 8%;display:flex;flex-direction:column;justify-content:space-between;transform-origin:50% 0;box-shadow:0 1px 0 rgba(17,32,74,.25)}
.cal-day{font-size:clamp(5rem,11vw,10rem);font-weight:700;letter-spacing:-.06em;line-height:.9}
.cal-note{font-size:clamp(1rem,1.4vw,1.25rem);font-weight:500;max-width:18ch;margin-bottom:28%}
.p-mon{z-index:3}.p-tue{z-index:2;background:#1F3E8C}.p-wed{z-index:1}
[data-theme="dark"] .p-tue{background:#2A4FAE}
.hero-pebble{position:absolute;left:-6%;bottom:-2%;margin:0;z-index:5;width:52%}
.hero-pebble .pb-slot svg{width:100%;height:auto}
/* Caption belongs to the calendar tile, not the moving stone. Keep 16px
   inside its right/bottom edges and 16px clear of the full stone SVG. */
#hero-bubble{position:absolute;z-index:6;right:calc(10% + 16px);bottom:calc(12% + 16px);width:calc(44% - 32px);max-width:none;background:#11204A;color:#FFFFFF;border:1px solid #7083B4;border-radius:18px;padding:.55rem .9rem;font-size:14px;line-height:1.3;opacity:1;transition:transform .3s var(--ease)}
#hero-bubble.swap{animation:hero-status-pop .45s var(--ease)}
@keyframes hero-status-pop{from{transform:translateY(-6px);opacity:1}to{transform:none;opacity:1}}
/* The entrance still reveals the heading; its settled colour is full ink. */
.hero h1,.hero h1 em,[data-theme="dark"] .hero h1 em{color:var(--ink)}

/* hero entrance: calendar pages tear away Mon to Wed (storytelling: time passes) */
@media (prefers-reduced-motion:no-preference){
  html[data-calm="false"] .p-mon{animation:tear .9s var(--ease) .9s both}
  html[data-calm="false"] .p-tue{animation:tear .9s var(--ease) 2s both}
  html[data-calm="false"] .hero-copy>*{animation:rise .9s var(--ease) both}
  html[data-calm="false"] .hero-copy>:nth-child(2){animation-delay:.1s}
  html[data-calm="false"] .hero-copy>:nth-child(3){animation-delay:.2s}
}
html[data-calm="true"] .p-mon,html[data-calm="true"] .p-tue{display:none}
@media (prefers-reduced-motion:reduce){.p-mon,.p-tue{display:none}}
@keyframes tear{0%{transform:none;opacity:1}35%{transform:rotateX(-14deg) rotate(-2deg)}100%{transform:translateY(120%) rotate(-10deg);opacity:0}}
@keyframes rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}

/* speech bubble (status of a Pebble) */
.bubble{background:var(--block);color:var(--ink);border:2px solid var(--ink);border-radius:18px 18px 18px 4px;padding:.55rem .9rem;font-weight:500;font-size:.98rem;line-height:1.3;transition:opacity .3s,transform .3s var(--ease)}
.bubble.swap{animation:pop .45s var(--ease)}
@keyframes pop{from{opacity:.2;transform:translateY(6px)}to{opacity:1;transform:none}}

/* shrug */
.pb-slot.shrug{animation:shrug 1.1s var(--ease)}
@keyframes shrug{0%{transform:none}18%{transform:translateY(-7%)}38%{transform:translateY(-9%)}58%{transform:translateY(-3%)}100%{transform:none}}
html[data-calm="true"] .pb-slot.shrug,html[data-calm="true"] .bubble.swap{animation:none}
@media (prefers-reduced-motion:reduce){.pb-slot.shrug,.bubble.swap{animation:none}}

/* ---------- the week ---------- */
.week{position:relative}
.week-pin{position:relative;background:var(--bg)}
.daybar{height:var(--daybar);display:grid;grid-template-columns:minmax(12rem,1fr) minmax(0,3.2fr);align-items:stretch;border-bottom:2px solid var(--ink);background:var(--bg);z-index:3;position:relative}
.daybar-label{align-self:center;padding:0 var(--pad);font-weight:700;font-size:.95rem;line-height:1.2}
.daybar-label span{display:block;font-weight:400;color:var(--muted)}
.tabs{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(7,1fr);position:relative}
.tabs li{display:contents}
.tab{position:relative;z-index:1;border:0;border-left:2px solid var(--line);background:transparent;color:var(--ink);font:inherit;font-weight:700;font-size:1.15rem;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.45rem;padding:0 .3rem;transition:color .3s}
.tab-flag{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;border:2px solid currentColor;border-radius:999px;padding:.05rem .4rem}
.tab-ink{position:absolute;left:0;top:0;bottom:0;width:calc(100%/7);background:var(--sun);transform:translateX(calc(var(--i,0)*100%));transition:transform .5s var(--ease);z-index:0;pointer-events:none}
.tab[aria-current="true"]{color:var(--sun-ink)}
.week-view{position:relative;overflow:hidden}

.day{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.8fr) minmax(0,1fr);grid-template-rows:1fr;gap:clamp(1rem,2.5vw,2.5rem);padding:clamp(1.25rem,3vw,2.5rem) var(--pad);border-bottom:2px solid var(--line)}
.day-word{position:absolute;left:var(--pad);bottom:-.16em;font-size:clamp(9rem,min(27vw,46vh),26rem);font-weight:700;letter-spacing:-.07em;line-height:.8;color:var(--bg-2);pointer-events:none;user-select:none;z-index:0;will-change:transform}
.day-copy,.day-figure,.agenda{position:relative;z-index:1}
.day-copy{align-self:start;padding-top:clamp(.5rem,3vh,2.5rem)}
.day h3{font-size:clamp(2rem,3.9vw,3.7rem);line-height:1;letter-spacing:-.035em;font-weight:700;max-width:11ch}
.day-full{display:block;font-size:.42em;letter-spacing:-.01em;font-weight:500;color:var(--muted);margin-bottom:.5rem}
.day .lead{margin-top:1rem;max-width:30ch;font-size:clamp(1.02rem,1.25vw,1.2rem);color:var(--muted)}
.day-figure{margin:0;align-self:center;display:flex;flex-direction:column;align-items:center;gap:.8rem}
.day-figure .pb-slot svg{width:min(230px,26vh,100%);height:auto}
.day-figure figcaption{font-size:.95rem;color:var(--muted)}
.day-figure figcaption strong{color:var(--ink)}
.day-figure .bubble{max-width:17rem;text-align:center}
.flip{grid-template-columns:minmax(0,1fr) minmax(0,.8fr) minmax(0,1.15fr)}
.flip .agenda{grid-column:1;grid-row:1}.flip .day-figure{grid-column:2;grid-row:1}.flip .day-copy{grid-column:3;grid-row:1;align-self:end;padding-bottom:clamp(.5rem,4vh,3rem)}
.flip .day-word{left:auto;right:var(--pad);bottom:auto;top:-.12em}

/* agenda: real hour grid, blocks placed by time */
.agenda{display:grid;grid-template-columns:2.2rem minmax(0,1fr);grid-template-rows:repeat(20,minmax(0,1fr));column-gap:.6rem;min-height:0;height:100%;border-top:2px solid var(--ink)}
.hour{grid-column:1;grid-row:var(--r) / span 2;font-size:.78rem;font-weight:700;color:var(--muted);border-top:1px solid var(--line);padding-top:.15rem}
.block{grid-column:2;grid-row:var(--from) / var(--to);background:var(--block);border:2px solid var(--ink);padding:.6rem .8rem;display:flex;flex-direction:column;gap:.3rem;min-height:0;overflow:hidden;margin:2px 0;transition:opacity .45s var(--ease),transform .45s var(--ease),background-color .3s}
.block-head{display:flex;justify-content:space-between;align-items:center;gap:.5rem;font-size:.8rem;font-weight:700;color:var(--muted)}
.mini{display:inline-flex;align-items:center;gap:.3rem;color:var(--ink)}
.mini-av{display:grid;place-items:center;width:34px;height:34px;flex:none;background:#D9DEEA}
.mini svg{width:30px;height:30px}
.block-title{font-weight:700;font-size:1.02rem;line-height:1.2}
.ask{font-size:.88rem;color:var(--muted);line-height:1.3}
.done{list-style:none;margin:0;padding:0;display:grid;gap:.2rem;font-size:.9rem;line-height:1.25}
.done li{position:relative;padding-left:1.5rem;transition:opacity .4s}
.done li::before{content:"";position:absolute;left:0;top:.08em;width:1em;height:1em;border-radius:999px;border:2px solid var(--ink);transition:background-color .3s}
.done li::after{content:"";position:absolute;left:.36em;top:.25em;width:.3em;height:.55em;border:solid var(--sun-ink);border-width:0 2px 2px 0;transform:rotate(45deg);opacity:0;transition:opacity .3s}
.done li.on::before{background:var(--sun);border-color:var(--sun)}
.done li.on::after{opacity:1}
.tag{margin-top:auto;align-self:flex-start;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.side{background:transparent;border-style:dashed}
.side-state{font-size:.8rem;font-weight:700}
.side .done-label{display:none}
.side.on{background:var(--block);border-style:solid}
.side.on .pending-label{display:none}.side.on .done-label{display:inline;color:var(--ink)}
/* Reveal states exist only while the pan is live (app.mjs sets data-pan="horizontal" after ScrollTrigger is running, never with reduced motion or calm).
   Everything else, including no JS, failed scripts and reduced motion, shows the finished state. */
html[data-pan="horizontal"] .done li:not(.on){opacity:.55}
html[data-pan="horizontal"] .side:not(.on){opacity:.6}
html[data-pan="horizontal"] .block.limit:not(.on),html[data-pan="horizontal"] .block.switch:not(.on),html[data-pan="horizontal"] .block.r:not(.on):not(.side){opacity:0;transform:translateY(14px)}
/* No JS or scripts failed (data-pan never set): show the finished state */
html:not([data-pan]) .done li::before{background:var(--sun);border-color:var(--sun)}html:not([data-pan]) .done li::after{opacity:1}
html:not([data-pan]) .turn .done li::before{background:var(--sun-ink);border-color:var(--sun-ink)}
html:not([data-pan]) .side{background:var(--block);border-style:solid}html:not([data-pan]) .side .pending-label{display:none}html:not([data-pan]) .side .done-label{display:inline;color:var(--ink)}

/* Wednesday: the turn (one deliberate colour block in the story) */
.turn{background:var(--sun);color:var(--sun-ink);--muted:#3B3618;--line:rgba(17,32,74,.22);--bg-2:#F9CF68}
.turn .day-full{color:#3B3618}
.turn h3{max-width:13ch}
.turn .agenda{border-top-color:var(--sun-ink)}
.turn .hour{color:#3B3618}
.turn .block{background:#FFF7E0;color:var(--sun-ink);border-color:var(--sun-ink)}
.turn .block .mini{color:var(--sun-ink)}
.turn .block .block-head,.turn .ask,.turn .tag{color:#3B3618}
.turn .done li::before{border-color:var(--sun-ink)}
.turn .done li.on::before{background:var(--sun-ink);border-color:var(--sun-ink)}
.turn .done li::after{border-color:var(--sun)}
.turn .block.limit{background:var(--ink);color:var(--bg);border-color:var(--ink)}
[data-theme="dark"] .turn .block.limit{background:#11204A;color:#F3F4F0}
.turn .block.limit .block-head,.turn .block.limit .ask{color:inherit;opacity:.8}
.turn .block.switch{background:transparent;border-style:dashed;justify-content:center}
.turn .bubble{border-color:var(--sun-ink);background:#FFF7E0;color:var(--sun-ink)}
.turn .day-figure figcaption,.turn .day-figure figcaption strong{color:var(--sun-ink)}

.quiet .day-word{opacity:.7}
.end{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.end .day-copy{align-self:center}
.end h3{font-size:clamp(2.6rem,5.6vw,5.4rem);max-width:9ch}
.end-cta{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:2rem}
.trio{flex-direction:row;align-items:flex-end;justify-content:center;flex-wrap:wrap;gap:0}
.trio .pb-slot svg{width:auto;height:auto}
.trio .trio-a svg,.trio .trio-c svg{width:min(150px,18vh)}
.trio .trio-b svg{width:min(210px,25vh)}
.trio .bubble{flex-basis:100%;max-width:none;width:max-content;margin-top:1rem}

/* Horizontal pan mode (set by app.mjs only when wide, motion allowed and calm off) */
html[data-pan="horizontal"] .week-pin{height:100dvh;overflow:hidden}
html[data-pan="horizontal"] .week-view{height:calc(100dvh - var(--daybar))}
html[data-pan="horizontal"] .track{display:flex;width:700%;height:100%;will-change:transform}
html[data-pan="horizontal"] .day{flex:0 0 calc(100% / 7);height:100%;border-bottom:0;border-right:2px solid var(--line)}

/* Vertical sequence (mobile, reduced motion, calm, no JS) */
html:not([data-pan="horizontal"]) .daybar{position:sticky;top:0}
html:not([data-pan="horizontal"]) .day{min-height:min(88dvh,820px)}
html:not([data-pan="horizontal"]) .agenda{min-height:34rem}

@media (max-width:900px){
  .hero{grid-template-columns:1fr;min-height:auto;padding-top:1.5rem}
  .hero-art{max-width:400px;max-height:none}
  .day,.flip,.end{grid-template-columns:1fr;grid-template-rows:auto}
  .flip .agenda,.flip .day-figure,.flip .day-copy{grid-column:auto;grid-row:auto}
  .flip .day-copy{order:-1;align-self:start;padding-bottom:0}
  html:not([data-pan="horizontal"]) .day{min-height:0}
  .day-figure{flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:center}
  .day-figure .pb-slot svg{width:120px}
  .day-figure figcaption{order:3;flex-basis:100%}
  .day-figure .bubble{text-align:left}
  .trio{justify-content:flex-start}
  .trio .trio-a svg,.trio .trio-c svg{width:96px}.trio .trio-b svg{width:132px}
  .day-word{font-size:clamp(7rem,38vw,14rem);bottom:auto;top:-.1em;left:auto;right:-.05em}
  .flip .day-word{right:-.05em}
  /* agenda becomes a simple list on small screens */
  .agenda,html:not([data-pan="horizontal"]) .agenda{display:flex;flex-direction:column;gap:.6rem;height:auto;min-height:0;border-top:0}
  .hour{display:none}
  .daybar{grid-template-columns:1fr;height:auto}
  .daybar-label{display:none}
  .tab{height:48px;font-size:1rem;padding:0}
  .tab-flag{display:none}
}
@media (max-width:360px){.tab{font-size:.88rem}}

/* ---------- providers ---------- */
.providers{padding:clamp(5rem,12vw,10rem) var(--pad);display:grid;gap:clamp(2rem,4vw,3.5rem)}
.prov-head{display:grid;gap:1.2rem;max-width:60rem}
.prov-head p{font-size:clamp(1.1rem,1.5vw,1.3rem);color:var(--muted);max-width:52ch}
.prov-play{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,1fr);gap:clamp(1.5rem,4vw,4rem);align-items:center}
.prov-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.2rem .9rem;align-items:baseline}
.prov-list button{font:inherit;font-weight:700;font-size:clamp(1.7rem,4.2vw,3.9rem);letter-spacing:-.04em;line-height:1.1;background:none;border:0;padding:.05em .25em;border-radius:999px;color:var(--ink);opacity:.38;cursor:pointer;transition:opacity .25s,background-color .25s,color .25s}
.prov-list button:hover{opacity:.8}
.prov-list button[aria-pressed="true"]{opacity:1;background:var(--sun);color:var(--sun-ink)}
.prov-figure{margin:0;display:grid;justify-items:center;gap:1rem;text-align:center}
.prov-figure .pb-slot svg{width:min(180px,40vw);height:auto}
.prov-figure figcaption{font-weight:500;max-width:22ch;font-size:1.1rem}

/* ---------- app screenshots ---------- */
.app{padding:0 var(--pad) clamp(5rem,10vw,9rem);display:grid;gap:1.6rem}
.app-tabs{display:flex;flex-wrap:wrap;gap:.5rem}
.app-tabs button{font:inherit;font-size:1rem;min-height:46px;padding:0 1.2rem;border-radius:999px;border:2px solid var(--ink);background:transparent;color:var(--ink);cursor:pointer;display:inline-flex;gap:.4rem;align-items:center}
.app-tabs button strong{font-weight:700}
.app-tabs button[aria-pressed="true"]{background:var(--ink);color:var(--bg)}
.shot{margin:0;display:grid;gap:1rem}
.shot img{width:100%;height:auto;aspect-ratio:1568/980;object-fit:contain;filter:drop-shadow(0 24px 40px rgba(17,32,74,.18))}
[data-theme="dark"] .shot img{filter:drop-shadow(0 24px 40px rgba(0,4,20,.5))}
.shot figcaption{font-size:.95rem;color:var(--muted)}

/* ---------- renderer ---------- */
.make{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);margin:0 var(--pad);border:2px solid var(--ink)}
.make-stage{background:var(--navy);color:var(--navy-ink);display:grid;place-items:center;align-content:center;gap:1rem;padding:clamp(2rem,5vw,4rem);min-height:30rem;position:relative}
.make-stage::before{content:"";position:absolute;width:38%;aspect-ratio:1;border-radius:50%;background:var(--sun);left:8%;top:10%;opacity:.95}
.make-slot{position:relative}
.make-slot svg{width:min(300px,60vw);height:auto}
.make-slot.bump{animation:bump .5s var(--ease)}
@keyframes bump{40%{transform:scale(1.05) translateY(-4px)}}
html[data-calm="true"] .make-slot.bump{animation:none}
@media (prefers-reduced-motion:reduce){.make-slot.bump{animation:none}}
.make-name{position:relative;font-weight:700;font-size:1.2rem}
.make-panel{padding:clamp(1.5rem,4vw,3.5rem);display:grid;gap:1.4rem;align-content:start}
.make-panel>p:first-of-type{color:var(--muted);max-width:40ch}
.ctrl h3{font-size:.95rem;font-weight:700;margin-bottom:.6rem}
.swatches{display:flex;flex-wrap:wrap;gap:.5rem}
.swatches button{width:46px;height:46px;border-radius:999px;border:2px solid var(--line);background:transparent;padding:4px;cursor:pointer}
.swatches button span{display:block;width:100%;height:100%;border-radius:999px;background:var(--sw);box-shadow:inset 0 0 0 1px rgba(17,32,74,.2)}
.swatches button[aria-pressed="true"]{border-color:var(--ink);border-width:3px}
[data-theme="dark"] .swatches button span{box-shadow:inset 0 0 0 1px rgba(238,241,248,.3)}
.chips{display:flex;flex-wrap:wrap;gap:.4rem}
.chips button{font:inherit;font-size:.95rem;font-weight:500;min-height:42px;padding:0 1rem;border-radius:999px;border:2px solid var(--line);background:transparent;color:var(--ink);cursor:pointer}
.chips button[aria-pressed="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}

/* ---------- compare ---------- */
.compare{padding:clamp(5rem,12vw,10rem) var(--pad) clamp(3rem,6vw,5rem);display:grid;gap:clamp(2rem,4vw,3rem)}
.compare h2{max-width:14ch}
.cmp-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-rows:repeat(3,auto);border-top:2px solid var(--ink)}
.cmp-pebble{grid-row:1 / span 3;background:var(--navy);color:var(--navy-ink);padding:clamp(1.5rem,3vw,2.8rem);display:grid;gap:1rem;align-content:start}
.cmp-pebble .fine{color:rgba(243,244,240,.82)}
.cmp-name{font-weight:700;font-size:1.25rem}
.cmp-name span{font-weight:400;opacity:.75;font-size:.95rem;margin-left:.3rem}
.cmp-big{font-size:clamp(1.6rem,2.8vw,2.5rem);line-height:1.08;letter-spacing:-.03em;font-weight:700}
.cmp-row{padding:1.5rem clamp(1.25rem,3vw,2.5rem);display:grid;gap:.5rem;border-bottom:2px solid var(--line)}
.cmp-row p:not(.cmp-name){color:var(--muted)}
.cmp-row a{font-size:.9rem;font-weight:500}

/* ---------- download ---------- */
.download{margin:clamp(3rem,6vw,5rem) var(--pad) 0;padding:clamp(2rem,5vw,4.5rem);background:var(--ink);color:var(--bg);display:grid;gap:clamp(2rem,4vw,3rem)}
.download .fine{color:var(--bg);opacity:.78}
.dl-head{display:grid;gap:1.2rem}
.dl-head h2{font-size:clamp(2.8rem,7vw,6.5rem)}
.dl-notice{font-size:clamp(1.05rem,1.4vw,1.25rem);max-width:46ch;border-left:6px solid var(--sun);padding-left:1rem}
.dl-version{font-size:.92rem;font-weight:500;opacity:.78}
.dl-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;background:color-mix(in srgb,var(--bg) 24%,transparent);border-top:2px solid color-mix(in srgb,currentColor 24%,transparent)}
.dl-grid.dl-count-1{grid-template-columns:minmax(0,1fr)}
.dl-cell{background:var(--ink);padding:1.8rem 1.6rem 2rem 0;display:grid;gap:.5rem;align-content:start}
.dl-cell+.dl-cell{padding-left:1.6rem}
.dl-cell h3{font-size:clamp(1.8rem,2.6vw,2.4rem);letter-spacing:-.03em}
.dl-cell p{opacity:.82}
.dl-main{display:flex;flex-wrap:wrap;align-items:center;gap:.7rem 1.1rem;margin-top:.9rem}
.dl-meta{font-size:.95rem;font-weight:500;opacity:.82}
.dl-more{list-style:none;margin:.6rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.6rem}
.download .btn-ghost{color:inherit;border-color:color-mix(in srgb,currentColor 55%,transparent)}
.download .btn-ghost:hover{background:var(--sun);color:var(--sun-ink);border-color:var(--sun)}
.dl-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.8rem 2rem;margin-top:calc(-1 * clamp(.8rem,2vw,1.6rem))}
.dl-foot:empty{display:none}
.dl-later{font-size:.98rem;opacity:.82}
.dl-links{display:flex;flex-wrap:wrap;gap:.4rem 1.4rem}
.dl-link{font-size:.92rem;font-weight:500}

/* ---------- FAQ ---------- */
.faq{padding:clamp(5rem,10vw,8rem) var(--pad);display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr);gap:2rem}
.faq-list details{border-top:2px solid var(--line);padding:1.1rem 0}
.faq-list details:last-child{border-bottom:2px solid var(--line)}
.faq-list summary{cursor:pointer;font-weight:700;font-size:clamp(1.1rem,1.6vw,1.35rem);list-style:none;display:flex;justify-content:space-between;gap:1rem}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"+";font-weight:400}
.faq-list details[open] summary::after{content:"\2212"}
.faq-list p{margin-top:.7rem;color:var(--muted);max-width:60ch}

.site-foot{display:flex;flex-wrap:wrap;gap:1rem 2rem;align-items:center;padding:2rem var(--pad) 3rem;border-top:2px solid var(--line)}
.site-foot p{color:var(--muted);margin-right:auto}

@media (max-width:900px){
  .prov-play,.make,.cmp-grid,.faq{grid-template-columns:1fr}
  .cmp-pebble{grid-row:auto}
  .dl-grid{grid-template-columns:1fr}
  .dl-cell,.dl-cell+.dl-cell{padding:1.6rem 0}
  .dl-foot{margin-top:0}
  .make-stage{min-height:22rem}
}
@media (max-width:420px){
  .btn{padding:0 1.2rem}
  .hero-cta .btn{flex:1 1 auto}
  .download{padding:2rem 1.25rem}
}
@media (max-width:600px){.hero-pebble .bubble{max-width:min(11rem,46vw);width:max-content}}
.tabs li.tab-ink{display:block}
.cal-note{align-self:flex-end;text-align:right;margin-bottom:6%}
html:not([data-pan="horizontal"]) .day{scroll-margin-top:var(--daybar)}
@media (max-width:900px){html:not([data-pan="horizontal"]) .day{scroll-margin-top:50px}}
[data-theme="dark"] .cal-bind{background:#06102B}
.cmp-pebble .cmp-slot{justify-self:end;margin-top:1rem}
.cmp-pebble .cmp-slot svg{width:min(170px,30vw);height:auto}
[data-theme="dark"] .download{background:#081331;color:#EEF1F8;box-shadow:inset 0 0 0 2px rgba(238,241,248,.14)}
[data-theme="dark"] .download .fine{color:#EEF1F8}
[data-theme="dark"] .dl-cell{background:#081331}
[data-theme="dark"] .dl-grid{background:rgba(238,241,248,.2)}
.day-figure.trio{display:grid;grid-template-columns:repeat(3,auto);justify-content:center;align-items:end;column-gap:.4rem}
.trio .bubble{grid-column:1 / -1;justify-self:center;flex-basis:auto;width:auto}
@media (max-width:900px){.day-figure.trio{justify-content:start}.trio .bubble{justify-self:start}}
.cal-page{justify-content:flex-start;gap:1rem}
.cal-note{align-self:flex-start;text-align:left;margin:0}

/* Native 32px Field Ink optics; no second icon mask. */
.mini-av img{width:32px;height:32px;display:block;object-fit:contain}
.brand img{border-radius:0;object-fit:contain}
/* Honour the existing Calm/reduced-motion contract for transitions too. */
html[data-calm="true"] *,html[data-calm="true"] *::before,html[data-calm="true"] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}


/* Try Pebble (2026-10-09): download-section primary box and phone message. Same markup in v1/v4/v6. */
[hidden]{display:none!important}
.try{display:block}
.try-desk,.try-mobile{display:flex;flex-direction:column;align-items:flex-start;gap:.9rem;padding:1.5rem 1.6rem;border:2px solid color-mix(in srgb,currentColor 30%,transparent)}
.try-note,.try-m-fine{opacity:.85;font-size:.98rem;max-width:62ch}
.try-m-main{font-size:clamp(1.25rem,2.4vw,1.6rem);font-weight:700;line-height:1.2;max-width:30ch}
.try-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.6rem}
.try-list a{display:inline-flex;align-items:center;min-height:44px;padding:0 1.1rem;border:2px solid currentColor;border-radius:999px;font-weight:700;text-decoration:none}
.try-list a:hover{background:var(--sun);color:var(--sun-ink);border-color:var(--sun)}
.try-files>summary{display:flex;align-items:center;min-height:44px;cursor:pointer;font-weight:700}
.try-files .dl-grid{margin-top:1rem}
.try-desk .btn,.try-mobile .btn{min-height:52px}
@media (max-width:560px){.head-tools .btn{display:inline-flex;min-height:44px}.try-desk .btn,.try-mobile .btn{width:100%}}
@media (max-width:900px){.btn-small,.toggle,.chips button{min-height:44px}}

.try-files>summary::after{content:"+";margin-left:.7rem;font-weight:400}.try-files[open]>summary::after{content:"\2212"}
@media (max-width:430px){.head-tools{gap:.35rem}.head-tools .toggle{padding:0 .7rem;font-size:.85rem}}

/* Field Ink dark-outline stones: the build emits an ink and a pale SVG per stone; the theme attribute picks one (no post-load recolour) */
html:not([data-theme="dark"]) svg.pebble.pb-pale{display:none!important}
html[data-theme="dark"] svg.pebble.pb-ink{display:none!important}
/* Sunday trio: a quiet second row with the four newer stones */
.trio-more{grid-column:1 / -1;display:flex;justify-content:center;align-items:flex-end;gap:1.1rem;margin-top:1.2rem}
.trio-more .pb-slot svg{width:min(96px,12vh);height:auto}
@media (max-width:900px){.trio-more{justify-content:flex-start;gap:.7rem}.trio-more .pb-slot svg{width:68px}}

/* ---------- v6-r2 (messaging 2026-10-26): Monday poster, week intro, connect line, sign-off ---------- */
.monday{margin:0 var(--pad);display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr);align-items:center;gap:clamp(1.5rem,4vw,4rem);background:var(--ink);color:var(--bg);padding:clamp(2rem,5vw,4.5rem)}
[data-theme="dark"] .monday{background:#081331;color:#EEF1F8;box-shadow:inset 0 0 0 2px rgba(238,241,248,.14)}
.mon-clock{font-size:clamp(5rem,13vw,12rem);font-weight:700;letter-spacing:-.06em;line-height:.85;color:var(--sun)}
.mon-clock span{display:block;font-size:clamp(1.1rem,1.6vw,1.4rem);letter-spacing:-.01em;font-weight:500;color:inherit;opacity:.9;margin-bottom:.6rem;color:var(--bg)}
[data-theme="dark"] .mon-clock span{color:#EEF1F8}
.monday h2{font-size:clamp(2.2rem,4.6vw,4.4rem);max-width:15ch}
.mon-switch{margin-top:1.2rem;color:var(--sun);font-weight:500;font-style:italic;font-size:clamp(2.2rem,4.6vw,4.4rem);letter-spacing:-.035em;line-height:1.05;padding-bottom:.08em}
.week{margin-top:clamp(4rem,9vw,8rem)}
.week-intro{padding:0 var(--pad) clamp(2rem,4vw,3.5rem);display:grid;gap:1.2rem}
.week-intro h2{font-size:clamp(2.8rem,7vw,6.5rem);letter-spacing:-.045em;line-height:1}
.week-intro h2 em{font-style:italic;font-weight:500;color:var(--navy);display:inline-block;padding-bottom:.08em}
[data-theme="dark"] .week-intro h2 em{color:var(--sun)}
.week-intro p{font-size:clamp(1.1rem,1.5vw,1.35rem);color:var(--muted);max-width:44ch}
.dl-connect{font-size:1.05rem;max-width:62ch;border-top:2px solid color-mix(in srgb,currentColor 24%,transparent);padding-top:1.4rem}
.dl-connect strong{color:var(--sun)}
.signoff{padding:clamp(4rem,9vw,8rem) var(--pad) clamp(3rem,6vw,5rem);display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:2rem}
.signoff p{font-size:clamp(3rem,8.4vw,8.4rem);font-weight:700;letter-spacing:-.05em;line-height:.95}
.signoff p em{font-style:italic;font-weight:500;color:var(--navy);display:inline-block;padding-bottom:.08em}
[data-theme="dark"] .signoff p em{color:var(--sun)}
@media (max-width:900px){.monday{grid-template-columns:1fr}}
@media (max-width:420px){.monday{padding:2rem 1.25rem}}
/* v6-r2: keep the download panel inside narrow screens (long checksums no longer widen the grid) */
.download{grid-template-columns:minmax(0,1fr)}
.download>*{min-width:0}
.plat-note,.dl-cell p{overflow-wrap:anywhere}
@media (max-width:420px){.dl-head h2{font-size:clamp(2.4rem,11vw,2.8rem)}}

/* 2026-10-26 owner: reset-timer line moved into the hero, directly under the h1. Sun block (square, the one accent), sun-ink text. */
.hero-line{margin-top:1.2rem;font-size:clamp(1.5rem,2.6vw,2.5rem);font-weight:700;letter-spacing:-.03em;line-height:1.3;max-width:24ch}
.hero-line span{background:var(--sun);color:var(--sun-ink);padding:.04em .25em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.hero-line+.hero-sub{margin-top:1.2rem}
@media (prefers-reduced-motion:no-preference){html[data-calm="false"] .hero-copy>:nth-child(4){animation-delay:.3s}}
@media (max-width:600px){.hero-line{font-size:clamp(1.4rem,6.3vw,1.8rem);margin-top:1rem}.hero-line+.hero-sub{margin-top:1rem}}

/* 2026-10-26 owner: Grok 98% poster beside the week intro (square block, no radius). */
.week-poster{margin:0}
.week-poster img{display:block;width:100%;height:auto;aspect-ratio:880/1100;border:1px solid var(--line)}
@media (min-width:901px){.week-intro{grid-template-columns:minmax(0,1fr) minmax(0,340px);column-gap:clamp(2rem,4vw,4rem);align-items:end}.week-intro>h2,.week-intro>p{grid-column:1}.week-poster{grid-column:2;grid-row:1 / span 2}}
@media (max-width:900px){.week-poster{max-width:360px}}
.hero-line{text-wrap:balance}
