/* Open Your Chakras — the course, on the member site. Foundations do the
   surfaces (opal squircle cards, control shape, tier paint); this file only
   lays them out. Everything is centered, balanced, and there is no footer. */
:root { --ink: var(--ywe-color-ink); --muted: var(--ywe-color-ink-muted); --press: .985; }
* { box-sizing: border-box }
html { color-scheme: light }
body { margin: 0; background: var(--ywe-color-parchment); color: var(--ink); font-family: var(--ywe-font-ui); -webkit-font-smoothing: antialiased; line-height: 1.6 }

.ck { width: min(640px, calc(100% - 32px)); margin: 0 auto; padding: 7.25rem 0 3rem; display: grid; gap: 22px }
@media (max-width: 760px) { .ck { padding: 5.25rem 0 calc(9rem + env(safe-area-inset-bottom)) } }

.ck-intro { text-align: center; display: grid; gap: 8px; justify-items: center }
.ck-eyebrow { margin: 0; text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 600; color: var(--muted) }
.ck-intro h1 { margin: 0; font-size: clamp(1.9rem, 5vw, var(--ywe-text-display)); line-height: 1.1; letter-spacing: -.035em; font-weight: 700; text-wrap: balance }
.ck-lede { margin: 0; max-width: 44ch; font-size: var(--ywe-text-md); color: var(--muted); text-wrap: pretty }

.ck-access { padding: 22px 22px 20px; text-align: center; display: grid; gap: 6px; justify-items: center; border: 1px solid var(--ywe-edge-opal); box-shadow: var(--ywe-shadow-opal-card) }
.ck-access h2 { margin: 2px 0 0; font-size: var(--ywe-text-xl); letter-spacing: -.03em; line-height: 1.2; text-wrap: balance }
.ck-access p { margin: 0; font-size: var(--ywe-text-sm); color: var(--muted); max-width: 40ch; text-wrap: pretty }
.ck-actions { display: grid; gap: 10px; width: min(100%, 320px); margin-top: 12px }
.ck-actions:empty { display: none }
.ck-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; width: 100%; padding: 12px 20px; border: 1px solid transparent; border-radius: var(--ywe-shape-control); corner-shape: var(--ywe-corner-control); background: var(--ywe-tier-paint, var(--ink)); color: var(--ywe-tier-ink, #fff); font: 600 var(--ywe-text-md) var(--ywe-font-ui); letter-spacing: -.01em; text-decoration: none; cursor: pointer; transition: transform var(--dur-quick, 160ms) var(--ease-out, ease-out), box-shadow var(--dur-quick, 160ms) var(--ease-out, ease-out) }
.ck-btn:hover { box-shadow: var(--ywe-shadow-hover) }
.ck-btn:active { transform: scale(var(--press)) }
.ck-btn.quiet { background: var(--ywe-surface-opal-control, #fff); color: var(--ink); border-color: var(--ywe-edge-control) }
.ck-btn:focus-visible, .ck-controls button:focus-visible, .ck-note:focus-visible { outline: 3px solid var(--ywe-color-focus); outline-offset: 3px }

.ck-room { display: grid; gap: 14px }
.ck-recording { padding: 10px 10px 18px; display: grid; gap: 14px; border: 1px solid var(--ywe-edge-opal); box-shadow: var(--ywe-shadow-opal-card) }
.ck-player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--ywe-shape-card-mobile); corner-shape: var(--ywe-corner-frame); background: #1a1712 }
.ck-player img { width: 100%; height: 100%; object-fit: cover; opacity: .6; filter: saturate(.7); display: block }
.ck-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0 }
.ck-status { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); white-space: nowrap; padding: 8px 14px; border-radius: var(--ywe-shape-control); corner-shape: var(--ywe-corner-control); background: rgba(255,255,255,.92); color: var(--ink); font-size: var(--ywe-text-sm); font-weight: 600; letter-spacing: -.01em; box-shadow: var(--ywe-shadow-compact) }
.ck-recording-copy { text-align: center; display: grid; gap: 4px; justify-items: center; padding: 0 12px }
.ck-recording-copy h2 { margin: 0; font-size: var(--ywe-text-xl); letter-spacing: -.03em; line-height: 1.2; text-wrap: balance }
.ck-recording-copy p { margin: 0; font-size: var(--ywe-text-sm); color: var(--muted); max-width: 40ch; text-wrap: pretty }

.ck-group { margin: 18px 0 0; text-align: center; font-size: var(--ywe-text-lg); letter-spacing: -.03em; line-height: 1.2; text-wrap: balance }
.ck-group-note { margin: -8px 0 2px; text-align: center; font-size: var(--ywe-text-sm); color: var(--muted); text-wrap: balance }
.ck-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px }
@media (max-width: 480px) { .ck-cards { grid-template-columns: 1fr } }

