/* Showroom: a dark shop floor, neon lime as the price-tag colour, big grotesque display type. */

/* Fonts are self-hosted: no third-party request before first paint. */
/* Bricolage Grotesque, latin-ext (SIL Open Font License) */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/bricolage-grotesque-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Bricolage Grotesque, latin (SIL Open Font License) */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/bricolage-grotesque-latin.woff2) format('woff2');
  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;
}
/* Geist, latin-ext (SIL Open Font License) */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/geist-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Geist, latin (SIL Open Font License) */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/geist-latin.woff2) format('woff2');
  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 {
  color-scheme: dark;
  --bg: #0E0E0C;
  --surface: #171714;
  --paper: #151513;
  --line: #2A2925;
  --line-2: #3A3833;
  --ink: #F2EEE6;
  --text-2: #C9C4B9;
  --muted: #A19C91;
  --accent: #D4FF3A;
  --wall: #1C1B18;
  --plank: #5A4B3B;
  --plank-edge: #3A3026;
  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --body: Geist, system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
img, svg { display: block; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; padding: 10px 14px; background: var(--accent); color: var(--bg); border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
@media (max-width: 600px) { .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }
.muted { color: var(--text-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 14px 26px; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--bg); }
@media (hover: hover) { .btn-accent:hover { color: var(--bg); background: #E2FF70; } }
.btn-ink { background: var(--bg); color: var(--ink); }
@media (hover: hover) { .btn-ink:hover { color: var(--ink); background: #000; } }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: transparent; font-weight: 600; }
@media (hover: hover) { .btn-outline:hover { color: var(--ink); border-color: var(--ink); } }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 16px 30px; }
.btn-block { width: 100%; min-height: 48px; }

/* Header */
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 750; font-size: 22px; letter-spacing: -.02em; }
.nav nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 15px; }
.nav nav a:not(.btn) { color: var(--text-2); text-decoration: none; }
@media (hover: hover) { .nav nav a:not(.btn):hover { color: var(--ink); } }
.nav .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }
@media (max-width: 760px) { .nav nav a:not(.btn) { display: none; } }

/* Hero */
.hero { padding-block: 48px 32px; display: flex; flex-direction: column; gap: 28px; }
.pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--text-2); }
.pill b { padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--bg); font-size: 12px; }
.hero h1 { max-width: 1050px; font-weight: 800; font-size: clamp(42px, 7.4vw, 104px); line-height: .95; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.lede { max-width: 560px; font-size: 19px; color: var(--text-2); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Demo */
.demo { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 20px; overflow: hidden; }
@media (max-width: 720px) { .demo { padding: 14px; border-radius: 18px; gap: 14px; } }
.demo-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.tabs button small { font-weight: 400; opacity: .75; font-size: 12px; }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
@media (max-width: 720px) { .tabs button { padding: 8px 14px; } .tabs button small { display: none; } }
.hint { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }

.stage { position: relative; height: 430px; border-radius: 20px; background: var(--wall); overflow: hidden; }
@media (max-width: 720px) { .stage { height: 360px; } }
.panel { position: absolute; inset: 0; }
.panel[hidden] { display: none; }
.glare { position: absolute; inset: 0; pointer-events: none; transition: background .2s linear; }

/* Rail: a packed rack seen side-on. Hover a piece and the rack parts, it swings out to face you. */
.rod { position: absolute; left: 0; right: 0; top: 34px; height: 8px; background: linear-gradient(#D6D2C9, #8D8A83); box-shadow: 0 6px 14px rgba(0,0,0,.2); z-index: 1; }
.rail { position: absolute; left: 0; right: 0; top: 30px; bottom: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; perspective: 1500px; perspective-origin: 50% 20%; }
.rail::-webkit-scrollbar { display: none; }
.rack { position: relative; height: 100%; margin: 0 auto; transform-style: preserve-3d; }
.hang { position: absolute; top: 0; left: 0; width: 230px; height: 360px; padding: 0; border: 0; background: transparent; cursor: pointer; transform-style: preserve-3d; transform-origin: 50% 0; transition: transform .65s cubic-bezier(.2,.8,.2,1); -webkit-tap-highlight-color: transparent; }
.hang .spin { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.hang.is-tilting .spin { transition-duration: .35s; }
@media (max-width: 600px) { .hang { width: 160px; height: 270px; } }
.rack.no-anim .hang, .rack.no-anim .spin { transition: none !important; }
.hang .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: filter .5s; }
.hang .face.back { transform: rotateY(180deg); }
.hang .face svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 16px rgba(0,0,0,.22)); }
.hang:not(.is-active) .face { filter: brightness(.86); }
.hang .badge { position: absolute; top: 38%; left: 31%; z-index: 2; opacity: 0; transition: opacity .3s; }
.hang.is-active .badge { opacity: 1; transition-delay: .3s; }

.badge { display: inline-block; padding: 3px 8px; border-radius: 4px; background: var(--accent); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .02em; line-height: 1.4; }
.badge.is-new { background: var(--ink); color: var(--bg); }
.badge[hidden] { display: none; }

/* Sneaker wall: side profile on the shelf. Picking a pair turns the side view away as the top view turns in.
   Spotlight mode flies the pair to the middle of the wall and dims the rest. */
.panel-sneaker { display: flex; align-items: center; justify-content: center; perspective: 1300px; }
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 26px; width: min(960px, 92%); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
@media (max-width: 720px) { .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; } }
.shoe { position: relative; height: 160px; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; flex-direction: column; justify-content: flex-end; transition: opacity .4s, filter .4s; -webkit-tap-highlight-color: transparent; }
@media (max-width: 720px) { .shoe { height: 110px; } .shoe:nth-child(n+5) { display: none; } }
.shoe.is-active { z-index: 5; }
.pair { --sh: 85px; position: relative; width: 170px; height: var(--sh); max-width: 100%; margin: 0 auto; perspective: 600px; transition: transform .65s cubic-bezier(.2,.8,.2,1); }
@media (max-width: 720px) { .pair { --sh: 65px; width: 130px; } }
.pair .side, .pair .top { position: absolute; left: 0; width: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .25s; }
.pair .side { top: 0; height: 100%; transform-origin: 50% 70%; }
.pair .top { top: 9%; height: 82%; transform: rotateX(84deg); opacity: 0; }
.pair svg { display: block; width: 100%; height: 100%; overflow: visible; }
.shoe.is-active .pair { transform: var(--lift, translateY(-26px) rotate(-6deg) scale(1.08)); }
.shoe.is-active .pair .side { transform: rotateX(-84deg); opacity: 0; }
.shoe.is-active .pair .top { transform: rotateX(0deg); opacity: 1; transition-delay: .2s; }
.shoe .shadow { margin: 8px auto 0; width: 70%; height: 10px; border-radius: 50%; background: rgba(0,0,0,.25); filter: blur(4px); transition: transform .5s, opacity .5s; }
.shoe.is-active .shadow { transform: scale(.55); opacity: .5; }
.shoe .shelfboard { margin-top: 6px; height: 10px; border-radius: 3px; background: var(--plank); box-shadow: 0 4px 0 var(--plank-edge); }
.shoe .badge { position: absolute; top: 0; left: 8px; }
/* Spotlight: the picked pair floats above the wall and lets taps through to the pairs underneath. */
.wall.is-spot .shoe:not(.is-active) { opacity: .3; filter: saturate(.6); }
.wall.is-spot .shoe.is-active .pair { pointer-events: none; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); }
.wall.is-spot .shoe.is-active .badge { opacity: 0; }
@media (hover: hover) and (pointer: fine) { .stage.spot-mode .shoe:not(.is-active):hover .pair { transform: translateY(-6px); } }

