/*══════════════════════════════════════════════════════════════════════
  PAGE STYLES: Home · Projects · Blog · Courses · 404
  Uses the tokens and components from style.css.
══════════════════════════════════════════════════════════════════════*/

/*═══ HOME · HERO ═══════════════════════════════════════════════════*/
.hero { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); align-items: center; gap: clamp(28px, 5vw, 70px); padding-top: clamp(124px, 17vh, 176px); padding-bottom: clamp(48px, 8vw, 90px); min-height: min(100vh, 860px) }
/* big screens: images left, text right (phones/tablets keep text first) */
.hero-visual { order: -1 }
.announce { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--glass); backdrop-filter: blur(10px); font-size: 13.5px; font-weight: 600; color: var(--text-2); transition: .3s var(--ease) }
.announce b { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--radius-pill); background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #fff }
.announce:hover { border-color: var(--accent); color: var(--text) }
.announce .arr { transition: transform .35s var(--ease) } .announce:hover .arr { transform: translateX(4px) }
.hero h1 { font-size: clamp(46px, 7.6vw, 98px); line-height: .98; letter-spacing: -.045em; margin: 24px 0 22px; text-wrap: balance }
.lede { font-size: clamp(17px, 1.7vw, 20px); color: var(--text-2); max-width: 50ch; margin-bottom: 32px }
.proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; color: var(--text-3); font-size: 14px; font-weight: 600 }
.proof li { display: inline-flex; align-items: center; gap: 8px }

.hero-visual { --px: 0; --py: 0; position: relative; aspect-ratio: 1 / 1.02; width: 100%; max-width: 580px; margin-inline: auto; perspective: 1400px }
.hv-glow { position: absolute; inset: 10% 6%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 34%, transparent), color-mix(in srgb, var(--accent-2) 20%, transparent) 50%, transparent 72%); filter: blur(30px); opacity: .8 }
.hv-card { position: absolute; width: 76%; margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-lift); will-change: transform; transition: transform .25s ease-out }
.hv-card img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover }
.hv-card figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 16px; font-family: var(--font-display); font-weight: 700; font-size: 16px }
.hv-card small { font: 600 12px var(--font-body); color: var(--text-3) }
.hv-card.c1 { left: 0; bottom: 6%; z-index: 3; transform: translate3d(calc(var(--px) * -16px), calc(var(--py) * -10px), 0) rotate(-4deg); animation: bob 7s ease-in-out infinite }
.hv-card.c2 { right: 0; top: 24%; z-index: 2; transform: translate3d(calc(var(--px) * 12px), calc(var(--py) * 8px), 0) rotate(3.5deg); animation: bob 8s ease-in-out -3s infinite }
.hv-card.c3 { left: 12%; top: 0; z-index: 1; transform: translate3d(calc(var(--px) * -8px), calc(var(--py) * 14px), 0) rotate(-1.5deg); animation: bob 9s ease-in-out -5s infinite; opacity: .92 }
@keyframes bob { 50% { translate: 0 -12px } }
.hv-chip { position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: var(--radius-pill); background: var(--glass-strong); border: 1px solid var(--border); backdrop-filter: blur(12px); box-shadow: var(--shadow); font-size: 13px; font-weight: 700; animation: bob 6s ease-in-out infinite }
.hv-chip.h1 { top: 8%; right: 6%; animation-delay: -1s } .hv-chip.h2 { left: -2%; top: 46%; animation-delay: -2.5s } .hv-chip.h3 { right: 2%; bottom: 4%; animation-delay: -4s }

