@font-face { font-family: Omen; src: url(omen.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Poppins; font-weight: 300; src: url(poppins-light.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Poppins; font-weight: 400; src: url(poppins-regular.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Poppins; font-weight: 500; src: url(poppins-medium.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Poppins; font-weight: 600; src: url(poppins-semibold.woff2) format('woff2'); font-display: swap; }

:root { --ink: #1a1a1a; --body: #3c3c3c; --soft: #8a8a8a; --rule: #e6e6e6; --paper: #fff; --tint: #f2f2f2; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--body); font: 300 17px/1.65 Poppins, system-ui, sans-serif; }
a { color: inherit; }
img { max-width: 100%; }
.omen { font-family: Omen, Poppins, serif; font-weight: 400; color: var(--ink); letter-spacing: .02em; line-height: 1.05; margin: 0; }
.eyebrow { font-weight: 600; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--soft); margin: 0 0 10px; }
.lede { font-size: 18px; max-width: 640px; }

/* top bar */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
       padding: 12px 24px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.brand { font-family: Omen, Poppins, serif; font-size: 22px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.knot { font-size: 20px; }
.top nav { display: flex; gap: 22px; font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.top nav a { text-decoration: none; color: var(--body); }
.top nav a:hover { color: var(--ink); }
.top nav .ks { color: var(--ink); border-bottom: 2px solid var(--ink); }

/* the Kickstarter header */
.ksband { background: var(--ink); color: #d6d6d6; text-align: center; padding: 72px 24px 64px; }
.ksband .eyebrow { color: #9a9a9a; }
.ksband h1 { color: #fff; font-size: clamp(56px, 11vw, 120px); }
.ksband .lede { margin: 18px auto 30px; }
.ksband b { color: #fff; font-weight: 500; }
.btn { display: inline-block; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px;
       letter-spacing: .22em; text-transform: uppercase; padding: 20px 34px; border-radius: 10px; }
.btn:hover { background: #ececec; }

/* home */
.fan { display: flex; justify-content: center; padding: 56px 16px 100px; }
.fan img { width: clamp(62px, 17vw, 210px); margin: 0 calc(-1 * clamp(8px, 1.7vw, 18px)); border-radius: 3.75% / 2.19%; box-shadow: 0 14px 28px rgba(0,0,0,.2);
           transform: rotate(calc(var(--i) * 6deg)) translateY(calc(var(--i) * var(--i) * 9px)); }
.intro { text-align: center; max-width: 720px; margin: 0 auto; padding: 48px 24px 24px; }
.intro h2 { font-size: clamp(40px, 7vw, 64px); margin-bottom: 18px; }
.gates { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; max-width: 1080px; margin: 0 auto; padding: 40px 24px; }
.gate { display: block; text-decoration: none; background: var(--tint); border-radius: 16px; padding: 28px; transition: transform .2s; }
.gate:hover { transform: translateY(-3px); }
.gate h3 { font-size: 40px; margin-bottom: 10px; }
.gimg { aspect-ratio: 1; background: #fff; border-radius: 12px; overflow: hidden; margin-bottom: 22px; display: flex;
        align-items: center; justify-content: center; }
.gimg img { width: 100%; height: 100%; object-fit: contain; }
.gimg.peek { gap: 8px; padding: 24px; }
.gimg.peek img { width: 30%; margin: 0 -3%; height: auto; filter: drop-shadow(0 5px 7px rgba(0,0,0,.16)); }
.gimg.peek img:nth-child(odd) { transform: translateY(-14px); }
.more { font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.awards { background: var(--ink); text-align: center; padding: 56px 24px 64px; margin-top: 24px; }
.awards .eyebrow { color: #9a9a9a; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 56px; margin-top: 28px; }
.badges figure { margin: 0; width: 220px; }
.badges img { width: 100%; height: auto; }
.badges b { display: block; font-family: Omen, Poppins, serif; font-weight: 400; font-size: 40px; color: #c9a86a; margin-top: 10px; }
.badges figcaption { color: #d6d6d6; font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.home .foot { border-top: 0; }

/* card index */
.index { max-width: 1180px; margin: 0 auto; padding: 48px 24px; }
.index h1 { font-size: clamp(48px, 8vw, 80px); }
.index h2 { font-size: 34px; margin: 48px 0 18px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 22px 18px; }
.tile { text-decoration: none; text-align: center; font-size: 13px; font-weight: 400; }
.tile img { display: block; width: 100%; border-radius: 3.75% / 2.19%; box-shadow: 0 6px 14px rgba(0,0,0,.14); margin-bottom: 8px; transition: transform .2s; }
.tile:hover img { transform: translateY(-3px); }

/* the Majors as the Fool + Mind, Body, Spirit */
.mbs { display: grid; grid-template-columns: minmax(90px, 140px) 1fr; gap: 28px; align-items: center; }
.mbs-rows { display: flex; flex-direction: column; gap: 22px; }
.mbs-label { font-weight: 600; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--soft); margin: 0 0 8px; }
.mbs-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }

/* card page: list | card | text */
.wiki { display: grid; grid-template-columns: 230px minmax(260px, 380px) minmax(0, 1fr); gap: 40px; max-width: 1320px; margin: 0 auto; padding: 32px 24px 64px; }
.list nav { position: sticky; top: 78px; max-height: calc(100vh - 100px); overflow-y: auto; font-size: 14px; padding-right: 8px; }
.list summary { font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); cursor: pointer; padding: 8px 0; }
.list ul { list-style: none; margin: 0 0 8px; padding: 0; }
.list li a { display: block; padding: 3px 8px; border-radius: 6px; text-decoration: none; color: var(--body); }
.list li a:hover { background: var(--tint); }
.list li a[aria-current] { background: var(--ink); color: #fff; }
.listbtn { display: none; }
.cardcol .card { position: sticky; top: 90px; width: 100%; height: auto; border-radius: 3.75% / 2.19%; box-shadow: 0 18px 40px rgba(0,0,0,.22); }
.text { max-width: 620px; }
.text h1 { font-size: clamp(44px, 6vw, 72px); }
.sub { font-size: 20px; font-style: italic; color: var(--ink); margin: 8px 0 22px; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 32px; margin: 0 0 26px; padding: 16px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.facts dt { font-weight: 600; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); }
.facts dd { margin: 0; color: var(--ink); font-weight: 400; }
.desc { font-size: 18px; }
blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--ink); font-style: italic; color: var(--ink); font-size: 18px; }
.label { font-family: Poppins, sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--soft); margin: 34px 0 12px; }
.poem { font-size: 18px; line-height: 1.85; color: var(--ink); margin: 0; }
.kw { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kw li { background: var(--tint); border-radius: 999px; padding: 5px 14px; font-size: 14px; font-weight: 400; color: var(--ink); }
.onwheel { display: inline-block; margin-top: 30px; font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.pn { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 14px; }
.pn a { text-decoration: none; font-weight: 500; }

/* wheel */
.wheelpage { max-width: 1400px; margin: 0 auto; padding: 32px 16px 48px; }
.whead { max-width: 760px; margin: 0 auto 16px; text-align: center; }
.whead h1 { font-size: clamp(44px, 8vw, 80px); margin-bottom: 14px; }
.whead .lede { margin: 0 auto; }
.hint { color: var(--soft); font-size: 14px; font-style: italic; }
.wbox svg { width: 100%; height: auto; display: block; }
svg .fx { transition: opacity .15s ease; }
svg.focus .fx { opacity: .12; }
svg.focus .fx.on { opacity: 1; }
svg [data-card], svg [data-planet], svg [data-sign] { cursor: pointer; }
#tip { position: fixed; pointer-events: none; max-width: 340px; background: #ffffff; border: 1px solid var(--rule); border-radius: 12px;
       padding: 12px 14px; box-shadow: 0 8px 24px rgba(0,0,0,.14); font-size: 14px; line-height: 1.5; display: none; z-index: 30; }
#tip b, #held b { display: block; font-family: Omen, Poppins, serif; font-weight: 400; font-size: 20px; color: var(--ink); margin-bottom: 4px; }
#tip .sub, #held .sub { color: var(--soft); font-style: italic; margin-bottom: 6px; }
#tip .where, #held .where { font-weight: 500; color: var(--ink); margin-bottom: 4px; }
#held { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(460px, calc(100vw - 32px)); z-index: 30; }
#held .hin { position: relative; background: #ffffff; border: 1px solid var(--rule); border-radius: 14px; padding: 16px 44px 16px 18px;
             box-shadow: 0 12px 32px rgba(0,0,0,.2); font-size: 14px; line-height: 1.5; }
#held .open { display: inline-block; margin-top: 10px; font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
#held .x { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 24px; line-height: 1; color: var(--soft); cursor: pointer; padding: 4px; }

/* footer */
.foot { text-align: center; padding: 40px 24px 56px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--soft); }
.foot p { margin: 4px 0; }
.foot .fine { font-size: 12px; }

/* tablet: the list becomes a drawer */
@media (max-width: 1000px) {
  .wiki { grid-template-columns: minmax(220px, 340px) minmax(0, 1fr); gap: 32px; }
  .list { grid-column: 1 / -1; }
  .listbtn { display: inline-block; font: 600 12px Poppins, sans-serif; letter-spacing: .2em; text-transform: uppercase; background: var(--tint);
             border: 0; border-radius: 999px; padding: 10px 18px; color: var(--ink); cursor: pointer; }
  .list nav { display: none; position: static; max-height: 60vh; margin-top: 12px; border: 1px solid var(--rule); border-radius: 12px; padding: 8px 12px; }
  .list.open nav { display: block; }
}
/* phone */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top { padding: 10px 16px; }
  .top nav { gap: 14px; font-size: 11px; letter-spacing: .08em; }
  .top nav .ks { display: none; }
  .top nav .long { display: none; }
  .brand { font-size: 18px; }
  .ksband { padding: 52px 16px 48px; }
  .wiki { grid-template-columns: 1fr; padding: 20px 16px 48px; gap: 24px; }
  .cardcol { max-width: 300px; margin: 0 auto; }
  .cardcol .card { position: static; }
  .gates, .index, .intro { padding-left: 16px; padding-right: 16px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 16px 10px; }
  .badges figure { width: 170px; }
  .mbs { grid-template-columns: 1fr; gap: 18px; }
  .mbs-fool { width: 30%; margin: 0 auto; }
  .mbs-grid { gap: 6px; }
  .mbs-grid .tile span { display: none; }
  .fan { padding-bottom: 56px; }
  .fan img { width: 22vw; margin: 0 -2.4vw; }
  .tile { font-size: 11px; }
  .wheelpage { padding: 24px 8px 120px; }
}
