/* Coach Kento, variant 2: Redraft
   A plan is a working document. Kento edits it in place. */

@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/PlayfairDisplay-VF.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-VF.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #14353a;
  --ink-2: #0d262b;
  --ink-3: #1d444b;
  --ink-line: rgba(243, 235, 221, 0.14);

  --paper: #f3ebdd;
  --paper-2: #fbf6ec;
  --paper-3: #e6dccb;
  --paper-line: rgba(27, 42, 44, 0.12);

  --graphite: #1b2a2c;
  --graphite-2: #5f6b6c;
  --cream: #f3ebdd;
  --cream-2: rgba(243, 235, 221, 0.68);
  --cream-3: rgba(243, 235, 221, 0.42);

  --coral: #f5866a;
  --coral-soft: rgba(245, 134, 106, 0.16);
  --coral-deep: #c24e2b;

  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(5rem, 11vw, 9.5rem);

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  /* same noise, pre-faded, for use as a plain background layer */
  --grain-soft: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .19 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--cream);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
del, ins { text-decoration: none; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; border-radius: 2px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .6rem 1rem; background: var(--coral); color: var(--ink); border-radius: 999px; font-weight: 600;
}
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; font-variant-numeric: tabular-nums; }

.h1, .h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; text-wrap: balance; }
.h2 { font-size: clamp(2.1rem, 1.2rem + 3.2vw, 4.4rem); line-height: 1.04; }
.h2-big { font-size: clamp(3rem, 1rem + 7vw, 8rem); line-height: .98; letter-spacing: -0.02em; }

.eyebrow { display: flex; align-items: center; gap: .75em; margin-bottom: clamp(1rem, 2vw, 1.5rem); color: var(--coral); }
.eyebrow .sep { opacity: .5; }
.paper .eyebrow { color: var(--coral-deep); }

.section-head { max-width: 46rem; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.section-head.wide { max-width: 64rem; }
.sub { margin-top: 1.4rem; font-size: clamp(1.05rem, 1rem + .35vw, 1.3rem); line-height: 1.5; color: var(--cream-2); max-width: 38rem; }
.paper .sub { color: var(--graphite-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease-out), background-color .3s, color .3s, box-shadow .35s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn-primary { background: var(--coral); color: var(--ink-2); box-shadow: 0 12px 30px -14px rgba(245, 134, 106, .8); }
.btn-primary:hover { background: #ff9a7f; }
.btn-cream { background: var(--cream); color: var(--ink-2); box-shadow: none; }
.btn-cream:hover { background: #fff; }
.btn-nav { padding: .7rem 1.1rem; font-size: .9rem; background: var(--cream); color: var(--ink-2); }
body[data-nav="light"] .btn-nav { background: var(--graphite); color: var(--paper); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--gutter);
  color: var(--cream);
  transition: color .4s, background-color .4s;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(20, 53, 58, .85), rgba(20, 53, 58, 0));
  opacity: 0; transition: opacity .4s;
}
body.scrolled .nav::before { opacity: 1; }
body[data-nav="light"] .nav { color: var(--graphite); }
body[data-nav="light"] .nav::before { background: linear-gradient(to bottom, rgba(243, 235, 221, .9), rgba(243, 235, 221, 0)); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-block: 8rem 5rem;
  background:
    radial-gradient(120% 80% at 85% 100%, rgba(245, 134, 106, .16), transparent 55%),
    radial-gradient(70% 60% at 10% 0%, rgba(29, 68, 75, .9), transparent 60%),
    var(--ink);
  overflow: hidden;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  grid-template-areas:
    "eyebrow kento"
    "h1 kento"
    "copy kento";
  align-content: center;
  align-items: start;
  column-gap: clamp(1rem, 3vw, 3rem);
  flex: 1;
}
.hero .eyebrow { grid-area: eyebrow; margin-bottom: 1.5rem; }
.h1 {
  grid-area: h1;
  font-size: clamp(2.75rem, 1rem + 4vw, 5.5rem);
  line-height: .98;
  margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
  max-width: 24ch;
}
.hero-emphasis { color: var(--coral); }

.hero-copy { grid-area: copy; max-width: 40rem; }
.lede { font-size: clamp(1.1rem, 1rem + .5vw, 1.45rem); line-height: 1.45; color: var(--cream-2); max-width: 34rem; }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem 1.75rem; margin-top: 2rem; }
.cta-note { font-size: .9rem; line-height: 1.45; color: var(--cream-2); }
.hero .cta-row { flex-direction: column; align-items: flex-start; gap: .75rem; margin-top: 1.5rem; }

.hero-kento {
  grid-area: kento;
  justify-self: end; align-self: center;
  width: 100%;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35));
  transform: translateY(0);
  animation: kento-in 1.4s var(--ease-out) both;
}
.hero-kento img { height: auto; width: 100%; }
@keyframes kento-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