/*═══ HOME · MARQUEE + STATS ════════════════════════════════════════*/
.marquee { overflow: hidden; border-block: 1px solid var(--border-soft); background: color-mix(in srgb, var(--bg-2) 60%, transparent); padding: 20px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent) }
.mq { display: flex; width: max-content; animation: slide 38s linear infinite }
.mq span { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.6vw, 30px); letter-spacing: -.02em; color: var(--text-3); white-space: nowrap }
.mq span::after { content: "✦"; margin-inline: clamp(20px, 3vw, 40px); font-size: .6em; color: var(--accent) }
@keyframes slide { to { transform: translateX(-50%) } }
.marquee:hover .mq { animation-play-state: paused }
.stats-wrap { padding-top: clamp(40px, 6vw, 70px) }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden }
.stats > div { padding: clamp(22px, 3.4vw, 40px) clamp(18px, 2.6vw, 32px); border-right: 1px solid var(--border-soft) }
.stats > div:last-child { border-right: 0 }
.stats b { display: block; font-family: var(--font-display); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-size: clamp(38px, 5.4vw, 66px); background: linear-gradient(120deg, var(--text), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent }
.stats small { display: block; margin-top: 10px; color: var(--text-3); font-size: 14px; font-weight: 600; line-height: 1.4 }

/*═══ HOME · BENTO ══════════════════════════════════════════════════*/
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px }
.bcell { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); min-height: 280px; overflow: hidden }
.bcell.build { grid-column: span 2 } .bcell.where { grid-column: span 2 }
.cell-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px }
.bcell h3 { font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 12px; max-width: 20ch; text-wrap: balance }
.bcell p { color: var(--text-2); max-width: 46ch }
.cell-go { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px }
.cell-go .arr, .rd .arr, .olink .arr { display: inline-block; transition: transform .35s var(--ease) }
.bcell:hover .cell-go .arr, .bcard:hover .rd .arr, .pcard:hover .olink.main .arr { transform: translateX(6px) }
.thumbs { display: flex; gap: 12px; margin-top: 26px; margin-bottom: -4px }
.thumbs img { height: auto; width: 30%; max-width: 200px; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); transition: transform .5s var(--ease) }
.thumbs img:nth-child(1) { transform: rotate(-3deg) } .thumbs img:nth-child(2) { transform: translateY(-6px) } .thumbs img:nth-child(3) { transform: rotate(3deg) }
.build:hover .thumbs img { transform: translateY(-8px) rotate(0) }
.plats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 22px }
.plats span { padding: 9px 18px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--bg-2); font-weight: 700; font-size: 14px }

/*═══ CARDS · PROJECTS + POSTS ══════════════════════════════════════*/
.pgrid, .bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px) }
.pcard, .bcard { display: flex; flex-direction: column; overflow: hidden; transition-delay: calc(var(--i, 0) * 40ms) }
.pshot, .bshot { position: relative; display: block; overflow: hidden; aspect-ratio: 1200 / 630; background: var(--bg-2); border-bottom: 1px solid var(--border-soft) }
.pshot img, .bshot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease) }
.pcard:hover .pshot img, .bcard:hover .bshot img { transform: scale(1.05) }
.pbadge { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--glass-strong); border: 1px solid var(--border); backdrop-filter: blur(10px); font-size: 12px; font-weight: 800; letter-spacing: .02em }
.pbadge.live { color: var(--accent-3) } :root[data-theme="light"] .pbadge.live { color: #0A8F73 }
.pbody, .bbody { display: flex; flex-direction: column; flex: 1; padding: clamp(20px, 2.2vw, 28px) }
.pmeta, .bmeta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; font-size: 12.5px; font-weight: 600; color: var(--text-3); margin-bottom: 12px }
.pmeta b, .bmeta b { width: 3px; height: 3px; border-radius: 50%; background: currentColor }
.pcard h3, .bcard h3 { font-size: clamp(21px, 2vw, 25px); margin-bottom: 10px; text-wrap: balance }
.pcard h3 a::after, .bcard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit }
.pcard h3 a:focus-visible::after, .bcard h3 a:focus-visible::after { outline: 2px solid var(--accent); outline-offset: -3px }
.pcard p, .bcard p { color: var(--text-2); font-size: 15.5px; line-height: 1.6; margin-bottom: 18px }
.pcard .stack { margin-top: auto; margin-bottom: 18px }
.plinks { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 16px; border-top: 1px solid var(--border-soft) }
.olink { position: relative; z-index: 2; font-size: 14px; font-weight: 700; color: var(--text-2); transition: color .25s }
.olink.main { color: var(--text); pointer-events: none } a.olink:hover { color: var(--accent) }
.bcard p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden }
.rd { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--accent) }
.tagpill { padding: 4px 11px; font-size: 12px }

.bcard.feat { grid-column: 1 / -1; flex-direction: row; margin-bottom: 0 }
.bcard.feat .bshot { flex: 1.15; aspect-ratio: auto; min-height: 340px; border-bottom: 0; border-right: 1px solid var(--border-soft) }
.bcard.feat .bbody { flex: 1; justify-content: center; padding: clamp(26px, 4vw, 56px) }
.bcard.feat h3 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08 }
.bcard.feat p { font-size: 17px; -webkit-line-clamp: 4 }
.bcard.feat .rd { margin-top: 8px }
#blog-feature:not(:empty) { margin-bottom: clamp(16px, 2vw, 24px) }