.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; gap: 2px; }
.seg button { min-height: 38px; padding: 6px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* Bookshelf: spines only; hover pulls the book out and turns it to show the cover. */
.shelf { position: absolute; left: 0; right: 0; bottom: 70px; height: 330px; display: flex; justify-content: center; align-items: flex-end; gap: 3px; padding: 0 24px; perspective: 1200px; perspective-origin: 50% 40%; }
@media (max-width: 720px) { .shelf { justify-content: flex-start; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; height: 290px; } .shelf::-webkit-scrollbar { display: none; } }
.book { --w: 30px; --h: 180px; --d: 124px; position: relative; flex: 0 0 auto; width: var(--w); height: var(--h); padding: 0; border: 0; background: transparent; cursor: pointer; transform-style: preserve-3d; transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.2,.8,.2,1), margin .5s cubic-bezier(.2,.8,.2,1); -webkit-tap-highlight-color: transparent; }
.book .b3d { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateZ(calc(var(--d) / -2)); transition: transform .75s cubic-bezier(.2,.8,.2,1); }
.book .spine, .book .cover { position: absolute; top: 0; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 2px; }
.book .spine { left: 0; width: 100%; transform: translateZ(calc(var(--d) / 2)); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 10px 0 8px; box-sizing: border-box; box-shadow: inset -4px 0 0 rgba(0,0,0,.18), inset 3px 0 0 rgba(255,255,255,.12); }
.book .spine b { writing-mode: vertical-rl; transform: rotate(180deg); font: 600 12px/1 var(--body); letter-spacing: .04em; white-space: nowrap; overflow: hidden; max-height: 78%; }
.book .spine i { font: 700 9px/1 var(--body); font-style: normal; opacity: .8; }
.book .spine::before { content: ""; width: 60%; height: 2px; background: currentColor; opacity: .5; }
.book .cover { left: calc(50% - var(--d) / 2); width: var(--d); transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); padding: 14px 12px; box-sizing: border-box; display: flex; flex-direction: column; gap: 6px; text-align: left; overflow: hidden; box-shadow: inset 6px 0 0 rgba(0,0,0,.14), 0 18px 30px rgba(0,0,0,.25); }
.book .cover svg { width: 100%; height: auto; margin: 4px 0 6px; }
.book .cover strong { font: 400 19px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.book .cover span { font-size: 11px; opacity: .85; margin-top: auto; }
.book.is-active { z-index: 5; margin: 0 calc((var(--d) - var(--w)) / 2 + 10px); }
.book.is-active .b3d { transform: translate3d(0, -40px, 150px) rotateY(-78deg) scale(1.1); }
.book.lean-l { transform: rotate(-3deg); }
.book.lean-r { transform: rotate(3deg); }
.plank { position: absolute; left: 4%; right: 4%; bottom: 52px; height: 18px; border-radius: 3px; background: var(--plank); box-shadow: 0 8px 0 var(--plank-edge), 0 20px 30px rgba(0,0,0,.25); }

.info-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.flip[hidden] { display: none; }

.info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 4px 0; }
.info-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.info .badge { font-size: 12px; }
.info-name { font-size: 22px; font-weight: 650; letter-spacing: -.01em; }
.info-price { font-size: 18px; font-weight: 600; }
.info-compare { font-size: 16px; color: var(--muted); }


