/* 30-day YouTube challenge waitlist · sits on top of the PY v3 system (style.css + v2.css + v3.css).
   Red still means one thing: the one who jumps / the choice / YOU. */

/* ---------- 1 · hero ---------- */
.poster .p-you { font-size: clamp(120px, 14vw, 200px); }
/* hero v3: the full photo, black and white + grain; red stays on the one line */
.field.photo-poster { background: #111 url(art/cliff_bw.jpg) 50% 40% / cover no-repeat; justify-content: space-between; }
.photo-poster::after { opacity: .18; }
.photo-poster .p-top { color: var(--paper); border-color: var(--paper); }
.photo-poster .p-line { background: var(--red); margin-top: auto; }
.photo-poster .p-you { text-shadow: 6px 6px 0 var(--ink); }
.bang { width: 180px; font-size: 22px; line-height: .98; padding: 0 34px; clip-path: polygon(48.7% 3.6%, 58.3% 17.4%, 71.9% 7.7%, 76.7% 25.5%, 91.2% 27.7%, 83.0% 41.3%, 96.4% 48.4%, 85.7% 58.4%, 91.8% 76.1%, 73.1% 74.6%, 75.1% 91.5%, 58.6% 85.4%, 48.2% 96.3%, 40.4% 84.4%, 26.6% 90.4%, 26.5% 73.7%, 6.1% 72.8%, 16.9% 58.7%, 1.8% 47.9%, 15.3% 39.2%, 8.7% 26.1%, 25.7% 25.2%, 25.0% 10.0%, 42.5% 17.7%); }
.bang { top: 150px; left: -200px; }
.trial .dayn, [data-day] { color: var(--red); }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; border: 3px solid var(--ink); background: #fff; padding: 10px; }
.quick input { width: 100%; min-width: 0; font: 17px/1.3 var(--mono); border: 0; border-bottom: 2px dotted var(--ink); background: transparent; padding: 10px 6px; color: var(--ink); }
.quick input:focus { outline: none; border-bottom: 2px solid var(--ink); background: rgba(17,17,17,.04); }
.quick .btn { font-size: 22px; padding: 12px 18px; }
.quick small { grid-column: 1 / -1; font: italic 400 13.5px/1.3 var(--serif); }

/* ---------- 2 · the photo strip (Dan's own photos, printed) ---------- */
.photo-strip .panel { background: var(--paper); }
.photo-strip .panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-strip .bal.think { border-style: dashed; }
.photo-strip .hero-panel { border-color: var(--red); box-shadow: 0 0 0 3px var(--red); }
.photo-strip .hero-panel .later { background: var(--red); }

/* ---------- 2b · the comic ad (Charles Atlas format): Dan's photo column + 6 panels ---------- */
.atlas { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 14px; margin-top: 14px; }
.atlas-side { border: 4px solid var(--ink); background: var(--paper); padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.atlas-dan { margin: 0; position: relative; }
.atlas-dan img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border: 3px solid var(--ink); }
.atlas-gift { border: 3px solid var(--ink); background: #fff; padding: 10px 12px; font-size: 15px; line-height: 1.35; transform: rotate(-1.5deg); }
.atlas-gift b { display: block; font: 400 30px/1 var(--comic); color: var(--red); letter-spacing: .04em; text-transform: uppercase; }
.atlas-cta { text-align: center; text-decoration: none; font-size: 24px; padding: 14px 16px; }
.atlas-dan .sig { position: absolute; right: 6px; bottom: 8px; font: 400 40px/1 var(--script); color: var(--red); transform: rotate(-8deg); text-shadow: 2px 2px 0 var(--paper); }
.atlas-title { font: 400 clamp(22px, 2vw, 30px)/1.02 var(--hd); text-transform: uppercase; }
.atlas-title b { font-weight: 400; color: var(--red); }
.atlas-live { margin-top: auto; border: 2px dashed var(--ink); padding: 8px 10px; font: 700 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.ad-strip { margin-top: 0; grid-template-columns: repeat(2, 1fr); }
.ad-strip .panel { aspect-ratio: 1000 / 730; }
.ad-strip .panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ad-strip .niche { left: auto; right: 3%; top: auto; bottom: 4%; background: var(--paper); padding: 4px 6px; width: 30%; }

/* ---------- 3 · proof: last run + round 2 ---------- */
.pull { margin: 14px 0 6px; padding: 14px 18px; border-left: 6px solid var(--red); font: italic 400 clamp(19px, 1.7vw, 23px)/1.35 var(--serif); }
.pull cite { display: block; margin-top: 8px; font: 700 11px/1.2 var(--mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.small-pull { font-size: 16.5px; margin-top: 16px; }
.case.live h3 { font: 400 clamp(44px, 5vw, 68px)/1 var(--hd); text-transform: uppercase; margin-bottom: 12px; }
.ticks30 { display: grid; grid-template-columns: repeat(15, 1fr); gap: 4px; margin-bottom: 16px; }
.ticks30 i { aspect-ratio: 1; border: 2px solid var(--ink); }
.ticks30 i.done { background: var(--ink); }
.ticks30 i.today { background: var(--red); border-color: var(--red); }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.thumbs a { display: block; text-decoration: none; border: 2px solid var(--ink); background: #fff; padding: 5px; transition: transform .15s; }
.thumbs a:hover { transform: rotate(-1.5deg) translateY(-3px); box-shadow: 4px 4px 0 var(--ink); }
.thumbs img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.thumbs span { display: block; font: 700 10.5px/1.25 var(--mono); text-transform: uppercase; letter-spacing: .04em; padding-top: 6px; }
.proof { align-items: start; }
.ba .after { background: var(--red); border-left: 3px solid var(--ink); }

/* ---------- 4 · four ailments ---------- */
.ails.four { grid-template-columns: repeat(2, 1fr); }
.ails.four .ail { padding-top: 22px; background: var(--paper); }
.ails.four .ail:nth-child(odd) { border-left: 0; }
.ails.four .ail:nth-child(n+3) { border-top: 1.5px solid var(--ink); }
.ails.four .ail h3 { font-size: 21px; text-transform: none; font-style: italic; font-family: var(--serif); font-weight: 700; }
.ail .feels b { font-style: normal; font: 700 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-right: 4px; }

/* ---------- 5 · how it works ---------- */
.how { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; }
.how-side { position: relative; display: flex; flex-direction: column; gap: 14px; padding-top: 6px; }
.how-line { font: 400 clamp(24px, 2.4vw, 34px)/1.12 var(--hd); text-transform: uppercase; border-top: 3px solid var(--ink); padding-top: 12px; }
.how-line:nth-child(2) { color: var(--red); }
.stk.bike { position: relative; width: min(260px, 70%); margin: 14px 0 0 auto; }
.mail { background: #fff; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: clamp(18px, 2.6vw, 30px); transform: rotate(-1deg); display: flex; flex-direction: column; gap: 12px; }
.mail-top { display: flex; justify-content: space-between; gap: 10px; border-bottom: 3px solid var(--ink); padding-bottom: 10px; font: 700 12px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.mail-top span:last-child { color: var(--red); }
.mail-subj { font: 800 clamp(22px, 2.2vw, 30px)/1.1 var(--geo); }
.mail-dear, .mail-sig { font: 400 30px/1 var(--script); }
.mail-box { border: 2px dashed var(--ink); padding: 12px 14px; font-size: 15.5px; line-height: 1.7; }
.mail-box b { font: 700 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; margin-right: 8px; }
.mail-note { font: italic 400 13px/1.3 var(--serif); color: var(--grey); border-top: 1px dotted var(--ink); padding-top: 8px; }

.cal-wrap { margin-top: 48px; border: var(--rule); padding: clamp(16px, 2.4vw, 28px); background: var(--paper); }
.cal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 18px; flex-wrap: wrap; margin-bottom: 16px; }
.cal-head h3 { font: 400 clamp(36px, 4vw, 56px)/1 var(--hd); text-transform: uppercase; }
.cal-head p { font-style: italic; }
.cal { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; }
.door { position: relative; aspect-ratio: 1 / 1.05; border: 2.5px solid var(--ink); background: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 6px; perspective: 400px; }
.door b { font: 400 clamp(22px, 2.6vw, 38px)/1 var(--hd); }
.door small { font: 700 9px/1.1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.door::after { content: ""; position: absolute; right: 7px; top: 50%; width: 6px; height: 6px; border-radius: 50%; border: 2px solid var(--ink); }
.door.p2 { background: #e4e0d6; }
.door.p3 { background: repeating-linear-gradient(45deg, #fff 0 4px, #e4e0d6 4px 8px); }
.door.p4 { background: var(--ink); color: var(--paper); }
.door.p4::after { border-color: var(--paper); }
.door.last { background: var(--red); border-color: var(--red); color: var(--paper); }
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.phases p { border-top: 3px solid var(--ink); padding-top: 8px; font-size: 15px; }
.phases b { display: block; font: 700 11px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; }

/* ---------- 6 · bonus: the editing room ---------- */
.lede { font-size: 19px; max-width: 760px; margin-bottom: 22px; font-style: italic; }
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tool { border: 4px solid var(--ink); padding: 22px 24px; background: #fff; }
.tool h3 { font: 400 clamp(30px, 3vw, 42px)/1 var(--hd); text-transform: uppercase; border-bottom: 3px solid var(--ink); padding-bottom: 10px; margin-bottom: 6px; }
.tool ul { list-style: none; margin: 0; padding: 0; }
.tool li { padding: 10px 0 10px 30px; position: relative; border-top: 1px dotted var(--ink); font-size: 16px; }
.tool li:first-child { border-top: 0; }
.tool li::before { content: "✂"; position: absolute; left: 0; top: 9px; color: var(--red); font-size: 18px; }
.tool li b { font-family: var(--geo); font-weight: 800; }
.note { margin-top: 16px; border: 3px solid var(--ink); padding: 14px 18px; font-size: 16px; }
.note b { font-family: var(--geo); font-weight: 800; }

/* ---------- 7 · client proof + math ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { margin: 0; background: #f8f6ef; padding: 9px; border: 2px solid var(--ink); box-shadow: 4px 5px 0 rgba(17,17,17,.85); }
.card img { width: 100%; height: auto; filter: grayscale(1) contrast(1.06); }
.letters { columns: 3 220px; column-gap: 16px; margin-top: 26px; }
.letters .letter { break-inside: avoid; margin: 0 0 16px; background: #fff; border: 2px solid var(--ink); padding: 7px; }
.letters .letter img { width: 100%; height: auto; filter: grayscale(1) contrast(1.12); }
.letters-note { text-align: center; font-style: italic; color: var(--grey); }

.math { position: relative; margin-top: 56px; background: var(--ink); color: var(--paper); padding: clamp(20px, 3vw, 36px); text-align: center; }
.math .no { color: var(--red); }
.math-big { font: 400 clamp(26px, 3.2vw, 44px)/1.08 var(--hd); text-transform: uppercase; max-width: 900px; margin: 0 auto 12px; }
.stk.pool { left: -24px; top: -70px; width: 190px; }
.math p:last-child { font-style: italic; color: #d9d5cb; max-width: 640px; margin: 0 auto; }

/* ---------- 8 · fit ---------- */
.fit-art.two-up { grid-template-columns: 1fr 1fr; }
.fit-art.two-up img { aspect-ratio: 4 / 3; height: auto; flex: none; }
.jump, .watch { background: var(--paper); overflow: hidden; display: flex; flex-direction: column; }
.watch img { display: block; width: 100%; height: 100%; flex: 1; min-height: 0; object-fit: cover; }
.jump img { display: block; width: 100%; height: 100%; flex: 1; min-height: 0; object-fit: cover; }
.jump figcaption { color: var(--red); }
.watch img { filter: contrast(.9) brightness(1.05); }

/* ---------- 9 · coupon, then FAQ ---------- */
#coupon .cut { max-width: 820px; margin: 0 auto; }
.frow { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 18px; }
.f input[type=tel] { font: 17px/1.4 var(--mono); color: var(--ink); background: transparent; border: 0; border-bottom: 2px dotted var(--ink); padding: 6px 2px; border-radius: 0; }
.f input::placeholder, .quick input::placeholder { color: #9a968c; }
/* FAQ: stacked, click a question to open it */
.faq { max-width: 820px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 3px solid var(--ink); background: var(--paper); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 18px; font: 400 clamp(20px, 2.2vw, 26px)/1.1 var(--hd); text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 3px solid var(--ink);
  font: 700 22px/1 var(--mono); transition: transform .2s ease, background .2s ease, color .2s ease; }
.faq details[open] summary::after { content: "–"; background: var(--red); border-color: var(--red); color: var(--paper); }
.faq summary:hover { background: rgba(17,17,17,.05); }
.faq summary:focus-visible { outline: 3px solid var(--red); outline-offset: -6px; }
.faq details p { margin: 0; padding: 0 18px 18px; max-width: 640px; }

/* ---------- hover: cards lift (desktop only), no tilt ---------- */
.tilt { transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease; will-change: transform; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tilt:hover { transform: translate(-3px, -5px); box-shadow: 8px 10px 0 var(--ink); position: relative; z-index: 3; }
  .panel.tilt:hover, .card.tilt:hover { box-shadow: 10px 12px 0 var(--ink); }
  .thumbs a:hover, .btn:hover, .quick .btn:hover { transform: translate(-3px, -3px); }
  .door { transition: transform .2s ease; }
  .door:hover { transform: translateY(-4px); box-shadow: 4px 5px 0 var(--ink); }
}

.copy .body { text-align: left; hyphens: manual; }
.f i { font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--grey); }

/* ---------- motion off ---------- */
@media (prefers-reduced-motion: reduce) {
}

/* ---------- tablet + phone ---------- */
@media (max-width: 1040px) {
  .bang { top: -40px; left: auto; right: 10px; }
  .cal { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 820px) {
  /* phone traffic: promise + form first, the poster becomes a short band below it */
  .hero .copy { order: -1; border-top: 0; border-bottom: 4px solid var(--ink); }
  .field.poster { aspect-ratio: auto; padding: 16px 16px 20px; }
  .field.photo-poster { min-height: 420px; }
  .poster .p-you { font-size: 96px; }
  .tab { left: 0; right: 0; bottom: 0; text-align: center; border-left: 0; border-right: 0; }
  body { padding-bottom: 64px; }
  .how { grid-template-columns: 1fr; }
  .tools { grid-template-columns: 1fr; }
  .atlas { grid-template-columns: 1fr; }
  .ad-strip { grid-template-columns: 1fr; }
  .atlas-dan .sig { font-size: 26px; }
  .atlas-side { display: grid; grid-template-columns: 120px 1fr; align-items: center; }
  .atlas-side .atlas-gift, .atlas-side .atlas-cta { grid-column: 1 / -1; }
  .atlas-side .atlas-live { grid-column: 1 / -1; }
  .cards { grid-template-columns: 1fr; }
  .fit-art.two-up { grid-template-columns: 1fr; }
  .stk.pool { position: relative; left: auto; top: auto; width: 200px; margin: -40px auto 14px; }
  .ails.four { grid-template-columns: 1fr; }
  .ails.four .ail + .ail { border-left: 0; border-top: 1.5px solid var(--ink); }
  .phases { grid-template-columns: 1fr 1fr; }
  .thumbs { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .thumbs span { font-size: 9px; }
}
@media (max-width: 560px) {
  .bang { display: none; }
  .frow { grid-template-columns: 1fr; }
  .stk.bike { margin: 8px auto 0; }
  .cal { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .door small { display: none; }
  .ticks30 { gap: 3px; }
  .quick .btn { width: 100%; }
  .thumbs { grid-template-columns: 1fr; }
  .thumbs img { aspect-ratio: 16 / 8; }
}

/* ---------- comic balloons v4: tails that join the balloon ---------- */
.bal::after { bottom: auto; top: calc(100% - 3px); left: 34%; width: 24px; height: 26px; border: 0; transform: none; clip-path: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 26'%3E%3Cpath d='M1.5 0 L4 24.5 L22.5 0' fill='%23fff' stroke='%23111' stroke-width='2.5' stroke-linejoin='miter'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.bal.tl::after { left: 30%; }
.bal.tr::after { left: auto; right: 30%; transform: scaleX(-1); }
.bal.small::after { width: 20px; height: 20px; }
/* thought balloon: two bubbles instead of a pointed tail */
.bal.think::after, .bal.think::before { content: ""; position: absolute; background: #fff; border: 2.5px solid var(--ink); border-radius: 50%; clip-path: none; transform: none; }
.bal.think::after { top: calc(100% + 4px); left: 24%; width: 16px; height: 12px; }
.bal.think::before { top: calc(100% + 20px); left: 18%; width: 9px; height: 7px; }

/* ---------- v5: in / out boxes, tick and cross centred in the square ---------- */
.fit li::before { top: 9px; width: 22px; height: 22px; }
.fit ul:not(.x) li::after { left: 11px; top: 20px; width: 7px; height: 12px; border-width: 0 3px 3px 0; transform: translate(-50%, -62%) rotate(40deg); }
.fit ul.x li::after { content: ""; left: 4px; top: 13px; width: 14px; height: 14px; font: inherit;
  background: linear-gradient(45deg, transparent calc(50% - 1.6px), var(--ink) calc(50% - 1.6px), var(--ink) calc(50% + 1.6px), transparent calc(50% + 1.6px)),
              linear-gradient(-45deg, transparent calc(50% - 1.6px), var(--ink) calc(50% - 1.6px), var(--ink) calc(50% + 1.6px), transparent calc(50% + 1.6px)); }

@media (max-width: 560px) { .quick { grid-template-columns: 1fr; } }

/* ---------- v6: proof = one tabloid, one stat ---------- */
#proof .proof { grid-template-columns: 1fr; max-width: 900px; margin-left: auto; margin-right: auto; }
.ba.one { grid-template-columns: 1fr; }
.atlas-title { font-size: clamp(20px, 1.9vw, 26px); }

/* ---------- v7: proof = wins list left, $15K right ---------- */
.proof-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; margin: 18px 0 14px; }
.proof-row .ba { margin: 0; }
.wins { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: center; }
.wins li { position: relative; padding: 12px 0 12px 38px; border-top: 1.5px solid var(--ink); font: 400 clamp(20px, 2vw, 27px)/1.05 var(--hd); text-transform: uppercase; }
.wins li:first-child { border-top: 0; }
.wins li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 9px; height: 16px; border: solid var(--red); border-width: 0 4px 4px 0; transform: translateY(-62%) rotate(40deg); }

/* ---------- v7: how it works = one text block, centred ---------- */
.how-copy { max-width: 780px; margin: 0 auto; text-align: center; }
.how-intro { font: 400 clamp(28px, 3vw, 42px)/1.08 var(--hd); text-transform: uppercase; }
.how-list { list-style: none; margin: 22px auto; padding: 0; display: inline-flex; flex-direction: column; text-align: left; gap: 0; }
.how-list li { position: relative; padding: 10px 0 10px 34px; border-top: 1px dotted var(--ink); font-size: 20px; }
.how-list li:first-child { border-top: 0; }
.how-list li::before { content: "\2709"; position: absolute; left: 0; top: 9px; color: var(--red); font-size: 20px; }
.how-copy .how-line { color: var(--red); border-top: 3px solid var(--ink); padding-top: 14px; }

/* the bike photo is pasted on the calendar's top-right corner */
.cal-wrap { position: relative; }
.cal-wrap .stk.bike { position: absolute; width: 124px; right: -22px; top: -128px; margin: 0; z-index: 6; }
.cal-wrap .stk.bike figcaption { font-size: 17px; }
.cal-head { padding-right: 140px; }

/* ---------- v7: stickers lift on hover, like the cards (no drift, no tilt) ---------- */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .stk.photo.landed { pointer-events: auto; transition: transform .28s cubic-bezier(.2,.8,.2,1), filter .28s ease; }
  .stk.photo.landed:hover { transform: translate(-3px, -6px) rotate(var(--r, 0deg)); filter: drop-shadow(8px 10px 0 rgba(17,17,17,.9)); }
}

@media (max-width: 820px) {
  .proof-row { grid-template-columns: 1fr; }
  .cal-wrap .stk.bike { width: 100px; right: -8px; top: -40px; }
  .cal-head { padding-right: 90px; }
}
