/* Curious Pathways — inner pages (Watch, Shop). Same palette and type as the home belt. */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg: #0a0a0c; --bg-2: #131318; --bg-3: #1b1b22; --line: rgba(255,255,255,.1);
  --text: #fff; --muted: rgba(255,255,255,.6); --faint: rgba(255,255,255,.34);
  --corner: 14px; --gutter: clamp(20px, 4vw, 56px);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
html { background: var(--bg); color-scheme: dark; }
body { margin: 0; min-height: 100vh; color: var(--text); font-family: var(--sans);
  background: radial-gradient(130% 70% at 72% 0%, #16161c 0%, var(--bg) 55%, #050506 100%) fixed;
  -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid rgba(255,255,255,.7); outline-offset: 3px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px var(--gutter);
  background: linear-gradient(to bottom, rgba(10,10,12,.92), rgba(10,10,12,.72));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 16px; letter-spacing: .02em;
  color: #fff; text-decoration: none; white-space: nowrap; }
.brand .rule { width: 34px; height: 1px; background: rgba(255,255,255,.5); }
.brand .mark { width: 32px; height: 32px; margin-right: -2px; border-radius: 50%; display: block; flex: none; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.nav a, .nav button { color: rgba(255,255,255,.82); text-decoration: none; font-size: 14px; font-weight: 500;
  letter-spacing: .01em; transition: color .2s; background: none; border: 0; padding: 0; cursor: pointer; }
.nav a:hover, .nav button:hover, .nav a[aria-current="page"] { color: #fff; }
.nav .count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px;
  border-radius: 10px; background: #fff; color: #0a0a0c; font-size: 11px; font-weight: 600; }
@media (max-width: 720px) {
  .top { padding: 16px 20px; }
  .brand { font-size: 14px; gap: 10px; } .brand .rule { display: none; } .brand .mark { width: 28px; height: 28px; }
  .nav .hide-sm { display: none; }
}

/* ---------- page heading ---------- */
.hero { padding: clamp(48px, 9vh, 96px) var(--gutter) 28px; max-width: 1280px; margin: 0 auto; }
.eyebrow { margin: 0 0 14px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; color: var(--faint); }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 340; letter-spacing: -.015em;
  font-size: clamp(34px, 5vw, 64px); line-height: 1.08; text-wrap: balance; max-width: 16ch; }
.hero p.lead { margin: 18px 0 0; max-width: 56ch; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 var(--gutter); max-width: 1280px; margin: 8px auto 28px; }
.chip { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 16px;
  font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s; }
.chip:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.chip[aria-pressed="true"] { background: #fff; color: #0a0a0c; border-color: #fff; }

/* ---------- card grid (same card language as the belt) ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  padding: 0 var(--gutter) 80px; max-width: 1280px; margin: 0 auto; }
.tile { position: relative; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 100px; }
.tile__media { color: inherit; text-decoration: none; display: block; position: relative; aspect-ratio: 1 / 1.34; border-radius: var(--corner); overflow: hidden; background: var(--bg-2);
  box-shadow: 0 40px 80px -24px rgba(0,0,0,.72), 0 8px 24px -10px rgba(0,0,0,.6);
  transition: transform .34s cubic-bezier(.22,.61,.36,1), box-shadow .34s ease; border: 0; padding: 0; width: 100%; cursor: pointer; text-align: left; }
.tile__media:hover, .tile.-flash .tile__media { transform: scale(1.025);
  box-shadow: 0 52px 100px -24px rgba(0,0,0,.8), 0 10px 30px -10px rgba(0,0,0,.7); }
.tile.-flash .tile__media { outline: 2px solid rgba(255,255,255,.75); outline-offset: 4px; }
.tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile__scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(4,4,6,.95) 0%, rgba(4,4,6,.62) 26%, rgba(4,4,6,.1) 50%, rgba(4,4,6,0) 66%); }
.tile__foot { position: absolute; left: 16px; right: 14px; bottom: 15px; }
.tile__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.12; letter-spacing: -.005em;
  text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.tile__meta { margin: 7px 0 0; font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.tile__badge { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; background: rgba(10,10,12,.7); backdrop-filter: blur(6px); }
.tile__play { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -40px 0 0 -29px; border-radius: 50%;
  background: rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.35);
  display: grid; place-items: center; transition: background .2s; }
.tile__media:hover .tile__play { background: rgba(255,255,255,.26); }
.tile__play::before { content: ''; margin-left: 4px; border-left: 15px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.tile__body { display: flex; flex-direction: column; gap: 12px; }
.tile__blurb { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.tile__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-family: var(--serif); font-size: 22px; font-weight: 400; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 11px 20px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em; cursor: pointer; border: 1px solid #fff; background: #fff; color: #0a0a0c;
  text-decoration: none; transition: background .2s, color .2s, transform .1s; white-space: nowrap; }
.btn:hover { background: rgba(255,255,255,.86); }
.btn:active { transform: scale(.97); }
.btn.-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn.-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn.-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- about / prose ---------- */
.band { max-width: 1280px; margin: 0 auto; padding: 72px var(--gutter); border-top: 1px solid var(--line);
  display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); scroll-margin-top: 80px; }
.band h2 { margin: 0; font-family: var(--serif); font-weight: 340; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.01em; }
.band p { margin: 0 0 14px; color: var(--muted); line-height: 1.65; font-size: 15px; }

.foot { max-width: 1280px; margin: 0 auto; padding: 28px var(--gutter) 40px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--faint); font-size: 12px; letter-spacing: .08em; }
.foot a { color: var(--muted); text-decoration: none; } .foot a:hover { color: #fff; }

/* ---------- overlays: video player + cart drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(5,5,6,.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.-open { opacity: 1; pointer-events: auto; }

.player { position: fixed; inset: 0; z-index: 41; display: grid; place-items: center; padding: 20px; pointer-events: none; }
.player__box { width: min(1100px, 100%); pointer-events: auto; opacity: 0; transform: translateY(12px) scale(.98);
  transition: opacity .25s, transform .3s cubic-bezier(.22,.61,.36,1); }
.player.-open .player__box { opacity: 1; transform: none; }
.player:not(.-open) .player__box { pointer-events: none; }
.player__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--corner); overflow: hidden;
  box-shadow: 0 60px 120px -30px rgba(0,0,0,.9); }
.player__frame iframe, .player__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 18px; }
.player__bar h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 2.4vw, 28px); }
.player__bar p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: min(420px, 100%); background: var(--bg-2);
  border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%);
  transition: transform .34s cubic-bezier(.22,.61,.36,1); }
.drawer.-open { transform: none; box-shadow: -40px 0 80px -20px rgba(0,0,0,.7); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 24px; }
.drawer__list { flex: 1; overflow-y: auto; padding: 8px 24px; }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 56px; height: 75px; object-fit: cover; border-radius: 8px; }
.line h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 16px; line-height: 1.2; }
.line .sub { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; margin-top: 8px; }
.qty button { width: 28px; height: 28px; background: none; border: 0; cursor: pointer; color: var(--muted); font-size: 15px; }
.qty button:hover { color: #fff; }
.qty span { min-width: 22px; text-align: center; font-size: 13px; }
.line .amt { font-size: 14px; font-weight: 500; align-self: start; }
.drawer__empty { color: var(--muted); padding: 40px 0; text-align: center; line-height: 1.6; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer__total span:first-child { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.drawer__note { margin: 0; font-size: 12px; color: var(--faint); line-height: 1.5; }
.drawer__note.-ok { color: #9fe3b4; }
.close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer;
  font-size: 18px; line-height: 1; color: var(--muted); flex: none; }
.close:hover { color: #fff; border-color: rgba(255,255,255,.3); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 50; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: #fff; color: #0a0a0c; padding: 12px 18px; border-radius: 999px; font-size: 13px; font-weight: 600;
  transition: opacity .2s, transform .25s; max-width: calc(100vw - 32px); }
.toast.-show { opacity: 1; transform: translate(-50%, 0); }

body.-locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .tile__media, .drawer, .player__box, .scrim, .toast { transition: none; }
}

/* ---------- footer disclaimer ---------- */
.foot__legal { flex-basis: 100%; margin: 0 0 8px; max-width: 80ch; color: var(--faint); font-size: 12px; line-height: 1.6; letter-spacing: .01em; }

/* ---------- option picker (sizes) ---------- */
.select { appearance: none; -webkit-appearance: none; background: transparent; color: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 34px 10px 16px; font: 500 13px var(--sans); cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.select option { background: var(--bg-2); }
.tile__actions { display: flex; gap: 8px; align-items: center; }

/* ---------- downloads: lock badge ---------- */
.tile__badge.-members { background: #fff; color: #0a0a0c; }
.tile__lock { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(10,10,12,.7); backdrop-filter: blur(6px); font-size: 14px; }

/* ---------- membership plans ---------- */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 880px;
  padding: 0 var(--gutter); margin: 0 auto 32px; }
.plan { position: relative; border: 1px solid var(--line); border-radius: 18px; padding: 28px; background: rgba(19,19,24,.7);
  display: flex; flex-direction: column; gap: 14px; }
.plan.-featured { border-color: rgba(255,255,255,.55); background: linear-gradient(160deg, #1d1d25, #131318); }
.plan__tag { position: absolute; top: -11px; left: 24px; padding: 4px 10px; border-radius: 999px; background: #fff; color: #0a0a0c;
  font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.plan h2 { margin: 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.plan__price { font-family: var(--serif); font-weight: 340; font-size: 48px; line-height: 1; }
.plan__price small { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-left: 4px; }
.plan__note { margin: 0; color: var(--muted); font-size: 14px; }
.plan__msg { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; min-height: 1em; }
.perks { max-width: 880px; margin: 0 auto 80px; padding: 0 var(--gutter); }
.perks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.perks li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; color: rgba(255,255,255,.82); font-size: 14.5px; line-height: 1.5; }
.perks li::before { content: '✓'; margin-right: 10px; color: #fff; }

/* ---------- legal page ---------- */
.prose { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter) 80px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 40px 0 12px; }
.prose p, .prose li { color: rgba(255,255,255,.74); line-height: 1.7; font-size: 15.5px; }
.prose a { color: #fff; }
.callout { border: 1px solid rgba(255,255,255,.3); border-radius: 14px; padding: 20px 22px; background: rgba(255,255,255,.04); }
.callout p { margin: 0; color: #fff; }

/* YouTube hqdefault thumbnails carry letterbox bars: zoom to crop them */
.tile__media img.-yt { transform: scale(1.34); }

/* ---------- book covers: show the whole cover, any shape ---------- */
.tile__media.-cover img:not(.tile__backdrop) { inset: 18px 18px 104px; width: calc(100% - 36px); height: calc(100% - 122px);
  object-fit: contain; filter: drop-shadow(0 18px 28px rgba(0,0,0,.6)); }
.tile__media.-cover .tile__backdrop { filter: blur(28px) saturate(1.2); transform: scale(1.3); opacity: .55; }
