/*
  The home page: ten scenes, most of them pinned while you scroll through
  them. home.js writes each scene's progress into custom properties:
  --p runs 0 to 1 across the scene, --e eases in over its first stretch,
  --s is 1 until a passing scene is in view and then falls to 0, and --f
  fans the workshop hand. Every rule reads those properties, so without
  script (or with reduced motion) the defaults below leave a plain,
  complete page. The pinned versions only apply under .is-live, which
  home.js sets when motion is allowed.
*/

.home {
  --m: 1;
  margin-top: calc(-1 * var(--nav-h));
}

.home h2,
.home h3 {
  text-wrap: balance;
}

.stage {
  position: relative;
  box-sizing: border-box;
}

.home.is-live [data-sec="pin"] > .stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: clip;
}

.home.is-live [data-slot] {
  opacity: 0;
}

/* ---------- 01 hero ---------- */

.hero {
  --p: 0;
}

.home.is-live .hero {
  height: 190vh;
}

.hero__stage {
  min-height: 100vh;
  min-height: 100svh;
  overflow: clip;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(76px, 12vh, 100px) 20px clamp(12px, 3vh, 40px);
  text-align: center;
}

.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 50% 46%, rgba(212, 171, 58, 0.13), transparent 70%),
    radial-gradient(ellipse 30% 25% at 50% 60%, rgba(224, 112, 58, 0.08), transparent 70%);
  opacity: calc(1 - var(--p));
}

/* The painted glyphs drift, shy away from the pointer, and spin when
   clicked (home.js writes --fx, --fy and --fr), then scatter on scroll. */
.float {
  position: absolute;
  height: auto;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 10px 22px rgba(4, 2, 12, 0.75)) drop-shadow(0 0 22px rgba(212, 171, 58, 0.16));
  transform:
    translate(calc(var(--fx, 0) * 1px + var(--p) * var(--tx) * 1vw * var(--m)), calc(var(--fy, 0) * 1px + var(--p) * var(--ty) * 1vh * var(--m)))
    rotate(calc(var(--fr, 0) * 1deg + var(--p) * var(--r) * 1deg));
  opacity: calc(1 - var(--p) * 1.3);
}

.hero__kicker,
.hero__title,
.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__kicker {
  font-size: clamp(11px, 1vw, 13px);
  margin-bottom: clamp(8px, 2vh, 18px);
  opacity: calc(1 - var(--p) * 3);
}

.hero__title {
  margin: 0;
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero__open {
  display: block;
  font-size: clamp(18px, min(2.6vw, 4.5vh), 40px);
  letter-spacing: calc(0.6em + var(--p) * 1.4em);
  text-indent: calc(0.6em + var(--p) * 1.4em);
  color: var(--ink-3);
  opacity: calc(1 - var(--p) * 2.2);
  margin-bottom: 0.3em;
}

.hero__word {
  display: flex;
  justify-content: center;
  font-size: clamp(40px, min(11vw, 14vh), 190px);
  letter-spacing: 0.02em;
  filter: drop-shadow(0 1px 0 rgba(92, 64, 12, 0.9)) drop-shadow(0 8px 18px rgba(212, 171, 58, 0.22));
}

.hero__word span,
.gather__title span {
  display: inline-block;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__word span {
  transform: translate(calc(var(--p) * var(--tx) * 1vw * var(--m)), calc(var(--p) * var(--ty) * 1vh * var(--m))) rotate(calc(var(--p) * var(--r) * 1deg));
  opacity: calc(1 - var(--p) * 1.3);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 2.6vh, 22px);
  margin-top: clamp(16px, 4vh, 34px);
  max-width: 640px;
  opacity: calc(1 - var(--p) * 3);
  transform: translateY(calc(var(--p) * 60px));
}

.hero__lede {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(15px, min(1.5vw, 3vh), 21px);
  line-height: 1.5;
  color: var(--ink-3);
  text-wrap: pretty;
}

/* Three buttons are wider than the lede: let the row run past it. */
.hero .dl {
  width: max-content;
  max-width: calc(100vw - 40px);
  margin-top: 0;
  justify-content: center;
}

.hero__fine {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.hero__cue {
  margin-top: clamp(8px, 3vh, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: calc(0.7 - var(--p) * 4);
}

.hero__cue span {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted);
}

.hero__cue i {
  width: 1px;
  height: 4vh;
  background: linear-gradient(180deg, var(--gold), transparent);
}

/* ---------- 02 manifesto ---------- */

.home.is-live .manifesto {
  height: 240vh;
}

.manifesto__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px clamp(20px, 6vw, 100px);
}

.home.is-live .manifesto__stage {
  padding-block: 0;
}

.manifesto__inner {
  max-width: 1100px;
}

.manifesto__kicker {
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.manifesto__text {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 4.4vw, 68px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.manifesto__text [data-w] {
  display: inline-block;
  transition: color 0.3s;
}

.manifesto__text .is-key,
.home.is-live .manifesto__text .is-key.is-lit {
  color: var(--gold-lit);
}

.home.is-live .manifesto__text .is-key {
  color: var(--ink);
}

/* ---------- the trailer ---------- */

.trailer {
  position: relative;
  padding: 80px clamp(20px, 6vw, 100px) 100px;
}

.trailer__inner {
  max-width: 1040px;
  margin: 0 auto;
}

.trailer__head {
  margin-bottom: 26px;
  text-align: center;
}

.trailer__head h2 {
  margin-top: 10px;
  font-size: clamp(24px, 2.6vw, 36px);
  letter-spacing: 0.04em;
}

.trailer__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(212, 171, 58, 0.35);
  background: #04020c;
  box-shadow: 0 24px 70px rgba(4, 2, 12, 0.85), 0 0 40px rgba(212, 171, 58, 0.1);
}

.trailer__play,
.trailer__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.trailer__play {
  display: block;
}

.trailer__play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.9);
  transition: filter 220ms ease, transform 400ms ease;
}

