/* =============================================
   LAVIJU TINKLARAŠTIS — editorial layer
   Builds on /styles.css tokens (blue, Inter, radii,
   buttons, nav, footer) and adds a pastel palette,
   scroll storytelling and micro-interactions.
   Shared with the landing page (body.home, /home.css).
   ============================================= */

.blog,
.home {
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.36, 0.64, 1);

  --sky-1: #EEF5FD;
  --sky-2: #DCEBFA;
  --sky-3: #B9D5F2;
  --sky-ink: #2A5599;
  --peach-1: #FFF4EF;
  --peach-2: #FCE3D8;
  --peach-3: #F6C4AE;
  --peach-ink: #9C4A2F;
  --butter-1: #FFF9E8;
  --butter-2: #FDF0C8;
  --butter-3: #F7DD8C;
  --butter-ink: #775800;
  --sage-1: #F0F8F2;
  --sage-2: #DCEFE2;
  --sage-3: #B5DCC2;
  --sage-ink: #2F6B47;
  --lilac-1: #F5F3FD;
  --lilac-2: #E6E0FA;
  --lilac-3: #C9BEF2;
  --lilac-ink: #54479E;

  --nav-h: 76px;
  color-scheme: light;
  font-size: 17px;
}

.blog main,
.home main {
  position: relative;
  z-index: 1;
  overflow-x: clip;
}

.blog .footer,
.home .footer {
  position: relative;
  z-index: 1;
}

/* Tone canvas: the page background drifts between pastels as sections pass */
.tone-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--tone, var(--bg));
  transition: background-color 0.9s ease;
}

/* Reading progress */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1101;
  pointer-events: none;
}

.read-progress__bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--teal));
  transform: scaleX(0);
  transform-origin: 0 50%;
  border-radius: 0 3px 3px 0;
}

/* Current page in the shared nav */
.nav__link[aria-current="page"] {
  color: var(--primary);
}

.nav__link[aria-current="page"]::after {
  width: 100%;
}

.mobile-menu__link[aria-current="page"] {
  color: var(--primary);
}

/* ---------- Shared editorial typography ---------- */
.serif-accent {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--primary);
}

.b-section {
  position: relative;
  padding: clamp(80px, 11vw, 136px) 0;
  scroll-margin-top: 64px;
}

.b-head {
  max-width: 780px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.b-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px 64px;
  max-width: none;
}

.b-head__aside {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.65;
  max-width: 34em;
}

