/* Version C, Rod's take (2026-11-29). Loaded after styles.css and paper.css; the words are in copy.md.
   Rod's direction: feeling before explanation, scenes from the operational edge, "a photo documents, cut paper decides
   what matters", a voice demo that shows instead of tells, and the cut paper used where it means something.
   The yolk yellow gives way to apricot, with coral as the second paper (Rod and Connor, 2026-11-18). */

:root {
  --yolk: #ee9c50;    /* apricot now; the paper tile of the same name was recoloured by tools/paper-tints.py */
  --coral: #df7060;
  --p-coral: url("/img/paper/coral.jpg");
}

/* ---- The first screen: three strips of paper with a scene on each, then the question ---- */
.hero-c { padding-bottom: clamp(3.5rem, 10vh, 7.5rem); }
.hero-c .hero-main { display: block; margin-top: clamp(1.75rem, 7vh, 5.5rem); }
.scenes { display: grid; justify-items: start; gap: clamp(0.65rem, 1.7vh, 1.15rem); margin: 0 0 clamp(2.25rem, 7vh, 4.75rem); }
.scene { max-width: 100%; font-weight: 700; font-size: clamp(1.125rem, 1.72vw, 2.05rem); line-height: 1.78; }
.scene span {
  padding: 0.2em 0.5em 0.22em;
  background: var(--cream) var(--p-cream) 0 0 / var(--tile);
  box-shadow: var(--lay-small);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.scene:nth-child(1) { transform: rotate(-0.7deg); }
.scene:nth-child(2) { transform: rotate(0.55deg); }
.scene:nth-child(3) { transform: rotate(-0.35deg); }
.scene:nth-child(2) span { background-position: 220px 60px; }
.scene:nth-child(3) span { background-position: 90px 140px; }

.gut {
  margin: 0; max-width: 21ch;
  font-stretch: 75%; font-weight: 800; font-size: clamp(2.5rem, min(7.4vw, 13.6vh), 8.75rem); line-height: 0.95; letter-spacing: -0.016em;
  color: var(--plum); text-shadow: 0 0.014em 0.012em rgba(var(--sh), 0.45); text-wrap: balance;
}
.gut-a, .gut-q { display: block; }
.gut-q { margin-top: 0.14em; }
.gut-q > span {
  padding: 0 0.17em 0.05em; line-height: 1.14; text-shadow: none; color: var(--ink);
  background: var(--coral) var(--p-coral) 0 0 / var(--tile);
  box-shadow: var(--lay-small);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.gut-q { transform: rotate(-0.8deg); transform-origin: left center; }
.js .hero-c:not(.armed) .scene, .js .hero-c:not(.armed) .gut { visibility: hidden; }

/* ---- The answer: the name, played when it is reached, with Rod's piece beside it ---- */
main > section.answer { padding-top: clamp(3rem, 8vw, 7rem); padding-bottom: clamp(3.5rem, 8vw, 7rem); }
.pint { font-weight: 700; font-size: clamp(1.25rem, 2vw, 2.15rem); line-height: 1.25; max-width: 32ch; margin: 0 0 clamp(1.75rem, 4.5vw, 3.5rem); }
.answer .flip { max-width: none; text-wrap: wrap; }
.answer .was { margin-bottom: 0.5em; }
.flip-art { margin-bottom: 0; }
.answer-copy { margin-top: clamp(2.5rem, 6vw, 5rem); }
.reset { font-weight: 650; font-size: clamp(1.25rem, 1.9vw, 2rem); line-height: 1.32; max-width: 30em; margin: 0 0 clamp(2rem, 5vw, 3.5rem); }
.moonshot { margin: 0; }
/* A strip is one line of the quote. Its padding is added after the line is measured, so it must not wrap again inside. */
.strips .ql { white-space: nowrap; }
.moonshot blockquote { font-size: clamp(2rem, 5.4vw, 6.25rem); }
.again-row { margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; }

/* ---- The story on the white sheet: the voice turns to "we" ---- */
.who .story p { margin-bottom: 1.1em; }
.who .story .we { font-stretch: 75%; font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 3.6rem); line-height: 1.02; letter-spacing: -0.015em; margin: 0.7em 0 0.55em; }
.who .story .luxury { font-weight: 700; }
.who .story .more { margin: 1.8rem 0 0; }

/* ---- What we hand you: the three scenes again, cut from paper ---- */
main > section.meaning { padding-top: clamp(4.5rem, 10vw, 8.5rem); }
.meaning h2 { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.meaning-lead { max-width: 36em; font-size: clamp(1.1875rem, 1.55vw, 1.55rem); margin: 0 0 clamp(2.5rem, 6vw, 4.5rem); }
.find { position: relative; display: grid; grid-template-columns: 1fr; gap: 0.75rem 3rem; padding: clamp(1.75rem, 3.5vw, 3rem) 0; }
.find::before, .find:last-child::after {
  content: ""; position: absolute; left: -0.35rem; right: -0.35rem; top: 0; height: 5px;
  background: var(--plum) var(--p-plum) 0 0 / var(--tile); transform: rotate(-0.22deg); box-shadow: 0 1px 1px rgba(var(--sh), 0.32);
}
.find:nth-child(even)::before { transform: rotate(0.28deg); }
.find:last-child::after { top: auto; bottom: -2px; transform: rotate(0.18deg); }
.find-art { width: clamp(6.5rem, 30vw, 9rem); }
.obj { display: block; width: 100%; height: auto; overflow: visible; }
.obj-text { font: 800 11px/1 var(--display); font-stretch: 75%; letter-spacing: 0.02em; fill: var(--ink); }
.find:nth-child(1) .find-art { transform: rotate(-4deg); }
.find:nth-child(2) .find-art { transform: rotate(3deg); width: clamp(8.5rem, 40vw, 12rem); }
.find:nth-child(3) .find-art { transform: rotate(-2deg); width: clamp(7.5rem, 34vw, 10rem); }
.find h3 { font-size: clamp(1.9rem, 3.4vw, 3.4rem); line-height: 1.02; margin: 0 0 0.35em; }
.find p { margin: 0; max-width: 28em; font-size: clamp(1.1875rem, 1.6vw, 1.65rem); line-height: 1.38; }
.which { margin: clamp(2.5rem, 5vw, 4rem) 0 0; max-width: 34em; font-weight: 700; font-size: clamp(1.25rem, 1.9vw, 2rem); line-height: 1.3; }

/* ---- Show it: a voice note from the truck, and what comes back ---- */
main > section.show { padding-top: clamp(4.5rem, 10vw, 8.5rem); }
.show h2 { margin-bottom: clamp(1rem, 2vw, 1.6rem); }
.show-benefit { max-width: 34em; font-weight: 600; font-size: clamp(1.1875rem, 1.6vw, 1.65rem); line-height: 1.38; margin: 0 0 clamp(2.25rem, 5vw, 4rem); }
.demo { display: grid; grid-template-columns: 1fr; gap: clamp(1.75rem, 3.5vw, 3rem); }
.note, .record { position: relative; padding: clamp(1.35rem, 2.6vw, 2.25rem); box-shadow: var(--lay); }
.note { background: var(--plum) var(--p-plum) 0 0 / var(--tile); color: var(--cream); transform: rotate(-0.6deg); }
.record { background: var(--cream) var(--p-cream) 160px 40px / var(--tile); transform: rotate(0.45deg); }
.note-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; margin: 0 0 1.1rem; font-weight: 700; font-size: 1rem; line-height: 1.3; }
.note-len { opacity: 0.75; font-variant-numeric: tabular-nums; }
.wave { display: flex; align-items: center; gap: clamp(2px, 0.3vw, 4px); height: clamp(3.25rem, 6vw, 4.75rem); margin: 0 0 1.35rem; }
.wave i { flex: 1 1 0; height: calc(var(--h) * 100%); background: var(--yolk) var(--p-yolk) 0 0 / var(--tile); transform: rotate(var(--r)); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.35); }
.transcript { margin: 0 0 1.5rem; font-size: clamp(1.0625rem, 1.3vw, 1.3rem); line-height: 1.58; }
.tw { transition: opacity 0.22s ease; }
.play {
  display: inline-block; border: 0; cursor: pointer; padding: 0.75em 1.15em;
  font: 800 clamp(1.05rem, 1.3vw, 1.3rem)/1 var(--display); font-stretch: 75%;
  background: var(--yolk) var(--p-yolk) 40px 20px / var(--tile); color: var(--ink);
  box-shadow: var(--lay-small); transform: rotate(-1deg);
}
.play:disabled { cursor: default; opacity: 0.8; }
.play:focus-visible { outline: 3px solid var(--cream); outline-offset: 4px; }
html:not(.js) .play { display: none; }
.record-head { margin: 0 0 1.1rem; font-stretch: 75%; font-weight: 800; font-size: clamp(1.5rem, 2.2vw, 2.25rem); line-height: 1; }
.slips { display: grid; gap: 0.85rem; }
.slip {
  position: relative; padding: 0.8rem 1rem 0.9rem; font-size: clamp(1rem, 1.15vw, 1.15rem); line-height: 1.45;
  background: #f7f4ee; box-shadow: var(--lay-small);
  transition: opacity 0.35s ease, transform 0.7s cubic-bezier(0.2, 0.9, 0.25, 1.18);
}
.slip:nth-child(odd) { transform: rotate(-0.5deg); }
.slip:nth-child(even) { transform: rotate(0.45deg); }
/* a scrap of tape at the corner holds each one down */
.slip::before { content: ""; position: absolute; top: -0.45rem; left: 0.9rem; width: 2.6rem; height: 0.95rem; background: var(--coral) var(--p-coral) 0 0 / var(--tile); opacity: 0.92; transform: rotate(-4deg); box-shadow: 0 1px 1px rgba(var(--sh), 0.3); }
.slip-2::before, .slip-4::before { background: var(--yolk) var(--p-yolk) 0 0 / var(--tile); transform: rotate(3deg); left: auto; right: 1.1rem; }
.slip-label { display: block; margin-bottom: 0.15em; font-weight: 800; font-stretch: 75%; font-size: 1.08em; letter-spacing: 0.005em; }
.show-note { margin: clamp(1.75rem, 3.5vw, 2.75rem) 0 0; max-width: 40em; font-size: clamp(1rem, 1.2vw, 1.2rem); }
/* With motion on: the words are dim until said, and each note is laid down once what it needs has been said. */
.js .demo.armed:not(.done) .tw:not(.said) { opacity: 0.3; }
.js .demo.armed:not(.done) .slip:not(.in) { opacity: 0; transform: translateY(-18px) rotate(4deg) scale(1.05); }