.trailer__play:hover img,
.trailer__play:focus-visible img {
  filter: brightness(0.7) saturate(1);
  transform: scale(1.015);
}

.trailer__btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(64px, 8vw, 96px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, var(--gold-pale), var(--gold));
  box-shadow: var(--glow-gold), 0 10px 30px rgba(4, 2, 12, 0.7);
  transition: transform 220ms ease;
}

.trailer__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.9em 0 0.9em 1.5em;
  border-color: transparent transparent transparent var(--gold-ink);
  font-size: clamp(12px, 1.4vw, 17px);
}

.trailer__play:hover .trailer__btn,
.trailer__play:focus-visible .trailer__btn {
  transform: translate(-50%, -50%) scale(1.08);
}

.trailer__fine {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- 03 three ways to play ---------- */

.ways {
  --p: 0;
}

.home.is-live .ways {
  height: 360vh;
}

.ways__stage {
  overflow: clip;
  display: flex;
  flex-direction: column;
  padding: 100px clamp(20px, 6vw, 100px);
}

.home.is-live .ways__stage {
  justify-content: center;
  padding: clamp(72px, 12vh, 100px) clamp(20px, 6vw, 100px) clamp(20px, 5vh, 48px);
}

.ways__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 55% 50% at 70% 50%, rgba(212, 171, 58, 0.14), transparent 70%);
}

.ways__wash--violet {
  background: radial-gradient(ellipse 55% 50% at 30% 55%, rgba(118, 92, 210, 0.2), transparent 70%);
}

.ways__wash--ember {
  background: radial-gradient(ellipse 55% 50% at 60% 60%, rgba(224, 112, 58, 0.15), transparent 70%);
}

.home:not(.is-live) .ways__wash--violet,
.home:not(.is-live) .ways__wash--ember {
  display: none;
}

.ways__head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 40px;
}

.ways__head .eyebrow {
  margin-bottom: 10px;
}

.ways__head h2 {
  font-size: clamp(22px, 2.4vw, 34px);
  letter-spacing: 0.04em;
}

.ways__head p {
  margin: 0;
  max-width: 380px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-4);
}

.ways__slots {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin: 56px 0;
}

.home.is-live .ways__slots {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  margin: clamp(12px, 3vh, 24px) 0;
}

.home.is-live .mode {
  grid-area: 1 / 1;
}

.mode {
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 64px);
}

.mode__text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(6px, 1.8vh, 22px);
}

.mode__tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ember);
}

