/* Fablori for local business. Split stage: Today (overcast concrete, system
   type, flat) against With Fablori (sunny cream, sign-writer slab, bottle green
   and tomato). One global --split, written by page.js. */

:root {
  --split: 50;
  --split-px: 50vw;
  --split-py: 50vh;

  /* Fablori side */
  --fab-bg: #F5E8CC;
  --fab-bg-2: #EFDDB8;
  --ink: #173B2B;
  --ink-soft: #4A5B47;
  --tomato: #C2452A;
  --tomato-deep: #A8361D;
  --cream: #FFF6E4;
  --glass: #0F2A1F;

  /* Today side */
  --today-bg: #D2D5D3;
  --today-bg-2: #C6CAC8;
  --today-ink: #283135;
  --today-soft: #4B565C;
  --system: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --sc-canvas: var(--fab-bg);
  --sc-surface: #FBF1DD;
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--tomato-deep);
  --sc-accent-ink: var(--cream);
  --sc-font-display: "Alfa Slab One", Georgia, serif;
  --sc-font-text: "Karla", system-ui, sans-serif;
  --sc-shadow-color: 25 45% 18%;
  --gut: clamp(1rem, 4vw, 4.5rem);
}

html { background: var(--fab-bg); }
body { background: var(--fab-bg); color: var(--ink); overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--tomato-deep); color: var(--cream); }

/* ---------------------------------------------------------------- type --- */
.disp { font-family: var(--sc-font-display); font-weight: 400; line-height: 1.02; letter-spacing: -0.01em; margin: 0; text-wrap: balance; color: var(--ink); }
.disp--hero { font-size: clamp(2rem, 0.55rem + 3.25vw, 3.9rem); }
.disp--md { font-size: clamp(1.7rem, 1rem + 1.9vw, 2.75rem); }
.disp--sm { font-size: clamp(1.25rem, 1rem + 0.7vw, 1.6rem); line-height: 1.1; }
.body { color: var(--ink-soft); max-width: 52ch; margin: 0; text-wrap: pretty; }

.today-head, .today-h2 { font-family: var(--system); color: var(--today-ink); font-weight: 600; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.today-head { font-size: clamp(1.75rem, 0.6rem + 2.9vw, 3.5rem); line-height: 1.04; }
.today-h2 { font-size: clamp(1.35rem, 1rem + 1vw, 2rem); line-height: 1.1; }
.today-h2--sm { font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.35rem); color: var(--today-soft); font-weight: 500; }
.today-note { font-family: var(--system); color: var(--today-soft); font-size: 1.05rem; line-height: 1.5; max-width: 26ch; margin: 0; }
.today-label { font-family: var(--system); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--today-soft); margin: 0; }

/* ------------------------------------------------------------- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 0 1.4rem; border-radius: 6px;
  background: var(--tomato-deep); color: var(--cream);
  font: 700 1.02rem/1 var(--sc-font-text); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  border: 0; cursor: pointer;
  box-shadow: inset 0 -3px 0 rgb(0 0 0 / .18), 0 2px 3px hsl(var(--sc-shadow-color) / .25), 0 8px 18px -6px hsl(var(--sc-shadow-color) / .35);
  transition: transform 140ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out);
}
.btn:active { transform: translateY(1px) scale(.98); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: #932C15; } }
.btn--small { min-height: 46px; padding: 0 1.1rem; font-size: .95rem; }
.btn--big { min-height: 56px; padding: 0 1.8rem; font-size: 1.12rem; }
.textlink { color: var(--ink); font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--tomato); }
@media (hover: hover) and (pointer: fine) { .textlink:hover { color: var(--tomato-deep); } }
:focus-visible { outline: 3px solid var(--tomato-deep); outline-offset: 3px; border-radius: 4px; }
.layer--today :focus-visible { outline-color: var(--today-ink); }

.sound {
  position: absolute; right: 10px; bottom: 10px; z-index: 3;
  display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; padding: 0 .75rem;
  border: 0; border-radius: 999px; background: rgb(15 42 31 / .82); color: var(--cream);
  font: 700 .82rem/1 var(--sc-font-text); cursor: pointer;
  transition: background-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.sound:active { transform: scale(.97); }
.sound .sound__on { display: none; }
.sound[aria-pressed="true"] .sound__on { display: block; }
.sound[aria-pressed="true"] .sound__off { display: none; }
@media (hover: hover) and (pointer: fine) { .sound:hover { background: var(--glass); } }

/* -------------------------------------------------------------- stages --- */
.st { background: var(--fab-bg); }
.layer { position: absolute; inset: 0; }
.layer--fab { background:
  radial-gradient(120% 80% at 100% 0%, rgb(255 222 150 / .55), transparent 60%),
  var(--fab-bg); }