/*═══ HOME · COURSES TEASER + CONTACT ═══════════════════════════════*/
.teaser { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 64px); overflow: hidden }
.teaser::after { content: ""; position: absolute; right: -10%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 65%); pointer-events: none; z-index: 0 }
.teaser h2 { font-size: clamp(32px, 4.8vw, 54px); margin: 14px 0 16px; text-wrap: balance }
.teaser p { color: var(--text-2); max-width: 46ch; margin-bottom: 28px }
.minis { display: grid; gap: 12px }
.mini { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius-md); background: var(--surface-2); border: 1px solid var(--border); transition: .4s var(--ease) }
.mini b { display: block; font-family: var(--font-display); font-size: 17px; line-height: 1.25 } .mini small { color: var(--text-3); font-size: 13px; font-weight: 600 }
.mini .go { margin-left: auto; color: var(--text-3); transition: transform .35s var(--ease), color .3s } .mini:hover .go { transform: translateX(5px); color: var(--accent) }
.mini.spot { border-radius: var(--radius-md) } .mini.spot:hover { transform: translateX(4px) }
.cicon { width: 52px; height: 52px; flex: none; border-radius: 15px; display: grid; place-items: center; color: var(--accent); background: var(--accent-wash); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent) }
.cicon.sm { width: 44px; height: 44px; border-radius: 13px }
.cicon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round }

.contact-card { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(30px, 5vw, 72px); padding: clamp(28px, 5vw, 64px); border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); position: relative; overflow: hidden }
.contact-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 80% at 0% 0%, var(--accent-wash), transparent 70%), radial-gradient(40% 70% at 100% 100%, color-mix(in srgb, var(--accent-3) 12%, transparent), transparent 70%); pointer-events: none }
.contact-card > * { position: relative }
.contact-copy h2 { font-size: clamp(34px, 5.4vw, 62px); margin: 14px 0 18px; text-wrap: balance }
.contact-copy p { color: var(--text-2); max-width: 44ch; margin-bottom: 28px }
.mail { display: inline-flex; align-items: center; gap: 14px; max-width: 100%; padding: 16px 22px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--bg-2); font-family: var(--font-display); font-weight: 700; font-size: clamp(16px, 2.1vw, 21px); transition: .35s var(--ease) }
.mail span:first-child { overflow: hidden; text-overflow: ellipsis }
.mail .go { color: var(--accent); transition: transform .35s var(--ease) }
.mail:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 16px 34px -18px var(--accent) } .mail:hover .go { transform: translate(3px, -3px) }
.contact-soc h3 { font-family: var(--font-body); font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px }
.soc-list { display: grid; gap: 10px }
.soc-list a { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface-2); font-weight: 700; transition: .35s var(--ease) }
.soc-list a .go { margin-left: auto; color: var(--text-3); transition: .35s var(--ease) }
.soc-list a:hover { border-color: var(--accent); transform: translateX(6px) } .soc-list a:hover .go { color: var(--accent); transform: translate(2px, -2px) }

/*═══ LISTING PAGES · HEADER ════════════════════════════════════════*/
.pagehead { padding-top: clamp(124px, 17vh, 170px); padding-bottom: clamp(28px, 4vw, 48px); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap }
.pagehead h1 { font-size: clamp(42px, 7vw, 84px); line-height: 1; letter-spacing: -.04em; margin: 16px 0 18px; text-wrap: balance; max-width: 16ch }
.pagehead p { color: var(--text-2); font-size: clamp(16px, 1.7vw, 19px); max-width: 52ch }
.headstats { display: flex; gap: 12px }
.headstats div { min-width: 110px; padding: 16px 20px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface) }
.headstats b { display: block; font-family: var(--font-display); font-size: 32px; line-height: 1; letter-spacing: -.03em }
.headstats small { color: var(--text-3); font-size: 12.5px; font-weight: 600 }
.list-sec { padding-bottom: clamp(48px, 8vw, 90px) }
.after-sec { padding-bottom: clamp(24px, 4vw, 40px) }

/*═══ COURSES ═══════════════════════════════════════════════════════*/
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px) }
.ccard { display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 34px); scroll-margin-top: 110px; transition-delay: calc(var(--i, 0) * 70ms) }
.ccard:target { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-wash) }
.ccard .cicon { margin-bottom: 22px }
.cmeta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px }
.cstatus { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3) }
.cstatus.open { color: var(--accent-3) }
.ccard h3 { font-size: clamp(23px, 2.3vw, 28px); margin-bottom: 12px }
.ccard > p { color: var(--text-2); font-size: 15.5px; margin-bottom: 20px }
.ticks { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; padding-top: 20px; border-top: 1px solid var(--border-soft) }
.ticks li { position: relative; padding-left: 28px; font-size: 14.5px; font-weight: 500; line-height: 1.5 }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: var(--accent-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2335B8FF' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent) }
.cact { margin-top: auto } .cact .btn { width: 100% }

.hero-mini { text-align: left }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); counter-reset: s }
.step { padding: clamp(24px, 3vw, 34px); counter-increment: s }
.step::before { content: "0" counter(s); display: block; font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -.04em; margin-bottom: 18px; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent }
.step h3 { font-size: 22px; margin-bottom: 8px } .step p { color: var(--text-2); font-size: 15.5px }
.faq { max-width: 820px; display: grid; gap: 12px }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); transition: border-color .3s }
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)) }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; font-family: var(--font-display); font-weight: 700; font-size: 18px }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); font: 500 20px/1 var(--font-body); color: var(--accent); transition: transform .35s var(--ease), background .3s }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent-wash) }
.faq details p { padding: 0 24px 22px; color: var(--text-2); max-width: 64ch }

