/* Solvstream v2: Look, no hands.
   Shaun's own soft clay look: warm cream, orange blocks, teal tags, clay hands.
   One display face, soft shadows on things you could pick up, motion only in
   the film and where you press something. */

:root {
  --bg: #F7F1E8;
  --paper: #FFFCF7;
  --white: #FFFFFF;
  --ink: #2A2420;
  --ink-2: #645A51;
  --line: #E8DDCC;
  --orange: #F29520;
  --orange-hi: #F7A93E;
  --orange-deep: #C46F0C;
  --orange-soft: #FFF3E2;
  --teal: #1E8E7A;
  --teal-deep: #136C5D;
  --teal-soft: #E3F2EE;
  --display: "Caprasimo", "Cooper Black", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 1rem;
  --radius: 18px;
  --lift: 0 1px 2px rgba(74, 50, 22, .06), 0 10px 28px rgba(74, 50, 22, .09);
}
@media (min-width: 640px) { :root { --gutter: 2rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
h1, h2 { font-family: var(--display); letter-spacing: -0.012em; }
h2 { font-size: clamp(2.3rem, 5.2vw, 3.75rem); line-height: 1; }
h3 { font-family: var(--display); font-size: 1.6rem; line-height: 1.08; }
a { color: inherit; }
ol, ul { margin: 0; padding: 0; }
.num { font-variant-numeric: lining-nums tabular-nums; }

.wrap { width: min(100% - var(--gutter) * 2, 76rem); margin-inline: auto; }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--ink); color: var(--white); padding: .6rem 1rem; border-radius: 8px;
}
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; border-radius: 6px; }

/* ---------------------------------------------------------------- shared bits */

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 1.4rem 1.05rem;
  font: 700 1.0625rem/1.2 var(--sans);
  color: var(--ink); text-decoration: none;
  background: linear-gradient(180deg, var(--orange-hi), var(--orange));
  border: 0; border-radius: 12px;
  box-shadow: 0 5px 0 var(--orange-deep), 0 10px 22px rgba(196, 111, 12, .25);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn:hover { filter: brightness(1.04); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--orange-deep), 0 4px 10px rgba(196, 111, 12, .2); }
.link {
  font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em;
  text-decoration-color: var(--orange);
}
.link:hover { text-decoration-color: var(--ink); }
.link--light { color: var(--white); }
.link--light:hover { text-decoration-color: var(--white); }

.tag {
  position: relative; display: inline-block; align-self: flex-start;
  padding: .3rem .85rem .34rem 1.5rem;
  font-weight: 700; font-size: .95rem; line-height: 1.3;
  color: var(--white); background: var(--teal);
  border-radius: 0 7px 7px 0;
  clip-path: polygon(.8rem 0, 100% 0, 100% 100%, .8rem 100%, 0 50%);
}
.tag::before {
  content: ""; position: absolute; left: .6rem; top: 50%;
  width: .4rem; height: .4rem; margin-top: -.2rem; border-radius: 50%; background: var(--bg);
}
.tag--orange { background: var(--orange); color: var(--ink); }
.tag--lead { margin-bottom: 1rem; }
.pilltag {
  display: inline-block; padding: .2em .65em .25em; border-radius: 999px;
  font-weight: 700; font-size: .8em; line-height: 1.2; white-space: nowrap;
}
.pilltag--run { background: var(--teal-soft); color: var(--teal-deep); }

/* ---------------------------------------------------------------- top bar */

.top { padding: 1.1rem 0 .4rem; }
.top__in { display: flex; align-items: center; gap: 1.5rem; }
.logo { display: inline-flex; color: var(--ink); }
.logo svg { height: 26px; width: auto; }
.top__nav { display: none; margin-left: auto; gap: 1.7rem; font-weight: 600; }
.top__nav a { text-decoration: none; }
.top__nav a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: .25em; }
.top__cta {
  margin-left: auto; padding: .55rem .95rem;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  background: var(--white); border-radius: 10px; box-shadow: var(--lift);
}
.top__cta:hover { color: var(--teal-deep); }
@media (min-width: 860px) {
  .top__nav { display: flex; }
  .top__cta { margin-left: .4rem; }
}

/* ---------------------------------------------------------------- hero */

