@font-face { font-family: "Baloo2"; src: url("fonts/Baloo2.ttf") format("truetype"); font-weight: 400 800; font-display: swap; }

:root {
  --night: #2A2480; --ink: #1B1464; --cream: #FFF8E7; --mist: #F1F3F7;
  --sun: #FFC93C; --sky: #4CC3FF; --mint: #2ED3A0; --coral: #FF6B5B;
  --slate: #22263A; --slate-2: #4A5068; --line: #C9CEDA;
  --display: "Baloo2", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); line-height: 1.5; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; }
p { margin: 0; }
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* one language at a time, picked by <html data-lang> */
html[data-lang="en"] .l-zh, html[data-lang="zh"] .l-en { display: none; }

:focus-visible { outline: 4px solid var(--sky); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 9; padding: 10px 16px; border-radius: 12px; background: var(--sun); color: var(--ink); font-weight: 700; }
.skip:focus { top: 12px; }

/* header + hero */
.top { background: var(--night); color: #fff; padding-bottom: 72px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 30px; }
.nav-right { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-right > a { color: #fff; font-weight: 700; padding: 12px 14px; text-decoration: none; border-radius: 12px; }
.nav-right > a:hover { background: rgba(255,255,255,.12); }
.lang { display: flex; gap: 4px; padding: 4px; margin-left: 8px; border-radius: 999px; background: var(--ink); }
.pill { border: 0; border-radius: 999px; padding: 10px 18px; min-height: 44px; font: 700 15px var(--body); cursor: pointer; background: transparent; color: inherit; }
.lang .pill { color: #fff; }
.lang .pill[aria-pressed="true"] { background: var(--sun); color: var(--ink); }

.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; align-items: center; margin-top: 56px; }
.hero h1 { font-weight: 800; font-size: clamp(40px, 5vw, 64px); }
.hero-text { display: flex; flex-direction: column; gap: 18px; }
.hero-text p { font-size: 20px; max-width: 520px; color: #E9E7FF; }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.door { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 200px; padding: 24px; border-radius: 28px;
        border: 4px solid var(--ink); box-shadow: 0 8px 0 var(--ink); color: var(--ink); text-decoration: none; transition: transform .15s ease; }
.door-playful { background: var(--sun); }
.door-calm { background: #fff; }
.door:hover { transform: translateY(-3px); }
.door strong { display: block; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.05; }
.door small { display: block; font-weight: 700; font-size: 15px; }

/* filter pill sits on the header edge */
.filter { display: flex; gap: 6px; flex-wrap: wrap; width: fit-content; margin-top: -26px; padding: 6px; border-radius: 999px; background: #fff; border: 3px solid var(--ink); position: relative; }
.filter .pill { font-size: 16px; padding: 10px 20px; color: var(--ink); }
.filter .pill[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* sections */
.zone { padding: 56px 0 64px; }
.zone[hidden] { display: none; }
.zone-calm { background: var(--mist); border-top: 4px solid var(--ink); color: var(--slate); }
.zone-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.zone-head > div { display: flex; flex-direction: column; gap: 4px; }
.zone-head h2 { font-weight: 800; font-size: 44px; }
.zone-head p { max-width: 440px; font-size: 17px; }
.eyebrow { font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.zone-playful .eyebrow { color: #8A3A00; }
.zone-calm .eyebrow { color: #0E6B52; }

.grid { display: grid; gap: 28px; }
.grid-playful { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid-calm { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }

.card { text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.card h3 { font-weight: 800; }
.card-play { display: flex; flex-direction: column; overflow: hidden; border: 4px solid var(--ink); border-radius: 28px; background: #fff; box-shadow: 0 6px 0 var(--ink); }
a.card-play:hover { transform: translateY(-4px); box-shadow: 0 10px 0 var(--ink); }
.card-play .art { display: flex; align-items: center; justify-content: center; height: 170px; border-bottom: 4px solid var(--ink); }
.card-play .body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex-grow: 1; }
.card-play h3 { font-size: 30px; }
.card-play p { font-size: 16px; flex-grow: 1; }
.open { display: flex; align-items: center; gap: 6px; font-weight: 800; }

.card-calm { display: flex; gap: 20px; align-items: flex-start; padding: 24px; border: 2px solid var(--line); border-radius: 20px; background: #fff; }
a.card-calm:hover { border-color: var(--ink); transform: translateY(-2px); }
.card-calm .tile { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 16px; }
.card-calm .body { display: flex; flex-direction: column; gap: 8px; flex-grow: 1; min-width: 0; }
.card-calm .row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card-calm h3 { font-weight: 700; font-size: 24px; }
.host { font-size: 13px; font-weight: 700; color: var(--slate-2); white-space: nowrap; }
.is-soon { opacity: .8; }

.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tag-ink { background: var(--ink); color: #fff; }
.tag-line { background: var(--cream); border: 2px solid var(--ink); }
.tag-mint { background: #E3F6EF; color: #0E6B52; }
.tag-mist { background: #EEF0F5; color: var(--slate); }
.tag-soon { background: var(--sun); color: var(--ink); width: fit-content; }

.soon-slot { display: flex; align-items: center; gap: 16px; padding: 24px; }
.soon-slot strong { display: block; font-family: var(--display); font-weight: 800; font-size: 22px; }
.soon-slot span span { font-size: 15px; }
.soon-slot-playful { flex-direction: column; justify-content: center; text-align: center; min-height: 280px; border: 4px dashed #B9A77A; border-radius: 28px; color: #5C4A1E; }
.soon-slot-calm { border: 2px dashed #9AA1B5; border-radius: 20px; color: var(--slate-2); }

.foot { background: var(--ink); color: #E9E7FF; padding: 40px 0; font-size: 15px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot b { font-family: var(--display); font-size: 20px; color: #fff; }

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .top { padding-bottom: 52px; }
  .brand { font-size: 24px; }
  .nav-right > a { display: none; }
  .hero { margin-top: 28px; gap: 28px; }
  .door { min-height: 0; gap: 14px; padding: 16px; border-radius: 22px; }
  .door strong { font-size: 22px; }
  .zone { padding: 36px 0 44px; }
  .zone-head h2 { font-size: 34px; }
  .grid-playful, .grid-calm { grid-template-columns: 1fr; }
  .card-play .art { height: 132px; }
  .card-play h3 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .door { transition: none; }
  a.card-play:hover, a.card-calm:hover, .door:hover { transform: none; }
}
