/* The shop (shop.cooperdelo.com) and the gated guides. Same Druk + Nimbus and ink/bone as the portfolio,
   but louder: taped prints, a file window for the catalog, and a demo for every kit. */

.qa-bar { position: relative; z-index: 60; padding: 7px var(--gutter); background: #2b3a2c; color: #e6efe3; text-align: center; font-size: 11px; }
.draft { display: inline-block; margin-left: 6px; padding: 2px 7px 1px; border-radius: 999px; background: #e9e1c9; color: #4a3d12; font-style: normal; font-weight: 700; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }

/* ---------- shell ---------- */
body.shop { background: var(--ink); color: var(--bone); }
.sh-nav { position: sticky; top: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); background: rgba(22, 19, 15, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-d); }
.sh-mark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 13px; }
.sh-mark i { font-style: normal; padding: 3px 9px 2px; border-radius: 999px; background: var(--bone); color: var(--ink); font-size: 11px; }
.sh-nav nav { display: flex; gap: 22px; }
.sh-nav nav a { display: inline-flex; align-items: center; gap: 6px; }
.sh-nav svg, .sh-head svg { width: 12px; height: 12px; }
.sh-head { display: grid; gap: 10px; margin-bottom: clamp(26px, 4vh, 44px); }
.sh-head .label { opacity: .62; }
.sh-head h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 4.6vw, 80px); line-height: .86; letter-spacing: -.02em; text-wrap: balance; }
.sh-head p:not(.label) { max-width: 52ch; opacity: .8; }
.sh-cta { margin-top: clamp(22px, 3vh, 34px); display: flex; justify-content: center; }
.shop .pill { color: var(--bone); border-color: var(--line-d); }
.shop .pill:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.shop .pill.solid { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.shop .pill.solid:hover { background: transparent; color: var(--bone); }

/* ---------- hero: taped prints ---------- */
.sh-hero { position: relative; min-height: clamp(640px, 92vh, 980px); display: grid; place-items: center; overflow: hidden; padding: 80px var(--gutter); background: radial-gradient(70% 60% at 50% 45%, #2a241d, #16130f 72%); }
.sh-collage { position: absolute; inset: 0; pointer-events: none; }
.pr { position: absolute; margin: 0; padding: 9px 9px 30px; background: #f4f0e7; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .8); transform: rotate(var(--r)); animation: pr-in 1.2s var(--ease) both; animation-delay: var(--d, 0s); }
.pr img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pr picture { display: block; width: 100%; height: 100%; }
.pr figcaption { position: absolute; left: 10px; bottom: 8px; color: var(--ink); opacity: .7; font-size: 10px; }
.pr .tape { position: absolute; z-index: 2; top: -12px; left: 50%; width: 92px; height: 26px; margin-left: -46px; background: rgba(233, 225, 201, .78); transform: rotate(-4deg); box-shadow: 0 2px 4px rgba(0, 0, 0, .15); }
.pr.c1 { --r: -7deg; --d: .05s; left: 3%; top: 8%; width: clamp(150px, 19vw, 300px); aspect-ratio: 4 / 5; }
.pr.c2 { --r: 5deg; --d: .15s; right: 4%; top: 6%; width: clamp(160px, 22vw, 340px); aspect-ratio: 16 / 10; }
.pr.c3 { --r: 4deg; --d: .25s; left: 8%; bottom: 7%; width: clamp(150px, 18vw, 280px); aspect-ratio: 4 / 3; }
.pr.c4 { --r: -5deg; --d: .35s; right: 7%; bottom: 9%; width: clamp(150px, 19vw, 300px); aspect-ratio: 4 / 5; }
.pr.c5 { --r: -3deg; --d: .45s; left: 25%; bottom: 3%; width: clamp(120px, 12vw, 190px); aspect-ratio: 1; }
@keyframes pr-in { from { opacity: 0; transform: translateY(40px) rotate(calc(var(--r) * 2)); } to { opacity: 1; transform: rotate(var(--r)); } }
.sh-collage .rec, .sh-collage .slv { position: absolute; width: clamp(140px, 13vw, 220px); height: auto; }
.sh-collage .rec { right: 25%; bottom: -6%; animation: rec 24s linear infinite; opacity: .95; }
.sh-collage .slv { right: 28%; bottom: -9%; transform: rotate(-8deg); }
@keyframes rec { to { transform: rotate(360deg); } }
.stk { position: absolute; padding: 7px 12px 6px; border-radius: 999px; background: var(--bone); color: var(--ink); font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 6px 14px rgba(0, 0, 0, .4); font-family: ui-monospace, Menlo, Consolas, monospace; text-transform: none; letter-spacing: 0; }
.stk.s1 { left: 22%; top: 30%; transform: rotate(-9deg); }
.stk.s2 { right: 20%; top: 40%; transform: rotate(7deg); background: #cfd8c6; }
.stk.s3 { left: 20%; bottom: 36%; transform: rotate(4deg); background: #d9cfe6; }
.sh-copy { position: relative; z-index: 2; max-width: 760px; text-align: center; display: grid; justify-items: center; gap: 18px; padding: 34px 30px; background: radial-gradient(closest-side, rgba(22, 19, 15, .92), rgba(22, 19, 15, .6) 70%, rgba(22, 19, 15, 0)); }
.sh-copy .label { opacity: .62; }
.sh-copy h1 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(40px, 6.6vw, 112px); line-height: .82; letter-spacing: -.03em; }
.sh-copy p:not(.label) { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.45; max-width: 42ch; opacity: .85; }

/* ---------- the folder ---------- */
.sh-folder, .sh-demo, .sh-faq, .kp-inside, .kp-full { padding: clamp(88px, 13vh, 150px) var(--gutter) 0; }
.win { max-width: 1180px; margin: 0 auto; border: 1px solid rgba(244, 240, 231, .16); border-radius: 12px; overflow: hidden; background: #1c1814; box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 250, 240, .08); }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid rgba(244, 240, 231, .1); background: #221d18; }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(244, 240, 231, .22); }
.win-bar span { margin-left: 12px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; opacity: .6; }
.win-body { display: grid; grid-template-columns: 180px minmax(0, 1fr); min-height: 380px; }
.win-side { display: grid; align-content: start; gap: 4px; padding: 16px 12px; border-right: 1px solid rgba(244, 240, 231, .08); background: rgba(244, 240, 231, .02); }
.win-side p { opacity: .45; margin: 0 0 6px 8px; }
.win-side button { text-align: left; padding: 8px 10px; border-radius: 6px; opacity: .7; }
.win-side button.on, .win-side button:hover { opacity: 1; background: rgba(244, 240, 231, .08); }
.files { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; padding: 18px; align-content: start; }
.files-wait { padding: 20px; opacity: .55; }
.file { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 18px 10px 14px; border-radius: 10px; transition: background-color .4s var(--ease); animation: f-in .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.files li { --i: 0; }
@keyframes f-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
a.file:hover, a.file:focus-visible { background: rgba(244, 240, 231, .08); }
.file.off { opacity: .45; }
.file b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; font-weight: 600; word-break: break-all; }
.file .ft { font-size: 12px; opacity: .6; line-height: 1.3; }
.file .fb { font-size: 10px; opacity: .85; }
.ficon { position: relative; display: block; width: 64px; height: 52px; margin-bottom: 4px; }
.ficon.dir::before { content: ""; position: absolute; inset: 8px 0 0; border-radius: 6px; background: linear-gradient(180deg, #d9cfb8, #b9ad92); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }
.ficon.dir::after { content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 12px; border-radius: 5px 5px 0 0; background: #c9bea3; }
.ficon.doc { width: 44px; height: 56px; border-radius: 4px; background: linear-gradient(180deg, #f4f0e7, #ddd5c4); box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .6); }
.ficon.doc::after { content: ""; position: absolute; left: 8px; right: 8px; top: 14px; height: 22px; background: repeating-linear-gradient(180deg, rgba(22, 19, 15, .28) 0 2px, transparent 2px 6px); }
.ficon.g-paid::before { background: linear-gradient(180deg, #e8dcb0, #c8b57a); }
.ficon.g-email.doc { background: linear-gradient(180deg, #e3ebe0, #c3cfbd); }
.win-status { display: flex; justify-content: space-between; gap: 16px; padding: 10px 16px; border-top: 1px solid rgba(244, 240, 231, .08); font-size: 11px; opacity: .6; }

/* ---------- demos ---------- */
.dm { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.dm-ctl { display: grid; gap: 14px; }
.dm-ctl > .label { opacity: .62; }
.dm-ctl ul { list-style: none; display: grid; gap: 8px; }
.dm-ctl label { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-d); border-radius: 10px; cursor: pointer; transition: border-color .4s var(--ease), background-color .4s var(--ease); }
.dm-ctl label:has(input:checked) { border-color: rgba(244, 240, 231, .6); background: rgba(244, 240, 231, .05); }
.dm-ctl input { position: absolute; opacity: 0; pointer-events: none; }
.dm-ctl label:has(input:focus-visible) { outline: 1px solid var(--bone); outline-offset: 3px; }
.sw { flex: none; position: relative; width: 34px; height: 20px; border-radius: 999px; background: rgba(244, 240, 231, .18); transition: background-color .4s var(--ease); }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--bone); transition: transform .4s var(--ease); }
input:checked + .sw { background: #6f8f6a; }
input:checked + .sw::after { transform: translateX(14px); }
.dm-score b { font-family: var(--display); font-size: 22px; margin-right: 4px; }
.dm-all { margin-left: 12px; border-bottom: 1px solid currentColor; }
.dm-note { font-size: 13px; opacity: .55; }

/* the mock: starts as a generic AI landing page, each rule fixes one thing */
.dm-stage { position: relative; }
.mock { position: relative; overflow: hidden; aspect-ratio: 4 / 3.2; border-radius: 12px; padding: 9% 8%; display: grid; align-content: end; gap: 12px; background: #f6f3fb; color: #2b2540; font-family: Georgia, "Times New Roman", serif; transition: background-color .8s var(--ease), color .8s var(--ease); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.mk-blob { position: absolute; width: 70%; aspect-ratio: 1; right: -18%; top: -24%; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #b9a6ff, #ff9ad5 45%, #8fd8ff 80%); filter: blur(14px); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.mk-photo { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); }
.mk-photo img, .mk-photo picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 10, 8, .85), rgba(12, 10, 8, .1) 60%); }
.mk-ico { position: relative; display: flex; gap: 10px; transition: opacity .6s var(--ease); }
.mk-ico i { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #a58bff, #ff8fcf); }
.mk-kick { position: relative; font-family: "Comic Sans MS", "Trebuchet MS", sans-serif; font-size: 13px; opacity: .7; transition: opacity .6s; }
.mk-h { position: relative; font-style: italic; font-weight: 400; font-size: clamp(22px, 2.6vw, 40px); line-height: 1.05; }
.mk-p { position: relative; font-family: "Trebuchet MS", sans-serif; font-size: 14px; line-height: 1.45; max-width: 40ch; opacity: .8; }
.mk-btns { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.mk-btns span { padding: 9px 16px; border-radius: 999px; background: linear-gradient(90deg, #8f74ff, #ff7cc5); color: #fff; font-family: "Trebuchet MS", sans-serif; font-size: 13px; }
.mk-btns span + span { background: transparent; color: inherit; border: 1px solid currentColor; }
.mock .good { display: none; }
.mock.r-photo { background: #16130f; color: var(--bone); }
.mock.r-photo .mk-photo { opacity: 1; }
.mock.r-photo .mk-blob { opacity: 0; transform: scale(.6); }
.mock.r-type { font-family: var(--sans); }
.mock.r-type .mk-kick, .mock.r-type .mk-p, .mock.r-type .mk-btns span { font-family: var(--sans); }
.mock.r-type .mk-h { font-family: var(--display); font-style: normal; font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; line-height: .88; }
.mock.r-type .mk-kick { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 11px; }
.mock.r-icons .mk-ico { opacity: 0; height: 0; margin-top: -12px; }
.mock.r-copy .bad { display: none; }
.mock.r-copy .good { display: inline; }
.mock.r-less .mk-p, .mock.r-less .mk-btns span + span { display: none; }
.mock.r-less .mk-btns span, .mock.r-photo.r-type .mk-btns span { background: var(--bone); color: var(--ink); }
.dm-design.done .dm-score { color: #a9c7a2; }

/* LinkedIn */
.li-card { border-radius: 12px; background: #f4f2ee; color: #1d1d1d; padding: 18px; display: grid; gap: 14px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.li-top { display: flex; gap: 10px; align-items: center; }
.li-top b { display: block; font-size: 14px; }
.li-top span { font-size: 12px; opacity: .6; }
.li-av { width: 40px; height: 40px; border-radius: 50%; background: #cfc8bb; }
.li-line .label { display: block; opacity: .55; margin-bottom: 6px; }
.li-line textarea { width: 100%; font: inherit; font-size: 16px; line-height: 1.4; color: inherit; background: #fff; border: 1px solid #dcd6cb; border-radius: 8px; padding: 10px 12px; resize: vertical; }
.li-img { aspect-ratio: 16 / 9; border-radius: 6px; background: repeating-linear-gradient(135deg, #e3ddd2 0 10px, #ebe6dd 10px 20px); display: grid; place-items: center; font-size: 12px; opacity: .8; }
.li-checks label { display: grid; grid-template-columns: 22px 78px minmax(0, 1fr); align-items: start; gap: 10px; }
.li-checks label::before { content: ""; width: 18px; height: 18px; margin-top: 1px; border-radius: 5px; border: 1px solid rgba(244, 240, 231, .5); transition: background-color .3s; }
.li-checks label:has(input:checked)::before { background: #a9c7a2; border-color: #a9c7a2; }
.li-checks b { font-family: var(--display); text-transform: uppercase; font-size: 14px; }
.li-checks span { font-size: 14px; opacity: .8; line-height: 1.4; }
.li-verdict { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 10px; background: rgba(244, 240, 231, .06); }
.li-verdict b { font-family: var(--display); font-size: 40px; line-height: 1; }
.li-verdict[data-level="go"] { background: rgba(169, 199, 162, .16); }
.li-verdict[data-level="fix"] { background: rgba(233, 225, 201, .12); }

/* setlist */
.dm-set { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.set-in .label { display: block; opacity: .62; margin-bottom: 8px; }
.set-in textarea { width: 100%; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.6; color: var(--bone); background: rgba(244, 240, 231, .04); border: 1px solid var(--line-d); border-radius: 10px; padding: 14px; resize: vertical; }
.set-out { display: grid; gap: 14px; }
.set-sum { opacity: .7; }
.set-sum s { opacity: .55; margin-right: 6px; }
.set-g { padding: 12px 14px; border: 1px solid var(--line-d); border-radius: 10px; animation: f-in .6s var(--ease) both; animation-delay: calc(var(--g) * 90ms); }
.set-g .label { opacity: .6; margin-bottom: 6px; }
.set-g ol { list-style: none; display: grid; gap: 4px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; }
.dm-set .dm-note { grid-column: 1 / -1; }

/* ---------- FAQ + footer ---------- */
.sh-faq { max-width: 980px; margin: 0 auto; }
.sh-faq h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 4.6vw, 80px); line-height: .86; margin-bottom: 28px; }
.faq details { border-top: 1px solid var(--line-d); }
.faq details:last-child { border-bottom: 1px solid var(--line-d); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; opacity: .6; }
.faq details[open] summary::after { content: "–"; }
.faq p { padding: 0 0 20px; max-width: 60ch; opacity: .8; line-height: 1.5; }
.sh-foot { margin-top: clamp(100px, 15vh, 180px); padding: 0 var(--gutter) 24px; overflow: hidden; }
.sh-big { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 30vw; line-height: .78; letter-spacing: -.04em; opacity: .08; }
.sh-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 18px; opacity: .7; }
.sh-cols nav { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- product page ---------- */
.kp-hero { padding: clamp(110px, 16vh, 180px) var(--gutter) 0; max-width: 1180px; margin: 0 auto; display: grid; gap: 16px; }
.kp-back { display: inline-flex; align-items: center; gap: 8px; opacity: .62; }
.kp-back svg { width: 12px; height: 12px; transform: rotate(180deg); }
.kp-hero > .label { opacity: .62; }
.kp-hero h1, .gd-hero h1 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(40px, 7vw, 124px); line-height: .82; letter-spacing: -.03em; text-wrap: balance; min-height: .82em; }
.kp-result { font-size: clamp(17px, 1.5vw, 22px); line-height: 1.45; max-width: 52ch; opacity: .85; }
.kp-buy { display: grid; gap: 12px; margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line-d); }
.kp-price b { font-family: var(--display); font-size: clamp(34px, 4vw, 60px); line-height: 1; }
.kp-form { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; }
.kp-code { display: grid; gap: 6px; }
.kp-code .label { opacity: .55; }
.kp-code input { font: inherit; color: inherit; background: transparent; border: 0; border-bottom: 1px solid var(--line-d); padding: 6px 0; width: 160px; text-transform: uppercase; }
.kp-code input:focus { outline: none; border-color: var(--bone); }
.kp-fine { opacity: .5; font-size: 11px; }
.kp-msg { min-height: 1.4em; font-size: 14px; opacity: .85; }
.kp-owned { padding: 16px 18px; border-radius: 10px; background: rgba(169, 199, 162, .12); }
.kp-outline { list-style: none; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gutter); }
.kp-outline li { display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; align-items: center; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line-d); }
.kp-outline .label { opacity: .55; }
.kp-outline b { font-size: 16px; }
.lk svg { width: 16px; height: 16px; opacity: .55; }
.kp-inside, .kp-full { max-width: 1180px; margin: 0 auto; }

/* ---------- steps (guides + unlocked kit) ---------- */
.gd-steps { list-style: none; display: grid; max-width: 980px; margin: 0 auto; }
.st { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 26px 0; border-bottom: 1px solid currentColor; border-bottom-color: color-mix(in srgb, currentColor 16%, transparent); }
.st .no { padding-top: 6px; opacity: .55; }
.st h3 { font-weight: 700; font-size: clamp(18px, 1.5vw, 22px); margin-bottom: 12px; }
.st.locked h3 { opacity: .8; }
.st .lk { position: absolute; right: 0; top: 30px; }
.cb { position: relative; border-radius: 8px; background: color-mix(in srgb, currentColor 7%, transparent); }
.cb pre { margin: 0; padding: 16px 18px; padding-right: 84px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 420px; overflow: auto; }
.cp { position: absolute; top: 10px; right: 10px; padding: 7px 12px; border-radius: 999px; background: currentColor; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.shop .cp { background: var(--bone); color: var(--ink); }
.light .cp, .page .cp { background: var(--ink); color: var(--bone); }
.cb.ghost { display: grid; gap: 10px; padding: 18px; filter: blur(.5px); }
.cb.ghost i { display: block; height: 10px; border-radius: 4px; background: color-mix(in srgb, currentColor 14%, transparent); }
.cb.ghost i:nth-child(2) { width: 82%; } .cb.ghost i:nth-child(3) { width: 64%; }
.mp { max-width: 980px; margin: clamp(48px, 7vh, 80px) auto 0; display: grid; gap: 12px; }
.mp h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 3.4vw, 56px); line-height: .88; }
.mp .label { opacity: .62; }

/* ---------- guide pages (light, on the main site) ---------- */
.gd-hero { padding: clamp(150px, 22vh, 220px) var(--gutter) clamp(40px, 6vh, 72px); max-width: 1180px; margin: 0 auto; display: grid; gap: 16px; }
.gd-hero > .label { opacity: .62; }
.gd-proof { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-proof a { padding: 7px 13px 6px; border: 1px solid var(--line-l); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.gd-proof a:hover { background: var(--ink); color: var(--bone); }
.gd-demo { margin: 0 var(--gutter); padding: clamp(40px, 6vh, 64px) clamp(16px, 3vw, 44px); border-radius: 14px; background: var(--ink); color: var(--bone); }
.gd-body { padding: clamp(56px, 8vh, 96px) var(--gutter) 0; }
.gd-gate { max-width: 980px; margin: clamp(28px, 4vh, 44px) auto 0; padding: clamp(24px, 4vw, 44px); border-radius: 14px; background: var(--ink); color: var(--bone); display: grid; gap: 12px; }
.gd-gate .label { opacity: .62; }
.gd-gate h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 4vw, 64px); line-height: .86; }
.gd-form { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; margin-top: 6px; }
.gd-form label { display: grid; gap: 6px; flex: 1 1 260px; }
.gd-form input { font: inherit; font-size: 18px; color: inherit; background: transparent; border: 0; border-bottom: 1px solid var(--line-d); padding: 8px 0; }
.gd-form input:focus { outline: none; border-color: var(--bone); }
.gd-gate .pill { color: var(--bone); border-color: var(--line-d); }
.gd-gate .pill.solid { background: var(--bone); color: var(--ink); }
.gd-fine { font-size: 12px; opacity: .55; }
.gd-master { max-width: 980px; margin: 0 auto; }
.gd-shelf { padding: 0 var(--gutter) clamp(72px, 10vh, 120px); }
.gd-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.gd-card { position: relative; display: grid; gap: 8px; height: 100%; padding: 22px 22px 52px; border: 1px solid var(--line-l); border-radius: 8px; transition: background-color .5s var(--ease), color .5s var(--ease); }
.gd-card .label { opacity: .62; }
.gd-card b { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(20px, 1.8vw, 30px); line-height: .9; }
.gd-card > span:not(.label):not(.go) { font-size: 14px; line-height: 1.45; opacity: .8; }
.gd-card .go { position: absolute; right: 20px; bottom: 18px; }
.gd-card .go svg { width: 13px; height: 13px; }
.gd-card:hover { background: var(--ink); color: var(--bone); }
.gd-shop { margin-top: 22px; }

@media (max-width: 900px) {
  .dm, .dm-set { grid-template-columns: minmax(0, 1fr); }
  .win-body { grid-template-columns: minmax(0, 1fr); }
  .win-side { display: flex; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid rgba(244, 240, 231, .08); }
  .win-side p { display: none; }
  .files { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kp-outline, .gd-list { grid-template-columns: minmax(0, 1fr); }
  .pr.c5, .stk.s3, .sh-collage .slv { display: none; }
  .pr.c1 { top: 3%; } .pr.c2 { top: 2%; } .sh-collage .rec { right: 2%; bottom: 2%; }
  .sh-nav nav { gap: 14px; }
  .sh-mark { white-space: nowrap; font-size: 12px; }
  .sh-nav nav a[href="/resources"] { display: none; }
  .stk { display: none; }
  .kp-art { display: none; }
  .win-status span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pr, .file, .set-g { animation: none; }
  .sh-collage .rec { animation: none; }
}

/* the product cover: the kit drawn as the folder it is */
.kp-hero { position: relative; }
.kp-art { position: absolute; right: 0; top: clamp(150px, 20vh, 220px); width: clamp(220px, 24vw, 340px); aspect-ratio: 1.1; transform: rotate(4deg); }
.kp-art::before { content: ""; position: absolute; left: 0; top: 0; width: 42%; height: 14%; border-radius: 12px 12px 0 0; background: #c9bea3; }
.kp-art .fold { position: absolute; inset: 9% 0 0; border-radius: 14px; background: linear-gradient(160deg, #e3d9c1, #b9ad92); box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .5); padding: 14% 10% 10%; display: grid; align-content: space-between; color: var(--ink); }
.kp-art b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: clamp(16px, 1.6vw, 24px); }
.kp-art ul { list-style: none; display: grid; gap: 6px; }
.kp-art li { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; padding: 5px 9px; border-radius: 6px; background: rgba(244, 240, 231, .7); justify-self: start; }
.kp-art .tag { position: absolute; right: -10px; top: 6%; padding: 7px 12px 6px; border-radius: 999px; background: var(--ink); color: var(--bone); font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; transform: rotate(-8deg); }
@media (min-width: 901px) { .kp-hero h1, .kp-hero .kp-result { max-width: calc(100% - clamp(240px, 27vw, 380px)); } }
@media (min-width: 901px) { .kp-hero h1 { font-size: clamp(40px, 5.4vw, 96px); } }

/* vault tree */
.vwin { border: 1px solid rgba(244, 240, 231, .16); border-radius: 12px; overflow: hidden; background: #1c1814; }
.vtree { list-style: none; padding: 12px; display: grid; gap: 2px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; }
.vtree button { width: 100%; text-align: left; padding: 9px 12px; border-radius: 6px; opacity: .72; }
.vtree button[aria-pressed="true"], .vtree button:hover { opacity: 1; background: rgba(244, 240, 231, .08); }
.vp .vd { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.35; margin: 8px 0 14px; }
.vp .vx { display: grid; gap: 6px; }
.vp code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; padding: 8px 10px; border-radius: 6px; background: rgba(244, 240, 231, .07); justify-self: start; }
/* week */
.wk-days { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.wk-day { width: 100%; min-height: 108px; display: grid; align-content: start; gap: 6px; padding: 12px 10px; border: 1px solid var(--line-d); border-radius: 10px; text-align: left; transition: border-color .3s, background-color .3s; }
.wk-day b { font-size: 15px; }
.wk-day .wk-fmt { font-size: 11px; opacity: .7; }
button.wk-day:hover { border-color: rgba(244, 240, 231, .5); }
.wk-day.sun { opacity: .6; border-style: dashed; }
.wk-day.car { background: rgba(217, 207, 230, .12); border-color: rgba(217, 207, 230, .5); }
.wk-car { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.wk-car .label { opacity: .6; margin-right: 6px; }
.wk-car button { padding: 6px 10px; border: 1px solid var(--line-d); border-radius: 999px; font-size: 12px; }
.wk-car button[aria-pressed="true"] { background: var(--bone); color: var(--ink); }
.wk-checks { list-style: none; display: grid; gap: 6px; }
.wk-checks li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; background: rgba(244, 240, 231, .04); font-size: 14px; }
.wk-checks .dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(244, 240, 231, .5); }
.wk-checks li.ok .dot { background: #a9c7a2; border-color: #a9c7a2; }
.wk-checks .label { opacity: .55; font-size: 10px; }
/* shot bank */
.sb-grid { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.sb { width: 100%; display: grid; gap: 3px; padding: 12px 8px; border: 1px solid var(--line-d); border-radius: 8px; text-align: left; transition: background-color .3s, border-color .3s, color .3s; }
.sb b { font-size: 14px; }
.sb span { font-size: 11px; opacity: .65; }
.sb[aria-pressed="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.sb-count b { font-family: var(--display); font-size: 48px; line-height: 1; margin-right: 6px; }
.sb-bar { height: 4px; border-radius: 4px; background: rgba(244, 240, 231, .12); overflow: hidden; }
.sb-bar i { display: block; height: 100%; background: #a9c7a2; transform-origin: 0 50%; transform: scaleX(0); transition: transform .5s var(--ease); }
.sb-say { font-size: 15px; opacity: .85; }
@media (max-width: 900px) {
  .wk-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- the email gate as a modal over the preview ---------- */
.gd-body { padding-bottom: clamp(96px, 14vh, 160px); }
.gd-steps .st.locked { cursor: pointer; }
.gd-steps .st.locked:nth-last-child(-n+2) { opacity: .55; }
.gd-steps .st.locked:last-child { opacity: .3; }
.gd-steps .st.locked:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.gd-more { max-width: 980px; margin: clamp(26px, 4vh, 40px) auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.gd-more .label { opacity: .62; }
.gd-more .pill.solid { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.gm { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.gm[hidden] { display: none; }
.gm-scrim { position: absolute; inset: 0; background: rgba(12, 10, 8, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s var(--ease); }
.gm-card { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 40px); overflow: auto; display: grid; gap: 14px; padding: clamp(26px, 4vw, 40px); border-radius: 16px; background: var(--ink); color: var(--bone); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8); opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .35s var(--ease), transform .5s var(--ease); }
.gm.on .gm-scrim, .gm.on .gm-card { opacity: 1; }
.gm.on .gm-card { transform: none; }
.gm-x { position: absolute; top: 16px; right: 18px; opacity: .6; text-align: right; white-space: nowrap; }
.gm-x:hover { opacity: 1; }
.gm-card > .label:not(.gm-x) { opacity: .55; padding-right: 80px; }
.gm-card h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(32px, 5vw, 56px); line-height: .86; }
.gm-sub { opacity: .82; }
.gm-list { list-style: none; display: grid; gap: 0; margin: 4px 0; border-top: 1px solid var(--line-d); }
.gm-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line-d); font-size: 14px; }
.gm-list .label { opacity: .5; }
.gm .gd-form input { color: var(--bone); }
.gm .pill.solid { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.gd-bar { position: fixed; z-index: 150; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: min(560px, calc(100% - 32px)); display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 10px 10px 20px; border-radius: 999px; background: var(--ink); color: var(--bone); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .6); font-size: 14px; animation: f-in .5s var(--ease) both; }
.gd-bar[hidden] { display: none; }
.gd-bar .pill.solid { background: var(--bone); color: var(--ink); border-color: var(--bone); flex: none; }
html.gm-lock, html.gm-lock body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .gm-scrim, .gm-card { transition: none; } .gd-bar { animation: none; } }

/* ---------- hero: a ring of real frames turning behind the headline ---------- */
.sh-hero { min-height: auto; height: clamp(620px, 100svh, 1000px); padding: 0 var(--gutter); background: radial-gradient(60% 55% at 50% 50%, #241f19, #120f0c 75%); display: grid; place-items: center; overflow: hidden; }
.orbit { position: absolute; inset: 0; perspective: 1400px; perspective-origin: 50% 46%; cursor: grab; touch-action: pan-y; }
.orbit:active { cursor: grabbing; }
.orbit-ring { --r: clamp(380px, 46vw, 820px); --w: clamp(150px, 15vw, 270px); list-style: none; position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: translateZ(calc(var(--r) * -1)) rotateX(-6deg) rotateY(var(--spin, 0deg)); }
.orbit-ring li { position: absolute; width: var(--w); aspect-ratio: 4 / 5; left: calc(var(--w) / -2); top: calc(var(--w) * -.625); transform: rotateY(calc(360deg / var(--n) * var(--i))) translateZ(var(--r)); backface-visibility: hidden; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.orbit-ring img { width: 100%; height: 100%; object-fit: cover; filter: var(--film) brightness(.82); user-select: none; -webkit-user-drag: none; }
.sh-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(42% 46% at 50% 50%, rgba(18, 15, 12, .78), rgba(18, 15, 12, 0) 72%), linear-gradient(to bottom, rgba(18, 15, 12, .7), transparent 18%, transparent 82%, rgba(18, 15, 12, .9)); }
.sh-copy { z-index: 2; background: none; padding: 0; pointer-events: none; }
.sh-copy a { pointer-events: auto; }
.sh-copy h1 { text-shadow: 0 6px 40px rgba(0, 0, 0, .6); }
@media (max-width: 900px) { .orbit-ring { --r: 300px; --w: 120px; } .sh-hero { height: clamp(560px, 92svh, 820px); } }
@media (prefers-reduced-motion: reduce) { .orbit-ring { transform: translateZ(calc(var(--r) * -1)) rotateX(-6deg); } }
.orbit-ring { top: 66%; }
.sh-hero { place-items: start center; padding-top: clamp(90px, 14vh, 150px); }
@media (max-width: 900px) { .orbit-ring { top: 72%; } }
@media (min-width: 901px) { .sh-hero .sh-copy h1 { font-size: clamp(40px, 5.2vw, 88px); } .sh-hero .sh-copy { gap: 14px; } .orbit-ring { top: 70%; } }
