@font-face {
  font-family: "Paytone One";
  src: url("../fonts/paytone-one-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope Variable";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* his slide purple, edge to glow */
  --ground: #26094d;
  --deep: #1b033d;
  --lift: #35135d;
  --line: #4c2a7a;
  /* his slide white, leaned to the purple */
  --ink: #f6f1ff;
  --ink-soft: #cfc3e6;
  /* his slide gold: the tape, the ticks, the button */
  --gold: #f7b70f;
  --gold-press: #dba00a;
  --stripe: #140428;
  /* the white card his tracker sits on */
  --sheet: #f4eefb;
  --sheet-cell: #e4d9f3;
  --sheet-ink: #1b033d;
  --sheet-soft: #4b3a6c;
  /* the ground of his profile photo */
  --navy: #15245c;
  --focus: #ffffff;
  --alert: #ffd9d2;
  --alert-sheet: #8a1c0c;

  --display: "Paytone One", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --body: "Manrope Variable", "Segoe UI", "Helvetica Neue", sans-serif;

  --t-small: 0.875rem;
  --t-body: 1.0625rem;
  --t-say: 1.25rem;
  --t-h3: 1.375rem;
  --t-tape: clamp(1.5rem, 7.4vw, 2.75rem);
  --t-hero: clamp(1.5rem, 8vw, 3.5rem);

  --gut: max(20px, env(safe-area-inset-left));
  --s1: 8px;
  --s2: 14px;
  --s3: 24px;
  --s4: 40px;
  --s5: 64px;
  --r-box: 10px;
  --r-pill: 999px;
  --max: 68rem;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-pop: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --d-quick: 140ms;
  --d-std: 220ms;
  --d-wipe: 520ms;
  --d-settle: 420ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-body);
  line-height: 1.55;
  font-synthesis: none;
  overflow-x: clip;
}
::selection { background: var(--gold); color: var(--stripe); }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
a { color: inherit; text-underline-offset: 0.2em; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sheet a:focus-visible, .sheet button:focus-visible, .sheet input:focus-visible, .sheet summary:focus-visible { outline-color: var(--sheet-ink); }
.skip { position: absolute; left: var(--gut); top: -80px; z-index: 30; background: var(--gold); color: var(--stripe); padding: 12px 16px; border-radius: var(--r-box); font-weight: 700; }
.skip:focus-visible { top: 8px; }
.num { font-variant-numeric: tabular-nums; }
.nb { white-space: nowrap; }

/* ---------- header and menu ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--deep); border-bottom: 2px solid var(--line); }
.top__row { display: flex; align-items: center; gap: var(--s1); min-height: 54px; padding: 3px var(--gut); max-width: var(--max); margin: 0 auto; }
.mark { font-family: var(--display); font-size: 1.2rem; text-decoration: none; margin-right: auto; padding: 10px 0; white-space: nowrap; }
.menu-btn { display: none; min-height: 44px; padding: 0 14px; border: 2px solid var(--line); border-radius: var(--r-pill); background: transparent; color: var(--ink); font: 700 var(--t-small)/1 var(--body); cursor: pointer; }
.js .menu-btn { display: inline-flex; align-items: center; }
.menu-btn[aria-expanded="true"] { background: var(--lift); }
.go { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); background: var(--gold); color: var(--stripe); font-weight: 800; text-decoration: none; white-space: nowrap; }
.go:active { background: var(--gold-press); }
.menu { padding: 0 var(--gut) var(--s2); max-width: var(--max); margin: 0 auto; }
.js .menu:not(.is-open) { display: none; }
.menu ul { display: grid; gap: 2px; }
.menu a { display: flex; align-items: center; min-height: 46px; padding: 0 4px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu a[aria-current="page"] { color: var(--gold); }

/* ---------- tape: the hazard strip off his slides ---------- */
.tapes, .tapeline { overflow-x: clip; padding: 14px 0; }
.tape { display: block; width: 116%; margin-left: -8%; transform: rotate(var(--r, -2deg)); }
.tape__in {
  display: flex; align-items: stretch;
  background: var(--gold); color: var(--stripe);
  font-family: var(--display); font-size: var(--t-tape); line-height: 1.08;
  box-shadow: 0 6px 14px -6px var(--stripe);
}
.tape__in::before, .tape__in::after {
  content: ""; flex: 0 0 13%;
  background: repeating-linear-gradient(-45deg, var(--stripe) 0 11px, var(--gold) 11px 22px);
}
.tape__txt { flex: 1 1 auto; padding: 9px 14px 11px; min-width: 0; }
.tape--b { margin-top: 10px; --r: 2.5deg; }
.tape--b .tape__txt { text-align: right; }
.tapes .tape__in { font-size: var(--t-hero); white-space: nowrap; }
.tapes .tape--a { --r: -3.5deg; }

/* ---------- first screen ---------- */
.hero { background: var(--ground); }
.hero__photo { background: var(--navy); }
.hero__photo { display: grid; justify-items: center; }
.hero__photo img { width: auto; height: 218px; aspect-ratio: 1; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, var(--stripe) 14%, var(--stripe) 86%, transparent); mask-image: linear-gradient(90deg, transparent, var(--stripe) 14%, var(--stripe) 86%, transparent); }
.hero h1 { margin-top: -60px; position: relative; }
.hero__body { padding: 2px var(--gut) var(--s4); }
.hero__answer { font-family: var(--display); font-size: 1.3rem; line-height: 1.2; text-wrap: balance; }
.hero__offer { margin-top: 6px; color: var(--ink-soft); font-size: 1rem; line-height: 1.42; }
.hero__offer b { color: var(--ink); font-weight: 700; }
.hero .join { margin-top: var(--s2); }