.b-title {
  color: var(--text);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

.b-title--sm {
  font-size: clamp(30px, 3.6vw, 46px);
}

.b-title .serif-accent {
  padding-right: 0.04em;
}

.b-lede {
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.65;
  max-width: 33em;
}

.section__tag--on-dark {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 600;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.pill--kalba { background: var(--sky-2); color: var(--sky-ink); }
.pill--kasdienybe { background: var(--peach-2); color: var(--peach-ink); }
.pill--zaidimai { background: var(--butter-2); color: var(--butter-ink); }
.pill--knygos { background: var(--sage-2); color: var(--sage-ink); }
.pill--tevams { background: var(--lilac-2); color: var(--lilac-ink); }

.dot {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary);
}

.dot--kalba { background: #6FA0DE; }
.dot--kasdienybe { background: #F0A487; }
.dot--zaidimai { background: #F2C94C; }
.dot--knygos { background: #7CC196; }
.dot--tevams { background: #A596E6; }

/* Animated underline for card titles */
.u-line {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 0.45s var(--ease-out);
  padding-bottom: 2px;
}

a:hover .u-line,
a:focus-visible .u-line {
  background-size: 100% 2px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
}

.read-more svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease-out);
}

a:hover .read-more svg,
a:focus-visible .read-more svg {
  transform: translateX(5px);
}

/* Speech bubbles */
.talk-bubble {
  position: relative;
  display: inline-block;
  padding: 10px 16px;
  border-radius: 18px 18px 18px 6px;
  background: #fff;
  color: var(--text);
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 14px 30px -12px rgba(30, 42, 58, 0.28), inset 0 0 0 1px rgba(30, 42, 58, 0.04);
}

.talk-bubble--right {
  border-radius: 18px 18px 6px 18px;
}

.talk-bubble--butter {
  background: #FFE9A8;
}

.talk-bubble--sm {
  position: absolute;
  z-index: 3;
  left: var(--x);
  top: var(--y);
  padding: 7px 12px;
  font-size: 13px;
}

/* Watercolor sticker compositions */
.art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--art-bg);
  isolation: isolate;
  container-type: size;
}

/* Square stage keeps every composition intact at any card aspect ratio */
.art__stage {
  position: relative;
  width: min(100cqw, 100cqh);
  height: min(100cqw, 100cqh);
}

.art__num {
  position: absolute;
  z-index: 3;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 6px 14px -6px rgba(36, 75, 135, 0.6);
}

.art--sky { --art-bg: linear-gradient(160deg, #F3F8FE, var(--sky-2)); --blob: #C7DDF5; }
.art--peach { --art-bg: linear-gradient(160deg, #FFF7F3, var(--peach-2)); --blob: #F8D0BF; }
.art--butter { --art-bg: linear-gradient(160deg, #FFFBEF, var(--butter-2)); --blob: #F8E2A0; }
.art--sage { --art-bg: linear-gradient(160deg, #F5FAF6, var(--sage-2)); --blob: #C0E1CB; }
.art--lilac { --art-bg: linear-gradient(160deg, #F8F6FE, var(--lilac-2)); --blob: #D3C8F4; }

.art__blob {
  position: absolute;
  z-index: -1;
  left: 13%;
  top: 11%;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%;
  background: var(--blob);
  opacity: 0.75;
  transition: transform 1.2s var(--ease-out), border-radius 1.2s var(--ease-out);
}

a:hover .art__blob {
  transform: rotate(8deg) scale(1.04);
  border-radius: 54% 46% 42% 58% / 52% 58% 42% 48%;
}

.art__stk {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: auto;
  transform: rotate(var(--r, 0deg));
  filter: drop-shadow(0 10px 12px rgba(30, 42, 58, 0.12));
  transition: translate 0.7s var(--ease-out), scale 0.7s var(--ease-out);
}

a:hover .art__stk:nth-of-type(odd) { translate: 0 -6px; scale: 1.04; }
a:hover .art__stk:nth-of-type(even) { translate: 0 -3px; scale: 1.06; }

/* Gentle idle motion (paused off-screen, disabled for reduced motion) */
.stk--spin { animation: stkSpin 60s linear infinite; }
.stk--hop { animation: stkHop 4.2s var(--ease-in-out) infinite; }
.stk--sway { animation: stkSway 6s ease-in-out infinite; transform-origin: 50% 80%; }
.stk--stir { animation: stkStir 4.6s ease-in-out infinite; transform-origin: 50% 90%; }
.stk--beat { animation: stkBeat 2.8s ease-in-out infinite; }
.stk--fall { animation: stkFall 7s ease-in-out infinite; }
.stk--rock { animation: stkRock 7s ease-in-out infinite; transform-origin: 60% 20%; }

@keyframes stkSpin {
  to { transform: rotate(calc(var(--r, 0deg) + 360deg)); }
}

@keyframes stkHop {
  0%, 62%, 100% { transform: rotate(var(--r, 0deg)) translateY(0); }
  70% { transform: rotate(calc(var(--r, 0deg) - 3deg)) translateY(-7%); }
  78% { transform: rotate(var(--r, 0deg)) translateY(0); }
  84% { transform: rotate(calc(var(--r, 0deg) + 2deg)) translateY(-4%); }
  90% { transform: rotate(var(--r, 0deg)) translateY(0); }
}

@keyframes stkSway {
  0%, 100% { transform: rotate(calc(var(--r, 0deg) - 3deg)); }
  50% { transform: rotate(calc(var(--r, 0deg) + 3deg)); }
}

@keyframes stkStir {
  0%, 100% { transform: rotate(calc(var(--r, 0deg) - 7deg)); }
  50% { transform: rotate(calc(var(--r, 0deg) + 7deg)); }
}

@keyframes stkBeat {
  0%, 100% { transform: rotate(var(--r, 0deg)) scale(1); }
  45% { transform: rotate(var(--r, 0deg)) scale(1.1); }
}

@keyframes stkFall {
  0% { transform: translate(0, -10%) rotate(-18deg); opacity: 0; }
  12% { opacity: 1; }
  50% { transform: translate(22%, 60%) rotate(16deg); }
  88% { opacity: 1; }
  100% { transform: translate(-6%, 130%) rotate(-10deg); opacity: 0; }
}

@keyframes stkRock {
  0%, 100% { transform: rotate(calc(var(--r, 0deg) - 4deg)); }
  50% { transform: rotate(calc(var(--r, 0deg) + 4deg)); }
}

.stk--center {
  transform-origin: 50% 50% !important;
}

.is-idle .stk--spin,
.is-idle .stk--hop,
.is-idle .stk--sway,
.is-idle .stk--stir,
.is-idle .stk--beat,
.is-idle .stk--fall,
.is-idle .stk--rock {
  animation-play-state: paused;
}

/* ---------- Scroll reveal (individual transform props so components keep their own transform) ---------- */
.js [data-reveal] {
  opacity: 0;
  transition:
    opacity 0.9s var(--ease-out),
    translate 0.9s var(--ease-out),
    scale 0.9s var(--ease-out);
  transition-delay: var(--rd, 0s);
}

.js [data-reveal="up"] { translate: 0 44px; }
.js [data-reveal="down"] { translate: 0 -44px; }
.js [data-reveal="left"] { translate: -64px 0; }
.js [data-reveal="right"] { translate: 64px 0; }
.js [data-reveal="scale"] { scale: 0.94; }

.js [data-reveal].is-in {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

/* =============================================
   HERO
   ============================================= */
.b-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 128px 0 96px;
  overflow: clip;
}

.b-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.b-hero__wash {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: orbFloat 22s ease-in-out infinite;
}

.b-hero__wash--sky {
  width: 620px;
  height: 620px;
  top: -180px;
  right: -140px;
  background: radial-gradient(circle, #B9D4F3, transparent 68%);
}

.b-hero__wash--peach {
  width: 460px;
  height: 460px;
  bottom: -160px;
  left: -160px;
  background: radial-gradient(circle, #F8D2C1, transparent 68%);
  animation-delay: -8s;
}

.b-hero__wash--sage {
  width: 380px;
  height: 380px;
  top: 34%;
  left: 36%;
  background: radial-gradient(circle, #CDE7D5, transparent 68%);
  opacity: 0.4;
  animation-delay: -15s;
}

.b-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 40px;
  align-items: center;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.b-hero__badge {
  margin-bottom: 28px;
}

.b-hero__title {
  margin-bottom: 28px;
  color: var(--text);
  font-size: clamp(38px, 10.2vw, 80px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

@media (min-width: 901px) {
  .b-hero__title {
    font-size: clamp(52px, 5.9vw, 84px);
  }
}

.b-line {
  display: block;
  overflow: hidden;
  margin: 0 -0.2em -0.14em 0;
  padding: 0 0.2em 0.14em 0;
  will-change: transform;
}

.b-line__inner {
  display: inline-block;
}

.js .b-line__inner {
  transform: translateY(108%);
  animation: lineUp 1.1s var(--ease-out) 0.15s forwards;
}

.js .b-line:nth-child(2) .b-line__inner { animation-delay: 0.27s; }
.js .b-line:nth-child(3) .b-line__inner { animation-delay: 0.39s; }

@keyframes lineUp {
  to { transform: translateY(0); }
}

.b-hero__title .serif-accent {
  display: inline-block;
  font-size: 1.06em;
  padding-right: 0.08em;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 55%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.scribble {
  position: absolute;
  left: 2%;
  right: 6%;
  bottom: -0.02em;
  width: 94%;
  height: 0.2em;
  overflow: visible;
  pointer-events: none;
}

.scribble path {
  fill: none;
  stroke: #F4A98C;
  stroke-width: 5px;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 420;
  stroke-dashoffset: 0;
}

.js .scribble path {
  stroke-dashoffset: 420;
  animation: drawLine 1.1s var(--ease-out) 1.05s forwards;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

.b-hero__lede {
  max-width: 31em;
  margin-bottom: 32px;
  color: var(--text-secondary);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.7;
}

.b-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-base);
  margin-bottom: 28px;
}

.js .b-hero__lede,
.js .b-hero__actions,
.js .topic-chips {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeInUp 0.9s var(--ease-out) forwards;
}

.js .b-hero__lede { animation-delay: 0.55s; }
.js .b-hero__actions { animation-delay: 0.68s; }
.js .topic-chips { animation-delay: 0.8s; }

.topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.topic-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(74, 127, 212, 0.14);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(6px);
  transition: transform 0.3s var(--ease-out), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.topic-chip:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  background: #fff;
  color: var(--primary-dark);
}

/* Hero stage */
.b-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-stage {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 5 / 6;
}

.hero-stage__arch {
  position: absolute;
  inset: 5% 9% 8%;
  overflow: hidden;
  border-radius: 999px 999px 44px 44px;
  background: linear-gradient(180deg, #D5E6FA 0%, #E8F1FC 42%, #FDF3EA 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.85),
    0 50px 90px -40px rgba(53, 101, 176, 0.42);
}

.js .hero-stage__arch {
  opacity: 0;
  transform: scale(0.92) translateY(20px);
  animation: archIn 1.2s var(--ease-out) 0.2s forwards;
}

@keyframes archIn {
  to { opacity: 1; transform: none; }
}

.hero-stage__glow {
  position: absolute;
  top: 6%;
  left: 12%;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), transparent 64%);
}

.hero-stage__table {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: linear-gradient(180deg, #F8E7D8, #F1DAC6);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.7);
}

.layer {
  position: absolute;
  z-index: 2;
  left: var(--x);
  top: var(--y);
  width: var(--w, auto);
}

.layer > * {
  display: block;
}

.layer > .stk {
  width: 100%;
  height: auto;
  transform: rotate(var(--r, 0deg));
  filter: drop-shadow(0 12px 14px rgba(30, 42, 58, 0.14));
}

.js .layer > * {
  opacity: 0;
  animation: popIn 0.8s var(--ease-spring) forwards;
  animation-delay: calc(0.45s + var(--i, 0) * 0.07s);
}

.js .layer > .stk--spin { animation: popIn 0.8s var(--ease-spring) calc(0.45s + var(--i, 0) * 0.07s) forwards, stkSpin 60s linear 1.4s infinite; }
.js .layer > .stk--hop { animation: popIn 0.8s var(--ease-spring) calc(0.45s + var(--i, 0) * 0.07s) forwards, stkHop 4.2s var(--ease-in-out) 1.6s infinite; }
.js .layer > .stk--sway { animation: popIn 0.8s var(--ease-spring) calc(0.45s + var(--i, 0) * 0.07s) forwards, stkSway 6s ease-in-out 1.6s infinite; }
.js .layer > .stk--stir { animation: popIn 0.8s var(--ease-spring) calc(0.45s + var(--i, 0) * 0.07s) forwards, stkStir 4.6s ease-in-out 1.6s infinite; }
.js .layer > .stk--beat { animation: popIn 0.8s var(--ease-spring) calc(0.45s + var(--i, 0) * 0.07s) forwards, stkBeat 2.8s ease-in-out 1.6s infinite; }

@keyframes popIn {
  from { opacity: 0; scale: 0.7; }
  to { opacity: 1; scale: 1; }
}

.layer--bubble {
  z-index: 4;
}

.layer--float {
  z-index: 5;
}

.float-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(213, 225, 240, 0.86);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 40px rgba(39, 62, 94, 0.16), inset 0 1px rgba(255, 255, 255, 0.9);
}

.float-card__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 11px;
}

.float-card__icon svg {
  width: 18px;
  height: 18px;
}

.float-card__icon--blue {
  color: #3f73c2;
  background: #e8f0fb;
}

.float-card__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.float-card__text small {
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
}

.float-card__text strong {
  color: var(--text);
  font-size: 13px;
  white-space: nowrap;
}

.float-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--text);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 12px 28px -8px rgba(30, 42, 58, 0.45);
}

.float-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #aaf2cb;
  box-shadow: 0 0 0 3px rgba(170, 242, 203, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

.scroll-cue {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-self: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  margin-top: 40px;
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.scroll-cue__line {
  position: relative;
  width: 1.5px;
  height: 44px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(30, 42, 58, 0.12);
}

.scroll-cue__line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform: translateY(-100%);
  animation: cueDrop 2.2s var(--ease-in-out) infinite;
}

@keyframes cueDrop {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* =============================================
   MARQUEE
   ============================================= */
.marquee {
  position: relative;
  z-index: 2;
  padding: 30px 0;
  overflow: clip;
}

.marquee__band {
  margin: 0 -4vw;
  transform: rotate(-2deg);
  background: linear-gradient(90deg, var(--primary-dark), var(--primary) 50%, var(--primary-dark));
  box-shadow: 0 24px 48px -24px rgba(36, 75, 135, 0.55);
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 28px;
  padding: 16px 14px;
}

.marquee__group span {
  color: #fff;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.marquee__group span:nth-of-type(even) {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  color: #CFE0F6;
}

.marquee__group img {
  width: auto;
  height: clamp(40px, 4.4vw, 58px);
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.18));
}

.marquee__group i {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #FFE9A8;
}

/* =============================================
   FEATURED
   ============================================= */
.featured__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}

.story--lead {
  grid-row: span 2;
}

.story__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-3xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

.story__link:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 70px -30px rgba(30, 42, 58, 0.3);
}

.story__media {
  position: relative;
  overflow: hidden;
}

.story__media--lead {
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.95), transparent 60%),
    linear-gradient(170deg, #EEF5FD, #DCEBFA);
}

.story__still {
  position: absolute;
  inset: 4% 2% 12%;
  width: 96%;
  height: 84%;
  object-fit: contain;
  transition: transform 1.2s var(--ease-out);
}

.story__link:hover .story__still {
  transform: scale(1.05) rotate(-0.6deg);
}

.story__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.6vw, 34px);
}

.story__title {
  color: var(--text);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.story--lead .story__title {
  font-size: clamp(28px, 3vw, 42px);
}

.story__excerpt {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

.story--side .story__link {
  flex-direction: row;
}

.story--side .story__media {
  flex: 0 0 46%;
  min-height: 220px;
}

.story--side .story__body {
  justify-content: center;
}

.story--side .story__title {
  font-size: clamp(20px, 1.8vw, 24px);
}

.story--side .story__excerpt {
  font-size: 15px;
}

/* Rotating preview ticker on the lead story */
.ticker {
  position: absolute;
  left: 20px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px -12px rgba(30, 42, 58, 0.35);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.ticker__label {
  color: var(--text-tertiary);
}

.ticker__window {
  position: relative;
  display: inline-block;
  height: 30px;
  min-width: 150px;
  overflow: hidden;
  border-radius: var(--radius-full);
  background: var(--primary);
}

.ticker__item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.55s var(--ease-out), opacity 0.55s var(--ease-out);
}

.ticker__item.is-active {
  opacity: 1;
  transform: translateY(0);
}

.ticker__item.is-leaving {
  opacity: 0;
  transform: translateY(-100%);
}

/* =============================================
   WHY — sticky scrollytelling
   ============================================= */
.why__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.why__stage-wrap {
  position: sticky;
  top: max(96px, calc(50vh - 270px));
}

.why__stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 0.98;
  overflow: hidden;
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.9), transparent 58%),
    linear-gradient(165deg, #F6FBF7, #D8EEDF);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    0 50px 90px -50px rgba(47, 107, 71, 0.5);
}

.why-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
}

.why-scene.is-active {
  opacity: 1;
  visibility: visible;
}

.why__counter {
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: var(--sage-ink);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}

.why__counter-now {
  display: inline-block;
  color: var(--text);
}

/* Scene 1 — repetition */
.why-scene__hero-stk {
  position: absolute;
  left: 36%;
  top: 30%;
  width: 28%;
  height: auto;
  filter: drop-shadow(0 16px 18px rgba(30, 42, 58, 0.16));
  transform: scale(0.85);
  transition: transform 0.9s var(--ease-spring);
}

.why-scene.is-active .why-scene__hero-stk {
  transform: scale(1);
}

.scene-bubble {
  position: absolute;
  left: var(--x);
  top: var(--y);
  padding: 12px 18px;
  border-radius: 20px 20px 20px 6px;
  background: #fff;
  color: var(--text);
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 16px 34px -16px rgba(30, 42, 58, 0.3);
  opacity: 0;
  transform: translateY(14px) scale(0.94);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-spring);
}

.scene-bubble--right {
  border-radius: 20px 20px 6px 20px;
}

.scene-bubble b {
  color: var(--primary-dark);
  font-weight: 800;
  background: linear-gradient(transparent 62%, #FFE3A1 62%);
}

.why-scene.is-active .scene-bubble {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.25s + var(--d) * 0.6s);
}

.meter {
  position: absolute;
  left: 50%;
  bottom: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.85);
  transform: translateX(-50%);
  box-shadow: 0 10px 24px -14px rgba(30, 42, 58, 0.3);
}

.meter__label {
  color: var(--sage-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.meter__track {
  display: flex;
  gap: 4px;
}

.meter__track i {
  position: relative;
  width: 34px;
  height: 8px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(47, 107, 71, 0.14);
}

.meter__track i::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #7CC196, #4F9E6E);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.5s var(--ease-out);
}

.why-scene.is-active .meter__track i::after {
  transform: scaleX(1);
  transition-delay: calc(0.45s + var(--d) * 0.6s);
}

/* Scene 2 — verbs */
.live-pill {
  position: absolute;
  top: 34px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--text);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.live-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF8A7A;
  box-shadow: 0 0 0 4px rgba(255, 138, 122, 0.25);
  animation: pulse 1.6s ease-in-out infinite;
}

.verb-row {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  transform: translateY(-44%);
}

.verb-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px 8px 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 36px -22px rgba(30, 42, 58, 0.35);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-spring);
}

.verb-card img {
  width: 76%;
  height: 96px;
  object-fit: contain;
}

.verb-card b {
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 24px);
  font-style: italic;
  font-weight: 600;
}

.why-scene.is-active .verb-card {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.2s + var(--d) * 0.18s);
}