.mode__title {
  font-size: clamp(28px, min(6vw, 8.5vh), 120px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  max-width: 22ch;
}

.mode p {
  margin: 0;
  max-width: 620px;
  font-family: var(--serif);
  font-size: clamp(14px, min(1.5vw, 2.6vh), 21px);
  line-height: 1.45;
  color: var(--ink-3);
  text-wrap: pretty;
}

.mode__sigil {
  flex: none;
  position: relative;
  width: clamp(70px, min(18vw, 26vh), 300px);
  aspect-ratio: 1;
}

.mode__ring {
  position: absolute;
  inset: -8%;
  width: 116%;
  max-width: none;
  opacity: 0.35;
  transform: rotate(calc(var(--p) * 300deg));
}

.mode__glyph {
  position: absolute;
  inset: 14%;
  width: 72%;
  filter: drop-shadow(0 14px 30px rgba(4, 2, 12, 0.8)) drop-shadow(0 0 30px rgba(212, 171, 58, 0.25));
}

.ways__foot {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home.is-live .ways__foot {
  padding-right: clamp(56px, 6vw, 90px);
}

.ways__foot p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-4);
}

.ways__ticks {
  display: none;
  gap: 10px;
  flex-wrap: wrap;
}

.home.is-live .ways__ticks {
  display: flex;
}

.tick {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212, 171, 58, 0.5);
  opacity: 0.35;
  transition: opacity 0.3s;
  font-size: 13px;
  color: var(--ink-bright);
}

.tick b {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  color: var(--gold);
}

/* ---------- 04 the table ---------- */

.reveal {
  --p: 1;
  --e: 1;
}

.home.is-live .reveal {
  height: 260vh;
}

.reveal__stage {
  overflow: clip;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
}

.home.is-live .reveal__stage {
  padding: 0;
}

.reveal__ghost {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(52px, 12vw, 210px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 171, 58, 0.45);
}

.home.is-live .reveal__ghost {
  display: flex;
}

.reveal__ghost-a {
  transform: translateX(calc(var(--e) * -70vw * var(--m)));
}

.reveal__ghost-b {
  transform: translateX(calc(var(--e) * 70vw * var(--m)));
}

.reveal__shot {
  position: relative;
  width: min(1400px, 92vw, calc((100vh - 230px) * 16 / 9));
  transform: scale(calc(0.34 + var(--e) * 0.66)) rotateX(calc((1 - var(--e)) * 22deg));
  transform-origin: 50% 60%;
}

.home:not(.is-live) .reveal__shot {
  width: min(1200px, 92vw);
}

.reveal__desk {
  display: block;
  width: 100%;
  border-radius: calc(28px - var(--e) * 18px);
  border: 1px solid rgba(107, 99, 148, 0.35);
  box-shadow: 0 30px 90px rgba(4, 2, 12, 0.8), 0 0 60px rgba(212, 171, 58, 0.12);
}

.reveal__phone {
  position: absolute;
  right: -3%;
  bottom: -8%;
  width: 19%;
  border-radius: 18px;
  border: 1px solid rgba(107, 99, 148, 0.4);
  box-shadow: 0 24px 60px rgba(4, 2, 12, 0.85);
  opacity: calc(var(--e) * 3 - 2);
  transform: translateY(calc((1 - var(--e)) * 200px));
}

.reveal__caption {
  width: calc(100% - 40px);
  max-width: 720px;
  margin-top: 80px;
  text-align: center;
  padding: 14px 22px;
  border-radius: 12px;
  background: rgba(13, 11, 28, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(107, 99, 148, 0.25);
}

.home.is-live .reveal__caption {
  position: absolute;
  left: 50%;
  bottom: 4vh;
  margin: 0;
  transform: translateX(-50%);
  opacity: calc(var(--p) * 3 - 1.6);
}

.reveal__caption .eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  margin-bottom: 6px;
}

.reveal__caption p {
  margin: 0;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-3);
}

/* ---------- 05 features ---------- */

.features {
  --p: 0;
}

.home.is-live .features {
  height: 420vh;
}

.features__stage {
  padding: 100px 0;
}

.home.is-live .features__stage {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(14px, 3.5vh, 40px);
  padding: clamp(76px, 13vh, 130px) 0 0;
}

.features__head {
  padding: 0 clamp(20px, 6vw, 100px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.features__head .eyebrow {
  margin-bottom: 10px;
}

.features__head h2 {
  font-size: clamp(28px, min(5vw, 8vh), 76px);
  line-height: 1;
}

.features__progress {
  display: none;
  width: min(240px, 40vw);
  height: 2px;
  background: rgba(107, 99, 148, 0.3);
  border-radius: 2px;
  overflow: hidden;
}

.home.is-live .features__progress {
  display: block;
}

.features__progress i {
  display: block;
  height: 100%;
  width: calc(var(--p) * 100%);
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-pale));
}

.features__track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
  padding: 0 clamp(20px, 6vw, 100px);
}