/* ---------- sign-up ---------- */
.join { max-width: 30rem; }
.join label { display: block; font-size: var(--t-small); font-weight: 700; margin-bottom: 4px; }
.join input {
  width: 100%; min-height: 48px; padding: 0 14px; border: 2px solid var(--ink); border-radius: var(--r-box);
  background: var(--sheet); color: var(--sheet-ink); font: 600 1.0625rem/1.2 var(--body);
}
.join input::placeholder { color: var(--sheet-soft); opacity: 1; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin-top: var(--s1);
  padding: 0 18px; border: 0; border-radius: var(--r-box); background: var(--gold); color: var(--stripe);
  font: 800 1.0625rem/1 var(--body); white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: transform var(--d-quick) var(--ease-out), background-color var(--d-quick) ease;
}
.btn:active { transform: scale(0.97); background: var(--gold-press); }
.btn[disabled] { opacity: 0.7; cursor: default; }
.btn--line { background: transparent; color: inherit; border: 2px solid currentColor; }
.btn--line:active { background: transparent; }
.join__note { margin-top: var(--s1); font-size: var(--t-small); color: var(--ink-soft); }
.join__alert { margin-top: var(--s1); font-weight: 700; color: var(--alert); }
.join__alert:empty { display: none; }
.join__text { font-size: var(--t-small); color: var(--ink-soft); margin: 4px 0 var(--s1); overflow-wrap: anywhere; }
.join__row { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s1); }
.join__row .btn { flex: 1 1 9rem; margin-top: 0; min-height: 46px; font-size: var(--t-small); }
.join h3 { font-size: var(--t-h3); margin-bottom: 4px; }

/* "Already signed up? Open my program" (added in live mode). Forms sit on purple; readable there, and on a sheet */
.join-open { margin: var(--s2) 0 0; font-size: var(--t-small); color: var(--ink-soft); }
.join-open a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--gold); font-weight: 800; }
.join-open.is-back { color: var(--ink); font-weight: 700; font-size: var(--t-body); }
.join-open.is-back a { display: flex; justify-content: center; margin-top: var(--s1); max-width: 30rem; min-height: 52px; padding: 0 18px; border-radius: var(--r-box); background: var(--gold); color: var(--stripe); text-decoration: none; }
.sheet .join-open { color: var(--sheet-soft); }
.sheet .join-open a { color: var(--sheet-ink); }
.sheet .join-open.is-back { color: var(--sheet-ink); }

