:root {
  color-scheme: dark;
  --ink: #08151f;
  --panel: #0d1e2b;
  --white: #ecf3f2;
  --muted: #a4b8c3;
  --accent: #8ddad5;
  --line: rgba(176, 212, 222, .2);
  --serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--ink); color: var(--white); font-family: "Microsoft JhengHei", system-ui, sans-serif; line-height: 1.8; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 7px; }
.skip { position: absolute; left: 20px; top: -100px; z-index: 10; padding: 10px 20px; background: var(--ink); }
.skip:focus { top: 10px; }
.header { position: absolute; z-index: 2; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 26px 5%; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 13px; font: 22px/1.4 var(--serif); letter-spacing: .16em; }
.brand small { display: block; font: 9px/1.8 Georgia, serif; letter-spacing: .35em; margin-top: 4px; }
nav { display: flex; gap: 42px; font-size: 13px; letter-spacing: .15em; }
nav a, .text-link { transition: color .2s; }
nav a:hover, .text-link:hover { color: var(--accent); }
.header-cta { font-size: 12px; letter-spacing: .12em; border-bottom: 1px solid var(--accent); padding: 8px 0; }
.header-cta span { margin-left: 22px; }
.hero { position: relative; min-height: 860px; height: 100svh; max-height: 1150px; display: flex; align-items: center; overflow: hidden; }
.hero-art, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(5,17,28,.82), rgba(5,17,28,.36) 46%, transparent 74%), linear-gradient(0deg, var(--ink), transparent 28%); }
.hero-copy { position: relative; width: min(1340px, 86%); margin: 70px auto 0; }
.eyebrow, .section-meta { font-size: 10px; letter-spacing: .23em; color: var(--accent); }
.hero-copy > .eyebrow { margin-bottom: 32px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 6.5vw, 108px); line-height: 1.35; letter-spacing: .15em; margin-bottom: 8px; }
h1 span { display: block; margin-left: 1.05em; }
.english-title { font: 20px/1.8 Georgia, serif; letter-spacing: .62em; margin: 18px 0 22px; }
.hero-line { width: 55px; height: 1px; background: var(--accent); margin-bottom: 26px; }
.hero-tagline { font: 25px/1.8 var(--serif); letter-spacing: .12em; margin-bottom: 14px; }
.intro { font-size: 14px; color: #bfccd5; line-height: 2; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 50px; padding: 15px 27px; background: #b4e4df; color: #102832; font-size: 13px; letter-spacing: .12em; border: 1px solid #b4e4df; transition: background .2s, transform .2s; }
.button:hover { background: #d4f4ee; transform: translateY(-2px); }
.text-link { font-size: 12px; letter-spacing: .1em; }
.text-link span { margin-left: 16px; }
.hero-bottom { position: absolute; bottom: 28px; left: 7%; right: 7%; display: flex; justify-content: space-between; align-items: center; color: #a6bdc7; font: 9px/2 Georgia, serif; letter-spacing: .2em; }
.hero-bottom a { font: 11px/2 "Microsoft JhengHei", sans-serif; }
.hero-bottom a span { padding-left: 20px; }
.section { max-width: 1340px; margin: auto; padding: 90px 5% 100px; }
.section-meta { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 64px; color: #90aab8; }
.world-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12%; }
h2 { font: 400 clamp(30px, 3.1vw, 48px)/1.6 var(--serif); letter-spacing: .06em; margin-bottom: 25px; }
.accent { color: var(--accent); }
.world .eyebrow { margin-bottom: 24px; }
.quote { color: #90a7b5; margin-top: 38px; padding-left: 24px; border-left: 1px solid var(--accent); font: 16px/2 var(--serif); }
.world-story { font-size: 14px; color: var(--muted); }
.world-story p { margin-bottom: 24px; }
.star-mark { color: var(--accent); font-size: 40px; line-height: 1; display: block; margin-bottom: 27px; }
.coordinates { font: 9px/2 Georgia, serif; letter-spacing: .2em; border-top: 1px solid var(--line); padding-top: 18px; display: flex; justify-content: space-between; }
.classes { padding-top: 20px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 36px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { font-size: 13px; color: var(--muted); margin: 0; }
.class-art { overflow: hidden; height: clamp(280px, 36vw, 500px); background: var(--panel); border-top: 1px solid var(--line); }
.class-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 36%; }
.class-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.class-grid article { padding: 32px 30px 36px; border-right: 1px solid var(--line); }
.class-grid article:first-child { padding-left: 0; }
.class-grid article:last-child { border-right: 0; padding-right: 0; }
h3 { font: 400 27px/1.5 var(--serif); letter-spacing: .07em; margin-bottom: 18px; }
.class-grid article > p:not(.eyebrow), .chapters article p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 2; }
.role { display: block; color: var(--accent); font-size: 10px; letter-spacing: .09em; margin-top: 24px; }
.adventure { padding-top: 0; }
.adventure-layout { display: grid; grid-template-columns: .85fr 1.3fr; gap: 10%; }
.adventure-heading > p:not(.eyebrow) { color: var(--muted); font-size: 13px; }
.compass { margin-top: 48px; width: 132px; height: 132px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transform: rotate(15deg); }
.compass span { color: #8bb5c0; font: 110px/1 Georgia, serif; }
.chapters article { display: grid; grid-template-columns: 34px 1fr 12px; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.chapters article:first-child { padding-top: 0; }
.chapter-number { font: 15px/1.6 Georgia, serif; color: #6d899a; }
.chapters h3 { font-size: 24px; margin-bottom: 12px; }
.chapters p { margin-bottom: 0; }
.chapters .eyebrow { margin-bottom: 10px; }
.chapter-star { color: #69bdbf; font-size: 12px; }
.support { text-align: center; padding: 88px 24px 100px; border-block: 1px solid var(--line); background: radial-gradient(ellipse at 50% 100%, #16454b 0, #0c2635 42%, #091923 80%); }
.support img { margin: 0 auto 25px; }
.support .eyebrow { margin-bottom: 24px; }
.support h2 { font-size: clamp(28px, 3vw, 42px); }
.support p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.support .button { margin-top: 25px; }
.mobile-break { display: none; }
footer { max-width: 1340px; margin: auto; padding: 40px 5%; }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-top { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer-top .brand { font-size: 18px; }
.footer-bottom { padding-top: 24px; color: #97adba; font-size: 11px; letter-spacing: .05em; }
.footer-bottom p { margin-bottom: 0; }
@media (min-width: 1700px) { .hero-copy { width: 78%; } }
@media (max-width: 900px) {
  nav { gap: 24px; }
  .header-cta { display: none; }
  .hero { min-height: 800px; max-height: 980px; }
  .hero-art { object-position: 60% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,17,28,.8), rgba(5,17,28,.3)), linear-gradient(0deg, var(--ink), transparent 40%); }
  .world-layout { gap: 7%; }
  .class-grid article { padding-inline: 20px; }
  .adventure-layout { gap: 6%; }
}
@media (max-width: 600px) {
  .header { padding: 19px 6%; flex-wrap: wrap; gap: 20px; }
  .brand { font-size: 19px; }
  .brand img { width: 32px; height: 32px; }
  nav { width: 100%; justify-content: space-between; gap: 12px; font-size: 11px; padding-top: 9px; border-top: 1px solid var(--line); }
  .hero { height: auto; min-height: 880px; align-items: start; }
  .hero-art { object-position: 61% center; opacity: .68; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,17,28,.65), rgba(5,17,28,.1)), linear-gradient(0deg, var(--ink), transparent 50%); }
  .hero-copy { margin-top: 192px; width: 88%; }
  .hero-copy > .eyebrow { font-size: 8px; letter-spacing: .13em; margin-bottom: 30px; }
  h1 { font-size: 70px; letter-spacing: .14em; }
  h1 span { margin-left: .6em; }
  .english-title { font-size: 16px; letter-spacing: .5em; }
  .hero-tagline { font-size: 21px; }
  .intro { font-size: 13px; }
  .hero-actions { gap: 25px; }
  .button { padding: 14px 22px; gap: 32px; }
  .hero-bottom { left: 6%; right: 6%; bottom: 25px; }
  .hero-bottom > span:last-child, .hero-bottom > a { display: none; }
  .section { padding: 55px 6% 65px; }
  .section-meta { font-size: 9px; letter-spacing: .12em; margin-bottom: 40px; }
  .world-layout, .adventure-layout { grid-template-columns: 1fr; gap: 30px; }
  .world-story .star-mark { display: none; }
  .quote { margin-top: 26px; }
  h2 { font-size: 32px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 20px; }
  .class-art { height: auto; aspect-ratio: 1672 / 941; }
  .class-art img { object-position: center 30%; }
  .class-grid { grid-template-columns: 1fr; }
  .class-grid article, .class-grid article:first-child, .class-grid article:last-child { padding: 27px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .class-grid article:last-child { border-bottom: 0; }
  .class-grid h3 { margin-bottom: 10px; }
  .class-grid .role { margin-top: 16px; }
  .adventure { padding-top: 0; }
  .compass { display: none; }
  .chapters article { gap: 16px; grid-template-columns: 25px 1fr; }
  .chapter-star { display: none; }
  .chapters h3 { font-size: 23px; }
  .support { padding-block: 65px; }
  .support h2 { font-size: 26px; }
  .mobile-break { display: inline; }
  footer { padding: 30px 6%; }
  .footer-bottom { flex-direction: column; align-items: start; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