.ck-card { --hue: #87b19b; padding: 10px 12px 12px; display: grid; gap: 4px; justify-items: center; text-align: center; border: 1px solid var(--ywe-edge-opal); box-shadow: var(--ywe-shadow-opal-card) }
.ck-card[data-art="1"] { --hue: #c25c53 } .ck-card[data-art="2"] { --hue: #d98a4a } .ck-card[data-art="3"] { --hue: #c9a63e }
.ck-card[data-art="4"] { --hue: #87b19b } .ck-card[data-art="5"] { --hue: #5b9fc2 } .ck-card[data-art="6"] { --hue: #6d6bb8 } .ck-card[data-art="7"] { --hue: #9b73b7 }
.ck-cover { width: 100%; height: 96px; display: grid; place-items: center; border-radius: var(--ywe-shape-card-mobile); corner-shape: var(--ywe-corner-frame); background: radial-gradient(ellipse at 20% 0%, rgba(255,255,255,.35), transparent 65%), color-mix(in srgb, var(--hue) 78%, #fff) ; margin-bottom: 6px }
.ck-cover img { width: 56px; height: 56px; filter: brightness(1.15) saturate(.6); opacity: .9 }
.ck-card-title { margin: 0; font-size: var(--ywe-text-md); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; text-wrap: balance }
.ck-card-sub { margin: 0; font-size: var(--ywe-text-sm); color: var(--muted); line-height: 1.4; text-wrap: balance }
.ck-seek { position: relative; height: 16px; width: 100%; display: flex; align-items: center; cursor: pointer; margin-top: 6px }
.ck-rule { background: var(--ywe-color-border); border-radius: 2px; height: 2px; width: 100%; display: block; overflow: hidden }
.ck-fill { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 2px }
.ck-seek input { position: absolute; inset: 0; width: 100%; margin: 0; opacity: 0; cursor: pointer }
.ck-times { display: flex; justify-content: space-between; width: 100%; font-size: var(--ywe-text-xs); color: var(--ywe-color-ink-faint); font-variant-numeric: tabular-nums }
.ck-controls { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 2px; color: var(--ink) }
.ck-controls button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; display: grid; place-items: center; padding: 0; border-radius: var(--ywe-shape-icon); corner-shape: var(--ywe-corner-icon); transition: transform var(--dur-quick, 160ms) var(--ease-out, ease-out), background var(--dur-quick, 160ms) var(--ease-out, ease-out) }
.ck-skip { width: 34px; height: 34px; color: var(--muted) }
.ck-skip svg { width: 17px; height: 17px }
.ck-skip:hover { background: var(--ywe-surface-opal-control, rgba(0,0,0,.05)) }
.ck-play { width: 44px; height: 44px; background: var(--ywe-tier-paint, var(--ink)); color: var(--ywe-tier-ink, #fff) }
.ck-play:hover { box-shadow: var(--ywe-shadow-hover) }
.ck-play:active { transform: scale(var(--press)) }
.ck-play svg { width: 18px; height: 18px }
.ck-card.soon .ck-seek, .ck-card.soon .ck-times, .ck-card.soon .ck-controls { display: none }
.ck-card.soon .ck-cover { filter: saturate(.45) }
.ck-soon { margin: 8px 0 2px; padding: 5px 12px; border-radius: var(--ywe-shape-control); corner-shape: var(--ywe-corner-control); background: var(--ywe-surface-opal-control, #fff); border: 1px solid var(--ywe-edge-control); font-size: var(--ywe-text-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }

.ck-notes { display: grid; gap: 10px }
.ck-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; text-decoration: none; color: inherit; border: 1px solid var(--ywe-edge-opal); box-shadow: var(--ywe-shadow-subtle); transition: box-shadow var(--dur-quick, 160ms) var(--ease-out, ease-out), transform var(--dur-quick, 160ms) var(--ease-out, ease-out) }
.ck-note:hover { box-shadow: var(--ywe-shadow-hover); transform: translateY(-1px) }
.ck-note strong { display: block; font-size: var(--ywe-text-md); font-weight: 600; letter-spacing: -.02em }
.ck-note small { color: var(--muted); font-size: var(--ywe-text-xs) }
.ck-note svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--muted) }

.ck[data-state="locked"] .ck-room, .ck-room[hidden] { display: none }
@media (prefers-reduced-motion: reduce) { .ck-btn, .ck-note, .ck-controls button { transition: none } }

.ck-player-alt { margin: 0; text-align: center; font-size: var(--ywe-text-sm) }
.ck-player-alt a { color: var(--muted); text-underline-offset: .2em }