/* "You're in": a sheet with one ticked box. It fades and slides in whole, never clipped */
.in { background: var(--sheet); color: var(--sheet-ink); border-radius: var(--r-box); padding: var(--s3) 18px 18px; }
.in__head { display: flex; align-items: center; gap: var(--s2); }
.in__box { flex: 0 0 52px; height: 52px; border-radius: 8px; background: var(--gold); display: grid; place-items: center; }
.in__box svg { width: 30px; height: 30px; }
.in h3 { font-size: 2rem; }
.in__first { font-weight: 700; margin-top: 2px; }
.in__rows { margin-top: var(--s2); border-top: 2px solid var(--sheet-cell); }
.in__rowi { padding: var(--s2) 0; border-bottom: 2px solid var(--sheet-cell); }
.in__k { font-family: var(--display); font-size: 1.125rem; }
.in__rowi .btn { margin-top: var(--s1); background: var(--sheet-ink); color: var(--sheet); }
.in__rowi .btn:active { background: var(--deep); }
.in__q { font-size: var(--t-small); color: var(--sheet-soft); margin-top: 6px; }
.in .pv-line, .today .pv-line { font-size: var(--t-small); color: var(--sheet-soft); margin-top: var(--s2); }
.in [role="alert"] { color: var(--alert-sheet); font-weight: 700; margin-top: var(--s1); }
.today { margin-top: var(--s2); background: var(--deep); color: var(--ink); border-radius: var(--r-box); padding: 18px; }
.today h4 { font: 400 1.5rem/1.1 var(--display); margin: 0; }
.today__sub { color: var(--ink-soft); font-size: var(--t-small); }
.today ol { margin-top: var(--s2); counter-reset: mv; }
.today li { counter-increment: mv; display: flex; gap: var(--s2); align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.today li::before { content: counter(mv); font-family: var(--display); color: var(--gold); }
.today li span { margin-left: auto; color: var(--ink-soft); font-weight: 500; white-space: nowrap; }
.today .btn { margin-top: var(--s2); }
.today .pv-line { color: var(--ink-soft); }
@media (prefers-reduced-motion: no-preference) {
  .js .arrive { animation: arrive var(--d-std) var(--ease-out) both; }
  @keyframes arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* ---------- sections ---------- */
.sec { padding: var(--s4) 0 52px; overflow-x: clip; }
.sec--deep { background: var(--deep); }
.wrap { padding: 0 var(--gut); max-width: var(--max); margin: 0 auto; }
.wrap > * + * { margin-top: var(--s2); }
.sec h2:not(.tape) { font-size: clamp(1.75rem, 7.6vw, 2.75rem); }
.sec h3 { font-size: var(--t-h3); }
.say p { font-size: var(--t-say); font-weight: 600; line-height: 1.35; text-wrap: pretty; }
.say p + p { margin-top: 6px; }
.say--gap p + p { margin-top: var(--s2); }
.ours { color: var(--ink-soft); max-width: 36rem; }
.ours b, .ours strong { color: var(--ink); }
.big { font-family: var(--display); font-size: 1.6rem; line-height: 1.15; }
.big .num { color: var(--gold); }
.more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; color: var(--gold); }
.lede { font-size: var(--t-say); font-weight: 600; line-height: 1.35; max-width: 34rem; }
.page-top { background: var(--deep); }
.page-top img { width: 100%; height: 230px; object-fit: cover; }
.page-head { margin-top: -40px; position: relative; }

/* photos: wiped in along the tape's angle */
.shot img { width: 100%; }
.shot figcaption, .cap { font-size: var(--t-small); color: var(--ink-soft); padding: 8px var(--gut) 0; }
.band { margin-top: var(--s3); }
.band img { aspect-ratio: 4 / 5; object-fit: cover; }
.band--wide img { aspect-ratio: 1080 / 791; }
@media (prefers-reduced-motion: no-preference) {
  .js .wipe:not(.is-in) img { clip-path: polygon(0 0, 0 0, -30% 100%, 0 100%); }
  .js .wipe img { clip-path: polygon(0 0, 130% 0, 100% 100%, 0 100%); transition: clip-path var(--d-wipe) var(--ease-out); }
}

/* sideways strips: the next one is cut by the edge */
.strip { display: flex; gap: 10px; overflow-x: auto; padding: 4px var(--gut) 14px; margin-top: var(--s3); scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.strip > * { flex: 0 0 68%; max-width: 300px; }
.strip img { width: 100%; border-radius: 6px; }
.strip--slides > * { flex-basis: 74%; max-width: 330px; }

/* ---------- the sheet: his tracker's boxes ---------- */
.sheet { background: var(--sheet); color: var(--sheet-ink); border-radius: var(--r-box); padding: 18px 9px; margin-top: var(--s3); }
.sheet > h2, .sheet > h3, .sheet > p, .sheet > .rows, .sheet > .sheet__done, .sheet > .days { margin-left: 5px; margin-right: 5px; }
.sheet h3 { font-size: 1.75rem; }
.sheet__sub { color: var(--sheet-soft); margin-top: 4px; }
.rows { margin-top: var(--s2); border-top: 2px solid var(--sheet-cell); }
.row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; padding: 10px 0; border-bottom: 2px solid var(--sheet-cell); }
.row__name { font-weight: 800; line-height: 1.2; }
.row__boxes { display: flex; gap: 8px; }
.box {
  width: 48px; height: 48px; padding: 0; border: 3px solid var(--sheet-ink); border-radius: 8px; background: transparent; color: var(--sheet-ink);
  display: grid; place-items: center; cursor: pointer; transition: background-color var(--d-quick) ease;
}
.box svg { width: 26px; height: 26px; opacity: 0; transform: scale(0.6); transition: transform var(--d-quick) var(--ease-pop), opacity var(--d-quick) ease; }
.box[aria-pressed="true"] { background: var(--gold); }
.box[aria-pressed="true"] svg { opacity: 1; transform: none; }
.row__note { grid-column: 1 / -1; font-size: var(--t-small); font-weight: 700; color: var(--sheet-soft); }
.sheet__count { margin-top: var(--s2); font-weight: 800; }
.sheet__done { margin-top: var(--s2); }
.sheet__done p:first-child { font-family: var(--display); font-size: 1.5rem; line-height: 1.15; }
.sheet__done .btn { background: var(--sheet-ink); color: var(--sheet); margin-top: var(--s2); }
.sheet__draft { margin-top: var(--s2); font-size: var(--t-small); color: var(--sheet-soft); }
@media (prefers-reduced-motion: reduce) {
  .box svg, .btn { transition: none; }
}

/* ---------- calendar: Mon to Sun, two weeks as rows ---------- */
.cal { margin-top: var(--s2); }
.cal__head, .cal__week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal__head span { text-align: center; font-size: 0.75rem; font-weight: 800; color: var(--sheet-soft); padding-bottom: 4px; }
.cal__week + .cal__week { margin-top: 4px; }
.cal__label { font-size: 0.75rem; font-weight: 800; color: var(--sheet-soft); margin: 10px 0 4px; }
.day { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 58px; border-radius: 6px; background: var(--sheet-cell); color: var(--sheet-ink); text-decoration: none; font-size: 0.75rem; font-weight: 800; line-height: 1.15; white-space: nowrap; }
.day b { font: 400 1.0625rem/1 var(--display); }
.day--on { background: var(--gold); }
.day--mark { background: var(--sheet-ink); color: var(--sheet); }
a.day:active { transform: scale(0.96); }
.days { margin-top: var(--s3); }
.days li { padding: 12px 10px; border-bottom: 2px solid var(--sheet-cell); scroll-margin-top: 90px; border-radius: 6px; }
.days li:target { background: var(--gold); }
.days b { font-family: var(--display); font-weight: 400; margin-right: 6px; }
.sheet__foot { margin-top: var(--s2); font-size: var(--t-small); color: var(--sheet-soft); }
.week7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin-top: var(--s2); }
.week7 > * { min-height: 58px; border-radius: 6px; background: var(--sheet-cell); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 0.75rem; font-weight: 800; line-height: 1.15; padding: 4px 2px; }
.week7 .span2 { grid-column: span 2; }
.week7 .on { background: var(--gold); }
.week7 b { font: 400 0.9375rem/1.1 var(--display); }

