/* ==========================================================================
   洛阳逻辑思围围棋培训 — 站点样式
   设计：宣纸底 / 墨黑字 / 朱砂点 / 棋盘线
   ========================================================================== */

:root {
  --ink: #15140f;
  --ink-2: #3d3a33;
  --ink-3: #6a6459;
  --paper: #fbf8f1;
  --paper-2: #f4ede0;
  --paper-3: #ece2cf;
  --line: #ded3bf;
  --line-2: #cdbea4;
  --accent: #07796f;
  --accent-2: #055f58;
  --jade: #02a18f;
  --gold: #8a6a2f;

  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --wrap-narrow: 780px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(21, 20, 15, 0.04), 0 10px 30px -18px rgba(21, 20, 15, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image: radial-gradient(circle at 12% 0%, rgba(169, 133, 66, 0.07), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(51, 87, 78, 0.06), transparent 40%);
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
}

h3 {
  font-size: 1.16rem;
}

p {
  margin: 0 0 1.1em;
}

a {
  color: var(--accent-2);
  text-decoration-color: rgba(7, 121, 111, 0.4);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  margin: 0 0 1.2em;
  padding-left: 1.35em;
}

li {
  margin-bottom: 0.45em;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 3rem 0;
}

::selection {
  background: rgba(2, 161, 143, 0.18);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- 布局 ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap--narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section--tint {
  background: linear-gradient(180deg, rgba(244, 237, 224, 0.9), rgba(251, 248, 241, 0.4));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--ink {
  background: var(--ink);
  color: rgba(251, 248, 241, 0.82);
  background-image: radial-gradient(circle at 80% 10%, rgba(169, 133, 66, 0.16), transparent 45%);
}

.section--ink h2,
.section--ink h3 {
  color: var(--paper);
}

.section--ink a {
  color: #8edbd0;
}

.section--ink strong {
  color: var(--paper);
}

.section--ink .kicker {
  color: var(--jade);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.lede {
  font-size: 1.06rem;
  color: var(--ink-3);
  max-width: 62ch;
}

.center {
  text-align: center;
}

.center .lede {
  margin-inline: auto;
}

.grid {
  display: grid;
  gap: 22px;
}

/* ---------- 页头 ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 241, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 46px;
  height: 46px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand__sub {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  display: inline-block;
  padding: 9px 9px;
  font-size: 0.92rem;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 3px;
  position: relative;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(222, 211, 191, 0.35);
}

.nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 3px;
  height: 2px;
  background: var(--accent);
}

.head-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: 3px;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.head-cta:hover {
  background: var(--accent-2);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  background: transparent;
  border-radius: 3px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  padding: clamp(2.6rem, 6vw, 5rem) 0 clamp(2.4rem, 5vw, 4.2rem);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
}

.hero h1 {
  margin-bottom: 1.1rem;
  font-size: clamp(1.72rem, 3.5vw, 2.55rem);
  line-height: 1.42;
}

.br-wide {
  display: none;
}

@media (min-width: 981px) {
  .br-wide {
    display: inline;
  }
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-2);
  position: relative;
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.34em;
  background: rgba(2, 161, 143, 0.14);
  z-index: -1;
}

.hero__lead {
  font-size: 1.1rem;
  color: var(--ink-2);
  max-width: 34em;
  margin-bottom: 1.6rem;
}

.hero__art {
  position: relative;
}

.hero__art .board-svg {
  width: 100%;
  filter: drop-shadow(0 24px 40px rgba(58, 42, 18, 0.16));
  border-radius: 6px;
}

.hero__art figcaption {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  text-align: right;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 3px;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--accent-2);
  color: #fff;
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--line-2);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(21, 20, 15, 0.04);
  transform: translateY(-1px);
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
}

.btn--light:hover {
  background: #fff;
  color: var(--accent-2);
  transform: translateY(-1px);
}

/* ---------- 事实条 ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: clamp(2rem, 4vw, 3.2rem);
}

.facts > div {
  padding: 20px 22px 22px;
  border-right: 1px solid var(--line);
}

.facts > div:last-child {
  border-right: 0;
}

.facts dt {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 4px;
  font-weight: 600;
}

.facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--ink);
}

/* ---------- 卡片 ---------- */

.card {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card--flat {
  box-shadow: none;
  background: transparent;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature__num {
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 10px;
}

/* ---------- 课程表 ---------- */

.course {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.course:last-child {
  border-bottom: 1px solid var(--line);
}

.course__name {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink);
  margin: 0 0 6px;
}

.course__meta {
  font-size: 0.86rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  font-weight: 600;
}

.course__badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: #fff;
  background: var(--accent);
  border-radius: 2px;
  padding: 2px 7px;
  margin-left: 9px;
  vertical-align: 3px;
  font-weight: 500;
}

.course__body p {
  margin-bottom: 0.55em;
}

.course__body p:last-child {
  margin-bottom: 0;
}

.course__label {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- 步骤 ---------- */

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 54px;
  margin: 0;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--accent);
  border: 1px solid var(--line-2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  letter-spacing: 0.02em;
}

.steps strong {
  display: block;
  margin-bottom: 2px;
}

/* ---------- 引言 ---------- */

.pullquote {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  line-height: 1.8;
  color: var(--ink);
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 22px;
  margin: 2rem 0;
}

.pullquote cite {
  display: block;
  font-style: normal;
  font-size: 0.86rem;
  color: var(--ink-3);
  font-family: var(--sans);
  margin-top: 0.7rem;
}

/* ---------- 问答 ---------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  padding: 20px 40px 20px 0;
  font-family: var(--serif);
  font-size: 1.06rem;
  color: var(--ink);
  list-style: none;
  position: relative;
  font-weight: 600;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 31px;
  width: 9px;
  height: 9px;
  border-right: 1.6px solid var(--accent);
  border-bottom: 1.6px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq .answer {
  padding: 0 40px 22px 0;
  color: var(--ink-2);
}

.faq .answer p:last-child {
  margin-bottom: 0;
}

/* ---------- 页面头 ---------- */

.page-head {
  padding: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  margin-bottom: 0.5rem;
}

.crumb {
  font-size: 0.82rem;
  color: var(--ink-3);
  margin-bottom: 1.1rem;
}

.crumb a {
  color: var(--ink-3);
  text-decoration: none;
}

.crumb a:hover {
  color: var(--accent-2);
}

/* ---------- 名片 / 人物 ---------- */

.person {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 22px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.person:last-child {
  border-bottom: 1px solid var(--line);
}

.person__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--paper);
  background: radial-gradient(circle at 35% 30%, #4a4a52, #16161a 70%);
  border: 1px solid var(--line-2);
  letter-spacing: 0.05em;
}

.person__avatar--light {
  background: radial-gradient(circle at 35% 30%, #ffffff, #e4dbc8 80%);
  color: var(--ink);
}

.person__role {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}

.person h3 {
  margin-bottom: 0.4rem;
}

.person p {
  margin-bottom: 0.5em;
}

.person p:last-child {
  margin-bottom: 0;
}

/* ---------- 信息栏 ---------- */

.info-block {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 26px 26px 20px;
  border-radius: 3px;
}

.info-block h2,
.info-block h3 {
  font-size: 1.14rem;
}

.nap {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nap li {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
  font-size: 0.98rem;
}

.nap li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.nap dt,
.nap .label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
  padding-top: 3px;
}

.copy-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.phone-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quickfacts {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.quickfacts th {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 10px 8px 0;
  vertical-align: top;
  white-space: nowrap;
  border-bottom: 1px solid var(--paper-3);
}

.quickfacts td {
  padding: 8px 0;
  border-bottom: 1px solid var(--paper-3);
  color: var(--ink-2);
}

.quickfacts tr:last-child th,
.quickfacts tr:last-child td {
  border-bottom: 0;
}

.tel {
  font-family: var(--serif);
  font-size: 1.14rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.tel:hover {
  color: var(--accent-2);
}

.copy-btn {
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink-3);
  font-size: 0.78rem;
  padding: 3px 9px;
  border-radius: 2px;
  cursor: pointer;
  font-family: inherit;
}

.copy-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* ---------- 表单 ---------- */

.form-card {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 0.86rem;
  color: var(--ink-3);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: var(--paper);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.7;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hint {
  font-size: 0.82rem;
  color: var(--ink-3);
  margin-top: 8px;
}

/* ---------- 页脚 ---------- */

.site-foot {
  background: var(--ink);
  color: rgba(251, 248, 241, 0.62);
  padding: 56px 0 30px;
  font-size: 0.92rem;
  border-top: 1px solid #2a2822;
}

.site-foot a {
  color: rgba(251, 248, 241, 0.76);
  text-decoration: none;
}

.site-foot a:hover {
  color: #fff;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.foot-brand {
  font-family: var(--serif);
  color: var(--paper);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.foot-title {
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  color: var(--jade);
  margin-bottom: 0.9rem;
  font-weight: 600;
}

.foot-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.foot-list li {
  margin-bottom: 7px;
}

.foot-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(251, 248, 241, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(251, 248, 241, 0.45);
}

/* ---------- 其它 ---------- */

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.tag {
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 3px 12px;
  font-size: 0.8rem;
  color: var(--ink-3);
  background: rgba(255, 255, 255, 0.5);
}

.note {
  font-size: 0.86rem;
  color: var(--ink-3);
  border-left: 2px solid var(--line-2);
  padding-left: 14px;
  margin: 1.4rem 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: start;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

.link-arrow::after {
  content: " →";
  transition: transform 0.2s ease;
  display: inline-block;
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

/* ---------- 成长体系 ---------- */

.stage {
  border: 1px solid var(--line);
  background: #fffdf8;
  border-radius: var(--radius);
  padding: 24px 26px 20px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.stage__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}

.stage__num {
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--jade);
  opacity: 0.55;
  font-weight: 600;
}

.stage__name {
  font-family: var(--serif);
  font-size: 1.32rem;
  color: var(--ink);
  margin: 0;
}

.stage__age {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 2px 11px;
  white-space: nowrap;
}

.stage__tags {
  margin-left: auto;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.stage__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 30px;
  margin: 0;
}

.stage__grid > div:first-child {
  grid-column: 1 / -1;
}

.stage__grid dt {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 3px;
}

.stage__grid dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.75;
}

.poster {
  margin: 2.4rem 0 0;
}

.poster--home {
  margin: 1.8rem auto 0;
  max-width: 900px;
}

.poster a {
  display: block;
}

.poster img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.poster figcaption {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: var(--ink-3);
  text-align: center;
}

/* ---------- 价目表 ---------- */

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.6rem;
  font-size: 0.97rem;
}

.price-table caption {
  caption-side: top;
  text-align: left;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  padding-bottom: 10px;
}

.price-table thead th {
  text-align: left;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
  padding: 10px 12px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.price-table tbody th {
  text-align: left;
  font-family: var(--serif);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper-2);
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.06em;
}

.price-table td {
  padding: 12px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.price-table th:nth-child(1) {
  width: 47%;
}

.price-table th:nth-child(2) {
  width: 22%;
}

.price-table th:nth-child(3) {
  width: 31%;
}

.price-table tbody tr:hover td {
  background: rgba(244, 237, 224, 0.5);
}

.price-table .price {
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--accent-2);
  font-weight: 600;
  white-space: nowrap;
}

.price-table .note-cell {
  color: var(--ink-3);
  font-size: 0.88rem;
}

.card--link {
  background: var(--paper-2);
  border-style: dashed;
  box-shadow: none;
}

.card--wide {
  grid-column: 1 / -1;
}

.card--wide .member p {
  max-width: 60ch;
}

/* ---------- 教师 ---------- */

.leader {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: start;
}

.leader__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.leader__name {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.2rem;
}

.tcard {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.tcard__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.tcard__body {
  padding: 20px 20px 22px;
}

.tcard__role {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 3px;
}

.tcard__name {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.tcard__body p {
  font-size: 0.94rem;
  line-height: 1.8;
  margin-bottom: 0.7em;
}

.tcard__quote {
  margin: 1rem 0 0;
  padding: 10px 0 0 14px;
  border-left: 2px solid var(--line-2);
  font-family: var(--serif);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--ink-3);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 0.2rem;
  padding: 0;
  list-style: none;
}

.member {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.member__avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 1px solid var(--line-2);
}

/* ---------- 教学大纲 ---------- */

.syllabus {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  border-top: 1px solid var(--line);
  counter-reset: syl;
}

.syllabus li {
  counter-increment: syl;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 10px 28px;
  align-items: baseline;
  padding: 15px 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.syllabus__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.syllabus__name {
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--ink);
}

.syllabus__name::before {
  content: counter(syl, decimal-leading-zero) "  ";
  font-family: var(--serif);
  font-size: 0.86rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.syllabus__meta {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  white-space: nowrap;
}

.syllabus__points {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ---------- 动画 ---------- */

/* 无 JS / 未进入视口时内容始终可见；进入视口时播放一次淡入 */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.js .reveal.is-in {
  animation: reveal-up 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

/* ---------- 响应式 ---------- */

@media (max-width: 980px) {
  .hero__inner,
  .split {
    grid-template-columns: 1fr;
  }

  .leader {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .leader__photo {
    max-width: 320px;
  }

  .hero__art {
    order: -1;
    max-width: 330px;
    margin-inline: auto;
    width: 100%;
  }

  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts > div:nth-child(2) {
    border-right: 0;
  }

  .facts > div:nth-child(1),
  .facts > div:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 18px 18px;
    gap: 2px;
    box-shadow: 0 18px 30px -22px rgba(0, 0, 0, 0.4);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(222, 211, 191, 0.5);
  }

  .nav a[aria-current="page"]::after {
    display: none;
  }

  .nav a[aria-current="page"] {
    color: var(--accent-2);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-head__inner {
    position: relative;
  }

  .head-cta {
    display: none;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .grid--3,
  .grid--2,
  .field-row {
    grid-template-columns: 1fr;
  }

  .course {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .person {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
  }

  .person__avatar {
    width: 64px;
    height: 64px;
    font-size: 1.2rem;
  }

  .nap li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .stage {
    padding: 20px 18px 16px;
  }

  .syllabus li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 13px 0;
  }

  .stage__grid {
    grid-template-columns: 1fr;
  }

  .stage__tags {
    margin-left: 0;
    width: 100%;
  }

  .price-table {
    font-size: 0.9rem;
  }

  .price-table thead {
    display: none;
  }

  .price-table caption {
    display: none;
  }

  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100% !important;
  }

  .price-table tbody tr {
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
  }

  .price-table tbody th {
    display: block;
    background: transparent;
    border: 0;
    padding: 16px 0 2px;
    font-family: var(--sans);
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    color: var(--accent);
  }

  .price-table td {
    border: 0;
    padding: 2px 0;
  }

  .price-table td::before {
    content: attr(data-label) "｜";
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    color: var(--ink-3);
  }

  .price-table td.price {
    font-size: 1.16rem;
    padding-top: 6px;
  }

  .price-table td.price::before {
    font-family: var(--sans);
    font-size: 0.74rem;
    color: var(--ink-3);
  }

  .price-table td.note-cell {
    font-size: 0.86rem;
  }

  .price-table td.note-cell:empty {
    display: none;
  }

  .price-table tbody tr:hover td {
    background: transparent;
  }

  .facts > div {
    padding: 16px 16px 18px;
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .wrap {
    padding: 0 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal.is-in {
    animation: none;
  }
}

@media print {
  .site-head,
  .site-foot,
  .actions,
  .nav-toggle {
    display: none;
  }

  body {
    background: #fff;
    font-size: 11pt;
  }

  .section {
    padding: 1.2rem 0;
  }
}