.scroll-hint {
  position: absolute; left: var(--gutter); bottom: 1.4rem;
  display: inline-flex; gap: .6rem; align-items: center;
  color: var(--cream-3); text-decoration: none;
}
.scroll-hint .arrow { display: inline-block; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ---------- strike (drawn line) ---------- */
.js-strike { position: relative; display: inline-block; }
.strike {
  position: absolute; left: 0; top: 0;
  pointer-events: none; overflow: visible;
}
.strike path {
  fill: none; stroke: var(--coral); stroke-width: .055em; stroke-linecap: round;
  stroke-dasharray: var(--len, 2000px); stroke-dashoffset: var(--len, 2000px);
  transition: stroke-dashoffset .55s var(--ease-out);
}
.paper .strike path { stroke: var(--coral-deep); }
.done > .js-strike .strike path,
.done .js-strike .strike path { stroke-dashoffset: 0; }
.sheet .line.done .strike path { transition-delay: .05s; }

/* ---------- paper sections ---------- */
.paper { background: var(--paper); color: var(--graphite); position: relative; }
.paper::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); background-size: 160px 160px; opacity: .35; mix-blend-mode: multiply;
}
.paper > * { position: relative; }

/* ---------- redraft ---------- */
.redraft { padding-block: var(--section); }
.demo-note { margin-block: 1.5rem .9rem; font-size: .875rem; line-height: 1.5; color: var(--graphite-2); }
.redraft-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  column-gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
}
.sheet-wrap { position: sticky; top: clamp(5.5rem, 12vh, 7.5rem); }

.sheet {
  position: relative;
  background: var(--paper-2);
  color: var(--graphite);
  border-radius: 14px;
  padding: 1.35rem 1.6rem 1.2rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .7) inset,
    0 30px 60px -30px rgba(27, 42, 44, .35),
    0 2px 6px rgba(27, 42, 44, .06);
  transform: rotate(-.35deg);
}
.sheet::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background-image: var(--grain); background-size: 160px 160px; opacity: .3; mix-blend-mode: multiply;
}
.sheet-head {
  display: flex; align-items: center; gap: 1rem;
  padding-bottom: .9rem; border-bottom: 1px solid var(--paper-line);
  color: var(--graphite-2);
}
.sheet-title { color: var(--graphite); font-weight: 600; }
.sheet-date { margin-left: auto; }
.draft-pill {
  padding: .3rem .55rem; border-radius: 6px;
  background: var(--coral-deep); color: var(--paper-2);
  display: inline-block; transform-origin: center;
}
.draft-pill.tick { animation: tick .45s var(--ease-out); }
@keyframes tick { 0% { transform: scale(1); } 35% { transform: scale(1.12) rotate(-2deg); } 100% { transform: scale(1); } }

.sheet-lines { display: flex; flex-direction: column; }
.line { padding: .7rem 0; border-bottom: 1px dashed var(--paper-line); }
.line:last-child { border-bottom: 0; }
.orig, .rw-in { display: grid; grid-template-columns: 3.6rem 1fr; column-gap: .9rem; align-items: baseline; }
.orig > .js-strike { grid-column: 1 / -1; display: grid; grid-template-columns: 3.6rem 1fr; column-gap: .9rem; align-items: baseline; }
.orig > .js-strike .what { justify-self: start; }
.line .t { color: var(--graphite-2); font-size: .82rem; letter-spacing: .02em; text-transform: none; }
.line .what { font-size: 1.02rem; line-height: 1.35; }
.orig del { transition: opacity .5s var(--ease-out), color .5s; }
.line.done .orig del { opacity: .42; }