.layer--today {
  z-index: 5; background: var(--today-bg); color: var(--today-ink);
  clip-path: inset(0 calc(100% - var(--split) * 1%) 0 0);
}
.mline { display: none; }

/* A plain post card: the thing they make today. Deliberately plain. */
.post {
  margin: 0; background: #fff; color: #1d2326; border-radius: 10px;
  box-shadow: 0 1px 2px rgb(30 40 45 / .14), 0 6px 16px -6px rgb(30 40 45 / .22);
  font-family: var(--system); overflow: hidden; width: 300px;
}
.post__top { display: flex; align-items: center; gap: .55rem; padding: .6rem .75rem; }
.post__av { width: 30px; height: 30px; border-radius: 50%; background: #B7BEC1; color: #2a3236; display: grid; place-items: center; font-size: .7rem; font-weight: 700; flex: none; }
.post__who { display: flex; flex-direction: column; font-size: .85rem; font-weight: 600; line-height: 1.15; }
.post__who small { font-weight: 400; color: #5b666b; font-size: .74rem; }
.post__photo { position: relative; aspect-ratio: 1; background: #B9BFC1; overflow: hidden; }
.post__photo :is(img, video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; filter: saturate(.6) brightness(1.18) contrast(.9); }
.post__photo img:not([src]), .post__photo img[src=""] { opacity: 0; }
.still--gym { object-position: 50% 16% !important; }
.still--wide { object-position: 80% 30% !important; transform: scale(1.32); transform-origin: 80% 20%; }
.post__cap { padding: .65rem .8rem .85rem; font-size: .9rem; line-height: 1.4; color: #1d2326; }

/* ------------------------------------------------------------- chrome --- */
.chrome { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.line {
  position: absolute; top: 0; bottom: 0; left: 0; width: 4px;
  background: var(--ink);
  transform: translateX(calc(var(--split-px) - 2px));
  box-shadow: 0 0 0 1px rgb(255 246 228 / .35);
  transition: opacity 240ms var(--sc-ease-out);
}
.sign {
  position: absolute; top: 0; left: 0; pointer-events: auto;
  display: flex; flex-direction: column; align-items: center;
  transform: translateX(calc(var(--sign-x, var(--split-px)) - 50%));
}
.sign__mark {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: 10px;
  padding: .32rem .7rem .32rem .55rem; border-radius: 6px;
  background: var(--fab-bg); color: var(--ink); text-decoration: none;
  font: 400 1rem/1 var(--sc-font-display);
  box-shadow: 0 1px 2px hsl(var(--sc-shadow-color) / .25);
}
.sign__board {
  position: relative; margin-top: 16px; min-width: 200px; max-width: 340px; padding: .7rem 1.2rem .75rem;
  background: var(--ink); color: #F8EBCF; text-decoration: none; text-align: center; border-radius: 6px;
  border: 3px solid #0E2619;
  box-shadow: inset 0 0 0 2px rgb(248 235 207 / .5), 0 3px 4px hsl(var(--sc-shadow-color) / .3), 0 12px 24px -10px hsl(var(--sc-shadow-color) / .45);
  font: 400 1.05rem/1.15 var(--sc-font-display); letter-spacing: .02em;
  transform-origin: 50% -16px; animation: sway 6s var(--sc-ease-in-out) infinite alternate;
}
.sign__board::before, .sign__board::after { content: ""; position: absolute; top: -19px; width: 2px; height: 16px; background: #0E2619; }
.sign__board::before { left: 22%; } .sign__board::after { right: 22%; }
.sign__words { display: block; overflow-wrap: anywhere; }
@keyframes sway { from { transform: rotate(-1.2deg); } to { transform: rotate(1.2deg); } }
.hooks { display: flex; gap: 6px; margin-top: 10px; padding: 5px 8px; border-radius: 999px; background: rgb(255 246 228 / .82); box-shadow: 0 1px 2px hsl(var(--sc-shadow-color) / .2); }
.hooks a { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; }
.hooks span { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); transition: background-color 200ms var(--sc-ease-out), transform 200ms var(--sc-ease-out); }
.hooks a.is-done span { background: var(--ink); }
.hooks a.is-on span { background: var(--tomato-deep); border-color: var(--tomato-deep); transform: scale(1.25); }

.knob {
  position: absolute; left: 0; top: 50%; width: 56px; height: 56px; margin-top: -28px;
  border-radius: 50%; border: 3px solid var(--cream); background: var(--tomato-deep); color: var(--cream);
  display: grid; place-items: center; cursor: grab; touch-action: none; pointer-events: auto;
  transform: translateX(calc(var(--split-px) - 50%)) scale(.6); opacity: 0; visibility: hidden;
  box-shadow: 0 3px 6px hsl(var(--sc-shadow-color) / .3), 0 12px 24px -8px hsl(var(--sc-shadow-color) / .5);
  transition: opacity 220ms var(--sc-ease-out), visibility 0s linear 220ms;
}
.chrome.is-peak .knob { opacity: 1; visibility: visible; transform: translateX(calc(var(--split-px) - 50%)); transition: opacity 220ms var(--sc-ease-out), visibility 0s; }
.knob:active { cursor: grabbing; }
.foot-labels { position: absolute; left: 0; bottom: 14px; margin: 0; transform: translateX(var(--split-px)); font: 700 .78rem/1 var(--sc-font-text); letter-spacing: .08em; text-transform: uppercase; transition: opacity 240ms var(--sc-ease-out); }
.lab { position: absolute; bottom: 0; white-space: nowrap; padding: .4rem .6rem; border-radius: 4px; }
.lab--today { right: 12px; color: var(--today-ink); font-family: var(--system); background: rgb(210 213 211 / .9); }
.lab--fab { left: 12px; color: var(--ink); background: rgb(245 232 204 / .9); }
.chrome.is-gone .line, .chrome.is-gone .foot-labels { opacity: 0; }

/* =============================================================== HERO ===== */
.hero-sun { position: absolute; right: -15vw; top: -30vh; width: 80vw; height: 130vh; background: radial-gradient(closest-side, rgb(255 210 120 / .55), rgb(255 210 120 / 0)); pointer-events: none; }
.awning { position: absolute; left: 0; top: -98px; width: 100%; height: clamp(64px, 11vh, 110px); filter: drop-shadow(0 6px 6px hsl(var(--sc-shadow-color) / .28)); z-index: 4; }
.hero-copy { position: absolute; z-index: 3; left: calc(50% + var(--gut) * .8); top: max(172px, calc(clamp(64px, 11vh, 110px) + 4vh)); /* clear of the hanging sign and its dots */ width: min(42vw, 640px); }
.hero-act { position: absolute; z-index: 3; left: calc(50% + var(--gut) * .8); top: calc(40vh + 6px); width: calc(50vw - var(--gut) * 1.5 - 32.6vh - 64px); max-width: 320px; }
.cta-wrap { display: inline-block; }
.hero-sub { margin: 0 0 1.4rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.5; text-wrap: pretty; }
.hero-window { position: absolute; z-index: 2; right: calc(var(--gut) * .7); top: calc(40vh - 45px); }
.shopwin { position: relative; padding: 14px; background: #1F4A35; border-radius: 6px 6px 0 0;
  box-shadow: inset 0 0 0 3px #143526, inset 0 2px 0 rgb(255 255 255 / .12), 0 4px 8px hsl(var(--sc-shadow-color) / .3), 0 30px 60px -20px hsl(var(--sc-shadow-color) / .5); }
.shopwin__glass { position: relative; height: 58vh; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 2px; background: var(--glass); }
.shopwin__video { width: 100%; height: 100%; object-fit: cover; }
.shopwin__shine { position: absolute; inset: 0; background: linear-gradient(115deg, rgb(255 255 255 / .16) 0 18%, transparent 18% 30%, rgb(255 255 255 / .08) 30% 34%, transparent 34%); pointer-events: none; }
.hero-board { position: absolute; z-index: 3; right: calc(var(--gut) * .7 + 32.6vh - 12px); top: calc(72vh - 70px); width: clamp(120px, 10vw, 160px); }
.aboard { width: 100%; height: auto; display: block; filter: drop-shadow(0 8px 10px hsl(var(--sc-shadow-color) / .35)); }
.aboard__chalk { position: absolute; left: 22%; right: 22%; top: 17%; margin: 0; color: #F2EEDF; font: 400 .9rem/1.15 var(--sc-font-display); text-align: center; }
.aboard__chalk span { display: block; font: 700 .62rem/1.2 var(--sc-font-text); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .35rem; color: #E9C9A0; }
.lean { will-change: transform; transform: translate3d(calc(var(--lx, 0) * var(--lean, 0px)), calc(var(--ly, 0) * var(--lean, 0px) * .6), 0); }
.lean--mid { --lean: -10px; } .lean--near { --lean: -22px; }

.today-copy { position: absolute; left: var(--gut); top: max(172px, calc(clamp(64px, 11vh, 110px) + 4vh)); /* clear of the hanging sign and its dots */ width: calc(50% - var(--gut) * 2); }
.post--hero { position: absolute; left: calc(25% - clamp(240px, 21vw, 310px) / 2 + var(--gut) * .3); top: 34vh; width: clamp(240px, 21vw, 310px); }

/* =============================================================== WORK ===== */
.rows { background: linear-gradient(90deg, var(--today-bg) 0 calc(var(--split) * 1%), var(--fab-bg) calc(var(--split) * 1%) 100%); }
.row { display: grid; grid-template-columns: calc(var(--split) * 1%) 1fr; }
.cell { padding: clamp(3rem, 9vh, 7rem) var(--gut); min-width: 0; }
.cell--today { color: var(--today-ink); }
.row--work .cell { padding-block: clamp(4rem, 14vh, 9rem); }
.chores { margin: 1.4rem 0 0; padding: 0; list-style: none; font-family: var(--system); color: var(--today-soft); font-size: 1.05rem; counter-reset: c; }
.chores li { counter-increment: c; display: flex; gap: .8rem; padding: .62rem 0; border-top: 1px solid rgb(40 49 53 / .14); }
.chores li::before { content: counter(c); flex: none; width: 1.6rem; color: var(--today-soft); font-variant-numeric: tabular-nums; }
.cell--fab .sc-stack > .body { margin-top: 1.1rem; }
.shop-form { margin-top: 2rem !important; max-width: 34rem; }
.shop-form__label { display: block; font: 700 .85rem/1 var(--sc-font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: .6rem; }
.shop-form__row { display: flex; gap: .6rem; }
.shop-form input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 1rem; border-radius: 6px;
  border: 2px solid var(--ink); background: var(--cream); color: var(--ink);
  font: 400 1.15rem/1 var(--sc-font-display); letter-spacing: .01em;
}
.shop-form input:focus-visible { outline: 3px solid var(--tomato-deep); outline-offset: 2px; }
.shop-form__hint { margin: .7rem 0 0; color: var(--ink-soft); font-size: .92rem; }

/* =============================================================== PEAK ===== */
.player { position: absolute; left: 27%; top: 50%; height: 66vh; aspect-ratio: 9 / 16; transform: translateY(-50%); }
.player__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 10px; background: var(--glass);
  box-shadow: inset 0 0 0 4px #1F4A35, 0 4px 8px hsl(var(--sc-shadow-color) / .3), 0 30px 60px -20px hsl(var(--sc-shadow-color) / .5); }
.player__empty { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: rgb(248 235 207 / .7); font: 400 1.1rem/1 var(--sc-font-display); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 600ms var(--sc-ease-out); }
.slide.is-on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.slide.is-on img { animation: kb 3.2s linear forwards; }
@keyframes kb { from { transform: scale(1.04); } to { transform: scale(1.14) translateY(-1.5%); } }
.slide__band { position: absolute; left: 0; right: 0; bottom: 0; padding: 30% 9% 10%; background: linear-gradient(to top, rgb(10 28 20 / .88), rgb(10 28 20 / 0)); }
.slide__txt { margin: 0; color: #FFF6E4; font: 400 clamp(1rem, .7rem + .9vw, 1.45rem)/1.08 var(--sc-font-display); text-wrap: balance; }
.slide__cr { margin: .5rem 0 0; color: rgb(255 246 228 / .78); font-size: .72rem; }

.board { position: absolute; left: 54%; right: var(--gut); top: 9vh; bottom: 7vh; display: flex; flex-direction: column; justify-content: center; }
.board__eyebrow { margin: 0 0 .6rem; font: 700 .8rem/1.2 var(--sc-font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--tomato-deep); }
.board__sentence { margin: .9rem 0 0; font-style: italic; color: var(--ink-soft); max-width: 60ch; font-size: .98rem; line-height: 1.5; }
.board__sentence:empty { display: none; }
.scenes { list-style: none; margin: 1.3rem 0 0; padding: 0; display: grid; gap: .55rem; }
.scene { display: grid; grid-template-columns: 64px 1fr; gap: .9rem; align-items: center; padding: .5rem; border-radius: 8px; background: rgb(255 246 228 / .55); box-shadow: inset 0 0 0 1px rgb(23 59 43 / .1);
  transition: background-color 400ms var(--sc-ease-out), box-shadow 400ms var(--sc-ease-out); }
.scene__img { width: 64px; height: 64px; border-radius: 6px; overflow: hidden; background: #D9CBA9; }
.scene__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(.8) brightness(1.08); opacity: .45; transition: filter 600ms var(--sc-ease-out), opacity 600ms var(--sc-ease-out); }
.scene__body { min-width: 0; opacity: .42; transition: opacity 500ms var(--sc-ease-out); }
.scene__on { margin: 0; font: 400 1rem/1.15 var(--sc-font-display); color: var(--ink); }
.scene__nar { margin: .2rem 0 0; font-size: .9rem; line-height: 1.35; color: var(--ink-soft); }
.scene__meta { margin: .25rem 0 0; font-size: .74rem; color: var(--ink-soft); }
.scene__meta a { color: inherit; }
.scene.is-lit { background: #FFF6E4; box-shadow: inset 0 0 0 2px var(--tomato), 0 4px 10px -4px hsl(var(--sc-shadow-color) / .3); }
.scene.is-lit .scene__img img { filter: none; opacity: 1; }
.scene.is-lit .scene__body { opacity: 1; }
.scene--skel .scene__on { background: rgb(23 59 43 / .14); color: transparent; border-radius: 4px; width: 60%; }
.scene--skel .scene__nar { background: rgb(23 59 43 / .08); color: transparent; border-radius: 4px; }
.board__foot { margin: 1rem 0 .5rem; font-size: .85rem; color: var(--ink-soft); max-width: 60ch; }
.board .textlink { align-self: flex-start; }
.board.is-error .board__title { color: var(--tomato-deep); }

.act--peak .today-label { position: absolute; left: var(--gut); top: 13vh; }
.post--peak { position: absolute; left: var(--gut); top: calc(13vh + 2rem); width: clamp(210px, 18vw, 280px); }
.pull-hint { position: absolute; left: var(--gut); bottom: 9vh; margin: 0; max-width: 18ch; font: 600 1rem/1.35 var(--system); color: var(--today-soft); }
.pull-hint__phone { display: none; }

/* ============================================================== PROOF ===== */
.row--head .cell { padding-bottom: 0; }
.row--pair .cell { padding-block: clamp(2rem, 5vh, 3.5rem); }
@media (min-width: 860px) { .cell--fab { padding-left: max(var(--gut), 130px); } .cell--today { padding-right: max(var(--gut), 120px); } .row--pair .cell--today, .row--head .cell--today { padding-right: var(--gut); } }
.row--pair .cell--today { display: flex; align-items: center; }
.row--pair .cell--fab { display: flex; gap: clamp(1.5rem, 3vw, 3.5rem); align-items: center; }
.post--sm { width: min(240px, 100%); }
.reel { position: relative; margin: 0; flex: none; overflow: hidden; border-radius: 8px; background: var(--glass);
  box-shadow: inset 0 0 0 4px #1F4A35, 0 4px 8px hsl(var(--sc-shadow-color) / .25), 0 24px 50px -20px hsl(var(--sc-shadow-color) / .5); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel--tall { height: min(58vh, 540px); aspect-ratio: 9 / 16; }
.reel--wide { width: min(33vw, 580px); aspect-ratio: 16 / 9; }
.label { flex: 1 1 0; min-width: 0; max-width: 40ch; }
.label__meta { margin: .45rem 0 0; font-size: .88rem; color: var(--ink-soft); font-weight: 500; }
.label__k { margin: 1.1rem 0 .3rem; font: 700 .76rem/1 var(--sc-font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--tomato-deep); }
.label__q { margin: 0; padding-left: .9rem; border-left: 1px solid rgb(23 59 43 / .3); color: var(--ink); font-size: .95rem; line-height: 1.5; text-wrap: pretty; }
.row--looks .cell--today { align-items: flex-start; padding-top: clamp(3rem, 10vh, 6rem); }
.looks { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.looks button { min-height: 36px; padding: 0 .8rem; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink);
  font: 700 .85rem/1 var(--sc-font-text); cursor: pointer; transition: background-color 140ms var(--sc-ease-out), color 140ms var(--sc-ease-out), transform 120ms var(--sc-ease-out); }
.looks button:active { transform: scale(.97); }
.looks button[aria-checked="true"] { background: var(--ink); color: var(--cream); }
@media (hover: hover) and (pointer: fine) { .looks button:hover { background: rgb(23 59 43 / .1); } .looks button[aria-checked="true"]:hover { background: var(--ink); } }

/* ============================================================== CLOSE ===== */
.glasswin { position: absolute; left: var(--gut); top: 10vh; width: 54vw; height: 68vh; padding: 18px; background: #1F4A35; border-radius: 8px;
  box-shadow: inset 0 0 0 3px #143526, inset 0 2px 0 rgb(255 255 255 / .12), 0 6px 12px hsl(var(--sc-shadow-color) / .3), 0 40px 80px -30px hsl(var(--sc-shadow-color) / .6); }
.glasswin__glass { position: relative; height: 100%; border-radius: 3px; overflow: hidden; padding: clamp(1.5rem, 5vh, 3.5rem) clamp(1.5rem, 3.5vw, 3.5rem);
  background: radial-gradient(90% 70% at 30% 20%, #1C4532, var(--glass)); display: flex; flex-direction: column; justify-content: center; }
.glasswin__words { margin: .6rem 0; color: #F8EBCF; font: 400 clamp(2.2rem, 1rem + 3.4vw, 4.6rem)/1 var(--sc-font-display); letter-spacing: -.005em; text-wrap: balance; overflow-wrap: anywhere;
  text-shadow: 0 2px 0 #9C6B2E, 0 4px 10px rgb(0 0 0 / .35); }
.glasswin__small { margin: 0; color: #E9C9A0; font: 700 .85rem/1.2 var(--sc-font-text); letter-spacing: .12em; text-transform: uppercase; }
.glasswin__small--b { color: #F8EBCF; letter-spacing: .06em; }
.glasswin__shine { position: absolute; inset: 0; background: linear-gradient(120deg, rgb(255 255 255 / .1) 0 14%, transparent 14% 26%, rgb(255 255 255 / .05) 26% 29%, transparent 29%); pointer-events: none; }
.print { position: absolute; left: -1.2vw; bottom: -7vh; width: clamp(150px, 12vw, 190px); margin: 0; z-index: 2; }
.print { background: #fff; }
.print__card { position: relative; padding: 8px 8px 10px; background: #fff;
  box-shadow: 0 2px 4px rgb(30 40 45 / .2), 0 14px 24px -10px rgb(30 40 45 / .4); font-family: var(--system); }
.print img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.55) contrast(.92); background: #B9BFC1; }
.print figcaption { margin-top: .4rem; font-size: .74rem; line-height: 1.3; color: #3a4448; }
.print__tape { position: absolute; top: -12px; left: 50%; width: 70px; height: 24px; margin-left: -35px; background: rgb(240 228 190 / .85); transform: rotate(3deg); box-shadow: 0 1px 2px rgb(0 0 0 / .1); }
.offer { position: absolute; left: calc(54vw + var(--gut) * 2); right: var(--gut); top: 10vh; bottom: 10vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.offer__line { margin: .8rem 0 0; color: var(--ink-soft); max-width: 40ch; font-size: 1rem; line-height: 1.5; }
.offer__line strong { color: var(--ink); }
.offer__sent { margin: 1rem 0 1.4rem; font-size: .88rem; color: var(--ink-soft); max-width: 44ch; line-height: 1.45; }
.offer__sent q { font-style: italic; color: var(--ink); }
.offer .textlink { margin-top: 1rem; }
.post--close { position: absolute; left: var(--gut); top: calc(13vh + 2rem); width: clamp(210px, 18vw, 280px); }

/* ============================================================= FOOTER ===== */
.foot { background: var(--fab-bg-2); border-top: 1px solid rgb(23 59 43 / .15); }
.foot__in { max-width: 82rem; margin: 0 auto; padding: 2.2rem var(--gut) 2.6rem; display: grid; gap: 1rem 2.5rem; grid-template-columns: auto 1fr; align-items: center; }
.foot__mark { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font: 400 1.1rem/1 var(--sc-font-display); }
.foot__nav, .foot__for { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-size: .95rem; }
.foot__nav a, .foot__for a { text-decoration: none; padding: .35rem 0; }
.foot__nav a:hover, .foot__for a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot__for { grid-column: 1 / -1; color: var(--ink-soft); }
.foot__for span { font-weight: 700; color: var(--ink); padding: .35rem 0; }
.foot__for a[aria-current] { color: var(--tomato-deep); font-weight: 700; }
.foot__small { grid-column: 1 / -1; margin: 0; font-size: .8rem; color: var(--ink-soft); }

/* ============================================================== PHONES ==== */
@media (max-width: 859px) {
  :root { --gut: 16px; }
  .layer--today { clip-path: inset(0 0 calc(100% - var(--split) * 1%) 0); }
  .line, .foot-labels { display: none; }

  /* The chrome becomes a top bar holding the same parts. */
  .sign { left: 0; right: 0; transform: none; flex-direction: row; justify-content: space-between; gap: 8px; height: 52px; padding: 0 10px; background: var(--ink); box-shadow: 0 2px 6px rgb(0 0 0 / .18); }
  .sign__mark { margin: 0; padding: .3rem .5rem; font-size: .95rem; }
  .sign__mark span { display: none; }
  .sign__board { margin: 0; min-width: 0; max-width: none; flex: 1; padding: .35rem .6rem; font-size: .85rem; animation: none; border: 0; box-shadow: inset 0 0 0 1px rgb(248 235 207 / .45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sign__board::before, .sign__board::after { display: none; }
  .sign__words { overflow: hidden; text-overflow: ellipsis; }
  .hooks { margin: 0; padding: 3px 4px; gap: 0; }
  .hooks a { width: 22px; height: 30px; }
  .hooks span { width: 9px; height: 9px; }
  .knob { left: auto; right: 14px; top: 0; margin-top: -28px; transform: translateY(var(--split-py)) scale(.6); }
  .chrome.is-peak .knob { transform: translateY(var(--split-py)); }
  .knob svg { transform: rotate(90deg); }

  .mline { display: block; position: absolute; left: 0; right: 0; top: calc(var(--split) * 1%); height: 4px; margin-top: -2px; background: var(--ink); z-index: 8; }
  .mlab { position: absolute; left: 16px; font: 700 .7rem/1 var(--sc-font-text); letter-spacing: .08em; text-transform: uppercase; padding: .3rem .45rem; border-radius: 3px; white-space: nowrap; }
  .mlab--t { bottom: 10px; color: var(--today-ink); font-family: var(--system); background: rgb(210 213 211 / .92); }
  .mlab--f { top: 10px; color: var(--ink); background: rgb(245 232 204 / .92); }
  .act--hero .mlab--f { top: 50px; left: auto; right: 16px; }

  /* hero */
  .awning { top: calc(var(--split) * 1% - 92px); height: 40px; }
  .today-copy { left: var(--gut); right: var(--gut); width: auto; top: 66px; }
  .today-head { font-size: 1.6rem; }
  .post--hero { right: auto; left: var(--gut); top: 116px; width: calc(100% - 32px); max-width: 360px; display: grid; grid-template-columns: 112px 1fr; grid-template-rows: auto 1fr; border-radius: 8px; }
  .post--hero .post__top { grid-column: 2; padding: .5rem .6rem .2rem; }
  .post--hero .post__photo { grid-column: 1; grid-row: 1 / 3; }
  .post--hero .post__cap { grid-column: 2; padding: .2rem .6rem .6rem; font-size: .85rem; }
  .hero-copy { left: var(--gut); right: var(--gut); width: auto; top: calc(var(--split) * 1% + 48px); }
  .disp--hero { font-size: 1.62rem; line-height: 1.05; }
  .hero-act { left: var(--gut); right: var(--gut); width: auto; top: calc(var(--split) * 1% + 116px); }
  .hero-sub { font-size: .9rem; line-height: 1.42; margin: 0 0 .9rem; }
  .hero-act .btn { padding: 0 1rem; font-size: .95rem; }
  .hero-window { right: var(--gut); top: calc(var(--split) * 1% + 292px); }
  .shopwin { padding: 7px; }
  .shopwin__glass { height: min(42svh, 380px); }
  .sound span { display: none; }
  .sound { min-height: 34px; padding: 0 .55rem; right: 6px; bottom: 6px; }
  .hero-board { right: auto; left: var(--gut); top: calc(var(--split) * 1% + 330px); width: 112px; }
  .aboard__chalk { font-size: .72rem; } .aboard__chalk span { font-size: .5rem; }

  /* flow rows become stacked bands */
  .rows { background: none; }
  .row { grid-template-columns: 1fr; }
  .cell--today { background: var(--today-bg); }
  .cell--fab { background: var(--fab-bg); border-top: 4px solid var(--ink); }
  .cell { padding: 2.2rem var(--gut); }
  .row--work .cell { padding-block: 2.6rem; }
  .row--work .cell--today { padding-top: 4.6rem; }
  .chores { font-size: .95rem; }
  .chores li { padding: .45rem 0; }
  .shop-form__row { flex-direction: column; }
  .shop-form input { font-size: 1.05rem; }

  /* peak */
  .player { display: none; }
  .act--peak .today-label { top: 64px; }
  .post--peak, .post--close { left: var(--gut); top: 86px; width: calc(100% - 32px); max-width: 360px; display: grid; grid-template-columns: 76px 1fr; grid-template-rows: auto 1fr; }
  .post--peak .post__top, .post--close .post__top { grid-column: 2; padding: .45rem .6rem .15rem; }
  .post--peak .post__photo, .post--close .post__photo { grid-column: 1; grid-row: 1 / 3; }
  .post--peak .post__cap, .post--close .post__cap { grid-column: 2; padding: .15rem .6rem .5rem; font-size: .82rem; }
  .pull-hint { bottom: auto; top: 186px; max-width: none; right: 90px; font-size: .9rem; }
  .pull-hint__desk { display: none; } .pull-hint__phone { display: inline; }
  .board { left: var(--gut); right: var(--gut); top: calc(var(--split) * 1% + 40px); bottom: auto; justify-content: flex-start; }
  .board__eyebrow { font-size: .7rem; margin-bottom: .35rem; }
  .board__title { font-size: 1.4rem; }
  .board__sentence { font-size: .84rem; line-height: 1.4; margin-top: .45rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .scenes { margin-top: .7rem; gap: .35rem; }
  .scene { grid-template-columns: 48px 1fr; gap: .6rem; padding: .35rem; }
  .scene__img { width: 48px; height: 48px; }
  .scene__on { font-size: .88rem; }
  .scene__nar { font-size: .78rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .scene__meta { display: none; }
  .board__foot { display: none; }
  .board .textlink { margin-top: .7rem; }

  /* proof */
  .row--head .cell--today { padding-top: 2.6rem; padding-bottom: 1rem; }
  .row--head .cell--fab { padding-block: 1.6rem; }
  .row--pair .cell { padding-block: 1.6rem; }
  .row--pair .cell--today { display: block; }
  .post--sm { width: 100%; max-width: 360px; display: grid; grid-template-columns: 76px 1fr; grid-template-rows: auto 1fr; }
  .post--sm .post__top { grid-column: 2; padding: .45rem .6rem .15rem; }
  .post--sm .post__photo { grid-column: 1; grid-row: 1 / 3; }
  .post--sm .post__cap { grid-column: 2; padding: .15rem .6rem .5rem; font-size: .85rem; }
  .row--pair .cell--fab { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .reel--tall { height: auto; width: min(64vw, 260px); }
  .reel--wide { width: 100%; }
  .row--looks .cell--today { padding-block: 1.6rem; }

  /* close */
  .glasswin { left: var(--gut); right: var(--gut); width: auto; top: 66px; height: 37svh; padding: 9px; }
  .glasswin__glass { padding: 1rem 1.1rem; }
  .glasswin__words { font-size: clamp(1.7rem, 7.5vw, 2.4rem); }
  .glasswin__small { font-size: .7rem; }
  .print { left: auto; right: 4px; bottom: -40px; width: 104px; }
  .print__card { padding: 5px 5px 7px; }
  .print figcaption { font-size: .62rem; }
  .print__tape { width: 50px; margin-left: -25px; height: 18px; top: -9px; }
  .offer { left: var(--gut); right: var(--gut); top: calc(66px + 37svh + 34px); bottom: 14px; justify-content: flex-start; }
  .offer .disp--md { font-size: 1.55rem; padding-right: 100px; }
  .offer__line { font-size: .9rem; line-height: 1.42; margin-top: .55rem; }
  .offer__sent { display: none; }
  .offer .btn--big { margin-top: 1rem; width: 100%; }
  .offer .textlink { margin-top: .7rem; }

  .foot__in { grid-template-columns: 1fr; }
}

@media (max-width: 859px) and (max-height: 700px) {
  .shopwin__glass { height: 36svh; }
  .glasswin { height: 28svh; }
  .offer { top: calc(66px + 28svh + 24px); }
}

/* ======================================================= REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  .sign__board { animation: none; }
  .slide.is-on img { animation: none; }
  .lean { transform: none !important; }
}


@media (min-width: 860px) {
  .row--wide .cell--fab { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
  .row--wide .reel--wide { width: min(44vw, 680px); }
  .row--wide .label { flex: none; width: 100%; max-width: 64ch; }
}
/* Flow acts hold their own split: the global value only changes while a
   pinned stage covers the viewport, so these never need to reflow. */
.act--work { --split: 50; }
.act--proof { --split: 27; }
.post__photo:has(img:not([src])) { background: #B9BFC1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23858D90' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-2h6l2 2h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") center / 34% no-repeat; }