.home.is-live .features__track {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  width: max-content;
  margin-top: 0;
  will-change: transform;
}

.home.is-live .feat {
  flex: none;
  width: clamp(270px, 30vw, 420px);
}

/* Cards tilt toward the pointer and catch a sheen where it sits (home.js
   writes --rx, --ry, --sx, --sy, --sheen and --lift). */
.feat {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(280px circle at var(--sx, 50%) var(--sy, 0%), rgba(244, 224, 166, calc(var(--sheen, 0) * 0.16)), transparent 62%),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform 320ms var(--spring);
  will-change: transform;
}

.feat::before,
.feat::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: calc(16px + var(--sheen, 0) * 8px);
  height: calc(16px + var(--sheen, 0) * 8px);
  border: 0 solid rgba(244, 224, 166, 0.7);
  pointer-events: none;
  transition: width 260ms var(--spring), height 260ms var(--spring);
}

.feat::before {
  top: 8px;
  left: 8px;
  border-top-width: 1px;
  border-left-width: 1px;
}

.feat::after {
  bottom: 8px;
  right: 8px;
  border-bottom-width: 1px;
  border-right-width: 1px;
}

.feat__scene {
  position: relative;
  height: 170px;
  overflow: hidden;
  background: var(--bg-deep);
}

.home.is-live .feat__scene {
  height: min(19vh, calc(clamp(270px, 30vw, 420px) * 9 / 16));
}

.feat__scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1.04 + var(--sheen, 0) * 0.06));
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.feat__scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 11, 28, 0) 40%, rgba(21, 18, 41, 0.95));
}

.feat__scene span {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 16px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold-pale);
  text-shadow: 0 1px 6px rgba(4, 2, 12, 0.9);
}

.feat__medal {
  position: relative;
  z-index: 2;
  width: 84px;
  height: 84px;
  margin: -44px 0 0 20px;
}

.feat__medal::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 40%, #302853, var(--bg-deep) 75%);
}

.feat__medal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.feat__medal .feat__glyph {
  inset: 19%;
  width: 62%;
  height: 62%;
  object-fit: contain;
  transform: scale(calc(1 + var(--sheen, 0) * 0.12));
  transition: transform 320ms var(--spring);
}

.feat__body {
  padding: clamp(8px, 1.6vh, 14px) 26px clamp(16px, 3vh, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feat__body h3 {
  font-size: 21px;
  color: var(--gold-pale);
}

.feat__body p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(14px, 2.4vh, 16px);
  line-height: 1.5;
  color: var(--ink-3);
  text-wrap: pretty;
}

/* ---------- 06 how it works ---------- */

.how {
  --p: 0;
}

.home.is-live .how {
  height: 320vh;
}

.how__stage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px clamp(24px, 5vw, 80px);
  padding: 100px clamp(20px, 6vw, 100px);
}

.home.is-live .how__stage {
  overflow: clip;
  align-content: safe center;
  gap: clamp(8px, 2vh, 24px) clamp(24px, 5vw, 80px);
  padding: clamp(84px, 14vh, 110px) clamp(20px, 6vw, 100px) 24px;
}

.how__left {
  flex: 1 1 300px;
  min-width: 0;
  position: relative;
}

.how__left .eyebrow {
  margin-bottom: 14px;
}

.how__left h2 {
  margin: 0 0 clamp(8px, 2vh, 20px);
  font-size: clamp(26px, min(3.6vw, 6.5vh), 54px);
  line-height: 1.05;
}

.how__sigil {
  position: relative;
  width: clamp(120px, 30vh, 340px);
  aspect-ratio: 1;
}

.how__ring,
.how__rose {
  position: absolute;
  max-width: none;
}

.how__ring {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.28;
  transform: rotate(calc(var(--p) * -240deg));
}

.how__rose {
  inset: 16%;
  width: 68%;
  height: 68%;
  opacity: 0.22;
  transform: rotate(calc(var(--p) * 540deg));
}

.how__num {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(70px, 17vh, 220px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold-lit);
  text-shadow: 0 0 40px rgba(212, 171, 58, 0.3);
}

.home.is-live .how__num {
  display: flex;
}

.how__steps {
  flex: 1 1 340px;
  min-width: 0;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
  counter-reset: step;
}

.home.is-live .how__steps {
  display: block;
  height: clamp(200px, 34vh, 340px);
}

.how__step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-increment: step;
}

.home.is-live .how__step {
  position: absolute;
  inset: 0;
  justify-content: center;
}