/* Dark tweaks for the demo */
.demo { position: relative; }
.glare { mix-blend-mode: soft-light; }

/* Sections */
.block { padding-block: 48px; display: flex; flex-direction: column; gap: 28px; }
.block h2 { font-weight: 800; font-size: clamp(34px, 4.6vw, 60px); line-height: 1; letter-spacing: -.03em; }
.block .sub { margin-top: -16px; }
.narrow { max-width: 900px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.card { padding: 28px; border-radius: 20px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.card.filled { background: var(--surface); }
.card h3 { font-size: 22px; letter-spacing: -.01em; }
.card p { color: var(--text-2); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--accent); }
.style-card h3 { font-size: 30px; letter-spacing: -.02em; }

.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.steps li { padding: 28px; border-radius: 20px; background: var(--surface); display: flex; flex-direction: column; gap: 8px; color: var(--text-2); }
.steps .num { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; color: var(--accent); }
.steps strong { font-size: 18px; color: var(--ink); }
.muted strong { color: var(--ink); }

.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; }
table { width: 100%; min-width: 640px; border-collapse: collapse; text-align: left; }
th, td { padding: 16px 20px; }
thead tr { border-bottom: 1px solid var(--line-2); }
thead th { font-family: var(--display); font-weight: 750; font-size: 18px; letter-spacing: -.01em; padding-block: 18px; }
thead th:first-child { width: 22%; }
thead .us { color: var(--accent); }
thead .them { color: var(--muted); }
tbody tr + tr { border-top: 1px solid var(--line); }
tbody th { font-weight: 600; }
tbody td:nth-child(2) { font-weight: 600; }
tbody td:nth-child(3) { color: var(--text-2); }