.rw { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.rw-in { min-height: 0; overflow: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.line.done .rw { grid-template-rows: 1fr; }
.line.done .rw-in { opacity: 1; transform: none; transition-delay: .3s; }
.rw ins { display: contents; }
.rw .t { color: var(--coral-deep); }
.rw .what { font-family: var(--serif); font-weight: 500; color: var(--coral-deep); font-size: 1.12rem; line-height: 1.3; padding-top: .45rem; }
.rw .t { padding-top: .45rem; }
.line.add { padding-block: 0; border-bottom-width: 0; }
.line.add.done { padding-block: .7rem; border-bottom-width: 1px; }
.line.add .rw .what, .line.add .rw .t { padding-top: 0; }

.kept {
  justify-self: start;
  margin-left: .5rem; padding: .22rem .5rem; border-radius: 5px;
  border: 1px solid var(--coral-deep); color: var(--coral-deep);
  font-size: .66rem;
  opacity: 0; transform: rotate(-4deg) scale(.9);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.line.keep .orig { grid-template-columns: 3.6rem auto 1fr; }
.line.keep.done .kept { opacity: 1; transform: rotate(-4deg) scale(1); }
.sheet-foot { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--paper-line); color: var(--graphite-2); font-size: .7rem; }

.moments { display: flex; flex-direction: column; }
.moment {
  min-height: 62vh;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: 2rem;
}
.m-inner {
  transform: translateY(6px);
  transition: transform .5s var(--ease-out);
}
.moment.is-active .m-inner { transform: none; }
.m-update { width: fit-content; max-width: calc(100% - 4rem); margin-left: auto; padding: 1rem 1.25rem; background: var(--paper-2); border-radius: 14px 14px 4px 14px; }
.m-head { display: flex; align-items: baseline; gap: .75rem; margin-bottom: .5rem; }
.m-head time { margin-left: auto; font-family: var(--mono); font-size: .75rem; font-weight: 400; color: var(--graphite-2); }
.src { font-size: .875rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
.m-notice { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: .75rem; margin-left: 3.75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--paper-line); }
.m-source-icon { grid-row: 1 / 3; width: 24px; height: 24px; color: var(--ink); }
.m-notice .m-head, .m-notice .m-event { grid-column: 2; }
.m-notice .m-event { font-size: 1rem; font-weight: 400; }
.m-event { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); line-height: 1.4; font-weight: 500; color: var(--graphite); }
.m-reply { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: .75rem; row-gap: .5rem; margin-top: 1.25rem; align-items: center; }
.m-face { grid-column: 1; grid-row: 1 / 3; align-self: start; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.m-name { grid-column: 2; font-size: .875rem; line-height: 1.4; font-weight: 600; color: var(--ink); }
.says { grid-column: 2; padding: 1.1rem 1.25rem; border-radius: 4px 14px 14px 14px; background: #e1e5df; font-family: var(--sans); font-weight: 400; font-size: clamp(1rem, .95rem + .2vw, 1.125rem); line-height: 1.55; color: var(--ink); }
.moment-photo { min-height: 82vh; }
.m-photo-message { width: min(100%, 24rem); padding: .75rem; }
.m-photo-message .m-head { padding-inline: .25rem; }
.m-meal-photo { width: 100%; height: auto; border-radius: 8px; }
.meal-receipt { grid-column: 2; margin-top: .5rem; padding-block: 1rem; border-block: 1px solid var(--paper-line); color: var(--graphite); }
.meal-saved { display: flex; align-items: center; gap: .4rem; font-size: .875rem; font-weight: 600; color: var(--ink); }
.meal-saved svg { width: 18px; height: 18px; flex: none; }
.meal-name { margin-top: .5rem; font-size: 1rem; font-weight: 500; }
.meal-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem; margin-top: .3rem; font-size: .875rem; color: var(--graphite-2); }
.meal-meta span { margin-left: auto; font-weight: 600; color: var(--ink); }
.meal-estimate { margin-top: .5rem; font-size: .8125rem; line-height: 1.5; color: var(--graphite-2); }
.breath-exercise { grid-column: 2; margin-top: .85rem; color: var(--ink); background: #f7f7f0; border-radius: 16px; box-shadow: 0 12px 30px -18px #14353a35; }
.breath-exercise summary { display: flex; align-items: center; gap: .9rem; padding: 1.25rem; cursor: pointer; list-style: none; }
.breath-exercise summary::-webkit-details-marker { display: none; }
.breath-summary-copy { flex: 1; }
.breath-summary-copy strong, .breath-summary-copy small { display: block; }
.breath-summary-copy strong { font-size: 1rem; font-weight: 600; }
.breath-summary-copy small { margin-top: .25rem; font-size: .75rem; color: #526666; }
.breath-thumbnail { width: 42px; aspect-ratio: 1; flex-shrink: 0; border-radius: 50%; background: radial-gradient(circle at 32% 26%, #f2f4e9 0, #d5e2de 35%, #96b6b6 72%, #608990 100%); box-shadow: inset 1px 2px 3px #ffffffb3, 0 4px 8px #24556320; }
.breath-open-label { max-width: 5rem; font-size: .75rem; font-weight: 600; text-decoration: underline; text-underline-offset: .3em; }
.breath-player { padding: 1.8rem clamp(1rem, 3vw, 2rem) 1.4rem; text-align: center; border-top: 1px solid #24556315; }
.breath-player-title { font-family: var(--serif); font-size: clamp(1.5rem, 2.3vw, 2rem); letter-spacing: -.025em; line-height: 1.2; }
.breath-preview-note { margin: .65rem auto 0; font-size: .8125rem; color: #526666; max-width: 29ch; }
.breath-visual { --breath-scale: .56; --breath-depth: 0; --breath-progress: 1; position: relative; display: grid; place-items: center; width: min(100%, 320px); aspect-ratio: 1; margin: 2.5rem auto 1.4rem; isolation: isolate; }
.breath-light { position: absolute; inset: -12%; border-radius: 50%; background: radial-gradient(ellipse, #cddedac4, #e3eded00 68%); opacity: calc(.3 + var(--breath-depth) * .7); }
.breath-progress { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-width: 3; transform: rotate(-90deg); }
.breath-track { stroke: #24556326; }
.breath-elapsed { stroke: #245563d9; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: var(--breath-progress); }
.breath-boundary, .breath-wake, .breath-orb { position: absolute; inset: 7%; border-radius: 50%; }
.breath-boundary { border: 1px solid #2455631a; }
.breath-wake { border: 1.5px solid #24556329; transform: scale(var(--breath-scale)); transition: transform .7s ease-out; }
.breath-orb { background: radial-gradient(circle at 34% 28%, #edf1e6 0, #e5eeee 30%, #b5cccb 65%, #729a9f 100%); box-shadow: inset 1px 2px 4px #fffffff0, inset -1px -2px 4px #24556340, 0 12px 22px -14px #24556345; transform: scale(var(--breath-scale)); transition: transform .12s linear; }
.breath-instruction { position: relative; display: flex; flex-direction: column; align-items: center; transform: translateY(-4px); }
.breath-instruction span { display: block; font-size: .875rem; color: #2b4c51; }
.breath-instruction strong { display: block; margin-top: .1rem; font-family: var(--serif); font-size: clamp(4rem, 7vw, 6rem); line-height: 1; letter-spacing: -.035em; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; }
.breath-clock { font-size: .8125rem; color: #526666; font-variant-numeric: tabular-nums; }
.breath-clock span { color: #245563; font-weight: 600; }
.breath-controls { display: flex; justify-content: center; gap: .75rem; margin-top: 1.5rem; }
.breath-controls button { min-height: 44px; min-width: 100px; padding: .65rem 1.4rem; cursor: pointer; border-radius: 999px; font-size: .875rem; }
#breath-pause { background: #245563; color: #f7f7f0; }
#breath-pause:disabled { opacity: .55; cursor: default; }
#breath-restart { border: 1px solid #24556340; }
.breath-controls button:hover:not(:disabled) { filter: brightness(.9); }
.breath-local-note { margin-top: 1.25rem; font-size: .6875rem; color: #526666; }

.redraft-close {
  margin-top: clamp(2rem, 5vw, 4rem);
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); line-height: 1.25;
  max-width: 30ch; color: var(--graphite);
}

/* ---------- one chat ---------- */
.onechat { padding-block: var(--section); background: linear-gradient(to bottom, var(--ink), var(--ink-2)); overflow: hidden; }
.h2-inline { line-height: 1.1; }
.ik {
  display: inline-block; height: 1.05em; width: auto;
  vertical-align: -0.2em; margin: 0 .04em 0 .1em;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .35));
  transition: transform .5s var(--ease-out);
}
.h2-inline:hover .ik { transform: translateY(-.06em) rotate(-3deg); }
.h2-inline .ik:nth-of-type(2n):hover { transform: translateY(-.06em) rotate(3deg); }

.strip {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  align-items: start;
  margin-top: clamp(1rem, 3vw, 2rem);
}
.shot { will-change: transform; }
.shot:nth-child(2) { margin-top: clamp(2rem, 6vw, 5.5rem); }
.shot:nth-child(3) { margin-top: clamp(.5rem, 2vw, 1.5rem); }
.shot:nth-child(4) { margin-top: clamp(3rem, 8vw, 7rem); }
.phone {
  padding: .45rem; border-radius: 2.6rem;
  background: #0a1c20;
  box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.phone img { border-radius: 2.2rem; width: 100%; }
.polaroid {
  padding: .7rem .7rem 1rem; background: var(--paper-2); color: var(--graphite-2);
  transform: rotate(2.5deg);
  box-shadow: 0 30px 50px -25px rgba(0, 0, 0, .6);
}
.polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.polaroid-cap { display: block; margin-top: .8rem; text-transform: none; letter-spacing: .02em; font-size: .78rem; }
.strip figcaption { margin-top: 1.4rem; max-width: 20rem; }
.cap-tag { display: inline-block; color: var(--coral); margin-bottom: .5rem; }
.strip figcaption p { color: var(--cream-2); font-size: .98rem; line-height: 1.5; }

/* ---------- voices ---------- */
.voices {
  padding-block: var(--section) 0;
  background: var(--v-bg, #f6e3d6);
  color: var(--v-ink, #2a1e1a);
  --v-accent: #c24e2b;
  transition: background-color .7s var(--ease-in-out), color .7s var(--ease-in-out);
  overflow: hidden;
}
.voices[data-voice="warm"] { --v-bg: #f6e3d6; --v-ink: #2a1e1a; --v-muted: rgba(42, 30, 26, .62); --v-accent: #c24e2b; --v-btn: #2a1e1a; --v-btn-ink: #f6e3d6; }
.voices[data-voice="straight"] { --v-bg: #e3ecea; --v-ink: #14353a; --v-muted: rgba(20, 53, 58, .62); --v-accent: #1d5a63; --v-btn: #14353a; --v-btn-ink: #e3ecea; }
.voices[data-voice="hard"] { --v-bg: #1b2f33; --v-ink: #f3ebdd; --v-muted: rgba(243, 235, 221, .62); --v-accent: #f5866a; --v-btn: #f3ebdd; --v-btn-ink: #1b2f33; }
.voices[data-voice="devil"] { --v-bg: #2a0b10; --v-ink: #f7dcd8; --v-muted: rgba(247, 220, 216, .62); --v-accent: #ff4d5a; --v-btn: #ff4d5a; --v-btn-ink: #2a0b10; }
.voices .section-head { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 3rem; max-width: none; margin-bottom: 3rem; }
.voices .section-head .h2 { max-width: 15ch; }
.voices .sub { color: var(--v-muted); max-width: 38ch; margin: 0 0 .4rem; }
.voice-picker { display: flex; border-bottom: 1px solid color-mix(in srgb, var(--v-ink) 20%, transparent); gap: 0; }
.voice-btn { position: relative; flex: 1; padding: 1.2rem .5rem 1.25rem; text-align: left; color: var(--v-muted); transition: color .3s; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.voice-btn span { display: block; font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.025em; }
.voice-btn small { display: block; margin-top: .25rem; font-size: .8125rem; }
.voice-btn::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 3px; background: var(--v-accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.voice-btn[aria-checked="true"], .voice-btn:hover { color: var(--v-ink); }
.voice-btn[aria-checked="true"]::after { transform: scaleX(1); }
.voice-btn-devil { animation: swap-in .5s var(--ease-out) both; }
.voice-stage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); min-height: 32rem; padding-top: 2.5rem; }
.voice-portrait { position: relative; align-self: stretch; display: flex; align-items: end; min-width: 0; }
.voice-busts { position: relative; width: 100%; height: clamp(23rem, 36vw, 31rem); overflow: hidden; }
.bust { position: absolute; left: 50%; bottom: -2%; height: 93%; width: auto; max-width: none; transform: translateX(-50%) translateY(5%); opacity: 0; transition: opacity .5s var(--ease-out), transform .7s var(--ease-out); filter: drop-shadow(0 20px 25px #00000020); }
.bust.is-on { opacity: 1; transform: translateX(-50%); }
.bust[data-voice="hard"] { height: 99%; }
.voice-copy { padding-block: .5rem 2rem; }
.voice-scenario { margin: 0 0 2rem auto; width: fit-content; max-width: 90%; }
.voice-scenario > span { display: block; margin-bottom: .5rem; text-align: right; font-size: .75rem; color: var(--v-muted); }
.voice-scenario p { padding: .85rem 1.1rem; border-radius: 14px 14px 3px 14px; background: color-mix(in srgb, var(--v-ink) 8%, transparent); font-size: .9375rem; }
.voice-response { position: relative; padding: 1.65rem clamp(1.4rem, 2.5vw, 2rem) 2rem; border-radius: 3px 16px 16px 16px; background: #fbf6ec; color: #20383a; box-shadow: 0 14px 32px -20px #00000035; }
.voice-speaker { display: flex; align-items: center; gap: .45rem; font-size: .8125rem; font-weight: 600; }
.voice-speaker > span { color: #5f6b6c; font-weight: 400; }
.voice-line { margin-top: .9rem; font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.35; letter-spacing: -.02em; min-height: 5.4em; }
.voice-desc { margin: 1.1rem .2rem 0; font-size: .8125rem; color: var(--v-muted); }
.voice-hint { margin: 0 0 0 auto; padding-block: 1.25rem 2rem; border-top: 1px solid color-mix(in srgb, var(--v-ink) 15%, transparent); text-align: right; color: var(--v-muted); font-size: .75rem; }
.voice-copy.swap .voice-line { animation: swap-in .45s var(--ease-out) both; }
@keyframes swap-in { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- ledger ---------- */
.ledger { padding-block: var(--section); }
.ledger-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "head list" "kento list";
  column-gap: clamp(2rem, 6vw, 7rem); row-gap: 2rem;
  align-items: start;
}
.ledger .section-head { grid-area: head; margin-bottom: 0; }
.ledger-kento { grid-area: kento; width: min(100%, 380px); filter: drop-shadow(0 24px 30px rgba(27, 42, 44, .25)); }
.ledger-content { grid-area: list; }
.ledger-list { border-top: 1px solid var(--paper-line); }
.ledger-list .row {
  display: grid; gap: .6rem;
  padding: 1.35rem 0; border-bottom: 1px solid var(--paper-line);
}
.ledger-list dt { font-size: 1.2rem; font-weight: 600; }
.ledger-list dd { font-size: 1.05rem; line-height: 1.5; color: var(--graphite-2); }
.privacy-faq { margin-top: 2.5rem; }
.privacy-faq h3 { font-size: 1.1rem; margin-bottom: .75rem; }
.privacy-faq details { border-bottom: 1px solid var(--paper-line); }
.privacy-faq summary { padding-block: 1rem; cursor: pointer; font-size: .95rem; font-weight: 500; }
.privacy-faq p { padding-bottom: 1.1rem; font-size: .95rem; line-height: 1.6; color: var(--graphite-2); }
.tag { display: inline-block; padding: .3rem .55rem; border-radius: 6px; font-size: .68rem; }
.tag-reads { background: rgba(27, 42, 44, .08); color: var(--graphite); }
.tag-never { background: var(--graphite); color: var(--paper-2); }
.tag-yours { background: rgba(194, 78, 43, .12); color: var(--coral-deep); }
.tag-rule { border: 1px solid var(--paper-line); color: var(--graphite-2); }

/* ---------- price ---------- */
.price {
  padding-block: var(--section) 0;
  background:
    radial-gradient(90% 70% at 90% 100%, rgba(245, 134, 106, .18), transparent 60%),
    var(--ink);
  overflow: hidden;
}
.price-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: clamp(2rem, 5vw, 6rem); }
.price-copy { padding-bottom: var(--section); }
.price-copy .h2-big { font-size: clamp(3rem, 1rem + 6vw, 6rem); max-width: 12ch; }
.price-terms { margin-top: 1.5rem; font-size: clamp(1.1rem, 1rem + .5vw, 1.45rem); line-height: 1.45; color: var(--cream-2); }
.price .btn { margin-top: 2.25rem; }
.price-kento { align-self: end; width: min(100%, 520px); justify-self: end; margin-bottom: -2px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }

/* ---------- footer ---------- */
.foot { background: var(--ink-2); color: var(--cream); padding-block: clamp(3rem, 6vw, 5rem) 2.5rem; border-top: 1px solid var(--ink-line); }
.foot-grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  grid-template-areas: "kento copy" "meta meta";
  column-gap: clamp(2rem, 5vw, 5rem); row-gap: 3rem; align-items: center;
}
.foot-kento { grid-area: kento; width: min(100%, 360px); opacity: .95; }
.foot-copy { grid-area: copy; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.foot-line { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.6rem); line-height: 1.15; max-width: 16ch; }
.foot-meta { grid-area: meta; display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: baseline; padding-top: 2rem; border-top: 1px solid var(--ink-line); }
.fine { color: var(--cream-3); font-size: .85rem; line-height: 1.5; max-width: 52rem; }
.foot-links { display: flex; gap: 1.5rem; }
.foot-links a { text-decoration: none; color: var(--cream-2); }
.foot-links a:hover { color: var(--coral); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .strip { gap: 1.25rem; }
  .shot:nth-child(2) { margin-top: 3rem; }
  .shot:nth-child(3) { margin-top: 0; }
  .shot:nth-child(4) { margin-top: 3rem; }
}

@media (max-width: 900px) {
  .hero { padding-block: 6rem 0; justify-content: flex-start; }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "eyebrow" "h1" "copy" "kento";
    align-content: start;
    align-items: start;
  }
  .hero-copy { padding-bottom: 1.5rem; }
  .hero-kento { justify-self: center; height: auto; width: min(78vw, 420px); margin-right: 0; margin-top: auto; }
  .hero-kento img { height: auto; width: 100%; }
  .scroll-hint { display: none; }

  /* Redraft on a phone: the sheet pins under the nav, and each moment pins
     just below the sheet while it is being read, so nothing is read from under
     a card. --sheet-h is kept current by script.js. */
  .redraft-grid { grid-template-columns: 1fr; row-gap: 0; --nav-h: 4.25rem; }
  .redraft .section-head { margin-bottom: 0; }
  /* The sticky wrapper carries a paper strip above the card, so a moment sliding
     under the sheet disappears cleanly instead of peeking out beneath the nav. */
  .sheet-wrap {
    top: 0; z-index: 3;
    padding-top: var(--nav-h);
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    background: var(--paper) var(--grain-soft) 0 0 / 160px 160px;
  }
  .sheet { transform: none; padding: .9rem 1rem .8rem; border-radius: 12px; box-shadow: 0 18px 40px -20px rgba(27, 42, 44, .45), 0 1px 3px rgba(27, 42, 44, .08); }
  .sheet-head { padding-bottom: .7rem; gap: .75rem; }
  .line { padding: .4rem 0; }
  .orig, .rw-in, .orig > .js-strike { grid-template-columns: 2.9rem 1fr; column-gap: .6rem; }
  .line.keep .orig { grid-template-columns: 2.9rem auto 1fr; }
  .line .what { font-size: .88rem; line-height: 1.3; }
  .line .t { font-size: .7rem; }
  .rw .what { font-size: .95rem; line-height: 1.25; padding-top: .25rem; }
  .rw .t { padding-top: .25rem; }
  .line.add.done { padding-block: .4rem; }
  .sheet-foot { display: none; }
  .moments { padding-top: 28vh; }
  .moment { min-height: 0; height: 64vh; padding: 0; display: block; }
  .m-inner {
    position: sticky;
    top: calc(var(--nav-h) + var(--sheet-h, 420px) + .75rem);
    padding: .5rem 0 1rem;
  }
  .moment:last-child { height: 50vh; }
  .m-update { max-width: calc(100% - 2rem); padding: .75rem 1rem; }
  .m-notice { margin-left: 0; }
  .m-reply { margin-top: 1rem; }
  .m-face { grid-row: 1; }
  .says { grid-column: 1 / -1; padding: .9rem 1rem; }
  .moment-photo { height: auto; min-height: 64vh; padding-block: 2rem; }
  .moment-photo .m-inner { position: static; }
  .m-photo-message { padding: .625rem; }
  .meal-receipt { grid-column: 1 / -1; }
  .breath-exercise { grid-column: 1 / -1; }
  .redraft-grid:has(.breath-exercise[open]) .sheet-wrap { position: relative; }
  .moment-breath:has(.breath-exercise[open]) { height: auto; min-height: 64vh; padding-block: 2rem; }
  .moment-breath:has(.breath-exercise[open]) .m-inner { position: static; }

  .voices .section-head { grid-template-columns: 1fr; gap: 1.25rem; }
  .voices .section-head .h2 { max-width: 17ch; }
  .voices .sub { max-width: 42ch; }
  .voice-stage { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1.5rem; min-height: 0; }
  .voice-busts { height: 22rem; }
  .voice-line { min-height: 0; }

  .ledger-grid { grid-template-columns: 1fr; grid-template-areas: "head" "list" "kento"; }
  .ledger-kento { width: min(60vw, 280px); justify-self: end; margin-top: 1rem; }

  .price-grid { grid-template-columns: 1fr; }
  .price-copy { padding-bottom: 3rem; }
  .price-kento { justify-self: center; width: min(70vw, 380px); }

  .foot-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "kento" "meta"; }
  .foot-kento { width: min(60vw, 280px); justify-self: end; }
  .foot-meta { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .btn-nav { padding: .6rem .9rem; font-size: .82rem; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 1.05rem; }
  .h1 { max-width: none; line-height: 1.02; }
  .cta-row { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .btn-primary { width: 100%; }
  .section-head { margin-bottom: 2.5rem; }
  .strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1.25rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 1rem; scrollbar-width: none; }
  .strip::-webkit-scrollbar { display: none; }
  .shot { flex: 0 0 74%; scroll-snap-align: start; margin-top: 0 !important; transform: none !important; }
  .strip figcaption { max-width: none; }
  .ledger-list .row { grid-template-columns: 1fr; row-gap: .6rem; }
  .voice-btn { padding: .8rem .35rem 1rem; }
  .voice-btn span { font-size: 1.4rem; }
  .voice-btn small { font-size: .6875rem; max-width: 13ch; min-height: 2.8em; }
  .voice-stage { grid-template-columns: 1fr; gap: 0; padding-top: 1.8rem; }
  .voice-busts { height: 16rem; max-width: 22rem; margin-inline: auto; }
  .bust { height: 88%; bottom: -12%; }
  .bust[data-voice="hard"] { height: 100%; bottom: -16%; }
  .voice-copy { position: relative; padding: 1.25rem 0 1.5rem; }
  .voice-scenario { margin-bottom: 1.25rem; }
  .voice-response { padding: 1.4rem; }
  .voice-line { font-size: 1.65rem; min-height: 6.75em; }
  .voice-hint { text-align: left; }
  .breath-exercise summary { padding: 1rem; gap: .7rem; }
  .breath-thumbnail { width: 34px; }
  .breath-summary-copy strong { font-size: .9375rem; }
  .breath-player { padding-inline: 1.25rem; }
  .breath-instruction strong { font-size: 5rem; }
  .m-event { max-width: none; }
  .foot-copy { flex-direction: column; align-items: flex-start; }
  .foot-copy .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .m-inner { opacity: 1; transform: none; }
  .breath-orb { transform: none; opacity: calc(.42 + var(--breath-depth) * .58); }
  .breath-wake { display: none; }
}

/* Subscription details sit beside the offer, below its primary action. */
.trial-note { margin-top: 1.25rem; max-width: 60ch; color: var(--cream-2); font-size: .875rem; line-height: 1.6; }
.operator-note { display: block; margin-bottom: .75rem; color: var(--cream-2); }
