/* v4 (25 Nov 2026): the turn, see it on you, the three words, shop the look, the Dreamers card */

/* the opening: the name across the top; his puffer below it turns with the scroll, or with a finger or the mouse */
.spin { position: relative; height: 220svh; }
.spin .stage { position: sticky; top: 0; height: 100svh; min-height: 560px; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); overflow: hidden; background: var(--bg); }
.spin .arena { position: relative; min-height: 0; min-width: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); }
#name { position: relative; z-index: 2; margin: 4px 0 0; padding-inline: var(--gut); font-size: 9vw; line-height: .86; white-space: nowrap; text-align: center; letter-spacing: -.03em; }
.spin .turn { position: relative; z-index: 1; min-height: 0; display: flex; justify-content: center; align-items: center; container-type: size; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.spin .turn.held { cursor: grabbing; }
.spin .turn canvas { width: min(100cqw, 100cqh); height: min(100cqw, 100cqh); }
.spin .hint { position: absolute; left: 50%; bottom: 4px; z-index: 3; transform: translateX(-50%); margin: 0; display: flex; align-items: center; gap: 12px; padding: 8px 16px; background: var(--ink); color: var(--bg); font: 600 var(--s-small)/1 var(--sans); white-space: nowrap; pointer-events: none; transition: opacity .4s; }
.spin .hint.gone { opacity: 0; }
.spin .tag { position: absolute; z-index: 3; left: var(--gut); top: 44%; display: grid; gap: 4px; text-decoration: none; font: 600 var(--s-small)/1.3 var(--sans); }
.spin .tag b { font-size: var(--s-mid); font-weight: 600; }
.spin .tag i { font-style: normal; color: var(--accent); }
.spin .buy { position: absolute; z-index: 3; right: var(--gut); top: 40%; display: grid; gap: 12px; justify-items: end; max-width: 240px; }
.spin .buy .label { margin: 0; }
.spin .buy .row { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.btn.dark { background: var(--ink); color: var(--bg); }
.btn.dark:hover { background: #2a2826; }
.spin .tag:hover span { text-decoration: underline; text-underline-offset: 4px; }
.spin .foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px var(--gut) 22px; }
.spin .foot p { margin: 0; max-width: 46ch; }
@media (max-width: 760px) {
  .spin .stage { min-height: 0; }
  #name { white-space: normal; text-align: left; }
  #name span { display: block; width: max-content; }
  .spin .tag, .spin .buy { display: none; }
  .spin .foot { flex-direction: column; align-items: stretch; gap: 14px; }
  .spin .foot .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .spin { height: auto; } .spin .stage { position: relative; } }

/* see it on you: their photo, then the AI preview, with a slider between */
.try { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); padding-inline: var(--gut); align-items: center; }
.cmp { position: relative; justify-self: center; width: min(100%, calc(82svh * .75)); aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface); user-select: none; }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp .before { position: absolute; inset: 0; overflow: hidden; transform: translateX(calc(var(--x) - 100%)); }
.cmp .before img { transform: translateX(calc(100% - var(--x))); }
.cmp .lab { position: absolute; top: 14px; z-index: 2; padding: 6px 12px; font: 600 var(--s-small)/1.2 var(--sans); background: var(--bg); color: var(--ink); }
.cmp .lab.l { left: 14px; }
.cmp .lab.r { right: 14px; background: var(--accent); color: #fff; }
.cmp .grip { position: absolute; top: 0; bottom: 0; left: var(--x); z-index: 2; width: 3px; margin-left: -1px; background: #fff; pointer-events: none; }
.cmp .grip::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; }
.cmp .handle { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.steps ol { margin: 0 0 26px; padding: 0; list-style: none; display: grid; gap: 18px; }
.steps li { font-size: var(--s-body); max-width: 40ch; }
.steps li b { display: block; font: 800 var(--s-mid)/1.1 var(--gothic); margin-bottom: 2px; }
.tick { display: flex; gap: 12px; align-items: flex-start; font-size: var(--s-small); margin: 0 0 18px; max-width: 46ch; cursor: pointer; }
.tick input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
#try-pick { position: relative; overflow: hidden; cursor: pointer; }
#try-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
#try-pick[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.steps .note { margin-top: 14px; }
@media (max-width: 760px) { .try { grid-template-columns: 1fr; } .cmp { width: 100%; } }

/* the three words: Dream it. Believe it. Achieve it. Their footage plays inside the letters */
.chapters { margin-top: clamp(96px, 12vw, 200px); padding: clamp(80px, 10vw, 160px) 0; background: #0d0c0b; color: #e9e8e6; }
.ch { padding-inline: var(--gut); }
.ch + .ch { margin-top: clamp(80px, 10vw, 160px); }
.ch .word { display: block; width: 100%; height: 40vw; transform-origin: 50% 100%; }
.ch .txt { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-top: 22px; }
.ch .txt p { margin: 0; max-width: 46ch; font-size: var(--s-body); }
.ch .txt a { font: 600 var(--s-small) var(--sans); text-underline-offset: 5px; white-space: nowrap; }
@media (max-width: 760px) { .ch .txt { flex-direction: column; align-items: flex-start; } }

/* shop the look: dots on their photos */
.stl { position: relative; }
.looks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-inline: var(--gut); }
.lk { margin: 0; }
.lk .ph { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.lk .ph img { width: 100%; height: 100%; object-fit: cover; }
.lk figcaption { margin-top: 10px; font-size: var(--s-small); color: var(--muted); }
.dot { position: absolute; left: var(--x); top: var(--y); z-index: 2; width: 48px; height: 48px; margin: -24px 0 0 -24px; padding: 0; border: 0; background: transparent; }
.dot::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: #fff; transition: background-color .2s, transform .2s; }
.dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; animation: ping 2.2s cubic-bezier(.2, .7, .2, 1) infinite; }
.dot:hover::before, .dot[aria-expanded="true"]::before { background: var(--accent); transform: scale(1.15); }
@keyframes ping { from { transform: scale(.45); opacity: .95; } to { transform: scale(1.25); opacity: 0; } }
.pop { position: absolute; z-index: 6; width: min(360px, calc(100vw - 32px)); display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px 14px 16px; background: var(--ink); color: var(--bg); }
.pop[hidden] { display: none; }
.pop img { width: 96px; aspect-ratio: 4 / 5; object-fit: cover; }
.pop .pn { margin: 0 28px 0 0; font: 800 24px/1.05 var(--gothic); }
.pop .pp { margin: 6px 0 2px; font-weight: 600; font-size: var(--s-body); }
.pop .pc { margin: 0 0 12px; font-size: var(--s-small); color: #b3aea6; }
.pop .btn { min-height: 46px; padding: 0 18px; }
.pop .x { position: absolute; right: 4px; top: 2px; width: 40px; height: 40px; border: 0; background: none; color: var(--bg); font-size: 28px; line-height: 1; }
@media (max-width: 760px) {
  .looks { grid-template-columns: 1fr; gap: 40px; }
  .pop { position: fixed; left: 8px !important; right: 8px; top: auto !important; bottom: calc(8px + env(safe-area-inset-bottom)); width: auto; }
}

/* the Dreamers card: their dream, in the brand's letters, to save or share */
.maker { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); padding-inline: var(--gut); align-items: center; }
.card-wrap { justify-self: center; width: min(100%, calc(76svh * .8)); perspective: 1200px; }
#card { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; transition: transform .25s ease-out; }
.form { display: grid; gap: 10px; max-width: 540px; }
.form .lbl { font: 600 var(--s-small) var(--sans); color: var(--muted); margin-top: 6px; }
.form input { width: 100%; min-height: 58px; padding: 0 16px; border: 0; background: var(--surface); color: var(--ink); font: 500 var(--s-body) var(--sans); }
.form #goal { min-height: 72px; font: 800 34px var(--gothic); }
.form .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.form .note { margin-top: 6px; }
@media (max-width: 760px) { .maker { grid-template-columns: 1fr; } }

/* phones: section headings take the full width, the note sits under them */
@media (max-width: 760px) { .sec > .head { flex-direction: column; align-items: flex-start; gap: 8px; } }
/* until his try-on pictures are in */
.cmp.wait::before { content: attr(data-wait); position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: 24px; text-align: center; background: var(--surface); color: var(--muted); font: 800 var(--s-mid)/1.2 var(--gothic); }

/* the footer: his payment marks, as on his shop */
.pay { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.pay img { display: block; width: auto; height: 26px; }
/* names set in the heavy face read better in capitals where they are big */
.go .word, .end .name, .drop .panel .t { text-transform: uppercase; }
.end .places a { text-transform: uppercase; font-size: var(--s-mid); }
@media (max-width: 480px) { .end .cols { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 760px) { .end .row > * { min-width: 0; } .end .places a { font-size: clamp(16px, 4.8vw, 22px); text-transform: none; overflow-wrap: anywhere; } }

/* ===== v6: the statement and the campaigns (after Trapstar's statement block and Kith's campaign blocks) ===== */
.manifesto { display: grid; justify-items: center; gap: 14px; padding: clamp(110px, 13vw, 200px) var(--gut) clamp(40px, 5vw, 72px); text-align: center; overflow: hidden; }
.mf-big { margin: 0 0 10px; display: grid; justify-items: center; font: 900 clamp(44px, 10vw, 168px)/.88 var(--gothic); text-transform: uppercase; letter-spacing: -.03em; }
.mf-big p { margin: 0; white-space: nowrap; }
.mf-big p:nth-child(2) { color: var(--accent); }
.manifesto h2 { font-size: var(--s-mid); }
.mf-note { margin: 0; max-width: 44ch; font-size: var(--s-body); }

.camp { display: grid; gap: clamp(14px, 1.4vw, 20px); }
.cp { position: relative; overflow: hidden; background: #0d0c0b; color: #fff; }
.cp .media { position: relative; height: 92svh; min-height: 560px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cp .media img, .cp .media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.cp::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, .66) 100%); }
.cp .copy { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(26px, 4vw, 56px); z-index: 2; max-width: 660px; }
.cp h3 { font-size: clamp(34px, 4.6vw, 72px); line-height: .92; text-transform: uppercase; }
.cp .copy p { margin: 12px 0 20px; max-width: 46ch; font-size: var(--s-body); }
.cp .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.btn.light { background: #fff; color: #0d0c0b; }
.btn.light:hover { background: #e9e8e6; }
.btn.line { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.btn.line:hover { background: #fff; color: #0d0c0b; }
.cp.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; }
.cp.split::after { display: none; }
.cp.split .media { display: block; height: auto; min-height: 0; aspect-ratio: 9 / 16; max-height: 92svh; width: 100%; }
.cp.split .copy { position: static; padding: clamp(28px, 5vw, 80px); max-width: 720px; }
.cp-prods { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 4px; margin-bottom: clamp(40px, 5vw, 80px); }
@media (max-width: 760px) {
  .cp .media { height: 84svh; grid-template-columns: 1fr; }
  .cp .media .alt { display: none; }
  .cp.split { grid-template-columns: 1fr; }
  .cp.split .media { height: auto; aspect-ratio: 4 / 5; max-height: none; }
  .cp.split .copy { padding: 26px var(--gut) 30px; }
  .cp-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) { .manifesto h2 { font-size: 20px; } }
.cp-tag { position: absolute; right: var(--gut); bottom: clamp(26px, 4vw, 56px); z-index: 2; margin: 0; max-width: 30ch; display: grid; gap: 4px; justify-items: end; text-align: right; color: #fff; text-decoration: none; font: 600 var(--s-body)/1.3 var(--sans); }
.cp-tag b { font-size: var(--s-mid); font-weight: 600; }
a.cp-tag:hover span { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .cp-tag { display: none; } }

/* v7: the campaign photo carries the dots; the card opens over the page */
.cp .media .ph { position: relative; overflow: hidden; }
.cp .media .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.dot { left: var(--x); top: var(--y); }
.fit { margin: 0 0 20px; display: grid; gap: 10px; }
.fit .label { margin: 0; }
.fit .row { display: flex; flex-wrap: wrap; gap: 8px; }
.sw:disabled { opacity: .5; cursor: not-allowed; }