.home:not(.is-live) .how__step::before {
  content: counter(step);
  font-family: var(--display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-lit);
}

.how__step b {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 2.8vw, 42px);
  letter-spacing: 0.02em;
  color: var(--gold-pale);
}

.how__step p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.6;
  color: var(--ink-3);
  text-wrap: pretty;
}

/* ---------- 07 comparison ---------- */

.compare {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 100px clamp(20px, 6vw, 100px) 120px;
}

.compare__inner {
  width: 100%;
  max-width: 880px;
}

.compare__title {
  margin-bottom: 28px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 36px);
  letter-spacing: 0;
}

.compare__frame {
  border-radius: 14px;
  overflow-x: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(233, 230, 244, 0.08) inset, 0 14px 36px rgba(4, 2, 12, 0.4);
}

.compare__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.compare__table th,
.compare__table td {
  padding: 14px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(107, 99, 148, 0.14);
}

.compare__table tbody tr:last-child > * {
  border-bottom: 0;
}

.compare__table thead th {
  padding-block: 16px;
  border-bottom-color: var(--line);
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.compare__table thead th:first-child {
  color: var(--muted);
}

.compare__table tbody tr:hover {
  background: rgba(212, 171, 58, 0.05);
}

.compare__table tbody th {
  width: 40%;
  font-weight: 400;
  font-size: 15px;
  color: var(--ink-2);
}

.compare__table td {
  font-family: var(--mono);
  font-size: 13px;
  white-space: nowrap;
}

.compare__table td::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin: -2px 10px 0 0;
}

.compare__table .yes {
  color: var(--gold-pale);
}

.compare__table .yes::before {
  width: 7px;
  height: 7px;
  background: var(--gold-lit);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(212, 171, 58, 0.6);
}

.compare__table .no {
  color: var(--muted);
}

.compare__table .no::before {
  width: 7px;
  height: 1px;
  background: var(--faint);
}

.compare__table .opt {
  color: var(--ember-lit);
}

.compare__table .opt::before {
  width: 7px;
  height: 7px;
  border: 1px solid var(--ember);
  transform: rotate(45deg);
}

/* ---------- suggested setup ---------- */

.starter {
  position: relative;
  padding: 40px clamp(20px, 6vw, 100px) 120px;
}

.starter__inner {
  max-width: 980px;
  margin: 0 auto;
}

.starter__head {
  max-width: 700px;
  margin: 0 auto 36px;
  text-align: center;
}

.starter__head h2 {
  margin: 10px 0 16px;
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: 0.04em;
}

.starter__head p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ink-3);
  text-wrap: pretty;
}

.starter__plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 28px 26px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.plan__tag {
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.plan h3 {
  margin: 0;
  font-size: 22px;
  color: var(--gold-pale);
}

.plan p {
  flex: 1;
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-3);
}

.plan b {
  color: var(--ink-bright);
}

.starter__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.starter__steps li {
  counter-increment: step;
}

.starter__steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-lit);
  text-shadow: 0 0 20px rgba(212, 171, 58, 0.3);
}

.starter__steps b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--gold-pale);
}

.starter__steps p {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-3);
}

.starter__cta {
  margin-top: 40px;
}

.starter__fine {
  max-width: 640px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 900px) {
  .starter__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .starter__plans,
  .starter__steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- 08 workshop ---------- */

.workshop {
  --p: 0.5;
  --f: 1;
  position: relative;
  padding: 80px clamp(20px, 6vw, 100px) 140px;
  overflow: clip;
}

.workshop__inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px 60px;
  align-items: center;
}

.workshop__text {
  flex: 1 1 320px;
  min-width: 0;
}

.workshop__text .eyebrow {
  margin-bottom: 14px;
}

.workshop__text h2 {
  margin: 0 0 20px;
  font-size: clamp(34px, 4.4vw, 66px);
  line-height: 1;
}

.workshop__word {
  display: inline-block;
  letter-spacing: calc(0.02em + (1 - var(--p)) * 0.3em);
}

.workshop__text p {
  margin: 0;
  max-width: 440px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-3);
  text-wrap: pretty;
}

.hand {
  position: relative;
  height: clamp(170px, 17vw, 240px);
  margin-top: clamp(28px, 5vh, 56px);
  max-width: 520px;
}