/* lists in his words */
.lines li { padding: 14px 0; border-bottom: 2px solid var(--line); font-size: var(--t-say); font-weight: 600; line-height: 1.35; }
.lines--num { counter-reset: n; }
.lines--num li { counter-increment: n; display: grid; grid-template-columns: 2.2rem 1fr; }
.lines--num li::before { content: counter(n); font-family: var(--display); color: var(--gold); }
.ticks li { position: relative; padding: 12px 0 12px 46px; min-height: 54px; font-weight: 800; font-size: var(--t-say); line-height: 1.3; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 30px; height: 30px; border: 3px solid var(--ink); border-radius: 6px; }
.ticks li.is-on::before { background: var(--gold); border-color: var(--gold); }
.ticks li.is-on::after { content: ""; position: absolute; left: 11px; top: 14px; width: 8px; height: 16px; border: solid var(--stripe); border-width: 0 4px 4px 0; transform: rotate(42deg); }
.ticks--top li { font-weight: 600; }
.get dt { font-family: var(--display); font-size: var(--t-h3); margin-top: var(--s3); }
.get dd { margin-top: 4px; color: var(--ink-soft); max-width: 34rem; }
.price { margin-top: var(--s3); border: 3px solid var(--gold); border-radius: var(--r-box); padding: 18px; }
.price p { font-size: var(--t-say); font-weight: 700; }
.price p:first-child { font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1.1; color: var(--gold); }
.way a { font-weight: 800; color: var(--gold); display: inline-flex; align-items: center; min-height: 44px; }