.why-scene.is-active .anim-pour { animation: pour 2.6s ease-in-out 0.8s infinite; transform-origin: 30% 70%; }
.why-scene.is-active .anim-slide { animation: slideSock 2.4s var(--ease-in-out) 0.9s infinite; }
.why-scene.is-active .anim-run { animation: run 0.9s ease-in-out 1s infinite; }

@keyframes pour {
  0%, 100% { transform: rotate(0); }
  40%, 60% { transform: rotate(-14deg); }
}

@keyframes slideSock {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px) rotate(-4deg); }
}

@keyframes run {
  0%, 100% { transform: translate(-4px, 0) rotate(-2deg); }
  50% { transform: translate(4px, -5px) rotate(2deg); }
}

/* Scene 3 — turn-taking */
.chat {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 9%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat__msg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 80%;
  padding: 11px 16px;
  border-radius: 20px;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 700;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s var(--ease-out), transform 0.6s var(--ease-spring);
}

.chat__msg img {
  width: 38px;
  height: auto;
}

.chat__msg--adult {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  background: var(--primary);
  color: #fff;
}

.chat__msg--child {
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 10px 24px -16px rgba(30, 42, 58, 0.35);
}

.why-scene.is-active .chat__msg {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.2s + var(--d) * 0.7s);
}

.turns {
  position: absolute;
  left: 50%;
  bottom: 56px;
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translateX(-50%);
}

.turns span {
  padding: 7px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.75);
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.4s ease, color 0.4s ease;
}

.turns svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--sage-ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.5;
}

.why-scene.is-active .turns span {
  animation: turnOn 4.2s ease-in-out infinite;
  animation-delay: calc(2.6s + var(--d) * 1.1s);
}

@keyframes turnOn {
  0%, 30%, 100% { background: rgba(255, 255, 255, 0.75); color: var(--text-tertiary); }
  8%, 24% { background: var(--sage-ink); color: #fff; }
}

/* Steps */
.why__steps {
  position: relative;
  list-style: none;
  padding: 4vh 0 16vh 36px;
}

.why__steps::before,
.why__steps::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 4vh;
  bottom: 16vh;
  width: 2px;
  border-radius: 2px;
}

.why__steps::before {
  background: rgba(47, 107, 71, 0.15);
}

.why__steps::after {
  background: var(--sage-ink);
  transform: scaleY(var(--why-p, 0));
  transform-origin: 50% 0;
}

.why-step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 62vh;
  opacity: 0.3;
  transition: opacity 0.5s ease;
}

.why-step.is-active {
  opacity: 1;
}

.no-js .why-step,
.why-step:only-child {
  opacity: 1;
}

.why-step__num {
  margin-bottom: 14px;
  color: var(--sage-ink);
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 600;
}

.why-step__title {
  margin-bottom: 14px;
  color: var(--text);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.why-step p {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.65;
}

.why-step mark {
  padding: 0 2px;
  background: linear-gradient(transparent 58%, var(--sage-3) 58%) no-repeat;
  background-size: 0% 100%;
  color: var(--text);
  font-weight: 700;
  transition: background-size 0.8s var(--ease-out) 0.2s;
}

.why-step.is-active mark {
  background-size: 100% 100%;
}

.why-step__hint {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--sage-3);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 255, 255, 0.6);
  font-size: 15px !important;
}

/* =============================================
   NUMBERS
   ============================================= */
.numbers {
  padding-top: clamp(24px, 4vw, 48px);
}

.numbers__card {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 64px);
  border-radius: 40px;
  background: linear-gradient(135deg, var(--primary-darker), var(--primary-dark) 48%, var(--primary));
  color: #fff;
  box-shadow: 0 50px 100px -50px rgba(29, 60, 109, 0.8);
}

.numbers__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.numbers__orb--1 {
  width: 420px;
  height: 420px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(168, 212, 224, 0.35), transparent 70%);
}

.numbers__orb--2 {
  width: 360px;
  height: 360px;
  bottom: -200px;
  left: -80px;
  background: radial-gradient(circle, rgba(255, 233, 168, 0.18), transparent 70%);
}

.numbers__head {
  position: relative;
  margin-bottom: 40px;
}

.numbers__title {
  max-width: 17em;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.numbers__title .serif-accent {
  color: #CFE0F6;
}

.numbers__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.07);
  transition: background 0.4s ease, transform 0.5s var(--ease-out);
}

.stat:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-4px);
}