/*═══ 404 ═══════════════════════════════════════════════════════════*/
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 140px var(--gutter) 60px }
.nf .code { font-family: var(--font-display); font-weight: 800; letter-spacing: -.06em; line-height: .85; font-size: clamp(110px, 24vw, 260px) }
.nf h1 { font-size: clamp(26px, 4vw, 40px); margin: 14px 0 12px } .nf p { color: var(--text-2); max-width: 40ch; margin: 0 auto 28px }
.nf .actions { justify-content: center }

/*═══ RESPONSIVE ════════════════════════════════════════════════════*/
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; min-height: 0; text-align: center; padding-top: clamp(112px, 15vh, 140px) }
  .hero h1, .lede { margin-inline: auto } .hero .actions, .proof { justify-content: center }
  .hero-visual { max-width: 500px; order: 2 }
  .pgrid, .bgrid, .cgrid { grid-template-columns: repeat(2, 1fr) }
  .steps { grid-template-columns: 1fr } .teaser, .contact-card { grid-template-columns: 1fr }
  .stats { grid-template-columns: repeat(2, 1fr) } .stats > div:nth-child(2) { border-right: 0 } .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--border-soft) }
  .bcard.feat { flex-direction: column } .bcard.feat .bshot { min-height: 0; aspect-ratio: 1200 / 630; border-right: 0; border-bottom: 1px solid var(--border-soft) }
}
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr } .bcell.build, .bcell.where { grid-column: auto } .bcell { min-height: 0 }
  .pgrid, .bgrid, .cgrid { grid-template-columns: 1fr } .headstats { width: 100% } .headstats div { flex: 1; min-width: 0 }
  .hv-chip.h2 { left: 0 } .actions .btn { flex: 1 1 auto }
}
@media (max-width: 480px) { .hv-card figcaption { padding: 9px 12px; font-size: 14px } .hv-card small { display: none } .thumbs img:nth-child(3) { display: none } .thumbs img { width: 46% } .mail { padding: 14px 18px } }

/*═══ PHONES & TABLETS · SWIPE DECK (What we do · Featured · Blog) ══
  js/pages.js turns those three card groups into a stacked deck at ≤1020px.
  Drag/swipe the front card away, or use the arrows and dots.            */
.deck-ctl { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 8px }
.deck-ctl[hidden] { display: none }
.dk-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border); background: var(--glass-strong); backdrop-filter: blur(10px); font-size: 22px; line-height: 1; transition: .3s var(--ease) }
.dk-btn:hover, .dk-btn:active { border-color: var(--accent); color: var(--accent); transform: scale(1.06) }
.dk-mid { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 92px }
.dk-dots { display: flex; gap: 6px }
.dk-dots button { width: 7px; height: 7px; padding: 0; border-radius: 99px; background: var(--border); transition: width .45s var(--ease), background .3s }
.dk-dots button[aria-current="true"] { width: 24px; background: linear-gradient(90deg, var(--accent), var(--accent-2)) }
.dk-count { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--text-3); font-variant-numeric: tabular-nums }
.dk-hint { text-align: center; font-size: 12px; font-weight: 600; color: var(--text-3); margin-top: 12px; letter-spacing: .04em }
.dk-hint[hidden] { display: none }

@media (max-width: 1020px) {
  .deck-on { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; max-width: 520px; margin-inline: auto; padding-bottom: 50px; touch-action: pan-y; -webkit-user-select: none; user-select: none; outline: none }
  .deck-on > .deck-card { grid-area: 1 / 1 / 2 / 2 !important; min-height: 0 !important; transform-origin: 50% 100%; transform: var(--t); opacity: var(--o);
    transition: transform .65s cubic-bezier(.2, .85, .25, 1), opacity .5s ease, border-color .3s, box-shadow .3s; transition-delay: 0s !important; will-change: transform; touch-action: pan-y; cursor: grab }
  .deck-on > .deck-card:active { cursor: grabbing }
  .deck-on > .deck-card:hover { transform: var(--t); box-shadow: var(--shadow) }
  .deck-on > .deck-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--bg); opacity: var(--shade, 0); pointer-events: none; z-index: 5 }
  .deck-on img { -webkit-user-drag: none; user-select: none }
  .deck-on .pcard p, .deck-on .bcard p { -webkit-line-clamp: 3 }
  .sec { padding-block: clamp(44px, 9vw, 72px) }
  .deck-on > .bcell { min-height: 0 }
}
@media (min-width: 1021px) { .deck-ctl, .dk-hint { display: none } }