.story li { padding: 16px 0; border-bottom: 2px solid var(--line); }
.story p { font-size: var(--t-say); font-weight: 600; line-height: 1.35; max-width: 36rem; }
.story figure { margin-top: 12px; max-width: 24rem; }
.story img { border-radius: 6px; }

details { border-bottom: 2px solid var(--line); }
summary { position: relative; display: block; cursor: pointer; padding: 13px 0 13px 40px; min-height: 52px; font-weight: 800; font-size: 1.125rem; line-height: 1.4; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: ""; position: absolute; left: 0; top: 13px; width: 26px; height: 26px; border: 3px solid var(--ink); border-radius: 6px; }
details[open] summary::before { background: var(--gold); border-color: var(--gold); }
details p { padding: 0 0 14px; color: var(--ink-soft); max-width: 36rem; }
details p + p { margin-top: -6px; }
details p b { color: var(--ink); }

/* the loop */
.loop { position: relative; margin-top: var(--s3); }
.loop video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--deep); }
.loop button { position: absolute; right: 12px; bottom: 12px; min-width: 76px; min-height: 44px; padding: 0 14px; border: 0; border-radius: var(--r-pill); background: var(--deep); color: var(--ink); font: 800 var(--t-small)/1 var(--body); cursor: pointer; }


/* the strip that comes off the box sheet: only where motion is welcome, and it never takes a tap */
.behind { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .js .tape--over { display: block; position: absolute; z-index: 2; top: 30%; left: 0; width: 130%; margin-left: -15%; pointer-events: none; animation: none; transform: rotate(-7deg); transition: transform 700ms var(--ease-in-out), visibility 0s linear 700ms; }
  .js .tape--over .tape__in { font-size: 1.25rem; white-space: nowrap; }
  .js .tape--over .tape__txt { text-align: center; }
  .js .behind.is-in .tape--over { transform: translateX(118%) rotate(-7deg); visibility: hidden; }
}

/* close: no tape left, one empty box */
.close__box { display: block; width: 52px; height: 52px; border: 3px solid var(--ink); border-radius: 8px; margin-bottom: var(--s2); }
.close { background: var(--deep); padding: var(--s5) 0; }
.close h2 { font-size: clamp(2rem, 9vw, 3.25rem); }
.close .ours { margin-top: var(--s1); }
.close .join { margin-top: var(--s3); }

.foot { background: var(--stripe); padding: var(--s4) 0 calc(var(--s4) + env(safe-area-inset-bottom)); font-size: var(--t-small); color: var(--ink-soft); }
.foot p + p, .foot ul + p, .foot p + ul { margin-top: var(--s1); }
.foot ul { display: flex; flex-wrap: wrap; gap: 0 18px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-weight: 700; color: var(--ink); }
.foot__who { font-family: var(--display); color: var(--ink); font-size: 1.0625rem; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover, .go:hover { background: var(--gold-press); }
  .btn--line:hover { background: transparent; }
  .in__rowi .btn:hover, .sheet__done .btn:hover { background: var(--deep); }
  .menu a:hover, .more:hover, .foot a:hover, .way a:hover { text-decoration-thickness: 3px; }
  .box:hover { background: var(--sheet-cell); }
  .box[aria-pressed="true"]:hover { background: var(--gold-press); }
  a.day:hover { outline: 2px solid var(--sheet-ink); }
}