.stat__value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: clamp(52px, 5.4vw, 80px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.stat__value small {
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0.7;
}

.stat__from {
  opacity: 0.45;
}

.stat__arrow {
  font-size: 0.5em;
  opacity: 0.6;
}

.stat__colon {
  margin: 0 2px;
  opacity: 0.6;
}

.stat__value--plus {
  color: #FFE9A8;
}

.stat__label {
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.5;
}

.stat__source {
  align-self: flex-start;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.stat__source:hover,
.stat__source:focus-visible {
  color: #fff;
  text-decoration-color: currentColor;
}

.stat__viz {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
}

.stat__viz i {
  display: block;
  font-style: normal;
}

.stat__viz--dots i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  scale: 0;
  transition: scale 0.5s var(--ease-spring);
}

.stat__viz--dots i:nth-child(1) { background: #F4B9A2; }
.stat__viz--dots i:nth-child(2) { background: #FFE39A; }
.stat__viz--dots i:nth-child(3) { background: #A9D8B8; }
.stat__viz--dots i:nth-child(4) { background: #BCD6F4; }
.stat__viz--dots i:nth-child(5) { background: #CFC5F4; }

.numbers__card.is-in .stat__viz--dots i { scale: 1; }
.numbers__card.is-in .stat__viz--dots i:nth-child(2) { transition-delay: 0.1s; }
.numbers__card.is-in .stat__viz--dots i:nth-child(3) { transition-delay: 0.2s; }
.numbers__card.is-in .stat__viz--dots i:nth-child(4) { transition-delay: 0.3s; }
.numbers__card.is-in .stat__viz--dots i:nth-child(5) { transition-delay: 0.4s; }

.stat__viz--wait {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.wait-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wait-bar i {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.wait-bar--short i { width: 20%; }
.wait-bar--long i { width: 100%; flex: 1; }

.wait-bar i::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #FFE9A8;
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.numbers__card.is-in .wait-bar--short i::after { animation: waitFill 0.5s linear 0.4s forwards; }
.numbers__card.is-in .wait-bar--long i::after { animation: waitFill 2.5s linear 0.4s forwards; background: #A9D8B8; }

@keyframes waitFill {
  to { transform: scaleX(1); }
}

.wait-bar b {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.stat__viz--hand i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: #BCD6F4;
  color: var(--primary-darker);
  font-size: 13px;
  font-weight: 800;
  translate: 0 12px;
  opacity: 0;
  transition: translate 0.5s var(--ease-spring), opacity 0.4s ease;
}

.stat__viz--hand i.q {
  background: #FFE9A8;
}

.numbers__card.is-in .stat__viz--hand i { translate: 0 0; opacity: 1; }
.numbers__card.is-in .stat__viz--hand i:nth-child(2) { transition-delay: 0.12s; }
.numbers__card.is-in .stat__viz--hand i:nth-child(3) { transition-delay: 0.24s; }
.numbers__card.is-in .stat__viz--hand i:nth-child(4) { transition-delay: 0.36s; }
.numbers__card.is-in .stat__viz--hand i:nth-child(5) { transition-delay: 0.48s; }

.stat__viz--blocks i {
  padding: 6px 10px;
  border-radius: 10px;
  background: #fff;
  color: var(--primary-darker);
  font-size: 13px;
  font-weight: 800;
}

.stat__viz--blocks i.plus {
  background: #FFE9A8;
  opacity: 0;
  translate: 16px 0;
  transition: translate 0.6s var(--ease-spring) 0.6s, opacity 0.4s ease 0.6s;
}

.numbers__card.is-in .stat__viz--blocks i.plus {
  opacity: 1;
  translate: 0 0;
}

/* =============================================
   DAY — horizontal journey
   ============================================= */
.day {
  position: relative;
  z-index: 1;
  --sky-top: #FDE7D6;
  --sky-bottom: #FFF6EC;
  --night: 0;
}

.day__sticky {
  position: relative;
  overflow: hidden;
  overflow: clip;
  padding: 120px 0 88px;
}

.day__sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.day__sky-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--sky-top), var(--sky-bottom));
}

.day__stars {
  position: absolute;
  inset: 0 0 35% 0;
  opacity: var(--night);
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 22% 42%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 31% 12%, #FFF3C4 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 44% 30%, #fff 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 57% 9%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 63% 38%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 74% 22%, #FFF3C4 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 86% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 92% 36%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 6% 58%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 38% 56%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 80% 52%, #fff 50%, transparent 51%);
  animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes twinkle {
  from { filter: brightness(0.8); }
  to { filter: brightness(1.25); }
}

.day__sun,
.day__moon {
  position: absolute;
  left: 0;
  top: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  will-change: transform, opacity;
}

.day__sun {
  background: radial-gradient(circle at 40% 38%, #FFF4C2, #FFD868 55%, #F7C948);
  box-shadow: 0 0 0 18px rgba(255, 220, 120, 0.18), 0 0 80px 30px rgba(255, 214, 102, 0.35);
  transform: translate(var(--sun-x, 8vw), var(--sun-y, 55vh));
  opacity: var(--sun-o, 1);
}

.day__moon {
  width: 76px;
  height: 76px;
  background: transparent;
  box-shadow: inset -20px 10px 0 0 #FFF1B8;
  filter: drop-shadow(0 0 22px rgba(255, 241, 184, 0.45));
  transform: translate(var(--moon-x, 78vw), var(--moon-y, 14vh)) rotate(-18deg);
  opacity: var(--night);
}

.day__hill {
  position: absolute;
  left: -10%;
  right: -10%;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.day__hill--back {
  bottom: -14vh;
  height: 36vh;
  background: rgba(255, 255, 255, calc(0.28 - var(--night) * 0.2));
  transform: translateX(-6%);
}

.day__hill--front {
  bottom: -22vh;
  height: 34vh;
  background: rgba(255, 255, 255, calc(0.42 - var(--night) * 0.3));
  transform: translateX(8%);
}

.day__hud {
  position: absolute;
  z-index: 3;
  top: 96px;
  left: max(var(--space-lg), calc((100vw - var(--container)) / 2 + var(--space-lg)));
  display: flex;
  align-items: center;
  gap: 14px;
}

.day__clock {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px -16px rgba(30, 42, 58, 0.4);
  backdrop-filter: blur(10px);
}

.day__clock-face {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--text);
}

.day__clock-face i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 9px;
  margin-left: -1px;
  border-radius: 2px;
  background: #FFE9A8;
  transform-origin: 50% 100%;
  transform: translateY(-100%) rotate(var(--hand, 0deg));
}

.day__time {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.day__when {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.day__dots {
  display: inline-flex;
  gap: 6px;
}

.day__dots i {
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background: rgba(30, 42, 58, 0.18);
  transition: width 0.4s var(--ease-out), background 0.4s ease;
}

.day[data-night="1"] .day__dots i {
  background: rgba(255, 255, 255, 0.3);
}

.day__dots i.is-active {
  width: 24px;
  background: var(--primary);
}

.day[data-night="1"] .day__dots i.is-active {
  background: #FFE9A8;
}

.day__viewport {
  position: relative;
  z-index: 2;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.day__viewport::-webkit-scrollbar {
  display: none;
}

.day__track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: max-content;
  padding: 24px max(var(--space-lg), calc((100vw - var(--container)) / 2 + var(--space-lg)));
}

.day-panel {
  position: relative;
  display: grid;
  flex: none;
  width: min(86vw, 1000px);
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: min(580px, 70vh);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 50px 90px -50px rgba(30, 42, 58, 0.45);
  scroll-snap-align: center;
}

.day-panel__art {
  min-height: 100%;
}

.day-panel__art .art__blob {
  left: 10%;
  top: 14%;
  width: 80%;
}

.art__stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(3px 3px at 14% 16%, #F2C94C 50%, transparent 51%),
    radial-gradient(2px 2px at 30% 30%, #F2C94C 50%, transparent 51%),
    radial-gradient(3px 3px at 22% 72%, #F2C94C 50%, transparent 51%),
    radial-gradient(2px 2px at 84% 86%, #F2C94C 50%, transparent 51%),
    radial-gradient(2.5px 2.5px at 46% 12%, #F2C94C 50%, transparent 51%);
  animation: twinkle 3s ease-in-out infinite alternate;
}

.day-panel__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: clamp(26px, 3.2vw, 48px);
}

.day-panel__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.day-panel__kicker span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary-ultralight);
  color: var(--primary-dark);
  font-size: 13px;
  letter-spacing: 0;
}

.day-panel__title {
  color: var(--text);
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.day-panel__lede {
  color: var(--text-secondary);
  font-size: 17px;
}

.say {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.say li {
  padding: 9px 14px;
  border-radius: 16px 16px 16px 5px;
  background: var(--sky-2);
  color: var(--primary-darker);
  font-size: 16px;
  font-weight: 700;
}

.say li:nth-child(2) { background: var(--butter-2); color: #5F4700; }
.say li:nth-child(3) { background: var(--sage-2); color: #25573A; }

.words {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.words li {
  padding: 5px 12px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  font-weight: 600;
}

.words--questions li {
  border-style: solid;
  border-color: var(--lilac-2);
  background: var(--lilac-1);
  color: var(--lilac-ink);
  font-family: var(--font);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.day-panel__tip {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.day-panel__tip b {
  color: var(--text);
}

.day-panel__fact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  color: var(--text-tertiary);
  font-size: 13px;
  line-height: 1.5;
}

.day-panel__fact a {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--sage-2);
  color: var(--sage-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  transition: background 0.2s ease;
}

.day-panel__fact a:hover,
.day-panel__fact a:focus-visible {
  background: var(--sage-3);
}

.day-panel--intro,
.day-panel--outro {
  display: flex;
  flex: none;
  width: min(80vw, 520px);
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.day-panel--intro .section__tag {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.7);
}

.day__title {
  color: var(--text);
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.day__lede {
  max-width: 26em;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.65;
}

.day__hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 700;
}

.day__hint svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: nudge 1.6s var(--ease-in-out) infinite;
}

@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

.day__hint-touch {
  display: none;
}

@media (hover: none) {
  .day__hint-desktop { display: none; }
  .day__hint-touch { display: inline; }
}

.day-panel--outro {
  color: #fff;
}

.day__outro-kicker {
  color: #FFE9A8;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.day__outro-title {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.day__outro-title .serif-accent {
  color: #CFE0F6;
}

.day-panel--outro .btn {
  align-self: flex-start;
}

.day__nav {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  max-width: var(--container);
  margin: 8px auto 0;
  padding: 0 var(--space-lg);
}

.day__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 10px 24px -14px rgba(30, 42, 58, 0.45);
  transition: transform 0.3s var(--ease-out), background 0.3s ease;
}

.day__btn:hover {
  transform: translateY(-2px);
  background: #fff;
}

.day__btn:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}

.day__btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Pinned (desktop) mode: vertical scroll drives the horizontal track */
.day.is-pinned {
  height: var(--day-h, 400vh);
}

/* Clock + panels are centred as one group below the nav, so the clock never covers a panel */
.day.is-pinned .day__sticky {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  height: 100svh;
  padding: var(--nav-h) 0 0;
}

.day.is-pinned .day__hud {
  position: relative;
  top: auto;
  left: auto;
  align-self: flex-start;
  margin-left: max(var(--space-lg), calc((100vw - var(--container)) / 2 + var(--space-lg)));
}

.day.is-pinned .day__viewport {
  width: 100%;
  overflow: visible;
  scroll-snap-type: none;
}

.day.is-pinned .day__track {
  padding-top: 18px;
  padding-bottom: 28px;
  will-change: transform;
}

.day.is-pinned .day-panel {
  width: min(64vw, 940px);
  min-height: min(560px, calc(100svh - var(--nav-h) - 120px));
  max-height: calc(100svh - var(--nav-h) - 100px);
}

.day.is-pinned .day-panel--intro,
.day.is-pinned .day-panel--outro {
  width: min(40vw, 520px);
}

/* Short laptop screens: tighten the panels so nothing is clipped */
@media (max-height: 820px) {
  .day.is-pinned .day-panel__body {
    gap: 10px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .day.is-pinned .day-panel__title {
    font-size: clamp(30px, 3.2vw, 44px);
  }

  .day.is-pinned .day-panel__tip {
    padding: 11px 14px;
  }
}

@media (max-height: 700px) {
  .day.is-pinned .day-panel__fact {
    display: none;
  }
}

.day.is-pinned .day__nav {
  display: none;
}

.day-panel {
  transition: opacity 0.6s ease;
}

.day.is-pinned .day-panel:not(.is-current):not(.day-panel--intro):not(.day-panel--outro) {
  opacity: 0.55;
}

/* =============================================
   SOUNDBOARD
   ============================================= */
.sounds__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.sounds__result {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  min-height: 84px;
  margin: 32px 0 18px;
  padding: 18px 22px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 50px -30px rgba(30, 42, 58, 0.35);
}

.sounds__result-sound {
  color: var(--primary);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.sounds__result-plus {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--butter-2);
  color: var(--butter-ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sounds__result-word {
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-style: italic;
  font-weight: 600;
}

.sounds__result.is-fresh .sounds__result-sound {
  animation: popWord 0.5s var(--ease-spring);
}

.sounds__result.is-fresh .sounds__result-word {
  animation: popWord 0.5s var(--ease-spring) 0.25s both;
}

@keyframes popWord {
  from { opacity: 0; transform: translateY(8px) scale(0.92); }
  to { opacity: 1; transform: none; }
}

.sounds__progress {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}

.sounds__dots {
  display: inline-flex;
  gap: 5px;
}

.sounds__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(30, 42, 58, 0.14);
  transition: background 0.3s ease, transform 0.4s var(--ease-spring);
}

.sounds__dots i.is-on {
  background: var(--primary);
  transform: scale(1.15);
}

.sounds__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.sound-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  padding: 18px 12px 16px;
  border: 0;
  border-radius: 30px;
  background: var(--tile);
  color: var(--text);
  font-family: var(--font);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75), 0 1px 0 rgba(30, 42, 58, 0.04);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
  transform: perspective(700px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  -webkit-tap-highlight-color: transparent;
}

.sound-tile:hover {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 26px 44px -26px rgba(30, 42, 58, 0.45);
}

.sound-tile:focus-visible {
  outline: 3px solid var(--primary-dark);
  outline-offset: 4px;
}

.sound-tile img {
  flex: 1;
  width: 72%;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(30, 42, 58, 0.14));
  transition: transform 0.5s var(--ease-out);
}

.sound-tile:hover img {
  transform: translateY(-4px) scale(1.04);
}

.sound-tile.is-playing img {
  animation: squash 0.6s var(--ease-out);
}

@keyframes squash {
  0% { transform: scale(1); }
  25% { transform: scale(1.08, 0.9) translateY(4px); }
  55% { transform: scale(0.96, 1.06) translateY(-8px); }
  100% { transform: scale(1); }
}

.sound-tile__name {
  font-size: 15px;
  font-weight: 700;
}

.sound-tile__bubble {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 16px 16px 16px 5px;
  background: #fff;
  color: var(--primary-dark);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 12px 26px -12px rgba(30, 42, 58, 0.4);
  opacity: 0;
  transform: translate(-50%, 10px) scale(0.6);
  transition: opacity 0.3s ease, transform 0.5s var(--ease-spring);
  pointer-events: none;
}

.sound-tile.is-playing .sound-tile__bubble {
  opacity: 1;
  transform: translate(-50%, -18px) scale(1) rotate(-5deg);
}

.sound-tile.is-done::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
  animation: popIn 0.5s var(--ease-spring);
}

/* =============================================
   LIBRARY — filterable article grid
   ============================================= */
.library__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: 14px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.3s var(--ease-out);
}

.filter:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.filter.is-active {
  border-color: var(--text);
  background: var(--text);
  color: #fff;
}

.filter__count {
  color: inherit;
  font-size: 12px;
  opacity: 0.6;
}

.library__status {
  margin-bottom: 28px;
  color: var(--text-tertiary);
  font-size: 14px;
  font-weight: 600;
}

.library__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 24px;
}

.post {
  min-width: 0;
}

.post[hidden] {
  display: none;
}

.post--wide {
  grid-column: span 2;
}

.post__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

.post__link:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 60px -30px rgba(30, 42, 58, 0.32);
}

.post__media {
  aspect-ratio: 4 / 3;
}

.post__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 26px;
}

.post__title {
  color: var(--text);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.post__excerpt {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.post--wide .post__link {
  flex-direction: row;
}

.post--wide .post__media {
  flex: 1.15;
  aspect-ratio: auto;
  min-height: 340px;
}

.post--wide .post__body {
  flex: 1;
  justify-content: center;
  padding: 32px;
}

.post--wide .post__title {
  font-size: clamp(24px, 2.4vw, 32px);
}

.post--split .post__link {
  flex-direction: row-reverse;
}

.post--note .post__link {
  border-color: transparent;
}

.post--lilac .post__link { background: linear-gradient(160deg, #F4F1FE, var(--lilac-2)); }
.post--sage .post__link { background: linear-gradient(160deg, #F1F9F4, var(--sage-2)); }

.post--note .post__body {
  justify-content: space-between;
  padding: 26px;
}

.post__big {
  margin: 12px 0 18px;
  color: var(--text);
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.post--lilac .post__big .serif-accent { color: var(--lilac-ink); }
.post--sage .post__big .serif-accent { color: var(--sage-ink); }

/* =============================================
   PEEK — quick-read sheet
   ============================================= */
.peek {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 16px;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.peek[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.peek::backdrop {
  background: rgba(13, 27, 42, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.peek__sheet {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow-xl);
  animation: peekIn 0.5s var(--ease-out);
}

.peek.is-closing .peek__sheet {
  animation: peekOut 0.28s ease forwards;
}

@keyframes peekIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@keyframes peekOut {
  to { opacity: 0; transform: translateY(16px) scale(0.98); }
}

.peek__grab {
  display: none;
}

.peek__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 6px 16px -8px rgba(30, 42, 58, 0.4);
  transition: transform 0.3s var(--ease-out);
}

.peek__close:hover {
  transform: rotate(90deg);
}

.peek__close svg {
  width: 20px;
  height: 20px;
}

.peek__art {
  position: relative;
  height: 220px;
}

.peek__art > .art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}

.peek__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px clamp(22px, 4vw, 36px) 32px;
}

.peek__title {
  color: var(--text);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.peek__points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: peek;
  list-style: none;
}

.peek__points li {
  position: relative;
  padding: 14px 16px 14px 54px;
  border-radius: 18px;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  counter-increment: peek;
  animation: fadeInUp 0.5s var(--ease-out) both;
  opacity: 0;
  transform: translateY(10px);
}

.peek__points li:nth-child(1) { animation-delay: 0.12s; }
.peek__points li:nth-child(2) { animation-delay: 0.2s; }
.peek__points li:nth-child(3) { animation-delay: 0.28s; }
.peek__points li:nth-child(4) { animation-delay: 0.36s; }

.peek__points li::before {
  content: counter(peek);
  position: absolute;
  top: 12px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.peek__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

/* =============================================
   +1 WORD BUILDER
   ============================================= */
.plus__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 28px;
  padding: 5px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 0 0 1px var(--border-light);
}

.seg__btn {
  min-height: 42px;
  padding: 9px 18px;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.seg__btn:hover {
  color: var(--primary);
}

.seg__btn.is-active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 6px 16px -8px rgba(30, 42, 58, 0.35);
}

.plus__stage {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 50px 90px -50px rgba(53, 101, 176, 0.45);
}

.plus__child {
  display: flex;
  align-items: center;
  gap: 14px;
}

.plus__child-stk {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(30, 42, 58, 0.14));
  transition: transform 0.5s var(--ease-spring), opacity 0.3s ease;
}

.plus__child-stk.is-swapping {
  opacity: 0;
  transform: scale(0.7) rotate(-8deg);
}

.plus__child-bubble {
  display: flex;
  flex-direction: column;
  padding: 12px 20px;
  border-radius: 22px 22px 22px 6px;
  background: var(--butter-2);
}

.plus__child-bubble small,
.plus__you small {
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.plus__child-bubble b {
  color: var(--text);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.plus__you {
  margin-top: 22px;
  padding: 18px 20px 22px;
  border-radius: 26px;
  background: var(--sky-1);
}

.plus__sentence {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 132px;
  align-content: flex-start;
  margin-top: 12px;
}

.word-block {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: inset 0 0 0 2px var(--wb, var(--sky-3)), 0 3px 0 var(--wb, var(--sky-3));
  will-change: transform;
}

.word-block[data-tone="butter"] { --wb: var(--butter-3); }
.word-block[data-tone="sage"] { --wb: var(--sage-3); }
.word-block[data-tone="peach"] { --wb: var(--peach-3); }
.word-block[data-tone="lilac"] { --wb: var(--lilac-3); }

.word-block.is-new {
  animation: blockIn 0.7s var(--ease-spring);
}

@keyframes blockIn {
  from { opacity: 0; transform: translateY(-26px) rotate(-6deg) scale(0.9); }
  to { opacity: 1; transform: none; }
}

.word-block__plus {
  position: absolute;
  top: -11px;
  right: -9px;
  padding: 3px 7px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  animation: popIn 0.5s var(--ease-spring) 0.25s both;
}

.plus__steps {
  display: flex;
  gap: 6px;
  margin: 18px 0 0;
}

.plus__steps i {
  flex: 1;
  height: 6px;
  border-radius: 6px;
  background: rgba(30, 42, 58, 0.1);
  overflow: hidden;
}

.plus__steps i::after {
  content: '';
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.5s var(--ease-out);
}

.plus__steps i.is-on::after {
  transform: scaleX(1);
}

.plus__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.plus__add[disabled] {
  opacity: 0.55;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.plus__reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.plus__reset:hover {
  color: var(--primary);
}

.plus__reset svg {
  width: 18px;
  height: 18px;
  transition: transform 0.5s var(--ease-out);
}

.plus__reset:hover svg {
  transform: rotate(-200deg);
}

/* =============================================
   TWO CONVERSATIONS
   ============================================= */
.talks__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.talks__note {
  margin-top: 26px;
  padding: 16px 18px;
  border-left: 3px solid var(--peach-3);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

.talks__phone {
  position: relative;
  min-height: 460px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 40px;
  background: #FFFBF8;
  box-shadow: 0 50px 90px -50px rgba(156, 74, 47, 0.45);
  transition: background 0.6s ease, box-shadow 0.6s ease;
}

.talks__phone[data-talk-state="before"] {
  background: #EEF1F5;
  box-shadow: 0 50px 90px -50px rgba(30, 42, 58, 0.45);
}

.talks__phone-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.85);
}

.talks__phone-head img {
  width: 40px;
  height: 52px;
  object-fit: contain;
  transition: filter 0.6s ease;
}

.talks__phone[data-talk-state="before"] .talks__phone-head img {
  filter: grayscale(0.8);
}

.talks__phone-head span {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.talks__phone-head small {
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.talks__phone-head b {
  color: var(--text);
  font-size: 15px;
}

.talks__thread {
  padding: 18px 6px 4px;
}

.talks__variant {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.talks__phone[data-talk-state="before"] .talks__variant--before,
.talks__phone[data-talk-state="after"] .talks__variant--after {
  display: flex;
}

.msg {
  max-width: 84%;
  padding: 12px 16px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(12px);
  animation: msgIn 0.55s var(--ease-out) forwards;
  animation-delay: calc(0.15s + var(--d) * 0.75s);
}

@keyframes msgIn {
  to { opacity: 1; transform: none; }
}

.msg--adult {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  background: var(--primary);
  color: #fff;
}

.talks__variant--before .msg--adult {
  background: #64748B;
}

.msg--child {
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  background: var(--butter-2);
  color: var(--text);
}

.msg--silent {
  background: #DDE3EB;
  color: var(--text-secondary);
  font-style: italic;
}

.msg--wait {
  display: inline-flex;
  align-self: center;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: transparent;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 700;
}

.wait-dots {
  display: inline-flex;
  gap: 4px;
}

.wait-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--peach-3);
  animation: waitDot 1.2s ease-in-out infinite;
}

.wait-dots i:nth-child(2) { animation-delay: 0.15s; }
.wait-dots i:nth-child(3) { animation-delay: 0.3s; }

@keyframes waitDot {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

.talks__verdict {
  display: inline-flex;
  align-self: center;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  animation: msgIn 0.55s var(--ease-out) forwards;
  animation-delay: calc(0.15s + var(--d) * 0.75s);
}

.talks__verdict span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.talks__verdict--down {
  background: #F6E3E1;
  color: #9A3B32;
}

.talks__verdict--up {
  background: var(--sage-2);
  color: var(--sage-ink);
}

/* =============================================
   QUOTE
   ============================================= */
.quote {
  padding: clamp(96px, 14vw, 180px) 0 clamp(64px, 9vw, 112px);
}

.quote__figure {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  text-align: center;
}

.quote__mug {
  position: relative;
  width: clamp(96px, 10vw, 128px);
  margin: 0 auto 32px;
}

.quote__mug img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 18px rgba(30, 42, 58, 0.15));
}

.steam {
  position: absolute;
  left: 22%;
  bottom: 88%;
  display: flex;
  gap: 12%;
  width: 50%;
  height: 60%;
}

.steam i {
  flex: 1;
  border-radius: 50%;
  border-left: 3px solid rgba(154, 180, 214, 0.55);
  opacity: 0;
  animation: steam 3.2s ease-in-out infinite;
}

.steam i:nth-child(2) { animation-delay: 0.9s; }
.steam i:nth-child(3) { animation-delay: 1.8s; }

@keyframes steam {
  0% { opacity: 0; transform: translateY(10px) scaleY(0.6); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-22px) scaleY(1.1) skewX(-8deg); }
}

.quote__text {
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(32px, 5.4vw, 74px);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}

.quote__text .w {
  color: #C9D4E4;
  transition: color 0.35s ease;
}

.quote__text .w.is-inked {
  color: var(--text);
}

.quote__text .w.is-accent.is-inked {
  color: var(--primary);
}

/* =============================================
   REMINDERS
   ============================================= */
.notes__deck {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  padding-top: 12px;
}

.note {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 30px 24px 26px;
  border-radius: 24px;
  background: var(--note-bg);
  transform: rotate(var(--rot, 0deg));
  box-shadow: 0 1px 0 rgba(30, 42, 58, 0.05), 0 26px 44px -26px rgba(30, 42, 58, 0.4);
}

.js .note[data-reveal] {
  transition:
    opacity 0.9s var(--ease-out),
    translate 0.9s var(--ease-out),
    scale 0.9s var(--ease-out),
    transform 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out);
  transition-delay: var(--rd, 0s), var(--rd, 0s), var(--rd, 0s), 0s, 0s;
}

.note:hover {
  transform: rotate(0deg) translateY(-8px);
  box-shadow: 0 1px 0 rgba(30, 42, 58, 0.05), 0 36px 60px -30px rgba(30, 42, 58, 0.45);
}

.note--sky { --note-bg: linear-gradient(170deg, #F3F8FE, var(--sky-2)); --note-ink: var(--sky-ink); --magnet: #6FA0DE; }
.note--butter { --note-bg: linear-gradient(170deg, #FFFBEF, var(--butter-2)); --note-ink: var(--butter-ink); --magnet: #F2C94C; }
.note--sage { --note-bg: linear-gradient(170deg, #F5FAF6, var(--sage-2)); --note-ink: var(--sage-ink); --magnet: #7CC196; }
.note--peach { --note-bg: linear-gradient(170deg, #FFF8F4, var(--peach-2)); --note-ink: var(--peach-ink); --magnet: #F0A487; }

.note__magnet {
  position: absolute;
  top: -11px;
  left: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 18%, var(--magnet) 60%);
  box-shadow: 0 4px 8px rgba(30, 42, 58, 0.25);
  transform: translateX(-50%);
}

.note__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--note-ink);
}

.note__title {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.note p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.note__icon--wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.note__icon--wave i {
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background: currentColor;
  animation: wave 2.4s ease-in-out infinite;
}

.note__icon--wave i:nth-child(2) { animation-delay: 0.2s; }
.note__icon--wave i:nth-child(3) { animation-delay: 0.4s; }
.note__icon--wave i:nth-child(4) { animation-delay: 0.6s; }
.note__icon--wave i:nth-child(5) { animation-delay: 0.8s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}

.note__icon--timer svg {
  width: 34px;
  height: 34px;
  transform: rotate(-90deg);
}

.note__icon--timer circle {
  fill: none;
  stroke: rgba(119, 88, 0, 0.18);
  stroke-width: 4;
}

.note__icon--timer .timer-fill {
  stroke: currentColor;
  stroke-linecap: round;
  stroke-dasharray: 101;
  stroke-dashoffset: 101;
  animation: timerFill 4s linear infinite;
}

@keyframes timerFill {
  0% { stroke-dashoffset: 101; }
  80%, 100% { stroke-dashoffset: 0; }
}

.note__icon--cycle {
  position: relative;
}

.note__icon--cycle svg {
  position: absolute;
  width: 26px;
  height: 26px;
  opacity: 0;
  animation: iconCycle 4.5s ease-in-out infinite;
}

.note__icon--cycle svg:nth-child(2) { animation-delay: 1.5s; }
.note__icon--cycle svg:nth-child(3) { animation-delay: 3s; }

@keyframes iconCycle {
  0%, 36%, 100% { opacity: 0; transform: translateY(6px) scale(0.9); }
  6%, 30% { opacity: 1; transform: none; }
}

.note__icon--heart svg {
  width: 28px;
  height: 28px;
  animation: stkBeat 2.4s ease-in-out infinite;
}

/* =============================================
   START HERE + SOURCES
   ============================================= */
.more__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.start__list {
  margin-top: 36px;
  border-top: 1px solid var(--border);
  list-style: none;
}

.start__link {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto 28px;
  align-items: center;
  gap: 16px;
  padding: 22px 6px;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, padding 0.4s var(--ease-out);
}

.start__link:hover {
  padding-left: 14px;
  background: rgba(255, 255, 255, 0.55);
}

.start__num {
  color: var(--primary-light);
  font-family: var(--serif);
  font-size: 32px;
  font-style: italic;
  font-weight: 600;
  line-height: 1;
}

.start__title {
  justify-self: start;
  color: var(--text);
  font-size: clamp(18px, 1.7vw, 23px);
  font-weight: 700;
  letter-spacing: -0.015em;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 0.45s var(--ease-out);
}

.start__link:hover .start__title,
.start__link:focus-visible .start__title {
  background-size: 100% 2px;
}

.start__meta {
  color: var(--text-tertiary);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.start__arrow {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.4s var(--ease-out);
}

.start__link:hover .start__arrow {
  transform: translate(3px, -3px);
}

.sources {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--border-light);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.sources__title {
  color: var(--text);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sources__lede {
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 15px;
}

.sources__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 20px;
  list-style: none;
}

.sources__list a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
  transition: background 0.3s ease;
}

.sources__list a:hover {
  background: var(--bg);
}

.sources__list .dot {
  margin-top: 6px;
}

.sources__list small {
  display: block;
  margin-top: 3px;
  color: var(--text-secondary);
  font-size: 13px;
}

.sources__list b {
  font-weight: 800;
}

.sources__list li {
  scroll-margin: 120px 0;
}

.sources__list li > a {
  transition: background 0.6s ease, box-shadow 0.6s ease;
}

.sources__list li.is-flash > a {
  background: var(--butter-1);
  box-shadow: inset 0 0 0 2px var(--butter-3);
  transition-duration: 0.2s;
}

/* Inline citation, e.g. "(ASHA)" in a quick read */
.src-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(53, 101, 176, 0.35);
  text-underline-offset: 3px;
}

.src-link:hover {
  text-decoration-color: currentColor;
}

.sources__note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--sage-1);
  color: var(--sage-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

/* =============================================
   CTA
   ============================================= */
.b-cta {
  position: relative;
  z-index: 1;
  padding-top: clamp(24px, 4vw, 48px);
}

.b-cta__inner {
  max-width: 1000px;
  overflow: visible;
  padding: clamp(48px, 7vw, 80px) clamp(24px, 6vw, 72px);
  border-radius: 40px;
}

.b-cta__inner .cta__bg {
  border-radius: inherit;
}

.b-cta__inner .cta__title {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.03em;
}

.b-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.b-cta__store {
  min-height: 56px;
  background: var(--text);
}

.b-cta__stk {
  position: absolute;
  z-index: 2;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 16px 20px rgba(13, 27, 42, 0.25));
}

.b-cta__stk--boat {
  left: -34px;
  bottom: -40px;
  width: clamp(96px, 12vw, 150px);
  animation: stkSway 5s ease-in-out infinite;
  --r: -4deg;
}

.b-cta__stk--sun {
  top: -46px;
  right: -26px;
  width: clamp(88px, 10vw, 130px);
  animation: stkSpin 50s linear infinite;
}

/* =============================================
   CHAPTER RAIL
   ============================================= */
.rail {
  position: fixed;
  top: 50%;
  right: 18px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-50%);
}

.rail[hidden] {
  display: none;
}

.rail__link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-height: 24px;
  padding: 2px 0;
}

.rail__label {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 16px -8px rgba(30, 42, 58, 0.35);
  opacity: 0;
  translate: 8px 0;
  transition: opacity 0.25s ease, translate 0.3s var(--ease-out);
  pointer-events: none;
}

.rail__dot {
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background: rgba(30, 42, 58, 0.22);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6);
  transition: height 0.35s var(--ease-out), background 0.35s ease;
}

.rail__link.is-active .rail__dot {
  height: 24px;
  background: var(--primary);
}

.rail__link:hover .rail__label,
.rail__link:focus-visible .rail__label {
  opacity: 1;
  translate: 0 0;
}

.rail {
  transition: opacity 0.4s ease, translate 0.4s var(--ease-out);
}

.rail.is-away {
  opacity: 0;
  translate: 12px 0;
  pointer-events: none;
}

.rail.is-dark .rail__dot {
  background: rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.rail.is-dark .rail__link.is-active .rail__dot {
  background: #FFE9A8;
}

@media (max-width: 1279px) {
  .rail {
    display: none;
  }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .numbers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notes__deck {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 22px;
  }
}

@media (max-width: 1024px) {
  .b-hero__inner {
    gap: 24px;
  }

  .featured__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .story--lead {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .story--side .story__link {
    flex-direction: column;
  }

  .story--side .story__media {
    flex: none;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .why__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .why__stage-wrap {
    top: calc(var(--nav-h) - 6px);
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 6px 0 18px;
    background: linear-gradient(180deg, var(--sage-1) 82%, transparent);
  }

  /* width follows the height cap too, so the scene keeps its proportions */
  .why__stage {
    width: min(100%, 440px, 50vh);
    max-height: 40vh;
    aspect-ratio: 1.25 / 1;
    border-radius: 30px;
  }

  .why__steps {
    padding: 2vh 0 6vh 28px;
  }

  .why__steps::before,
  .why__steps::after {
    top: 2vh;
    bottom: 6vh;
  }

  .why-step {
    min-height: 58vh;
  }

  /* the stacked stage is smaller: compact bubbles, meter hugs the bottom */
  .scene-bubble {
    font-size: 14px;
    padding: 9px 13px;
  }

  .meter,
  .turns {
    bottom: 16px;
  }

  .why__counter {
    display: none;
  }

  .sounds__inner,
  .plus__inner,
  .talks__layout,
  .more__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .library__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post--wide {
    grid-column: 1 / -1;
  }

  .b-head--split {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
}

@media (max-width: 900px) {
  .b-hero {
    min-height: auto;
    padding: 124px 0 64px;
  }

  .b-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .b-hero__visual {
    order: 2;
  }

  .hero-stage {
    width: min(100%, 460px);
  }

  .day__sticky {
    padding: 104px 0 64px;
  }

  .day__hud {
    top: 60px;
  }

  .day-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 240px auto;
    width: min(84vw, 520px);
    min-height: 0;
    border-radius: 30px;
  }

  .day-panel--intro,
  .day-panel--outro {
    width: min(80vw, 420px);
  }

  .day-panel__body {
    justify-content: flex-start;
    padding: 22px 22px 26px;
  }

  .day-panel__title {
    font-size: 34px;
  }

  .say li {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .blog,
  .home {
    --nav-h: 72px;
  }

  .b-section {
    padding: 72px 0;
  }

  .marquee {
    padding: 20px 0;
  }

  .featured__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .story--side .story__link {
    flex-direction: row;
  }

  .story--side .story__media {
    flex: 0 0 38%;
    aspect-ratio: auto;
    min-height: 170px;
  }

  .story--side .story__body {
    padding: 18px;
  }

  .story--side .story__excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .ticker {
    left: 12px;
    bottom: 12px;
  }

  .ticker__label {
    display: none;
  }

  .library__grid {
    gap: 18px;
  }

  .filters {
    flex-wrap: nowrap;
    margin: 0 calc(-1 * var(--space-lg));
    padding: 2px var(--space-lg) 6px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filter {
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .library__head {
    display: block;
  }

  .library__head .filters {
    margin-top: 22px;
  }

  .sounds__grid {
    gap: 12px;
  }

  .sound-tile {
    border-radius: 24px;
  }

  .notes__deck {
    display: flex;
    gap: 16px;
    margin: 0 calc(-1 * var(--space-lg));
    padding: 22px var(--space-lg) 26px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .notes__deck::-webkit-scrollbar {
    display: none;
  }

  .note {
    flex: 0 0 78%;
    min-height: 240px;
    scroll-snap-align: center;
  }

  .start__link {
    grid-template-columns: 48px minmax(0, 1fr) 22px;
  }

  .start__meta {
    display: none;
  }

  .start__num {
    font-size: 26px;
  }

  .b-cta__stk--boat {
    left: -12px;
    bottom: -34px;
  }

  .b-cta__stk--sun {
    right: -8px;
  }
}

@media (max-width: 640px) {
  .b-hero {
    padding-top: 112px;
  }

  .b-hero__inner {
    padding: 0 var(--space-base);
  }

  .b-hero__actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .topic-chips {
    flex-wrap: nowrap;
    margin: 0 calc(-1 * var(--space-base));
    padding: 2px var(--space-base) 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .topic-chips::-webkit-scrollbar {
    display: none;
  }

  .topic-chip {
    flex-shrink: 0;
  }

  .hero-stage .layer--float-a {
    --x: 0% !important;
  }

  .hero-stage .layer--float-b {
    --x: 58% !important;
  }

  .scroll-cue {
    display: none;
  }

  .section__inner {
    padding: 0 var(--space-base);
  }

  .library__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .post--wide .post__link,
  .post--split .post__link {
    flex-direction: column;
  }

  .post--wide .post__media {
    flex: none;
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .post--wide .post__body {
    padding: 22px 24px 26px;
  }

  .post__media {
    aspect-ratio: 16 / 11;
  }

  .numbers__card {
    border-radius: 30px;
  }

  .numbers__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .stat {
    gap: 10px;
    padding: 20px 20px 18px;
  }

  .stat__value {
    font-size: 46px;
  }

  .stat__viz {
    display: none;
  }

  .stat__source {
    margin-top: 0;
  }

  .why__stage {
    aspect-ratio: 1.3 / 1;
  }

  .scene-bubble {
    font-size: 14px;
    padding: 9px 13px;
  }

  .meter,
  .turns {
    bottom: 16px;
  }

  .why__counter {
    display: none;
  }

  .verb-card img {
    height: 64px;
  }

  .chat {
    top: 6%;
    gap: 6px;
  }

  .chat__msg {
    padding: 8px 12px;
    font-size: 14px;
  }

  .chat__msg img {
    width: 28px;
  }

  .turns span {
    padding: 5px 9px;
    font-size: 12px;
  }

  .live-pill {
    top: 16px;
  }

  .day-panel {
    grid-template-rows: 200px auto;
  }

  .day__hud {
    left: var(--space-base);
  }

  .day__track {
    gap: 14px;
    padding-left: var(--space-base);
    padding-right: var(--space-base);
  }

  .sounds__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .sound-tile {
    padding: 12px 6px 10px;
    border-radius: 20px;
  }

  .sound-tile__name {
    font-size: 13px;
  }

  .sound-tile__bubble {
    font-size: 14px;
    padding: 6px 10px;
  }

  .sounds__result {
    margin-top: 24px;
  }

  .plus__sentence {
    min-height: 116px;
  }

  .talks__phone {
    min-height: 430px;
    border-radius: 32px;
  }

  .msg {
    font-size: 15px;
  }

  .peek {
    padding: 0;
  }

  .peek[open] {
    align-items: flex-end;
  }

  .peek__sheet {
    width: 100%;
    max-height: 90vh;
    max-height: 90dvh;
    border-radius: 30px 30px 0 0;
    animation: sheetUp 0.5s var(--ease-out);
    touch-action: pan-y;
  }

  .peek.is-closing .peek__sheet {
    animation: sheetDown 0.3s ease forwards;
  }

  .peek__grab {
    position: absolute;
    top: 10px;
    left: 50%;
    z-index: 3;
    display: block;
    width: 44px;
    height: 5px;
    border-radius: 5px;
    background: rgba(30, 42, 58, 0.25);
    transform: translateX(-50%);
  }

  .peek__art {
    height: 180px;
  }

  .b-cta__inner {
    border-radius: 32px;
  }

  .b-cta__actions > * {
    flex: 1 1 100%;
    justify-content: center;
  }
}

@keyframes sheetUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes sheetDown {
  to { transform: translateY(100%); }
}

@media (max-width: 400px) {
  .b-hero__title {
    font-size: 36px;
  }

  .story--side .story__link {
    flex-direction: column;
  }

  .story--side .story__media {
    flex: none;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .day-panel__title {
    font-size: 30px;
  }
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  .tone-canvas {
    transition: none;
  }

  .js [data-reveal],
  .js .b-line__inner,
  .js .b-hero__lede,
  .js .b-hero__actions,
  .js .topic-chips,
  .js .hero-stage__arch,
  .js .layer > *,
  .msg,
  .talks__verdict,
  .peek__points li {
    opacity: 1 !important;
    transform: none !important;
    translate: none !important;
    scale: none !important;
    animation: none !important;
  }

  .js .scribble path {
    stroke-dashoffset: 0;
    animation: none;
  }

  .stk--spin,
  .stk--hop,
  .stk--sway,
  .stk--stir,
  .stk--beat,
  .stk--fall,
  .stk--rock,
  .b-cta__stk,
  .b-hero__wash,
  .day__stars,
  .art__stars {
    animation: none !important;
  }

  .stk--fall {
    opacity: 1;
  }

  .why-scene .scene-bubble,
  .why-scene .verb-card,
  .why-scene .chat__msg,
  .why-scene .why-scene__hero-stk {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .why-scene .meter__track i::after {
    transform: scaleX(1);
    transition: none;
  }

  .stat__viz i,
  .stat__viz--blocks i.plus {
    scale: 1 !important;
    translate: none !important;
    opacity: 1 !important;
  }

  .wait-bar i::after {
    transform: scaleX(1);
    animation: none !important;
  }

  .quote__text .w {
    color: var(--text);
  }

  .together__stk {
    animation: none;
  }
}

/* =============================================
   ARTICLE PAGE
   ============================================= */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.a-hero {
  position: relative;
  padding: 132px 0 0;
}

.a-hero__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  text-align: center;
}

.crumbs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
  color: var(--text-tertiary);
  font-size: 14px;
  font-weight: 600;
}

.crumbs a:hover {
  color: var(--primary);
}

.crumbs svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.a-hero__meta {
  justify-content: center;
  margin-bottom: 18px;
}

.a-hero__title {
  color: var(--text);
  font-size: clamp(40px, 6.4vw, 84px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  text-wrap: balance;
}

.a-hero__title .serif-accent {
  display: inline-block;
  padding-right: 0.06em;
  font-size: 1.04em;
}

.a-hero__dek {
  max-width: 30em;
  margin: 22px auto 0;
  color: var(--text-secondary);
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.5;
  text-wrap: balance;
}

.byline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 30px;
  text-align: left;
}

.byline__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.byline__mark img {
  width: 28px;
  height: auto;
}

.byline__text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.byline__text b {
  color: var(--text);
  font-size: 15px;
}

.byline__text span {
  color: var(--text-tertiary);
  font-size: 14px;
}

.a-cover {
  max-width: 1100px;
  margin: 44px auto 0;
  padding: 0 var(--space-lg);
}

.a-cover__media {
  position: relative;
  aspect-ratio: 16 / 7.4;
  overflow: hidden;
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.95), transparent 58%),
    linear-gradient(170deg, #EEF5FD, #DCEBFA);
  box-shadow: 0 40px 90px -50px rgba(53, 101, 176, 0.5);
}

.a-cover__media img {
  position: absolute;
  inset: 2% 3%;
  width: 94%;
  height: 96%;
  object-fit: contain;
}

.a-cover__steps {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: -26px;
}

.a-cover__steps a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 9px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 26px -16px rgba(30, 42, 58, 0.4);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.a-cover__steps a:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px -16px rgba(30, 42, 58, 0.45);
}

.a-cover__steps span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
}

/* Layout */
.a-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 700px);
  justify-content: center;
  gap: clamp(40px, 6vw, 88px);
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px var(--space-lg) 40px;
}

.toc {
  position: sticky;
  top: 104px;
  align-self: start;
}

.toc__box {
  border-radius: 22px;
}

.toc__summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  list-style: none;
  cursor: default;
}

.toc__summary::-webkit-details-marker {
  display: none;
}

.toc__summary svg,
.toc__current {
  display: none;
}

.toc__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 16px;
  list-style: none;
}

.toc__list::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 2px;
  background: var(--border);
}

.toc__list a {
  position: relative;
  display: block;
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  transition: color 0.25s ease, transform 0.35s var(--ease-out);
}

.toc__list a::before {
  content: '';
  position: absolute;
  left: -17px;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 4px;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.35s var(--ease-out);
}

.toc__list a:hover {
  color: var(--primary);
}

.toc__list::after {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 2px;
  background: var(--primary-light);
  transform: scaleY(var(--toc-p, 0));
  transform-origin: 50% 0;
}

.toc__list a.is-past {
  color: var(--text-tertiary);
}

.toc__list a.is-active {
  color: var(--text);
  transform: translateX(3px);
}

.toc__list a.is-active::before {
  transform: scaleY(1);
}

.share {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.share__label {
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.share__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  background: #fff;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.3s var(--ease-out);
}

.share__btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.share__btn[hidden] {
  display: none;
}

.share__btn svg {
  width: 17px;
  height: 17px;
}

.share__btn.is-done {
  border-color: var(--sage-3);
  background: var(--sage-1);
  color: var(--sage-ink);
}

/* the button label carries the visible feedback; this only announces it */
.share__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.share--end {
  display: none;
}

/* Prose */
.prose {
  min-width: 0;
  color: #2B394D;
  font-size: 19px;
  line-height: 1.75;
}

.prose p {
  margin: 0 0 20px;
}

.prose .prose__lede {
  color: var(--text);
  font-size: clamp(21px, 2vw, 25px);
  font-weight: 500;
  line-height: 1.55;
}

.prose__section {
  scroll-margin-top: 96px;
}

.prose h2 {
  margin: 72px 0 20px;
  color: var(--text);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  scroll-margin-top: 96px;
}

.prose .prose__kicker {
  margin: 88px 0 -56px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.prose .prose__h2-big {
  font-size: clamp(32px, 3.8vw, 50px);
}

.prose mark {
  padding: 0 3px;
  border-radius: 4px;
  background: linear-gradient(transparent 55%, #FFE3A1 55%);
  color: var(--text);
  font-weight: 700;
}

.prose strong {
  color: var(--text);
}

.tldr {
  margin: 32px 0 8px;
  padding: 24px 26px;
  border: 1px solid var(--border-light);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.prose .tldr__title {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.tldr ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.tldr li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.tldr li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sage-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6B47' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.reason {
  padding: 22px 20px;
  border-radius: 24px;
  background: var(--reason-bg);
}

.reason--sky { --reason-bg: linear-gradient(170deg, #F3F8FE, var(--sky-2)); }
.reason--butter { --reason-bg: linear-gradient(170deg, #FFFBEF, var(--butter-2)); }
.reason--sage { --reason-bg: linear-gradient(170deg, #F5FAF6, var(--sage-2)); }

.reason__num {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 600;
  line-height: 1;
}

.prose .reason p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}

.mini-sounds {
  margin: 28px 0 24px;
  padding: 22px;
  border-radius: 30px;
  background: linear-gradient(170deg, #FFFBEF, var(--butter-2));
}

.sounds__grid--mini {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mini-sounds .sound-tile {
  aspect-ratio: 1 / 0.92;
  border-radius: 22px;
}

.mini-sounds .sounds__result {
  min-height: 70px;
  margin: 16px 0 12px;
  padding: 14px 18px;
}

.prose .fact {
  display: flex;
  gap: 12px;
  margin: 14px 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px var(--border-light);
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.fact__src {
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--sage-2);
  color: var(--sage-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

/* Citations link to their entry in the sources list */
a.fact__src:hover,
a.fact__src:focus-visible {
  background: var(--sage-3);
}

.situation {
  margin-top: 64px;
}

.situation__head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 20px;
}

.prose .situation__head h2 {
  margin: 0;
}

.situation__art {
  flex: 0 0 128px;
  height: 128px;
  border-radius: 30px;
  box-shadow: 0 20px 40px -26px rgba(30, 42, 58, 0.4);
}

.prose .situation__num {
  margin: 0 0 4px;
  color: var(--primary);
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 600;
  line-height: 1;
}

.prose .say,
.prose .words {
  margin: 4px 0 20px;
}

.callout {
  margin: 0 0 16px;
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--sky-1);
  box-shadow: inset 3px 0 0 var(--primary);
  font-size: 17px;
  line-height: 1.6;
}

.prose .callout p {
  margin: 0;
}

.prose .callout p + p {
  margin-top: 8px;
}

.callout b {
  color: var(--text);
}

.callout--plus {
  background: var(--butter-1);
  box-shadow: inset 3px 0 0 #F2C94C;
}

.versus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 22px;
}

.versus__col {
  padding: 20px;
  border-radius: 24px;
}

.versus__col--before {
  background: #EEF1F5;
}

.versus__col--after {
  background: linear-gradient(170deg, #FFF8F4, var(--peach-2));
}

.prose .versus__label {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.versus__col--before .versus__label {
  color: #64748B;
}

.versus__col--after .versus__label {
  color: var(--peach-ink);
}

.prose .versus__line {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.prose .versus__col--before .versus__line {
  color: #52657E;
  text-decoration: line-through;
  text-decoration-color: rgba(100, 116, 139, 0.45);
  text-decoration-thickness: 2px;
}

.prose .versus__line--wait {
  color: var(--text-tertiary);
  font-style: italic;
  font-weight: 500;
}

.notes__deck--article {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
  padding-top: 18px;
}

.notes__deck--article .note {
  min-height: 0;
  padding: 26px 22px 22px;
}

.notes__deck--article .note__title {
  margin: 0;
  font-size: 19px;
}

.together {
  position: relative;
  margin: 72px 0 0;
  padding: clamp(32px, 5vw, 52px);
  border-radius: 34px;
  background: linear-gradient(160deg, #F5F3FD, var(--lilac-2));
  text-align: center;
}

.together__stk {
  width: 64px;
  height: auto;
  margin: 0 auto 14px;
  filter: drop-shadow(0 10px 12px rgba(30, 42, 58, 0.14));
  animation: stkBeat 2.8s ease-in-out infinite;
}

.prose .together__kicker {
  margin-bottom: 12px;
  color: var(--lilac-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.together__quote {
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-style: italic;
  font-weight: 600;
  line-height: 1.25;
  text-wrap: balance;
}

.sources__list--article {
  margin-top: 0;
  padding: 10px;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  background: #fff;
}

.prose .sources__note {
  margin-top: 16px;
}

.a-end {
  display: grid;
  gap: 24px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.a-end__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.is-idle .together__stk {
  animation-play-state: paused;
}

@media (max-width: 1024px) {
  .a-layout {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
    padding-top: 40px;
  }

  /* Contents fold into a bar that stays under the nav while reading */
  .toc {
    position: static;
    z-index: 30;
  }

  .js .toc {
    position: sticky;
    top: calc(var(--nav-h) + 4px);
  }

  /* masks the text scrolling through the gap between the nav and the bar */
  .js .toc::before {
    content: '';
    position: absolute;
    z-index: -1;
    left: -16px;
    right: -16px;
    top: -16px;
    height: 44px;
    background: var(--bg);
  }

  .toc__box {
    position: relative;
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 34px -22px rgba(30, 42, 58, 0.45);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
  }

  .toc__summary {
    min-height: 52px;
    margin: 0;
    padding: 12px 16px 12px 18px;
    cursor: pointer;
  }

  .toc__summary > span:first-child {
    flex-shrink: 0;
  }

  .toc__current {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
  }

  .toc__current:not(:empty)::before {
    content: '·';
    margin-right: 8px;
    color: var(--text-tertiary);
  }

  .toc__summary svg {
    display: block;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-left: auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s var(--ease-out);
  }

  .toc__box[open] .toc__summary svg {
    transform: rotate(180deg);
  }

  .toc__list {
    margin: 0 18px 16px;
  }

  /* with JS the open list floats over the text instead of pushing it down */
  .js .toc__list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: min(62vh, 480px);
    margin: 0;
    padding: 12px 18px 12px 34px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--border-light);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 60px -28px rgba(30, 42, 58, 0.45);
  }

  .js .toc__list::before,
  .js .toc__list::after {
    left: 18px;
    top: 18px;
    bottom: 18px;
  }

  .js .toc__box[open] .toc__list {
    animation: tocDrop 0.28s var(--ease-out);
  }

  .toc .share {
    display: none;
  }

  .share--end {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .share--end .share__label {
    flex-basis: 100%;
  }

  .prose__section,
  .prose h2 {
    scroll-margin-top: calc(var(--nav-h) + 76px);
  }
}

@keyframes tocDrop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@media (max-width: 640px) {
  .a-hero {
    padding-top: 108px;
  }

  .a-hero__inner {
    padding: 0 var(--space-base);
    text-align: left;
  }

  .a-hero__meta,
  .byline {
    justify-content: flex-start;
  }

  .a-cover {
    padding: 0 var(--space-base);
  }

  .a-cover__media {
    aspect-ratio: 4 / 3;
    border-radius: 28px;
  }

  .a-cover__media img {
    inset: 4% -30%;
    width: 160%;
    max-width: none;
    height: 92%;
  }

  .a-cover__steps {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin: -24px calc(-1 * var(--space-base)) 0;
    padding: 0 var(--space-base) 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .a-cover__steps::-webkit-scrollbar {
    display: none;
  }

  .a-cover__steps a {
    flex-shrink: 0;
  }

  .a-layout {
    padding: 32px var(--space-base) 24px;
  }

  .prose {
    font-size: 18px;
  }

  .prose h2 {
    margin-top: 56px;
  }

  .reasons,
  .versus,
  .notes__deck--article {
    grid-template-columns: minmax(0, 1fr);
  }

  .notes__deck--article {
    display: grid;
    margin: 0;
    padding: 18px 0 0;
    overflow: visible;
  }

  .notes__deck--article .note {
    flex: none;
  }

  .mini-sounds {
    padding: 14px;
    border-radius: 24px;
  }

  .situation__art {
    flex-basis: 96px;
    height: 96px;
    border-radius: 24px;
  }

  .a-end .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}