.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: stretch; }
.price-card { position: relative; padding: 28px; border-radius: 20px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.price-card strong { font-size: 18px; }
.price-card .price { font-family: var(--display); font-weight: 800; font-size: 48px; line-height: 1; }
.price-card ul { margin: 0; padding-left: 18px; color: var(--text-2); display: flex; flex-direction: column; gap: 6px; }
.price-card .btn { margin-top: auto; }
.price-card.hot { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.price-card.hot ul { color: var(--bg); }
.price-card .flag { position: absolute; top: 20px; right: 20px; padding: 4px 10px; border-radius: 999px; background: var(--bg); color: var(--accent); font-size: 12px; font-weight: 700; }

details { border-top: 1px solid var(--line); padding-block: 20px; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 16px; font-size: 19px; font-weight: 600; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.plus { color: var(--accent); font-size: 22px; line-height: 1; transition: transform .2s; }
details[open] .plus { transform: rotate(45deg); }
details p { margin-top: 12px; color: var(--text-2); }

.closer { padding-block: 48px 72px; }
.closer-inner { padding: 56px 40px; border-radius: 28px; background: var(--accent); color: var(--bg); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.closer h2 { max-width: 700px; font-weight: 800; font-size: clamp(32px, 4.4vw, 56px); line-height: 1; letter-spacing: -.03em; }
@media (max-width: 600px) { .closer-inner { padding: 36px 24px; } }

.foot { padding-block: 24px 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.stage { background: radial-gradient(120% 95% at 50% 0%, #34322C, var(--wall) 72%); }
.badge { color: var(--bg); }
.seg[hidden] { display: none; }

/* Product photos */
.hang .face .hanger { display: block; width: 58%; height: auto; margin: 0 auto -5%; position: relative; z-index: 2; filter: none; }
.hang .face img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 18px rgba(0,0,0,.4)); pointer-events: none; user-select: none; -webkit-user-drag: none; }
.pair { --sh: 92px; }
@media (max-width: 720px) { .pair { --sh: 70px; } }
.pair img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; user-select: none; filter: drop-shadow(0 8px 10px rgba(0,0,0,.35)); }
.book .cover { padding: 0; background: #222; }
.book .cover img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

/* Rail with real side views: each piece hangs edge-on; the picked one turns from its side view to its front. */
.hang .side-view { position: absolute; top: 0; left: 50%; height: 100%; transform: translateX(-50%); transform-origin: 50% 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .25s, filter .4s; }
.hang .side-view img { display: block; height: 86%; width: auto; max-width: none; filter: drop-shadow(0 14px 16px rgba(0,0,0,.45)) brightness(.92); pointer-events: none; user-select: none; }
.hang .spin { transform: rotateY(-90deg); opacity: 0; transition: transform .6s cubic-bezier(.2,.8,.2,1) .12s, opacity .2s .12s; }
.hang.is-active .side-view { transform: translateX(-50%) rotateY(90deg); opacity: 0; transition-delay: 0s; }
.hang.is-active .spin { opacity: 1; }
.hang:not(.is-active) .face { filter: none; }

/* Rail: swap side view for front view with a crossfade, so flat photos never look skewed mid-turn. */
.hang .spin { transform: translateY(6px) scale(.94); opacity: 0; transition: opacity .3s ease .06s, transform .45s cubic-bezier(.2,.8,.2,1) .06s; }
.hang.is-active .spin { transform: none; opacity: 1; }
.hang .side-view, .hang.is-active .side-view { transform: translateX(-50%); }
.hang .side-view { transition: opacity .2s ease; }
.hang.is-active .side-view { opacity: 0; }
.hang .face, .hang .face.back { transform: none; backface-visibility: visible; -webkit-backface-visibility: visible; transition: opacity .35s ease; }
.hang .face.back { opacity: 0; }
.hang.is-flipped .face.front { opacity: 0; }
.hang.is-flipped .face.back { opacity: 1; }

.style-picks { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.style-picks .btn { flex: 1 1 auto; }
.checkout-note { margin-top: -8px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 12px; color: var(--text-2); font-size: 15px; }
.checkout-note[hidden] { display: none; }
.style-picks .btn { font-size: 13px; padding-inline: 12px; }

/* CTA microcopy and pricing guarantee */
.cta-note { flex-basis: 100%; margin-top: 2px; font-size: 13px; color: var(--muted); }
.guarantee { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 24px; color: var(--text-2); font-size: 15px; text-align: center; }
.guarantee svg { flex: none; color: var(--accent); }

/* Email capture dialog */
.capture { width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line-2); border-radius: 24px; background: var(--surface); color: var(--ink); box-shadow: 0 40px 120px rgba(0, 0, 0, .6); overflow: auto; }
.capture::backdrop { background: rgba(6, 6, 5, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.capture[open] { animation: capture-in .32s cubic-bezier(.2, .8, .2, 1); }
.capture[open]::backdrop { animation: capture-fade .32s ease; }
@keyframes capture-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes capture-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .capture[open], .capture[open]::backdrop { animation: none; } }
.capture-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 32px 28px 24px; }
@media (max-width: 480px) { .capture-card { padding: 28px 20px 20px; } }
.capture-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
@media (hover: hover) { .capture-x:hover { color: var(--ink); background: var(--line); } }
.capture-art { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-bottom: 4px; padding-top: 6px; border-top: 3px solid var(--line-2); width: max-content; }
.capture-art span { width: 12px; height: 44px; border-radius: 3px 3px 6px 6px; background: var(--line-2); align-self: flex-start; }
.capture-art .is-out { width: 40px; height: 54px; background: var(--accent); border-radius: 8px 8px 12px 12px; }
.capture[open] .capture-art .is-out { animation: capture-pull .7s .15s cubic-bezier(.2, .8, .2, 1) backwards; }
@keyframes capture-pull { from { width: 12px; height: 44px; border-radius: 3px 3px 6px 6px; background: var(--line-2); } }
@media (prefers-reduced-motion: reduce) { .capture[open] .capture-art .is-out { animation: none; } }
.capture-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.capture h2 { font-size: clamp(28px, 6vw, 36px); line-height: 1.05; padding-right: 36px; }
.capture-sub { color: var(--text-2); }
.capture-row { display: flex; gap: 8px; margin-top: 8px; }
@media (max-width: 480px) { .capture-row { flex-direction: column; } }
.capture-row input { flex: 1; min-width: 0; min-height: 52px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; }
.capture-row input::placeholder { color: var(--muted); }
.capture-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212, 255, 58, .2); }
.capture-row .btn { flex: none; }
.capture-row .btn:disabled { opacity: .7; cursor: progress; }
.capture-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); cursor: pointer; }
.capture-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.capture-ts:empty { display: none; }
.capture-msg { padding: 10px 14px; border-radius: 12px; background: rgba(255, 110, 90, .12); color: #FFB4A6; font-size: 14px; }
.capture-legal { font-size: 12px; color: var(--muted); }
.capture-legal a { color: var(--text-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Cookie choice (shown only in regions that require opt-in) */
.consent { position: fixed; z-index: 20; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom, 0px)); max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--surface); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); font-size: 14px; color: var(--text-2); }
.consent[hidden] { display: none; }
.consent div { display: flex; gap: 8px; flex: none; }
@media (max-width: 560px) { .consent { flex-direction: column; align-items: stretch; } .consent div > * { flex: 1; } }

/* Thank-you page */
.thanks { padding-top: 32px; padding-bottom: 72px; }
.thanks-hero { max-width: 760px; display: flex; flex-direction: column; gap: 16px; padding: 24px 0 48px; }
.thanks-hero h1 { font-size: clamp(40px, 7vw, 72px); line-height: .98; }
.thanks-mark { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; background: var(--accent); color: var(--bg); }
.thanks-mail { margin-top: 4px; }
.thanks-small { font-size: 14px; }
.thanks-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .thanks-grid { grid-template-columns: 1fr; } }
.thanks-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.thanks-card[hidden] { display: none; }
.thanks-card h2 { font-size: 24px; line-height: 1.15; }
.thanks-card .btn { align-self: flex-start; }
.thanks-up { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.thanks-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--text-2); }
.thanks-steps b { color: var(--ink); }
.thanks-seg { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; border: 0; }
.thanks-seg button { min-height: 44px; padding: 10px 18px; border: 1px solid var(--line-2); font-size: 14px; }
.thanks-seg button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