/* the tape is pulled sideways as the scroll passes it; the first two strips settle once after paint */
@media (prefers-reduced-motion: no-preference) {
  .js .tapes .tape__in { animation: settle var(--d-settle) var(--ease-out) 120ms both; }
  .js .tapes .tape--b .tape__in { animation-name: settle-b; animation-delay: 200ms; }
  @keyframes settle { from { transform: translateX(-22px) rotate(-1deg); } to { transform: none; } }
  @keyframes settle-b { from { transform: translateX(22px) rotate(1deg); } to { transform: none; } }
  @supports (animation-timeline: view()) {
    .tape { animation: pull linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes pull { from { transform: translateX(-4%) rotate(var(--r, -2deg)); } to { transform: translateX(4%) rotate(var(--r, -2deg)); } }
    .tape--b { animation-name: pull-b; }
    @keyframes pull-b { from { transform: translateX(4%) rotate(var(--r, 2.5deg)); } to { transform: translateX(-4%) rotate(var(--r, 2.5deg)); } }
  }
}

@media (max-width: 22.4rem) {
  :root { --gut: 16px; }
  .mark { font-size: 1.05rem; }
  .go { padding: 0 14px; }
  .menu-btn { padding: 0 10px; }
  .sheet { padding: 16px 7px; }
  .box { width: 44px; height: 44px; }
  .row__boxes { gap: 6px; }
}

@media (min-width: 56rem) {
  :root { --gut: 40px; --t-body: 1.125rem; --t-say: 1.375rem; }
  .menu-btn, .js .menu-btn { display: none; }
  .top { display: flex; align-items: center; gap: 28px; padding: 0 40px; }
  .top__row { display: contents; }
  .mark { order: 1; }
  .menu, .js .menu:not(.is-open) { display: block; order: 2; padding: 0; margin: 0; max-width: none; }
  .go { order: 3; }
  .menu ul { display: flex; gap: 22px; }
  .menu a { border: 0; min-height: 60px; }
  .hero { display: grid; grid-template-columns: minmax(0, 24rem) minmax(0, 34rem); gap: 0 56px; justify-content: center; align-items: center; padding: 28px 40px 72px; overflow-x: clip; }
  .hero__photo { border-radius: var(--r-box); overflow: hidden; }
  .hero__photo img { width: 100%; height: auto; aspect-ratio: 1; -webkit-mask-image: none; mask-image: none; }
  .hero__body { padding: 0; }
  .hero__answer { font-size: 1.75rem; }
  .hero__offer { font-size: 1.125rem; margin-top: 10px; }
  .tapeline + .wrap { margin-top: 20px; }
  .sec { padding: 56px 0 80px; }
  .hero h1 { grid-column: 1 / -1; grid-row: 1; margin: 0 -40px 28px; }
  .hero__photo { grid-row: 2; }
  .tapes .tape__in { font-size: 4rem; }
  .tapes .tape--a .tape__txt { padding-left: 18%; }
  .tapes .tape--b .tape__txt { padding-right: 18%; }
  .wrap:not(.cols) { max-width: 46rem; }
  .strip { max-width: 46rem; }
  .tape { width: 108%; margin-left: -4%; }
  .tapeline { max-width: 60rem; margin: 0 auto; }
  .page-top img { height: 420px; max-width: 40rem; margin: 0 auto; }
  .band, .loop { max-width: 30rem; }
  .cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); gap: 56px; align-items: start; }
  .cols > * + * { margin-top: 0; }
  .cols .band, .cols .loop, .cols .sheet { margin-top: 0; }
  .strip > * { flex-basis: 260px; }
  .strip { max-width: var(--max); margin-left: auto; margin-right: auto; }
  .sheet { padding: 28px; }
  .shot figcaption, .cap { padding-left: 0; }
}