/* ---- Why now: the dark sheet behind the chicken wire ---- */
.why .stat { margin: 1.3em 0 0.4em; font-weight: 700; font-size: clamp(1.25rem, 1.85vw, 1.9rem); line-height: 1.3; }
.why .source { font-size: 0.95rem; opacity: 0.85; }
.why .source a { color: var(--cream); }

/* ---- Two ways in ---- */
.offers h2 { margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.offers-lead { max-width: 34em; margin: 0 0 clamp(3rem, 6vw, 5rem); font-weight: 600; font-size: clamp(1.1875rem, 1.6vw, 1.65rem); line-height: 1.35; }
.offer-line {
  width: fit-content; margin: -0.3em 0 0.9em; padding: 0.1em 0.35em 0.12em; transform: rotate(-1deg); transform-origin: left center;
  font-stretch: 75%; font-weight: 800; font-size: clamp(1.25rem, 1.9vw, 1.9rem); line-height: 1.1;
  color: var(--ink); background: var(--coral) var(--p-coral) 0 0 / var(--tile); box-shadow: var(--lay-small);
}
.offer.after .offer-line { background-color: var(--yolk); background-image: var(--p-yolk); transform: rotate(0.8deg); }

@media (max-width: 879px) {
  .flip-art { margin: 1.5rem auto 0; }
}

@media (min-width: 880px) {
  /* The three strips step in a little each, like slips laid down one after another on a desk. */
  .scene:nth-child(2) { margin-left: clamp(1.5rem, 9vw, 13rem); }
  .scene:nth-child(3) { margin-left: clamp(3rem, 18vw, 26rem); }
  .gut { max-width: 22ch; }

  .answer-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 var(--col-gap); align-items: start; }
  .answer-copy .reset { grid-column: 1; margin-top: 0; }
  .answer-copy .moonshot, .answer-copy .again-row { grid-column: 1 / -1; }

  .meaning-lead { margin-left: calc(50% + var(--col-gap) / 2); max-width: none; }
  .find { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; }
  .find-art { justify-self: center; width: clamp(8rem, 11vw, 12.5rem); }
  .find:nth-child(2) .find-art { width: clamp(11rem, 16vw, 18rem); }
  .find:nth-child(3) .find-art { width: clamp(9.5rem, 13.5vw, 15rem); }
  .which { margin-left: calc(50% + var(--col-gap) / 2); }

  .demo { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: start; }
  .record { margin-top: clamp(1.5rem, 4vw, 4rem); }
  .show-benefit { margin-left: calc(50% + var(--col-gap) / 2); }
  .show-note { margin-left: calc(50% + var(--col-gap) / 2); }

  .offers-lead { margin-left: auto; margin-right: auto; text-align: center; }
}