.hero { padding: 1.6rem 0 4.5rem; }
.hero__grid { display: grid; gap: 2rem; }
.hero h1 { font-size: clamp(3.6rem, 13vw, 7.4rem); line-height: .9; letter-spacing: -0.02em; padding-top: .4rem; }
.hero__line { margin-top: 1.4rem; font-size: clamp(1.25rem, 2.4vw, 1.5rem); line-height: 1.35; font-weight: 500; max-width: 26rem; }
.hero .actions { margin-top: 2rem; }
@media (min-width: 980px) {
  .hero { padding: 2.6rem 0 6rem; }
  .hero__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); align-items: center; gap: 3.5rem; }
  .hero h1 { font-size: min(7.4rem, 7.6vw); }
}

/* ---------------------------------------------------------------- the film */

.film { margin: 0; }
.film__stage {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 11;
  container-type: inline-size;
  border-radius: 24px;
  background:
    radial-gradient(120% 90% at 50% 105%, #EFE2CF 0%, rgba(239, 226, 207, 0) 55%),
    radial-gradient(90% 70% at 30% 0%, #FFFBF4 0%, rgba(255, 251, 244, 0) 70%),
    #F6EDE1;
  box-shadow: inset 0 0 0 1px rgba(120, 90, 50, .08);
}

/* captions */
.film__caps p {
  position: absolute; left: 5.5cqw; top: 5cqw; width: 39cqw;
  font: 400 4.4cqw/1.04 var(--display); letter-spacing: -0.01em; color: var(--ink);
  opacity: 0; transform: translateY(1.5cqw);
  transition: opacity .45s ease, transform .55s cubic-bezier(.2, .8, .3, 1);
}
.film__stage[data-scene="1"] [data-s="1"],
.film__stage[data-scene="2"] [data-s="2"],
.film__stage[data-scene="3"] [data-s="3"],
.film__stage[data-scene="4"] [data-s="4"],
.film__stage[data-scene="5"] [data-s="5"] { opacity: 1; transform: none; transition-delay: .15s; }

/* the pile of jobs, resting in your hands */
.pile { position: absolute; left: 63cqw; bottom: 21.5cqw; width: 0; height: 0; list-style: none; z-index: 3; transform-origin: 0 100%; }
.job {
  --r: 0deg; --x: 0cqw;
  position: absolute; left: 0; bottom: calc(var(--i) * 5.6cqw);
  display: flex; align-items: center; gap: 1.2cqw;
  width: 36cqw; height: 6.3cqw; padding: 0 1.6cqw;
  font-size: 2.15cqw; line-height: 1;
  background: linear-gradient(180deg, #FFFFFF, #FBF6EF);
  border-radius: 1.5cqw;
  box-shadow: 0 .2cqw .4cqw rgba(74, 50, 22, .08), 0 1cqw 2cqw rgba(74, 50, 22, .1), inset 0 -.25cqw 0 rgba(160, 120, 70, .12);
  transform: translateX(calc(-50% + var(--x))) rotate(var(--r));
  transition: transform .7s cubic-bezier(.2, .8, .3, 1), opacity .35s ease, box-shadow .4s ease;
}
.job:nth-child(1) { --r: -2deg; --x: -1.2cqw; }
.job:nth-child(2) { --r: 2.5deg; --x: 1.6cqw; }
.job:nth-child(3) { --r: -3deg; --x: -2cqw; }
.job:nth-child(4) { --r: 2deg; --x: 2.2cqw; }
.job:nth-child(5) { --r: -2.5deg; --x: -1.4cqw; }
.job:nth-child(6) { --r: 3.5deg; --x: 1.8cqw; }
.job b { font-weight: 700; color: var(--ink); white-space: nowrap; }
.job__dot { flex: none; width: 1.5cqw; height: 1.5cqw; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 .5cqw var(--orange-soft); transition: background .3s ease, box-shadow .3s ease; }
.job__tag { margin-left: auto; position: relative; height: 3cqw; min-width: 11cqw; }
.job__tag em {
  position: absolute; right: 0; top: 0; height: 3cqw; padding: 0 1.1cqw;
  display: flex; align-items: center;
  font: 700 1.55cqw/1 var(--sans); font-style: normal; white-space: nowrap;
  border-radius: 999px; transition: opacity .3s ease, transform .35s cubic-bezier(.3, 1.4, .5, 1);
}
.job__tag .need { background: var(--orange-soft); color: var(--orange-deep); }
.job__tag .run { background: var(--teal-soft); color: var(--teal-deep); opacity: 0; transform: scale(.6); }

/* hands, stand, and the note card on the left */
.film__hands { position: absolute; height: auto; pointer-events: none; }
.film__hands--hold { width: 41cqw; left: 63cqw; bottom: -10cqw; transform: translateX(-50%); z-index: 2; filter: drop-shadow(0 1.5cqw 2cqw rgba(74, 50, 22, .18)); transition: transform .9s cubic-bezier(.5, 0, .7, .4), opacity .5s ease; }
.film__hands--up { width: 27cqw; left: 9cqw; bottom: -7cqw; z-index: 4; filter: drop-shadow(0 1cqw 1.6cqw rgba(74, 50, 22, .18)); opacity: 0; transform: translateY(70%) rotate(-5deg); transition: transform .8s cubic-bezier(.3, 1.5, .5, 1), opacity .3s ease; }
.film__stand {
  position: absolute; left: 63cqw; bottom: 0; width: 28cqw; height: 21.5cqw; z-index: 2;
  transform: translate(-50%, 102%);
  border-radius: 2.4cqw 2.4cqw 0 0;
  background: linear-gradient(90deg, #E8851A 0%, #F7A93E 38%, #F29520 70%, #D97E12 100%);
  box-shadow: inset 0 .5cqw 0 rgba(255, 220, 160, .55), 0 0 2cqw rgba(196, 111, 12, .25);
  transition: transform .8s cubic-bezier(.2, .9, .3, 1);
}
.note {
  position: absolute; left: 5.5cqw; top: 22cqw; width: 33cqw; height: 22cqw; z-index: 5;
  pointer-events: none;
}
.note > div {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 1.1cqw;
  padding: 2.4cqw 2.6cqw;
  background: var(--white); border-radius: 2.2cqw;
  box-shadow: 0 .3cqw .6cqw rgba(74, 50, 22, .06), 0 1.8cqw 4cqw rgba(74, 50, 22, .12);
  opacity: 0; transform: translateX(-4cqw) scale(.96);
  transition: opacity .4s ease, transform .55s cubic-bezier(.2, .8, .3, 1);
}
.note__k { font: 700 1.7cqw/1.2 var(--sans); color: var(--ink-2); }
.note b { font: 400 3.3cqw/1.05 var(--display); color: var(--ink); }
.note__v { font: 600 2cqw/1.2 var(--sans); color: var(--orange-deep); }
.note .pilltag { align-self: flex-start; font-size: 1.6cqw; }
.note__btns { display: flex; gap: 1.2cqw; margin-top: .6cqw; }
.fake-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 4.2cqw; padding: 0 2cqw; border-radius: 1.2cqw;
  font: 700 1.8cqw/1 var(--sans);
}
.fake-btn--ghost { background: #F4ECE1; color: var(--ink-2); }
.fake-btn--go { min-width: 11cqw; background: var(--orange); color: var(--ink); box-shadow: 0 .45cqw 0 var(--orange-deep); }
.fake-btn--go .sent { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .6cqw; opacity: 0; color: var(--white); }
.fake-btn--go .sent svg { width: 2.2cqw; height: 2.2cqw; }

/* scene states */
.film__stage[data-scene="0"] .job { opacity: 0; transform: translate(calc(-50% + var(--x)), -34cqw) rotate(var(--r)); transition: none; }
.film__stage[data-scene="1"] .job { transition-delay: calc(.35s + var(--i) * .2s); }
.film__stage[data-scene="1"] .pile,
.film__stage[data-scene="2"] .pile { animation: sway 2.6s ease-in-out 1.6s infinite; }
.film__stage[data-scene="1"] .film__hands--hold,
.film__stage[data-scene="2"] .film__hands--hold,
.film__stage[data-scene="3"] .film__hands--hold { animation: strain 1.3s ease-in-out infinite; }
.film__stage[data-scene="2"] .job--key,
.film__stage[data-scene="3"] .job--key,
.film__stage[data-scene="4"] .job--key { box-shadow: 0 0 0 .45cqw var(--orange), 0 1.4cqw 3cqw rgba(196, 111, 12, .28); }
.film__stage[data-scene="2"] .note__s2,
.film__stage[data-scene="3"] .note__s3,
.film__stage[data-scene="4"] .note__s4 { opacity: 1; transform: none; transition-delay: .25s; }
.film__stage:is([data-scene="3"], [data-scene="4"]) .job--key .need { opacity: 0; transform: scale(.6); }
.film__stage:is([data-scene="3"], [data-scene="4"]) .job--key .run { opacity: 1; transform: none; transition-delay: .9s; }
.film__stage:is([data-scene="3"], [data-scene="4"]) .job--key .job__dot { background: var(--teal); box-shadow: 0 0 0 .5cqw var(--teal-soft); transition-delay: .9s; }
.film__stage[data-scene="4"] .fake-btn--go { animation: press 4.5s linear both; }
.film__stage[data-scene="4"] .fake-btn--go .go { animation: swap-out 4.5s linear both; }
.film__stage[data-scene="4"] .fake-btn--go .sent { animation: swap-in 4.5s linear both; }
.film__stage[data-scene="5"] .job { --r: 0deg; --x: 0cqw; transition-delay: calc(.2s + var(--i) * .05s); }
.film__stage[data-scene="5"] .job .need { opacity: 0; transform: scale(.6); transition-delay: calc(.5s + var(--i) * .12s); }
.film__stage[data-scene="5"] .job .run { opacity: 1; transform: none; transition-delay: calc(.6s + var(--i) * .12s); }
.film__stage[data-scene="5"] .job__dot { background: var(--teal); box-shadow: 0 0 0 .5cqw var(--teal-soft); transition-delay: calc(.6s + var(--i) * .12s); }
.film__stage[data-scene="5"] .film__stand { transform: translate(-50%, 0); }
.film__stage[data-scene="5"] .film__hands--hold { transform: translate(-50%, 70cqw); opacity: 0; transition-delay: .7s, 1.3s; }
.film__stage[data-scene="5"] .film__hands--up { opacity: 1; transform: none; transition-delay: 1.7s; }

/* on a phone the film stands taller, so the jobs can be read */
@media (max-width: 640px) { .film__stage { aspect-ratio: 4 / 5; } }
@container (max-width: 600px) {
  .film__caps p { left: 6cqw; top: 6cqw; width: 86cqw; font-size: 7.2cqw; }
  .pile { left: 50cqw; bottom: 30cqw; }
  .job { width: 64cqw; height: 9.6cqw; bottom: calc(var(--i) * 8.7cqw); gap: 2cqw; padding: 0 2.6cqw; font-size: 3.8cqw; border-radius: 2.4cqw; }
  .job__dot { width: 2.4cqw; height: 2.4cqw; box-shadow: 0 0 0 .8cqw var(--orange-soft); }
  .job__tag { height: 5cqw; min-width: 19cqw; }
  .job__tag em { height: 5cqw; padding: 0 1.8cqw; font-size: 2.7cqw; }
  .film__hands--hold { width: 70cqw; left: 50cqw; bottom: -25cqw; }
  .film__stand { left: 50cqw; width: 50cqw; height: 30cqw; border-radius: 4cqw 4cqw 0 0; }
  .film__hands--up { width: 34cqw; left: 1cqw; bottom: -12cqw; }
  .note { left: 6cqw; top: auto; bottom: 5cqw; width: 88cqw; height: 34cqw; }
  .note > div { gap: 1.8cqw; padding: 4cqw 4.5cqw; border-radius: 4cqw; }
  .note__k { font-size: 3.4cqw; }
  .note b { font-size: 6.2cqw; }
  .note__v { font-size: 3.8cqw; }
  .note .pilltag { font-size: 3.1cqw; }
  .note__btns { gap: 2.4cqw; }
  .fake-btn { height: 8cqw; padding: 0 4cqw; font-size: 3.5cqw; border-radius: 2.4cqw; }
  .fake-btn--go { min-width: 22cqw; }
  .fake-btn--go .sent svg { width: 4cqw; height: 4cqw; }
  .film__stage:is([data-scene="2"], [data-scene="3"], [data-scene="4"]) .job--key { box-shadow: 0 0 0 .8cqw var(--orange), 0 2cqw 5cqw rgba(196, 111, 12, .28); }
}

@keyframes sway { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(-1.4deg); } 70% { transform: rotate(1.1deg); } }
@keyframes strain { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.6cqw; } }
@keyframes press {
  0%, 30% { transform: none; box-shadow: 0 .45cqw 0 var(--orange-deep); background: var(--orange); }
  34% { transform: translateY(.4cqw); box-shadow: 0 .05cqw 0 var(--orange-deep); background: var(--orange); }
  40%, 100% { transform: none; box-shadow: 0 .45cqw 0 var(--teal-deep); background: var(--teal); }
}
@keyframes swap-out { 0%, 36% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes swap-in { 0%, 38% { opacity: 0; } 44%, 100% { opacity: 1; } }

.film__bar { display: flex; align-items: center; gap: 1rem; margin-top: .9rem; }
.film__play {
  flex: none; display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .9rem .55rem .75rem;
  font: 700 .95rem/1 var(--sans); color: var(--ink);
  background: var(--white); border: 0; border-radius: 10px; box-shadow: var(--lift); cursor: pointer;
}
.film__play svg { width: 1.05rem; height: 1.05rem; }
.film__play:hover { color: var(--teal-deep); }
.film__steps { flex: 1; display: flex; gap: .35rem; list-style: none; }
.film__steps li { flex: 1; height: 5px; border-radius: 3px; background: #E9DFD1; overflow: hidden; position: relative; }
.film__steps li::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; }
.film__steps li.is-done::after { transform: scaleX(1); }
.film__steps li.is-now::after { animation: fill var(--dur, 5s) linear both; }
.film.is-paused .film__steps li.is-now::after { animation-play-state: paused; }
.film__len { flex: none; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------------------------------------------------------------- what's on your plate */

.plate { padding: 5rem 0 5.5rem; background: var(--white); }
.lede { margin-top: 1rem; font-size: 1.2rem; font-weight: 500; max-width: 34rem; color: var(--ink-2); }
.chips {
  list-style: none; margin-top: 2.4rem;
  display: grid; gap: .7rem; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
}
@media (min-width: 640px) { .chips { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .85rem; } }
.chip {
  width: 100%; height: 100%;
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1rem; text-align: left;
  font: 600 1rem/1.3 var(--sans); color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.chip:hover { border-color: #D8C8B2; }
.chip:active { transform: scale(.98); }
.chip__box {
  flex: none; display: grid; place-items: center;
  width: 1.45rem; height: 1.45rem; border-radius: 7px;
  border: 1.5px solid #CDBDA6; background: var(--white); color: transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.chip__box svg { width: 1rem; height: 1rem; }
.chip[aria-pressed="true"] { background: var(--orange-soft); border-color: var(--orange); box-shadow: 0 6px 16px rgba(196, 111, 12, .12); }
.chip[aria-pressed="true"] .chip__box { background: var(--orange); border-color: var(--orange); color: var(--white); }
.tally { margin-top: 2.6rem; max-width: 42rem; }
.tally__count { font: 400 clamp(1.7rem, 3.4vw, 2.3rem)/1.15 var(--display); margin-bottom: .7rem; }
.tally__count:empty { display: none; }
.tally__line { font-size: 1.15rem; font-weight: 500; }
.tally .actions { margin-top: 1.5rem; }

/* ---------------------------------------------------------------- two ways we help */

.ways { padding: 6rem 0 5rem; }
.ways__grid { display: grid; gap: 1.25rem; margin-top: 2.6rem; }
.way {
  display: grid; overflow: hidden;
  background: var(--paper); border-radius: 22px; box-shadow: var(--lift);
}
.way__img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: #F4EADB; }
.way__body { display: flex; flex-direction: column; gap: .9rem; padding: 1.6rem 1.7rem 1.9rem; }
.way__body h3 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); }
.way__body p:not(.tag) { font-size: 1.1rem; color: var(--ink-2); }
.way__body .link { margin-top: .3rem; align-self: flex-start; }
@media (min-width: 900px) { .ways__grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; } }

/* ---------------------------------------------------------------- the rebuild, step by step */

.steps { padding: 6rem 0; background: var(--paper); }
.booklet { list-style: none; margin-top: 2.6rem; display: grid; gap: 1.25rem; }
.panel {
  position: relative; display: flex; flex-direction: column; gap: .75rem;
  background: var(--white); border-radius: 20px; box-shadow: var(--lift);
  padding: 1.1rem 1.3rem 1.5rem;
}
.panel__n { font: 400 2.6rem/1 var(--display); color: var(--orange-deep); }
.panel__img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: #F6EEE2; margin: .1rem 0 .4rem; }
.panel h3 { margin-top: .1rem; }
.panel p:not(.tag) { color: var(--ink-2); }
.small { font-size: .92rem; }
.panel__more { margin-top: auto; padding-top: .4rem; align-self: flex-start; }
@media (min-width: 640px) { .booklet { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1120px) { .booklet { grid-template-columns: repeat(4, 1fr); } }

/* ---------------------------------------------------------------- results */

.results { padding: 6rem 0 5.5rem; }
.cards { display: grid; gap: 1.25rem; margin-top: 2.6rem; }
.cards > * { min-width: 0; }
.card {
  display: flex; flex-direction: column; gap: 1.3rem;
  background: var(--white); border-radius: 20px; box-shadow: var(--lift);
  padding: 1.6rem 1.7rem 1.8rem;
}
.card h3 { font-size: 1.75rem; }
.card > p { color: var(--ink-2); }
.bars { display: grid; gap: .85rem; margin: 0; }
.bar { display: grid; grid-template-columns: 3.6rem 1fr; align-items: center; gap: .9rem; }
.bar dt { font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.bar dd { margin: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .9rem; }
.bar b { font: 400 1.35rem/1 var(--display); white-space: nowrap; }
.bar--now b { color: var(--teal-deep); }
.bar__track { position: relative; height: 14px; border-radius: 999px; background: #F2EAE0; overflow: hidden; }
.bar__fill, .bar__range {
  position: absolute; top: 0; bottom: 0; left: 0; border-radius: 999px;
  width: calc(var(--v) / var(--max) * 100%);
}
.bar__fill { background: linear-gradient(180deg, #D9CBB7, #C8B79F); min-width: 14px; }
.bar__range { left: calc(var(--from) / var(--max) * 100%); width: calc((var(--v) - var(--from)) / var(--max) * 100%); border-radius: 0 999px 999px 0; background: repeating-linear-gradient(-45deg, #E0D3C1 0 5px, #ECE3D6 5px 10px); }
.bar--now .bar__fill { background: linear-gradient(180deg, var(--orange-hi), var(--orange)); }
.bar--now .bar__range { background: repeating-linear-gradient(-45deg, #F8C277 0 5px, #FBD9A6 5px 10px); }
.bar__fill[style*="--v:0"] { width: 14px; background: var(--teal); }
@media (min-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .bar { grid-template-columns: 1fr; gap: .35rem; } .bar b { font-size: 1.2rem; } }

/* ---------------------------------------------------------------- the setup */

.setup { padding: 6rem 0; background: var(--white); }
.setup__grid { display: grid; gap: 3rem; align-items: center; }
.setup__copy { display: flex; flex-direction: column; }
.setup__lede { margin-top: 1.2rem; font-size: 1.2rem; font-weight: 500; max-width: 34rem; }
.gets { list-style: none; margin-top: 1.6rem; display: grid; gap: .7rem; max-width: 34rem; }
.gets li { display: flex; gap: .75rem; align-items: flex-start; font-size: 1.05rem; }
.gets svg { flex: none; width: 1.35rem; height: 1.35rem; margin-top: .1rem; padding: .12rem; border-radius: 50%; background: var(--teal-soft); color: var(--teal-deep); }
.price { margin-top: 2rem; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .2rem 1.2rem; max-width: 34rem; padding: 1.3rem 1.4rem; background: var(--orange-soft); border-radius: 18px; }
.price__n { font: 400 2.6rem/1 var(--display); grid-row: span 2; }
.price__k { font-weight: 600; color: var(--ink-2); }
.price .btn { grid-column: 1 / -1; justify-self: start; margin-top: 1rem; }
.setup__art { position: relative; }
.chat {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: .8rem;
  max-width: 30rem; margin-inline: auto;
  padding: 1.1rem 1.1rem 1.4rem;
  background: var(--paper); border-radius: 24px; box-shadow: var(--lift);
}
.chat__top { display: flex; align-items: center; gap: .6rem; padding: .2rem .3rem .7rem; border-bottom: 1px solid var(--line); font-weight: 700; }
.chat__top .pilltag { margin-left: auto; font-size: .78rem; }
.chat__dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.chat__msg { max-width: 85%; padding: .75rem .95rem; border-radius: 16px; font-size: 1rem; line-height: 1.45; }
.chat__msg--you { align-self: flex-end; background: var(--ink); color: var(--white); border-bottom-right-radius: 6px; }
.chat__msg--it { align-self: flex-start; background: var(--white); box-shadow: 0 1px 2px rgba(74, 50, 22, .06), 0 4px 12px rgba(74, 50, 22, .06); border-bottom-left-radius: 6px; }
@media (min-width: 960px) {
  .setup__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* ---------------------------------------------------------------- team */

.team { padding: 6rem 0 5rem; }
.team__grid { display: grid; gap: 2rem 1.4rem; margin-top: 2.6rem; }
.person { display: flex; flex-direction: column; gap: .5rem; }
.person img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; margin-bottom: .6rem; background: #EDE3D6; }
.person h3 { font-size: 1.5rem; }
.person__role { font-weight: 700; color: var(--teal-deep); }
.person p:not(.person__role) { color: var(--ink-2); }
.team__base { margin-top: 2.6rem; max-width: 44rem; font-size: 1.1rem; font-weight: 500; }
@media (min-width: 720px) { .team__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------------------------- questions */

.faq { padding: 2rem 0 6rem; }
.faq__grid { display: grid; gap: 2rem; }
.faq__list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1.5px solid #D9CCBA; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem .1rem; font-weight: 700; font-size: 1.15rem; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i {
  position: relative; flex: none; width: 1.8rem; height: 1.8rem; border-radius: 50%;
  background: var(--white); box-shadow: var(--lift); transition: transform .2s ease, background-color .2s ease;
}
.faq summary i::before, .faq summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: .72rem; height: 2px;
  margin: -1px 0 0 -.36rem; background: var(--ink); border-radius: 1px;
}
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); background: var(--orange); }
.faq details p { padding: 0 .1rem 1.4rem; max-width: 42rem; color: var(--ink-2); font-size: 1.08rem; }
@media (min-width: 900px) {
  .faq__grid { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: 3rem; align-items: start; }
}

/* ---------------------------------------------------------------- close */

.close { background: var(--teal); color: var(--white); padding: 5rem 0 0; overflow: hidden; }
.close__grid { display: grid; gap: 1.5rem; align-items: end; }
.close__copy { padding-bottom: 1rem; }
.close__copy h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.close__copy .actions { margin-top: 2rem; }
.close__hands { width: 70%; max-width: 22rem; height: auto; margin: 0 0 -1.5rem auto; filter: drop-shadow(0 14px 20px rgba(0, 40, 30, .25)); }
@media (min-width: 900px) {
  .close__grid { grid-template-columns: 1.2fr 1fr; }
  .close__copy { padding-bottom: 5.5rem; }
  .close__hands { width: 100%; max-width: 24rem; margin: 0 auto -2rem; }
}

/* ---------------------------------------------------------------- footer */

.foot { background: #221E1A; color: #EFE6D8; padding: 3.5rem 0 2.2rem; font-size: .98rem; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: .25em; }
.foot .logo { color: #EFE6D8; }
.foot__grid { display: grid; gap: 2.2rem; }
.foot__brand p { margin-top: 1rem; color: #CFC3B2; line-height: 1.7; }
.foot__col h2 { font: 700 .95rem/1.2 var(--sans); letter-spacing: 0; color: #fff; margin-bottom: .8rem; }
.foot__col ul { list-style: none; display: grid; gap: .45rem; color: #CFC3B2; }
.foot__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem;
  margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(239, 230, 216, .18);
  color: #A99D8C; font-size: .9rem;
}
.foot__base p:last-child { display: flex; gap: 1.4rem; }
@media (min-width: 760px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
