:root {
  color-scheme: light;
  --paper: #f9f7ee;
  --forest: #23382a;
  --moss: #455f43;
  --line: #d3d9be;
  --light: #e9edda;
  font: 100%/1.8 system-ui, "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--forest);
  background: var(--paper);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #a87039; outline-offset: 4px; }
.wrap { width: min(1100px, calc(100% - 3rem)); margin-inline: auto; }
.bar { border-bottom: 1px solid var(--line); }
.bar .wrap, footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: .9rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; text-decoration: none; }
.brand img { border-radius: 50%; }
nav { display: flex; flex-wrap: wrap; gap: .35rem 1.4rem; font-size: .95rem; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero, .introduction, .card-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.75rem, 6vw, 5rem); }
.hero { padding-block: clamp(3rem, 7vw, 6rem); }
.hero figure { border-radius: 49% 49% 1.25rem 1.25rem; overflow: hidden; border: 1px solid var(--line); }
.hero img { width: 100%; height: auto; }
h1, h2, h3 { font-family: "Songti TC", "Noto Serif TC", "PMingLiU", serif; line-height: 1.22; margin: 0 0 .7em; }
h1 { font-size: clamp(2.6rem, 6vw, 5.15rem); letter-spacing: -.04em; margin-bottom: .38em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); }
p { margin: 0 0 1.1em; }
.eyebrow { letter-spacing: .15em; font-size: .9rem; font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.8rem; }
.button, button {
  display: inline-block; padding: .58rem 1.15rem; border: 1px solid var(--forest);
  border-radius: 100px; font: inherit; font-weight: 650; text-decoration: none;
  color: var(--paper); background: var(--forest); cursor: pointer; text-align: center;
}
.button:hover, button:hover { background: var(--moss); color: var(--paper); }
.secondary { background: transparent; color: var(--forest); }
.band { background: var(--light); }
.section, .introduction, .card-layout { padding-block: clamp(3rem, 7vw, 5.5rem); }
.introduction { align-items: start; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.panel { border: 1px solid var(--line); background: #fffdf6; border-radius: 1.1rem; padding: clamp(1.2rem, 3.5vw, 2.3rem); }
.price strong { font-size: 1.4rem; }
.card-section { background: var(--forest); color: var(--paper); }
.card-section button { background: var(--light); color: var(--forest); }
.card-section button:hover { background: #fffdf6; }
.deck {
  display: grid; align-content: center; justify-items: center; min-height: 20rem; padding: 2rem;
  outline: 1px solid #a5b182; outline-offset: -10px; border: 1px solid #a5b182; border-radius: 1.2rem;
  background: #364e38; text-align: center;
}
.deck.revealed { background: var(--light); color: var(--forest); }
.deck p { margin-bottom: 0; }
.ornament { font-size: 2.6rem; color: #c9c894; }
.revealed .ornament { color: var(--moss); }
#listen-controls { margin-bottom: .75rem; }
summary { cursor: pointer; text-decoration: underline; text-underline-offset: .24em; }
details p { margin-top: .7rem; }
footer { border-top: 1px solid var(--line); }
footer p { margin: 0; }
@media (max-width: 700px) {
  .wrap { width: calc(100% - 2rem); }
  .hero, .introduction, .card-layout, .grid { grid-template-columns: 1fr; }
  .desktop { display: none; }
  .hero figure { max-width: 31rem; }
  .deck { min-height: 16rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
