/* Home page */
.hero { padding: 72px 0 80px; background:
  radial-gradient(900px 440px at 85% 5%, rgba(109, 65, 161, .10), transparent 70%),
  radial-gradient(700px 380px at 55% 40%, rgba(121, 134, 238, .14), transparent 70%),
  radial-gradient(700px 380px at 0% 100%, rgba(109, 65, 161, .08), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0 22px; font-size: clamp(46px, 7vw, 84px); letter-spacing: -0.035em; line-height: .98; }
.hero-lead { font-size: 20px; color: var(--ink-2); max-width: 540px; line-height: 1.55; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

.episode-card { display: block; text-decoration: none; color: var(--ink); background: #fff; border-radius: 26px; padding: 12px; box-shadow: var(--shadow-lift); transition: transform .25s; }
.episode-card:hover { transform: translateY(-3px); color: var(--ink); }
.screen { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(75% 95% at 50% 118%, #3B3F8F 0, #6C7FE6 30%, #8FC6FF 52%, #A8C8FF 72%, #B9C9FF 100%); }
.title-card { z-index: 1; text-align: center; color: #fff; text-shadow: 0 2px 18px rgba(58, 34, 104, .25); }
.title-card b { display: block; font-weight: 800; font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -0.02em; line-height: 1.05; }
.title-card small { display: block; font-size: clamp(13px, 1.3vw, 16px); font-weight: 500; opacity: .92; margin-top: 6px; }
.play { position: absolute; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; z-index: 2; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); transition: transform .2s; }
.episode-card:hover .play { transform: scale(1.08); }
.play svg { width: 26px; height: 26px; margin-left: 3px; }
.ring { position: absolute; border-radius: 50%; border: 10px solid rgba(214, 196, 255, .35); filter: blur(6px); }
.ring.r1 { width: 70%; aspect-ratio: 1; top: 48%; }
.ring.r2 { display: none; }
.episode-meta { display: flex; align-items: center; gap: 12px; padding: 14px 8px 6px; font-size: 15px; color: var(--ink-2); flex-wrap: wrap; }
.episode-meta strong { color: var(--ink); }

.section-title { margin-bottom: 30px; }
.doors { padding: 24px 0 40px; }
.door-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.door { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px 24px 24px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); color: var(--ink); }
.door h3 { font-size: 22px; margin: 20px 0 8px; display: flex; align-items: center; gap: 12px; }
.door-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.door-ico .ico { width: 22px; height: 22px; }
.door p { color: var(--ink-2); font-size: 16px; flex: 1; }
.door-go { font-weight: 700; color: var(--accent-ink); }
.door:hover .door-go span { margin-left: 4px; }
.door-go span { transition: margin .2s; }
.door-art { height: 132px; border-radius: 16px; background: var(--bg); padding: 16px; display: flex; gap: 10px; }

.wall-art .lane { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.wall-art i { display: block; height: 26px; border-radius: 7px; }
.wall-art .red i { background: var(--red-soft); border: 1.5px solid var(--red-line); }
.wall-art .wait i { background: #fff; border: 1.5px solid var(--line-2); }
.wall-art .green i { background: var(--green-soft); border: 1.5px solid var(--green-line); }
.door:hover .wall-art .wait i:first-child { transform: translateX(46px); background: var(--green-soft); border-color: var(--green-line); }
.wall-art i { transition: transform .6s cubic-bezier(.2, .8, .2, 1), background .6s; }

.news-art { flex-direction: column; gap: 7px; }
.news-art .row { display: flex; align-items: center; gap: 8px; height: 19px; }
.news-art b, .news-art em { width: 22px; height: 19px; border-radius: 6px; font-size: 11px; font-style: normal; font-weight: 800; display: grid; place-items: center; }
.news-art b { background: var(--deep); color: #fff; }
.news-art em { background: var(--soft); color: var(--deep); }
.news-art i { flex: 1; height: 9px; border-radius: 5px; background: var(--line-2); }
.news-art .row.off i { background: var(--line); }

.rules-art { justify-content: center; }
.rules-art .page { width: 56%; background: #fff; border: 1.5px solid var(--line-2); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 7px; }
.rules-art i { height: 8px; border-radius: 4px; background: var(--line); }
.rules-art i.g { background: var(--green-line); width: 80%; }
.rules-art i.r { background: var(--red-line); width: 65%; }

.how { padding: 72px 0 64px; }
.how .eyebrow { margin-bottom: 12px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.steps h3 { font-size: 18px; margin: 16px 0 8px; }
.steps p { font-size: 15.5px; color: var(--ink-2); margin: 0; }
.step-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--soft); color: var(--brand); display: grid; place-items: center; }
.step-ico .ico { width: 26px; height: 26px; }
.step-n { display: block; margin-top: 14px; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.steps h3 { margin-top: 4px !important; }
.t-green { color: var(--green); }
.t-red { color: var(--red); }
.human-note { margin: 26px 0 0; color: var(--ink-2); }

.fair { padding: 0; }
.fair-inner { background: radial-gradient(70% 90% at 70% 45%, #FFFFFF 0%, #F1EAFA 55%, #E7DDF5 100%); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.fair h2 { color: var(--ink); margin: 12px 0 14px; }
.fair p { margin: 0; font-size: 17.5px; }
.eyebrow.on-dark { color: #fff; }
.eyebrow.on-dark::before { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .2); }
.panel-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.panel-list li { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; padding: 16px 20px; color: #fff; font-weight: 600; font-size: 18px; }
.panel-list .dot { width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .18); }

.else { padding: 64px 0 0; }
.else-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.else-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.else-card h3 { font-size: 21px; margin-bottom: 10px; }
.else-card p { color: var(--ink-2); }
.else-card a { font-weight: 700; text-decoration: none; }

@media (max-width: 960px) {
  .hero { padding: 40px 0 48px; }
  .hero-grid, .fair-inner, .else-grid { grid-template-columns: 1fr; gap: 32px; }
  .door-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .fair-inner { padding: 32px 24px; border-radius: 22px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .hero-lead { font-size: 18px; }
}

/* Robyn in 3D */
.robyn-stage { position: relative; height: clamp(420px, 46vw, 600px); border-radius: 28px; overflow: hidden; touch-action: pan-y pinch-zoom;
  background: radial-gradient(60% 55% at 50% 42%, #FFFFFF 0%, #F1EAFA 55%, #E7DDF5 100%); box-shadow: inset 0 0 0 1px var(--line); }
.robyn-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s ease; }
.robyn-stage.ready canvas { opacity: 1; }
.robyn-stage { cursor: grab; user-select: none; -webkit-user-select: none; }
.robyn-stage.grabbing { cursor: grabbing; }
html.grabbing-robyn, html.grabbing-robyn * { cursor: grabbing !important; user-select: none; }
.grab-badge { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .9);
  color: var(--deep); border-radius: 999px; padding: 8px 14px 8px 10px; font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow); pointer-events: none; transition: opacity .4s; }
.grab-badge svg { width: 22px; height: 22px; color: var(--brand); }
.robyn-stage:not(.ready) .grab-badge { opacity: 0; }
.robyn-stage.touched .grab-text { display: none; }
.robyn-stage.touched .grab-badge { padding: 8px; }
.robyn-stage.no-3d { display: none; }
@media (max-width: 960px) { .robyn-stage { height: 440px; } }
.panel-list .member { display: grid; gap: 1px; line-height: 1.25; }
.panel-list .member b { font-weight: 700; font-size: 18px; }
.panel-list .member small { font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, .75); }
.board-note { margin: 12px 4px 0 !important; font-size: 14px !important; color: var(--ink-3); }

/* the board's team photo */
.board-photo { margin: 0; background: #fff; border-radius: 18px; padding: 12px 12px 6px; box-shadow: 0 14px 34px rgba(58, 34, 104, .18); transform: rotate(-1.5deg); }
.board-photo .photo { border-radius: 10px; overflow: hidden; background: radial-gradient(80% 90% at 50% 30%, #FFFFFF, #ECE4F7 60%, #DCCFF0); aspect-ratio: 880 / 470; }
.board-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.name-tags { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 10px 0 6px; }
.name-tags .tag { display: grid; line-height: 1.2; color: var(--ink); }
.name-tags b { font-size: 16px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.name-tags b i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.name-tags small { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.fair .board-note { margin: 18px 4px 0 !important; text-align: center; }