.hand__slot {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: clamp(84px, 8.5vw, 132px);
  transform-origin: 50% 130%;
  transform: translateX(-50%) translateX(calc(var(--f) * var(--x) * 1%)) translateY(calc(var(--f) * var(--y) * 1px)) rotate(calc(var(--f) * var(--r) * 1deg));
}

.hand__slot:hover {
  z-index: 20 !important;
}

.pcard {
  position: relative;
  aspect-ratio: 384 / 541;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(calc(var(--lift, 0px) * 3));
  transition: transform 320ms var(--spring);
  filter: drop-shadow(0 18px 28px rgba(4, 2, 12, 0.75));
}

.pcard::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 8px;
  background: radial-gradient(160px circle at var(--sx, 50%) var(--sy, 0%), rgba(255, 246, 218, 0.22), transparent 62%);
  opacity: var(--sheen, 0);
  transition: opacity 180ms;
  mix-blend-mode: screen;
}

.pcard__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pcard__art {
  position: absolute;
  left: 15%;
  top: 12%;
  width: 70%;
  height: 50%;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(43, 32, 8, 0.8);
}

.pcard span {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 67%;
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(9px, 0.85vw, 13px);
  letter-spacing: 0.1em;
  color: var(--gold-white);
  text-shadow: 0 1px 3px rgba(4, 2, 12, 0.9);
}

.workshop__shots {
  flex: 1.6 1 460px;
  min-width: 0;
  position: relative;
  padding-bottom: 18%;
}

.workshop__shots img {
  border-radius: 12px;
  border: 1px solid rgba(107, 99, 148, 0.35);
}

.workshop__hub {
  display: block;
  width: 88%;
  box-shadow: 0 24px 70px rgba(4, 2, 12, 0.8);
  transform: translateY(calc((var(--p) - 0.5) * 120px * var(--m))) rotate(-1.5deg);
}

.workshop__studio {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62%;
  border-color: rgba(212, 171, 58, 0.35) !important;
  box-shadow: 0 24px 70px rgba(4, 2, 12, 0.85), 0 0 40px rgba(212, 171, 58, 0.1);
  transform: translateY(calc((var(--p) - 0.5) * -160px * var(--m))) rotate(2deg);
}

/* ---------- 09 gather your party ---------- */

.gather {
  --s: 0;
  position: relative;
  padding: 120px 20px 140px;
  overflow: clip;
  text-align: center;
}

.gather__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 50% at 50% 55%, rgba(224, 112, 58, 0.12), transparent 70%),
    radial-gradient(ellipse 35% 35% at 50% 45%, rgba(212, 171, 58, 0.12), transparent 70%);
}

.gather__seal {
  position: relative;
  width: clamp(72px, 7vw, 110px);
  aspect-ratio: 1;
  margin: 0 auto 18px;
  transform: scale(calc(1 + var(--s) * 2.6)) rotate(calc(var(--s) * -120deg));
  opacity: calc(1 - var(--s) * 1.4);
  filter: drop-shadow(0 10px 24px rgba(4, 2, 12, 0.8)) drop-shadow(0 0 26px rgba(212, 171, 58, 0.3));
}

.gather__seal img {
  width: 100%;
  height: 100%;
}

.gather__title {
  position: relative;
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.3em;
  font-size: clamp(44px, 8.5vw, 140px);
  line-height: 1;
  filter: drop-shadow(0 8px 18px rgba(212, 171, 58, 0.22));
}

.gather__title span {
  transform: translate(calc(var(--s) * var(--tx) * 1vw * var(--m)), calc(var(--s) * var(--ty) * 1vh * var(--m))) rotate(calc(var(--s) * var(--r) * 1deg));
  opacity: calc(1 - var(--s));
}

.gather__lede {
  position: relative;
  max-width: 520px;
  margin: 0 auto 34px;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink-3);
}

.gather__cta {
  position: relative;
  margin-bottom: 40px;
}

.gather .chips {
  position: relative;
  margin-top: 0;
}

/* ---------- small screens ---------- */

@media (max-width: 640px) {
  /* Only the glyphs that stay clear of the copy, and smaller. */
  .float {
    width: 44px !important;
  }

  .float:nth-of-type(1),
  .float:nth-of-type(2),
  .float:nth-of-type(5),
  .float:nth-of-type(7),
  .float:nth-of-type(8) {
    display: none;
  }

  .mode {
    gap: 14px;
  }

  .hand {
    height: 150px;
  }

  .hand__slot {
    width: 64px;
  }

  .pcard span {
    font-size: 7px;
  }

  .workshop__shots {
    flex-basis: 100%;
  }
}
