/* site.css: ralphvanspanje.com in an Apple-style design; chat.html loads it too. White and light grey sections,
   one black chapter, the system font (SF on Apple devices, Inter elsewhere), big tight headlines, grey
   paragraphs with the key phrase in black, rounded tiles, a frosted nav. Breakpoints follow Apple's: large from
   1069px, medium 735 to 1068px, small up to 734px. No em dashes anywhere in this file. */

:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --bg: #ffffff;
  --alt: #f5f5f7;
  --line: #d2d2d7;
  --line-2: #e8e8ed;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --on-dark: #f5f5f7;
  --on-dark-2: #a1a1a6;
  --dark-card: #1d1d1f;
  --dark-line: #424245;
  --link-dark: #2997ff;

  /* one accent per chapter: text colour plus a gradient for the big numbers */
  --orange: #bf4800;
  --orange-a: #ff7a1a; --orange-b: #ff2d55;
  --blue-a: #0090f7; --blue-b: #ba62fc;
  --green: #00875a; --green-dark: #30d158;
  --green-a: #30d158; --green-b: #00a3ff;

  /* sticky colours, only inside the illustrated board */
  --sand: #F3E2A4; --mint: #CDE6D3; --rose: #F4D1C9; --sky: #CFDDF5; --lilac: #E1D8F2;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --nav-h: 52px;
  --wrap: 980px;
  --wrap-wide: 1200px;
  --gutter: 22px;
  --r-tile: 28px;
  --r-media: 22px;
  --r-pill: 980px;
  --section: 112px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --shadow-media: 0 30px 60px -34px rgba(0, 0, 0, .45);
}
@media (max-width: 1068px) { :root { --section: 96px; --r-tile: 24px; } }
@media (max-width: 734px) { :root { --section: 64px; --r-tile: 20px; --r-media: 16px; } }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; overflow-x: clip; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
img, svg, video, iframe { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
b, strong { font-weight: inherit; color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: #b3d7ff; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-size: 14px; }
.skip:focus { top: 10px; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide { max-width: calc(var(--wrap-wide) + 2 * var(--gutter)); }

/* ------------------------------------------------------------------ type */
.h1 { font-size: clamp(48px, 7.4vw, 96px); line-height: 1.03; font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
.h2 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; font-weight: 700; letter-spacing: -.032em; text-wrap: balance; }
.h3 { font-size: clamp(30px, 3.9vw, 52px); line-height: 1.07; font-weight: 700; letter-spacing: -.028em; text-wrap: balance; }
.h1 em, .h2 em, .h3 em { font-style: normal; background: linear-gradient(90deg, var(--blue-a), var(--blue-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.33; font-weight: 600; letter-spacing: -.014em; color: var(--ink-3); text-wrap: pretty; }
.lead b { color: var(--ink); }
.eyebrow { display: block; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; letter-spacing: -.01em; margin-bottom: 14px; color: var(--ink-2); }
.accent-orange .eyebrow, .accent-orange .tag { color: var(--orange); }
.accent-blue .eyebrow, .accent-blue .tag { color: var(--blue); }
.accent-green .eyebrow, .accent-green .tag { color: var(--green); }
.chapter--dark.accent-green .eyebrow, .chapter--dark.accent-green .tag { color: var(--green-dark); }
.grad { -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent-orange .grad { background-image: linear-gradient(90deg, var(--orange-a), var(--orange-b)); }
.accent-blue .grad { background-image: linear-gradient(90deg, var(--blue-a), var(--blue-b)); }
.accent-green .grad { background-image: linear-gradient(90deg, var(--green-a), var(--green-b)); }

/* buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: var(--r-pill); background: var(--blue); color: #fff;
  font-size: 17px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; transition: background .2s; }
.btn:hover { background: var(--blue-hover); }
.more-link { display: inline-flex; align-items: center; gap: 4px; color: var(--link); font-size: 17px; font-weight: 400; white-space: nowrap; }
.more-link::after { content: "\203A"; font-size: 1.25em; line-height: 1; transform: translateY(-1px); }
.more-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.chapter--dark .more-link { color: var(--link-dark); }

/* ------------------------------------------------------------------ nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--nav-h);
  background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .08); }
.nav__inner { max-width: calc(var(--wrap-wide) + 2 * var(--gutter)); height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.nav__brand { margin-right: auto; font-size: 19px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { font-size: 13px; color: var(--ink-2); transition: color .2s; }
.nav__links a:hover, .nav__links a.is-on { color: var(--ink); }
.nav__cta { height: 30px; padding: 0 14px; font-size: 13px; font-weight: 500; }

/* ------------------------------------------------------------------ hero */
.hero { padding: calc(var(--nav-h) + clamp(56px, 9vh, 104px)) 0 0; text-align: center; }
.hero .eyebrow { color: var(--ink-2); margin-bottom: 18px; }
.hero .h1 { max-width: 13ch; margin: 0 auto; }
.hero .lead { max-width: 720px; margin: 26px auto 0; }
.hero__cta { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero__media { max-width: calc(880px + 2 * var(--gutter)); margin: clamp(44px, 6vh, 72px) auto 0; padding: 0 var(--gutter); }
.hero__media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 32%; border-radius: var(--r-tile); background: var(--alt); }

/* ------------------------------------------------------------------ highlights */
.highlights { padding: var(--section) 0; }
.highlights .h2 { margin-bottom: 44px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; display: flex; flex-direction: column; min-height: 360px; padding: 40px 36px 34px; border-radius: var(--r-tile); background: var(--alt);
  transition: transform .5s var(--ease-out); }
.tile:hover { transform: scale(1.012); }
.tile__label { font-size: 17px; font-weight: 600; color: var(--ink); }
.tile__num { margin-top: auto; display: flex; align-items: baseline; gap: 10px; }
.tile__num b { font-size: clamp(76px, 8vw, 120px); line-height: .95; font-weight: 700; letter-spacing: -.05em; }
.tile__num span { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.tile__text { margin-top: 12px; font-size: 19px; line-height: 1.3; font-weight: 600; color: var(--ink-3); letter-spacing: -.014em; }
.tile .more-link { margin-top: 22px; }

/* ------------------------------------------------------------------ chapters */
.chapter { padding: var(--section) 0; }
.chapter--alt { background: var(--alt); }
.chapter--dark { background: #000; color: var(--on-dark); }
.chapter--dark .lead { color: var(--ink-3); }
.chapter--dark .lead b, .chapter--dark b { color: var(--on-dark); }
.chapter__head { margin-bottom: clamp(44px, 5vw, 72px); }
.chapter__head .h2 { max-width: 15ch; }
.chapter__head .lead { max-width: 780px; margin-top: 26px; }

/* stats row */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 34px; border-top: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(56px, 6.4vw, 84px); line-height: 1; font-weight: 700; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; font-size: 17px; font-weight: 600; color: var(--ink-2); }

/* tiles inside chapters: the How I work card plus what backs it */
.bento { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; align-items: stretch; }
.bento--two { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.card { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 30px 28px 32px; border-radius: var(--r-tile); background: var(--bg); }
.chapter:not(.chapter--alt):not(.chapter--dark) .card { background: var(--alt); }
.chapter--dark .card { background: var(--dark-card); }
.tag { font-size: 14px; font-weight: 600; letter-spacing: -.005em; color: var(--ink-2); }
.card__text { font-size: 19px; line-height: 1.34; font-weight: 600; letter-spacing: -.014em; color: var(--ink); }
.card--how { background: var(--ink) !important; color: var(--on-dark); }
.card--how .tag { color: var(--on-dark-2) !important; }
.card--how h3 { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.08; font-weight: 700; letter-spacing: -.028em; color: #fff; text-wrap: balance; }
.card--how p { margin-top: auto; font-size: 17px; line-height: 1.42; color: var(--on-dark-2); }
.chapter--dark .card--how { background: var(--bg) !important; color: var(--ink); }
.chapter--dark .card--how h3 { color: var(--ink); }
.chapter--dark .card--how .tag, .chapter--dark .card--how p { color: var(--ink-2) !important; }

section[id] { scroll-margin-top: var(--nav-h); }
html.has-sheet { overflow: hidden; }

/* ------------------------------------------------------------------ Slack-style messages: the person blurred on purpose, the role in clear */
.slack { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 10px; width: 340px; max-width: 100%; padding: 14px 16px 15px; border-radius: 14px;
  background: var(--bg); color: var(--ink); border: 1px solid rgba(0, 0, 0, .05); box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 14px 32px -22px rgba(0, 0, 0, .35); text-align: left; }
.slack__av { grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 8px; filter: blur(4px); }
.slack__av--me { filter: none; overflow: hidden; background: var(--alt); }
.slack__av--me img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.slack__av--sm { grid-row: auto; width: 22px; height: 22px; border-radius: 6px; filter: blur(3px); }
.slack__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; line-height: 1.3; }
.slack__name { font-size: 15px; font-weight: 700; letter-spacing: 0; filter: blur(5px); -webkit-user-select: none; user-select: none; }
.slack__me { font-size: 15px; font-weight: 700; }
.slack__role { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.slack__time { font-size: 12px; color: var(--ink-3); }
.slack__body { grid-column: 2; min-width: 0; }
.slack__ctx { margin-bottom: 3px; font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.slack__text { font-size: 15px; line-height: 1.45; letter-spacing: -.005em; color: var(--ink); overflow-wrap: anywhere; }
.slack__text--para { font-style: italic; color: var(--ink-2); }
.slack__tag { font-size: 12px; font-style: normal; color: var(--ink-3); }
.slack__then { margin-top: 4px; }
.slack__reply { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0 8px; margin-top: 10px; padding-left: 10px; border-left: 2px solid var(--line-2); }
.slack__reply .slack__name { font-size: 13px; }
.slack__reply .slack__text { font-size: 14px; }
.slack__reacts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.slack__pill { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: var(--r-pill); background: #e8f1ff; border: 1px solid #c6dcff; font-size: 12px; font-weight: 600; color: #0b4fa8; }
.slack__who { font-size: 12px; color: var(--ink-3); }
.slack--part { width: auto; max-width: 660px; margin-top: 40px; padding: 18px 22px 20px; }
.slack--part .slack__text, .slack--tile .slack__text { font-size: 19px; line-height: 1.38; letter-spacing: -.012em; }
.slack--tile { width: auto; align-self: stretch; padding: 26px 26px 28px; border: 0; border-radius: var(--r-tile); box-shadow: none; background: var(--alt); }
.chapter--alt .slack--tile { background: var(--bg); }
.slack--dark { background: var(--dark-card) !important; }
.slack--dark .slack__text { color: var(--on-dark); }
.slack--dark .slack__role { color: var(--on-dark-2); }

/* the hero messages: three float around the photo on large screens */
.hero__media { position: relative; }
.floats { display: none; }
@media (min-width: 1069px) {
  .floats { display: block; position: absolute; inset: 0; pointer-events: none; }
  .slack--float { position: absolute; width: 290px; animation: bob 7s ease-in-out infinite; }
  .slack--f1 { left: -132px; top: 9%; }
  .slack--f2 { right: -150px; top: 36%; animation-delay: -2.4s; }
  .slack--f3 { left: -96px; bottom: 7%; animation-delay: -4.7s; }
}
@keyframes bob { 50% { translate: 0 -9px; } }

/* ------------------------------------------------------------------ the wall: one big quote, every message drifting past */
.wall { padding: var(--section) 0; overflow: hidden; background: var(--alt); text-align: center; }
.wall .eyebrow { color: var(--ink-2); }
.wall__q { max-width: 18ch; margin: 0 auto; font-size: clamp(34px, 4.8vw, 64px); line-height: 1.08; font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
.wall__who { margin-top: 24px; font-size: 17px; font-weight: 600; color: var(--ink-2); }
.wall__who span { display: block; font-weight: 400; color: var(--ink-3); }
.wall__rows { display: flex; flex-direction: column; gap: 16px; margin-top: 56px; }
.marq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.marq__track { display: flex; width: max-content; animation: marq 120s linear infinite; }
.marq--r .marq__track { animation-direction: reverse; animation-duration: 140s; }
.marq:hover .marq__track, .marq.is-off .marq__track { animation-play-state: paused; }
.marq__half { display: flex; align-items: flex-start; gap: 16px; padding: 4px 16px 18px 0; }
.marq .slack { flex: none; }
@keyframes marq { to { transform: translateX(-50%); } }
.wall__note { margin-top: 36px; font-size: 15px; color: var(--ink-2); }
.wall__note span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-3); }

/* ------------------------------------------------------------------ chapter 01: the path to Miro as a deck. Only the big things get a
   card. Each card sticks as it arrives and the next one slides over it, leaving its title strip in view, so by Miro the
   whole path sits stacked behind it with Racoon at the back. The fun stuff rides along as stickers on its card. */
.deck { margin-top: clamp(56px, 7vw, 88px); }
.deck__title { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -.028em; }
.deck__lead { max-width: 680px; margin-top: 10px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.35; font-weight: 600; letter-spacing: -.014em; color: var(--ink-3); }
.deck__cards { --peek: 72px; --top: calc(var(--nav-h) + 22px); --hold: 28vh; position: relative; margin-top: 34px; }
/* the room after the last card, inside the list, so the finished stack stays put for a moment before it leaves */
.deck__cards::after { content: ""; display: block; height: var(--hold); }
.dcard { position: sticky; top: calc(var(--top) + var(--i) * var(--peek)); display: flex; flex-direction: column; min-height: 310px; padding: 0 36px 34px;
  border-radius: 30px; background: #fff; transform-origin: 50% 0;
  box-shadow: 0 -12px 30px -24px rgba(0, 0, 0, .4), 0 30px 60px -42px rgba(0, 0, 0, .35); }
.dcard + .dcard { margin-top: 48px; }
.dcard__head { flex: none; display: flex; align-items: center; gap: 14px; height: var(--peek); }
.dcard__icon { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; color: #fff;
  background: linear-gradient(155deg, var(--t1), var(--t2)); box-shadow: 0 8px 16px -10px var(--t2), inset 0 1px 0 rgba(255, 255, 255, .3); }
.dcard__title { min-width: 0; font-size: 24px; line-height: 1.15; font-weight: 700; letter-spacing: -.022em; }
.dcard__badge { display: inline-block; margin-left: 10px; padding: 3px 9px 4px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-size: 12px; line-height: 1.3; font-weight: 600; letter-spacing: 0; vertical-align: 4px; }
.dcard__when { flex: none; margin-left: auto; font-size: 15px; font-weight: 600; color: var(--t2); font-variant-numeric: tabular-nums; }
.dcard__body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 44px; align-items: center; padding-top: 8px; }
.dcard__text:only-child { grid-column: 1 / -1; }
.dcard__lead { max-width: 21ch; font-size: clamp(26px, 2.7vw, 38px); line-height: 1.14; font-weight: 600; letter-spacing: -.028em; color: var(--ink-3); }
.dcard__lead b { color: var(--ink); font-weight: 600; }
.dcard__text:only-child .dcard__lead { max-width: 26ch; }
.dcard__link { display: inline-block; margin-top: 20px; font-size: 17px; font-weight: 600; color: var(--link); }
.dcard__link::after { content: " \203A"; }
.dcard__link:hover { text-decoration: underline; }
.dcard__extras { justify-self: center; }
.dcard__pre { margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--ink-3); text-align: center; }
/* the two that matter most look different: Racoon on green, Miro in black */
.dcard--racoon { background: linear-gradient(160deg, #f2fcf5, #d9f5e2); }
.dcard--miro { background: #1d1d1f; }
.dcard--miro .dcard__title { color: #fff; }
.dcard--miro .dcard__when { color: var(--on-dark-2); }
.dcard--miro .dcard__lead { color: var(--on-dark-2); }
.dcard--miro .dcard__lead b { color: #fff; }
.dcard--miro .dcard__badge { background: #fff; color: var(--ink); }
.dcard--miro .dcard__icon { background: #fff; color: var(--ink); box-shadow: none; }
.dcard--miro .dcard__link { color: var(--link-dark); }
/* the Racoon photo: a print, a little crooked, with the best seller stuck on its lower left corner */
.dcard__extras--photo { position: relative; }
.dcard__photo { width: 214px; padding: 10px 10px 0; border-radius: 6px; background: #fff; rotate: 3deg;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 24px 44px -24px rgba(0, 0, 0, .5); }
.dcard__photo img { display: block; width: 100%; height: auto; border-radius: 3px; }
.dcard__photo figcaption { padding: 9px 2px 11px; font-size: 13px; line-height: 1.3; font-weight: 600; color: var(--ink-2); text-align: center; }
.dcard__extras--photo .stickers { position: absolute; left: -96px; bottom: 56px; max-width: none; }
.deck.is-live .dcard__photo { opacity: 0; translate: 0 16px; transition: opacity .5s, translate .7s var(--ease-out); }
.deck.is-live .dcard.is-in .dcard__photo { opacity: 1; translate: 0 0; }
/* stickers: the fun stuff, small and a little crooked */
.stickers { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; max-width: 540px; }
.sticker { display: flex; align-items: center; gap: 10px; padding: 9px 15px 9px 9px; border-radius: 16px; background: #fff; rotate: var(--rot, 0deg);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 12px 24px -14px rgba(0, 0, 0, .4); }
.sticker__tile { position: relative; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #fff;
  background: linear-gradient(155deg, var(--t1), var(--t2)); }
.dcard__icon svg, .sticker__tile svg { width: 21px; height: 21px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sticker__txt { display: flex; flex-direction: column; min-width: 0; }
.sticker__k { font-size: 12px; line-height: 1.3; font-weight: 600; color: var(--ink-3); }
.sticker__t { font-size: 14.5px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.sticker__stat { font-weight: 700; font-variant-numeric: tabular-nums; background-image: linear-gradient(90deg, var(--t1), var(--t2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tone-orange { --t1: #ffb340; --t2: #ff7a00; }
.tone-green { --t1: #5be07f; --t2: #1fa851; }
.tone-indigo { --t1: #8e8cff; --t2: #4b47e0; }
.tone-teal { --t1: #4fe3d2; --t2: #0aa5a8; }
.tone-sky { --t1: #8fdcff; --t2: #1a8cff; }
.tone-red { --t1: #ff7a62; --t2: #e0261b; }
.tone-purple { --t1: #d38cff; --t2: #9441d6; }
.tone-yellow { --t1: #ffd84d; --t2: #ff9500; }
.tone-cyan { --t1: #6fd6ff; --t2: #0077e6; }
.tone-amber { --t1: #e2b07a; --t2: #a86a2c; }
.tone-pink { --t1: #ff8fb1; --t2: #e8346f; }
.tone-dark { --t1: #55555a; --t2: #1d1d1f; }

/* with motion: a card's stickers pop on once it has arrived, then each drawing does one small thing */
.deck.is-live .sticker { opacity: 0; scale: .5; transition: opacity .3s, scale .6s cubic-bezier(.34, 1.56, .64, 1); }
.deck.is-live .dcard.is-in .sticker { opacity: 1; scale: 1; transition-delay: var(--pop); }
.dcard svg g { transform-box: fill-box; }
.g-air path { opacity: 0; }
.deck.is-live .is-in .g-lid { transform-origin: 0% 100%; animation: t-lid 1.1s calc(var(--pop, 0s) + .3s) var(--ease-out) both; }
@keyframes t-lid { 0%, 100% { transform: none; } 35% { transform: translate(1px, -3.5px) rotate(-16deg); } 70% { transform: translate(0, -1px) rotate(-4deg); } }
.deck.is-live .is-in .g-bag { transform-origin: 50% 100%; animation: t-squish 1s calc(var(--pop, 0s) + .3s) var(--ease-out) both; }
@keyframes t-squish { 0% { transform: scale(1, 1.06); } 40% { transform: scale(1.1, .7); } 70% { transform: scale(1.04, .82); } 100% { transform: scale(1.06, .78); } }
.deck.is-live .is-in .g-air path { animation: t-air .9s calc(var(--pop, 0s) + .4s) ease-out both; }
@keyframes t-air { 0% { opacity: 0; transform: translateY(4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-4px); } }
.deck.is-live .is-in .g-cap { transform-origin: 50% 60%; animation: t-tilt .9s calc(var(--pop, 0s) + .3s) var(--ease-out) both; }
@keyframes t-tilt { 0% { transform: rotate(-16deg) translateY(-2px); } 60% { transform: rotate(5deg); } 100% { transform: none; } }
.deck.is-live .is-in .g-leaves { transform-origin: 30% 60%; animation: t-sway 1.6s calc(var(--pop, 0s) + .3s) ease-in-out both; }
@keyframes t-sway { 25% { transform: rotate(-7deg); } 60% { transform: rotate(5deg); } 100% { transform: none; } }
.deck.is-live .is-in .g-cabin { transform-origin: 50% 0%; animation: t-swing 1.6s calc(var(--pop, 0s) + .3s) ease-in-out both; }
@keyframes t-swing { 20% { transform: rotate(9deg); } 45% { transform: rotate(-6deg); } 70% { transform: rotate(3deg); } 100% { transform: none; } }
.deck.is-live .is-in .g-flag { transform-origin: 0% 100%; animation: t-flag 1.1s calc(var(--pop, 0s) + .35s) var(--ease-out) both; }
@keyframes t-flag { 0% { transform: scaleY(0); } 55% { transform: scaleY(1.12); } 100% { transform: none; } }
.deck.is-live .is-in .g-moto { animation: t-vroom 1.1s calc(var(--pop, 0s) + .3s) ease-out both; }
@keyframes t-vroom { 0% { transform: translateX(-7px); opacity: 0; } 40% { transform: translateX(2px); opacity: 1; } 55%, 75% { transform: translateY(-.7px); } 65%, 85% { transform: translateY(.7px); } 100% { transform: none; } }
.deck.is-live .is-in .g-wave { animation: t-wave 1.8s calc(var(--pop, 0s) + .3s) ease-in-out both; }
@keyframes t-wave { 30% { transform: translateX(-1.8px); } 65% { transform: translateX(1.8px); } 100% { transform: none; } }
.deck.is-live .is-in .g-shoe { transform-origin: 50% 0%; animation: t-shoe .9s calc(var(--pop, 0s) + .3s) var(--ease-out) both; }
@keyframes t-shoe { 0% { transform: rotate(-24deg); } 55% { transform: rotate(10deg); } 100% { transform: none; } }
.deck.is-live .is-in .g-spark { transform-origin: center; animation: t-twinkle 1.4s .3s ease-in-out both; }
.deck.is-live .is-in .g-spark2 { transform-origin: center; animation: t-twinkle 1.4s .55s ease-in-out both; }
@keyframes t-twinkle { 0% { transform: scale(.4) rotate(-30deg); opacity: 0; } 50% { transform: scale(1.15); opacity: 1; } 100% { transform: none; } }
/* sakura petals drift off the torii, snow falls onto the gondola */
.fx { position: absolute; inset: 0; pointer-events: none; }
.fx i { position: absolute; left: 50%; top: 50%; opacity: 0; }
.fx--petals i { width: 8px; height: 6px; border-radius: 70% 0 70% 0; background: linear-gradient(135deg, #ffd6e0, #ff8fab); }
.fx--snow i { width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(10, 132, 255, .3); }
.deck.is-live .is-in .fx--petals i { animation: t-petal 2.6s ease-in calc(var(--pop, 0s) + var(--d)) both; }
.deck.is-live .is-in .fx--snow i { animation: t-snow 2.2s linear calc(var(--pop, 0s) + var(--d)) both; }
.fx i:nth-child(1) { --dx: -34px; --sx: -18px; --r: 160deg; --d: .3s; }
.fx i:nth-child(2) { --dx: 26px; --sx: 12px; --r: -120deg; --d: .55s; }
.fx i:nth-child(3) { --dx: -10px; --sx: -28px; --r: 220deg; --d: .85s; }
.fx i:nth-child(4) { --dx: 38px; --sx: 26px; --r: -200deg; --d: 1.1s; }
.fx i:nth-child(5) { --dx: -42px; --sx: 2px; --r: 140deg; --d: 1.35s; }
.fx i:nth-child(6) { --dx: 14px; --sx: -8px; --r: -160deg; --d: 1.6s; }
.fx i:nth-child(7) { --dx: -22px; --sx: 20px; --r: 260deg; --d: 1.85s; }
@keyframes t-petal { 0% { opacity: 0; transform: translate(0, -6px) rotate(0); } 12% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), 70px) rotate(var(--r)); } }
@keyframes t-snow { 0% { opacity: 0; transform: translate(var(--sx), -54px); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(var(--sx) * .6), -4px); } }
/* without motion the deck is a plain list of cards */
html.no-motion .dcard { position: relative; top: auto; }
html.no-motion .dcard + .dcard { margin-top: 20px; }
html.no-motion .deck__cards { --hold: 0px; }

/* chapter 02: the data part, four tiles */
.dtiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dtile { display: flex; flex-direction: column; gap: 8px; min-height: 230px; padding: 26px 24px 26px; border-radius: var(--r-tile); background: var(--alt); }
.dtile__value { margin-top: auto; font-size: clamp(40px, 4vw, 56px); line-height: 1.02; font-weight: 700; letter-spacing: -.04em; }
.dtile__text { font-size: 15px; line-height: 1.45; color: var(--ink-2); }

/* chapter 02: two parts, custom skills first */
.part + .part { margin-top: clamp(80px, 9vw, 128px); }
.part > .stage, .part > .scene { max-width: 980px; }
.part__head { margin-bottom: 44px; }
.part__kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 19px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 11px; border-radius: var(--r-pill); background: #e3f3ea; color: #0b6b3a; font-size: 12px; font-weight: 600; letter-spacing: 0; }
.part__head .h3 { max-width: 18ch; }
.part__text { max-width: 780px; margin-top: 22px; }

/* film stage: lazy video, one plays at a time, a small round button bottom right */
.stage { position: relative; }
.stage__box { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-media); background: #111 center / cover no-repeat; box-shadow: var(--shadow-media); }
.stage__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: transparent; }
.stage.is-yielded .stage__video { visibility: hidden; }
.stage--pending .stage__video { display: none; }
.stage__play { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(232, 232, 237, .72); color: var(--ink); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: opacity .3s, background .2s; }
.stage__play::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
.stage__play:hover { background: rgba(232, 232, 237, .92); }
.stage__play svg { width: 12px; height: 12px; }
.stage__play .ico-play { margin-left: 2px; }
.stage__play .ico-pause, .stage.is-playing .stage__play .ico-play { display: none; }
.stage.is-playing .stage__play .ico-pause { display: block; }
.stage--pending .stage__play { display: none; }
@media (hover: hover) and (pointer: fine) { .stage.is-playing .stage__play { opacity: 0; } .stage.is-playing:hover .stage__play, .stage__play:focus-visible { opacity: 1; } }
.stage__caption { margin-top: 14px; font-size: 14px; color: var(--ink-2); text-align: center; }
.chapter--dark .stage__caption { color: var(--ink-3); }

/* the four steps of the handover */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.step { position: relative; padding-top: 20px; }
.step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: var(--line); }
.step__bar { position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue-a), var(--blue-b)); transform-origin: 0 50%; }
.step__n { font-size: 14px; font-weight: 600; color: var(--blue); }
.step__title { margin-top: 6px; font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.step__text { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }

/* the rewrite, as dated rows */
.tl { margin-top: 48px; border-top: 1px solid var(--line); max-width: 780px; }
.tl__row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 18px 0 19px; border-bottom: 1px solid var(--line); }
.tl__when { font-size: 17px; font-weight: 700; letter-spacing: -.015em; color: var(--blue); }
.tl__text { font-size: 17px; line-height: 1.45; color: var(--ink); }
.outcome { display: flex; align-items: baseline; gap: 22px; margin-top: 48px; flex-wrap: wrap; }
.outcome b { font-size: clamp(60px, 7.4vw, 104px); line-height: 1; font-weight: 700; letter-spacing: -.05em; }
.outcome span { max-width: 28ch; font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; color: var(--ink-3); }

/* ------------------------------------------------------------------ the illustrated "seven turns, now one" board */
.scene { position: relative; }
.scene__card { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px 20px; border-radius: var(--r-tile); background: var(--bg); border: 1px solid var(--line-2); box-shadow: var(--shadow-media); }
.scene__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.scene__chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 13px; border-radius: var(--r-pill); background: var(--alt); color: var(--ink-2); font-size: 12px; font-weight: 600; white-space: nowrap; }
button.scene__chip:hover { color: var(--ink); }
.scene__title { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.15; font-weight: 700; letter-spacing: -.022em; color: var(--ink); }
.swap { display: inline-grid; position: relative; overflow: hidden; vertical-align: bottom; padding: .08em 0 .1em; margin: -.08em 0 -.1em; }
.swap__a, .swap__b { grid-area: 1 / 1; display: block; white-space: nowrap; justify-self: start; padding-right: .04em; }
.swap__b { transform: translateY(100%); }
.swap--h .swap__b { background: linear-gradient(90deg, var(--blue-a), var(--blue-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.scene__stage { position: relative; display: grid; grid-template-columns: minmax(0, 36fr) minmax(0, 64fr); height: clamp(360px, 50vh, 460px); overflow: hidden; border-radius: 18px; border: 1px solid var(--line-2); }
.lane { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 46px 14px 16px; overflow: hidden; background: var(--bg); border-right: 1px solid var(--line-2); }
.lane__label { position: absolute; left: 14px; top: 15px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.turn { position: relative; max-width: 86%; padding: 7px 12px; border-radius: 18px; font-size: 13px; line-height: 1.35; will-change: transform, opacity; }
.turn--user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.turn--assistant { align-self: flex-start; background: #e9e9eb; color: var(--ink); border-bottom-left-radius: 6px; }
.turn--new { position: absolute; left: 14px; max-width: 82%; opacity: 0; transform: translateY(8px); }
.sboard { position: relative; overflow: hidden; background: #fbfbfd; }
.sboard__dots { position: absolute; inset: 0; background-image: radial-gradient(circle, #c7c7cc 1px, transparent 1.4px); background-size: 14px 14px; opacity: .35; }
.sboard__label { position: absolute; left: 16px; top: 15px; z-index: 2; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.counter { position: absolute; right: 18px; top: 6px; z-index: 2; }
.counter b { display: inline-block; min-width: 1ch; font-size: clamp(64px, 6.4vw, 104px); line-height: 1; font-weight: 700; letter-spacing: -.05em; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.counter.is-one b { background: linear-gradient(90deg, var(--blue-a), var(--blue-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.scene .hint { position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%); z-index: 2; max-width: 80%; font-size: 14px; font-weight: 600; color: var(--ink-3); text-align: center; }
.board__frame { position: absolute; left: 5%; right: 20%; top: 36%; bottom: 10%; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 14px 16px 16px;
  border-radius: 12px; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 14px 30px -20px rgba(0, 0, 0, .35); clip-path: inset(-26px 100% -10px -4px); opacity: 0; }
.board__frame-title { position: absolute; left: 0; top: -22px; font-size: 12px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.board__col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.board__col-label { font-size: 11px; font-weight: 700; color: var(--ink-2); opacity: 0; }
.board__stickies { display: flex; flex-wrap: wrap; gap: 8px; }
.scene .sticky { width: 60px; height: 60px; padding: 6px; border-radius: 3px; font-size: 9.5px; line-height: 1.2; font-weight: 600; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .14); opacity: 0; }
.sticky--sand { background: var(--sand); } .sticky--mint { background: var(--mint); } .sticky--rose { background: var(--rose); } .sticky--sky { background: var(--sky); } .sticky--lilac { background: var(--lilac); }
.artifact-outline { position: absolute; inset: -9px; border: 2px solid var(--blue); border-radius: 16px; opacity: 0; pointer-events: none; }

/* ------------------------------------------------------------------ chapter 03: Research Canvas (pinned on large screens) and two cards */
.story { position: relative; }
.story__grid { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.story__tab { font-size: 14px; font-weight: 600; color: var(--ink-3); margin-bottom: 12px; }
.story__copy .h3 { font-size: clamp(30px, 3.2vw, 44px); }
.story__copy .h3 em { background-image: linear-gradient(90deg, var(--green-a), var(--green-b)); }
.story__lead { margin-top: 14px; font-size: 17px; line-height: 1.45; color: var(--ink-3); max-width: 44ch; }
.story__steps { margin-top: 26px; border-top: 1px solid var(--dark-line); }
.story__step { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 0 8px; padding: 13px 0 14px; border-bottom: 1px solid var(--dark-line); color: #6e6e73; transition: color .3s; }
.story__n { padding-top: 2px; font-size: 13px; font-weight: 600; color: inherit; font-variant-numeric: tabular-nums; }
.story__title { display: block; font-size: 17px; line-height: 1.3; font-weight: 600; color: inherit; }
.story__text { max-height: 0; opacity: 0; overflow: hidden; font-size: 15px; line-height: 1.45; color: var(--on-dark-2); transition: max-height .45s var(--ease-out), opacity .3s, margin .3s; }
.story__step.is-done { color: var(--on-dark-2); }
.story__step.is-on { color: var(--on-dark); }
.story__step.is-on .story__text { max-height: 96px; opacity: 1; margin-top: 4px; }
.story__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.story__bar b { display: block; height: 100%; background: linear-gradient(90deg, var(--green-a), var(--green-b)); transform: scaleX(0); transform-origin: left; }
.story__copy .more-link { margin-top: 20px; }
.story__film { min-width: 0; }
.story__box { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-media); background: #3b2a1e center / cover no-repeat; box-shadow: var(--shadow-media); }
.story__box iframe { position: absolute; left: 0; top: 0; width: 1600px; height: 1000px; max-width: none; border: 0; transform-origin: 0 0; pointer-events: none; opacity: 0; transition: opacity .3s; }
.story__box.is-live iframe { opacity: 1; }
.story:not(.is-scrub) .story__scrub { display: none; }
.story.is-scrub .story__stage { display: none; }
.story:not(.is-scrub) .story__bar { display: none; }
.story:not(.is-scrub) .story__step { color: var(--on-dark); }
.story:not(.is-scrub) .story__text { max-height: none; opacity: 1; margin-top: 4px; }

.hcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(56px, 7vw, 88px); }
.hcard { overflow: hidden; border-radius: var(--r-tile); background: var(--dark-card); }
.hcard img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: #222; }
.hcard__body { padding: 26px 30px 32px; }
.hcard__body .tag { color: var(--ink-3); }
.hcard__body h3 { margin-top: 6px; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; font-weight: 700; letter-spacing: -.025em; color: var(--on-dark); }
.hcard__body p { margin-top: 10px; font-size: 17px; line-height: 1.45; color: var(--on-dark-2); }

/* ------------------------------------------------------------------ the rest, one line each */
.rest { padding: var(--section) 0; background: var(--alt); }
.rest .h2 { max-width: 14ch; }
.rest .lead { margin-top: 20px; }
.rows { margin-top: 48px; border-top: 1px solid var(--line); }
.rows li { border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 20px 0 21px; }
.row__tag { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.row__text { font-size: 19px; line-height: 1.4; font-weight: 500; letter-spacing: -.014em; color: var(--ink); transition: color .2s; }
.row__ask { color: var(--link); font-size: 17px; white-space: nowrap; }
.row__ask::after { content: " \203A"; font-size: 1.2em; }
.row:hover .row__text { color: var(--link); }
.rest__foot { margin-top: 30px; }

/* ------------------------------------------------------------------ contact */
.contact { padding: var(--section) 0 calc(var(--section) - 20px); text-align: center; }
.contact .lead { max-width: 640px; margin: 22px auto 0; }
.ask { display: flex; align-items: center; gap: 8px; max-width: 640px; margin: 44px auto 0; padding: 6px 6px 6px 22px; border-radius: var(--r-pill); background: var(--alt); border: 1px solid transparent; transition: border-color .2s, background .2s; }
.ask:focus-within { background: var(--bg); border-color: var(--blue); }
.ask input { flex: 1; min-width: 0; height: 44px; border: 0; background: none; outline: none; font-size: 19px; color: var(--ink); }
.ask input::placeholder { color: var(--ink-3); }
.contact__links { display: flex; justify-content: center; gap: clamp(28px, 5vw, 64px); margin-top: 56px; flex-wrap: wrap; }
.clink { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.clink__label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.clink__value { font-size: 19px; color: var(--link); letter-spacing: -.014em; }
.clink:hover .clink__value { text-decoration: underline; text-underline-offset: 3px; }
.contact__note { margin-top: 48px; font-size: 14px; color: var(--ink-2); }

/* ------------------------------------------------------------------ footer */
.foot { background: var(--alt); }
.foot .wrap { display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 30px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.foot a { color: var(--ink); }
.foot a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ the chat sheet */
.sheet { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.sheet.is-open { visibility: visible; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.sheet.is-shown .sheet__scrim { opacity: 1; }
.sheet__panel { position: absolute; top: 16px; right: 16px; bottom: 16px; width: min(460px, calc(100vw - 32px)); display: flex; flex-direction: column; overflow: hidden;
  border-radius: 28px; background: var(--bg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45); opacity: 0; transform: translateX(28px); transition: transform .5s var(--ease-out), opacity .3s; }
.sheet.is-shown .sheet__panel { opacity: 1; transform: none; }
.sheet__head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 15px 20px; border-bottom: 1px solid var(--line-2); }
.sheet__avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--blue-a), var(--blue-b)); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0; }
.sheet__who { display: flex; flex-direction: column; min-width: 0; }
.sheet__name { font-size: 17px; font-weight: 600; }
.sheet__status { font-size: 12px; color: var(--ink-2); }
.sheet__close { display: grid; place-items: center; width: 32px; height: 32px; margin-left: auto; border-radius: 50%; background: var(--alt); color: var(--ink-2); font-size: 20px; line-height: 1; }
.sheet__close:hover { color: var(--ink); }
.sheet__thread { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px; overflow-y: auto; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 10px 15px; border-radius: 20px; font-size: 16px; line-height: 1.42; letter-spacing: -.01em; overflow-wrap: anywhere; }
.msg--user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.msg--ai { align-self: flex-start; background: var(--alt); color: var(--ink); border-bottom-left-radius: 6px; }
.msg--ai p + p { margin-top: 8px; }
.msg--ai a { color: var(--link); text-decoration: underline; }
.msg__dot { display: inline-block; width: 7px; height: 7px; margin-left: 2px; border-radius: 50%; background: var(--ink-3); animation: sheetPulse 1s ease-in-out infinite; }
@keyframes sheetPulse { 50% { opacity: .25; } }
.sheet__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 12px; }
.chipq { height: 34px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--bg); font-size: 14px; color: var(--ink); transition: border-color .2s, background .2s; }
.chipq:hover { border-color: var(--ink-3); background: var(--alt); }
.sheet__form { display: flex; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--line-2); }
.sheet__form input { flex: 1; min-width: 0; height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--r-pill); background: var(--alt); font-size: 16px; outline: none; }
.sheet__form input:focus { border-color: var(--blue); background: var(--bg); }
.sheet__form .btn { height: 44px; padding: 0 18px; font-size: 16px; }
.sheet__full { padding: 0 20px 14px; font-size: 12px; text-align: center; }
.sheet__full a { color: var(--link); }

/* ------------------------------------------------------------------ medium */
@media (max-width: 1068px) {
  .nav__links { gap: 20px; }
  .tile { min-height: 300px; padding: 30px 24px 26px; }
  .tile__num b { font-size: clamp(56px, 7vw, 76px); }
  .tile__text { font-size: 16px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento--two { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .story__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .dtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------------ small */
@media (max-width: 734px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__brand { font-size: 17px; }
  .hero .lead { margin-top: 20px; }
  .hero__cta { gap: 22px; margin-top: 28px; }
  .tiles, .bento, .hcards, .dtiles { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
    margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 10px; scrollbar-width: none; }
  .tiles::-webkit-scrollbar, .bento::-webkit-scrollbar, .hcards::-webkit-scrollbar, .dtiles::-webkit-scrollbar { display: none; }
  .tiles > *, .bento > *, .hcards > *, .dtiles > * { flex: 0 0 82%; scroll-snap-align: start; }
  .dtile { min-height: 190px; }
  .slack--part .slack__text, .slack--tile .slack__text { font-size: 17px; }
  .wall__q { font-size: 32px; }
  .wall__rows { margin-top: 36px; gap: 12px; }
  .marq .slack { width: 290px; }
  .deck__cards { --peek: 58px; --top: calc(var(--nav-h) + 12px); --hold: 24vh; margin-top: 26px; }
  .dcard { min-height: 0; padding: 0 20px 22px; border-radius: 24px; }
  .dcard + .dcard { margin-top: 40px; }
  .dcard__head { gap: 10px; }
  .dcard__icon { width: 32px; height: 32px; border-radius: 9px; }
  .dcard__icon svg { width: 18px; height: 18px; }
  .dcard__title { font-size: 17px; line-height: 1.18; }
  .dcard__badge { margin-left: 6px; font-size: 11px; vertical-align: 2px; }
  .dcard__when { font-size: 13px; }
  .dcard__body { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 18px; padding-top: 4px; }
  .dcard__lead { max-width: none; font-size: 22px; line-height: 1.2; }
  .dcard__text:only-child .dcard__lead { max-width: none; }
  .dcard__extras { justify-self: stretch; }
  .dcard__extras--photo { padding-left: 96px; }
  .dcard__photo { width: 168px; padding: 8px 8px 0; }
  .dcard__photo figcaption { padding: 7px 2px 9px; font-size: 12px; }
  .dcard__extras--photo .stickers { display: flex; left: 0; bottom: 40px; }
  .dcard__pre { margin-bottom: 10px; text-align: left; font-size: 13px; }
  .stickers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .sticker { gap: 8px; padding: 7px 9px 7px 7px; border-radius: 14px; }
  .sticker__tile { width: 30px; height: 30px; border-radius: 9px; }
  .sticker__tile svg { width: 18px; height: 18px; }
  .sticker__k { font-size: 11px; }
  .sticker__t { font-size: 13.5px; }
  .tile { min-height: 250px; padding: 26px 24px 24px; }
  .tile:hover { transform: none; }
  .tile__num { margin-top: 26px; }
  .tile__num b { font-size: 64px; }
  .tile__text { font-size: 16px; }
  .highlights .h2 { margin-bottom: 28px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 24px; }
  .stat b { font-size: 34px; letter-spacing: -.04em; }
  .stat span { font-size: 13px; line-height: 1.3; margin-top: 6px; }
  .bento { margin-top: 32px; }
  .card { padding: 24px 22px 24px; }
  .card__text { font-size: 17px; }
  .card--how h3 { font-size: 24px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; margin-top: 30px; }
  .step__title { font-size: 17px; }
  .step__text { font-size: 14px; }
  .tl { margin-top: 32px; }
  .tl__row { grid-template-columns: 70px minmax(0, 1fr); gap: 12px; padding: 13px 0 14px; }
  .tl__when, .tl__text { font-size: 15px; }
  .outcome { gap: 6px 14px; margin-top: 32px; }
  .outcome b { font-size: 52px; }
  .outcome span { font-size: 16px; }
  .slack--part { margin-top: 28px; padding: 16px 16px 18px; }
  .part__head { margin-bottom: 30px; }
  .part__kicker { font-size: 17px; }
  .chapter__head { margin-bottom: 36px; }
  .hcard__body { padding: 20px 22px 24px; }
  .hcard__body p { font-size: 15px; }
  .story__step { padding: 11px 0 12px; }
  .story__title { font-size: 16px; }
  .story__text { font-size: 14px; }
  .rows { margin-top: 32px; }
  .scene__card { padding: 14px 12px 14px; gap: 10px; }
  .scene__head { align-items: flex-start; }
  .scene__stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 260px; height: 480px; }
  .lane { border-right: 0; border-bottom: 1px solid var(--line-2); padding: 40px 12px 12px; gap: 5px; }
  .turn { font-size: 12px; padding: 6px 10px; }
  .turn--new { left: 12px; }
  .counter b { font-size: 56px; }
  .board__frame { left: 4%; right: 4%; top: 30%; bottom: 7%; gap: 8px; padding: 10px; }
  .scene .sticky { width: 44px; height: 44px; padding: 4px; font-size: 7.6px; }
  .hcards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tag ask" "text text"; gap: 4px 12px; padding: 14px 0 15px; }
  .row__tag { grid-area: tag; } .row__text { grid-area: text; font-size: 17px; } .row__ask { grid-area: ask; font-size: 15px; }
  .ask { margin-top: 34px; }
  .ask input { font-size: 17px; }
  .contact__links { flex-direction: column; gap: 22px; margin-top: 44px; }
  .sheet__panel { top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: 88svh; border-radius: 24px 24px 0 0; transform: translateY(48px); }
}

/* ------------------------------------------------------------------ no motion (reduced motion, or GSAP missing): every end state */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; } }
html.no-motion .scene .hint, html.no-motion .swap__a { display: none !important; }
html.no-motion .swap__b { transform: none !important; }
html.no-motion .scene .turn:not(.turn--first):not(.turn--new) { display: none !important; }
html.no-motion .scene .turn--new { position: static !important; }
html.no-motion .scene .turn--new, html.no-motion .scene .board__frame, html.no-motion .scene .sticky, html.no-motion .scene .board__col-label,
html.no-motion .scene .artifact-outline, html.no-motion .scene .sboard__dots { opacity: 1 !important; transform: none !important; clip-path: none !important; }
html.no-motion .counter b { background: linear-gradient(90deg, var(--blue-a), var(--blue-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.no-motion .step__bar { transform: none !important; }
html.no-motion .stage__play { display: grid !important; opacity: 1 !important; }
html.no-motion .stage--pending .stage__play { display: none !important; }
html.no-motion .marq__track, html.no-motion .slack--float { animation: none !important; }
html.no-motion .marq { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
html.no-motion .marq__half--dup { display: none; }
