/* =====================================================================
   小杨老师 · 少儿 AI 项目
   设计令牌 + 公共组件。配色：纸白 / 墨 / 朱 / 赭。
   规矩：不用渐变、不用大阴影、不用圆角卡片阵列。
   ===================================================================== */

:root {
  --paper: #F7F5F0;
  --paper-2: #F1EEE7;
  --ink: #14110E;
  --ink-2: #3C352C;
  --ink-3: #8A7E6D;
  --line: #E3DED4;
  --vermilion: #B33A2B;
  --teal: #2C4A52;
  --mark: #F2D98B;

  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  --hand: "LXGW WenKai", "Kaiti SC", KaiTi, STKaiti, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --max: 1120px;
  --pad: 24px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 极轻的纸纹 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, header, footer { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

::selection { background: var(--mark); color: var(--ink); }

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

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

.section { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.section--tight { padding-top: clamp(44px, 5vw, 72px); padding-bottom: clamp(44px, 5vw, 72px); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.rule--short { width: 56px; background: var(--ink); }

/* ---------- 顶部 ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: .18em;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  width: 48px;
  height: 48px;
  display: block;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #F1EEE7;
  border: 1px solid var(--line);
  padding: 3px;
  object-fit: contain;
}

.nav { display: flex; gap: 30px; font-size: 14px; }
.nav a {
  text-decoration: none;
  color: var(--ink-2);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav a:hover { color: var(--ink); border-color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-color: var(--vermilion); }

/* ---------- 文字 ---------- */

.kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin: 0 0 22px;
}

.display {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 22px;
}

.h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 0 0 18px;
}

.h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.4;
  margin: 0 0 10px;
}

.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-2);
  line-height: 1.95;
  margin: 0 0 8px;
  max-width: 38em;
}

.small { font-size: 13px; color: var(--ink-3); line-height: 1.8; }
.hand { font-family: var(--hand); }

.mark {
  background: linear-gradient(transparent 62%, var(--mark) 62%);
  padding: 0 2px;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  letter-spacing: .05em;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 2px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--red { background: var(--vermilion); border-color: var(--vermilion); color: #fff; }
.btn--red:hover { filter: brightness(1.06); }
.btn--sm { padding: 9px 18px; font-size: 13px; }

.link-underline {
  text-decoration: none;
  border-bottom: 1px solid var(--ink-3);
  padding-bottom: 2px;
  transition: border-color .2s;
}
.link-underline:hover { border-color: var(--vermilion); color: var(--vermilion); }

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

.hero {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(36px, 5vw, 68px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.hero__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 34px; }

.hero__visual { position: relative; justify-self: center; }

.phone {
  width: min(258px, 62vw);
  aspect-ratio: 9 / 18.5;
  border: 9px solid var(--ink);
  border-radius: 30px;
  overflow: hidden;
  background: #1b1b1b;
  box-shadow: 0 18px 40px -28px rgba(20, 17, 14, .55);
  transform: rotate(-1.6deg);
}
.phone img { width: 100%; height: 100%; object-fit: cover; }

.phone-note {
  position: absolute;
  right: -20px;
  bottom: -16px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px 18px 11px;
  transform: rotate(2.2deg);
  text-align: center;
  line-height: 1.45;
}
.phone-note b {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.phone-note span {
  display: block;
  font-size: 12.5px;
  color: var(--vermilion);
  letter-spacing: .06em;
  margin-top: 2px;
}

/* ---------- 立场段 ---------- */

.stance { max-width: 700px; }
.stance p {
  font-size: clamp(16px, 1.65vw, 18.5px);
  line-height: 2;
  color: var(--ink-2);
  margin: 0 0 26px;
}
.stance p:last-child { margin-bottom: 0; }
.stance .hand-note {
  font-family: var(--hand);
  color: var(--vermilion);
  font-size: 15px;
  display: inline-block;
  transform: rotate(-2.6deg);
  margin-left: 10px;
}

/* ---------- 四步 ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 46px;
}
.step { position: relative; padding-top: 22px; border-top: 1px solid var(--ink); }
.step__no {
  font-family: var(--hand);
  font-size: 15px;
  color: var(--vermilion);
  letter-spacing: .1em;
}
.step h4 {
  font-family: var(--serif);
  font-size: 20px;
  margin: 8px 0 8px;
  font-weight: 700;
}
.step p { margin: 0; font-size: 14px; color: var(--ink-3); line-height: 1.8; }

/* ---------- 作品卡 ---------- */

.works-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  margin-top: 44px;
}

.work-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform .24s ease;
}
.work-card:hover { transform: translateY(-4px); }

.work-card__frame {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--paper-2);
  overflow: hidden;
  border: 1px solid var(--line);
}
.work-card__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.work-card:hover .work-card__frame img { transform: scale(1.025); }

.work-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
}
.work-card__title { font-family: var(--serif); font-size: 20px; font-weight: 700; }
.work-card__sub { font-size: 12px; color: var(--ink-3); letter-spacing: .04em; white-space: nowrap; }
.work-card__desc {
  display: block;
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.75;
  margin: 4px 0 0;
  max-width: 34em;
}

.work-card:focus-visible { outline: 2px solid var(--vermilion); outline-offset: 4px; }

.work-card__ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 22px; color: var(--ink-3);
  background: var(--paper-2);
}
.works-preview .work-card__title { font-family: var(--serif); font-size: 20px; font-weight: 700; }

/* ---------- 价格速览（表格，不是卡片） ---------- */

.price-list { margin-top: 34px; border-top: 1px solid var(--ink); }
.price-row {
  display: grid;
  grid-template-columns: 120px 1fr 160px 130px;
  gap: 20px;
  align-items: center;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background .2s;
}
.price-row:hover { background: var(--paper-2); }
.price-row__name { font-family: var(--serif); font-size: 22px; font-weight: 700; }
.price-row__desc { font-size: 14px; color: var(--ink-3); }
.price-row__num { font-family: var(--serif); font-size: 24px; text-align: right; letter-spacing: -.01em; }
.price-row__arrow { text-align: right; font-size: 13px; color: var(--ink-3); }

/* ---------- 关于 ---------- */

.about {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.about__photo {
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transform: rotate(-1.2deg);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__text p {
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.95;
  margin: 0 0 18px;
  color: var(--ink-2);
}
.about__text .about__lead {
  font-family: var(--serif);
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 14px;
  text-wrap: balance;
}
.about__text .about__note {
  margin-bottom: 26px;
  color: var(--ink-2);
  text-wrap: pretty;
}
.about__place {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0;
  font-size: 13.5px;
  letter-spacing: .14em;
  color: var(--ink-3);
}
.about__place::before {
  content: "";
  width: 20px; height: 1px;
  background: var(--vermilion);
}

/* 履历：细线表格，左朱色小标 */
.about__facts {
  margin: 0 0 26px;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.about__fact {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.about__fact dt {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--vermilion);
}
.about__fact dd {
  margin: 0;
  font-size: clamp(15.5px, 1.5vw, 17.5px);
  line-height: 1.7;
  color: var(--ink);
}

/* ---------- FAQ ---------- */

.faq { margin-top: 34px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 24px 0;
  font-size: 17px;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq__q::after { content: "+"; font-family: var(--sans); color: var(--vermilion); font-size: 20px; }
.faq__item.open .faq__q::after { content: "–"; }
.faq__a { display: none; padding: 0 0 26px; color: var(--ink-2); max-width: 46em; }
.faq__item.open .faq__a { display: block; }

/* ---------- 承诺 / 收获 ---------- */

.gains { margin-top: 38px; border-top: 1px solid var(--ink); }
.gain {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.gain__no {
  font-family: var(--hand);
  font-size: 15px;
  color: var(--vermilion);
  letter-spacing: .1em;
  padding-top: 6px;
}
.gain__body h4 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 8px;
}
.gain__body p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.95;
  max-width: 36em;
}

/* ---------- 微信号卡片 ---------- */

.wx-card {
  border: 1px dashed var(--ink-2);
  background: #fff;
  padding: 24px 28px 22px;
  transform: rotate(-.8deg);
  min-width: 272px;
}
.wx-card__label {
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--ink-3);
  margin: 0 0 12px;
}
.wx-id {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.wx-id__text {
  font-family: var(--mono);
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: .01em;
  color: var(--ink);
  border-bottom: 2px solid var(--mark);
  padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.wx-id:hover .wx-id__text { color: var(--vermilion); }
.wx-id__hint {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--vermilion);
}
.wx-id.copied .wx-id__text { border-bottom-color: var(--teal); }
.wx-id.copied .wx-id__hint { color: var(--teal); }
.wx-card__note {
  font-size: 12.5px;
  color: var(--ink-3);
  margin: 14px 0 0;
  line-height: 1.7;
}

/* ---------- 底部 CTA ---------- */

.cta {
  padding-top: clamp(64px, 9vw, 120px);
  padding-bottom: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.cta__title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 16px;
}
.cta__qr { text-align: center; }
.cta__qr img { width: 148px; height: 148px; border: 1px solid var(--line); background: #fff; padding: 8px; }
.cta__qr p { margin: 10px 0 0; font-family: var(--hand); font-size: 13px; color: var(--ink-3); }

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

.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-3);
}
.footer a { text-decoration: none; border-bottom: 1px solid transparent; }
.footer a:hover { border-color: var(--ink-3); }

/* =====================================================================
   定价页
   ===================================================================== */

.tickets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 52px;
  align-items: start;
}

.ticket {
  position: relative;
  background: var(--paper);
  border: 1px dashed var(--ink-2);
  padding: 34px 26px 30px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  background: var(--paper);
  border: 1px dashed var(--ink-2);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.ticket::before { left: -10px; clip-path: inset(0 0 0 50%); }
.ticket::after { right: -10px; clip-path: inset(0 50% 0 0); }

.ticket--featured { border-style: solid; border-color: var(--ink); background: #fff; }
.ticket--featured::before, .ticket--featured::after { border-style: solid; border-color: var(--ink); background: var(--paper); }

.ticket__badge {
  position: absolute;
  top: -12px; left: 26px;
  background: var(--vermilion);
  color: #fff;
  font-size: 11.5px;
  letter-spacing: .08em;
  padding: 4px 10px;
}

.ticket__name { font-family: var(--serif); font-size: 24px; font-weight: 700; margin: 0 0 4px; }
.ticket__sub { font-size: 13px; color: var(--ink-3); margin: 0 0 22px; min-height: 2.6em; }
.ticket__price { font-family: var(--serif); font-size: 44px; line-height: 1; letter-spacing: -.02em; }
.ticket__price--talk { font-size: 32px; letter-spacing: .1em; }
.ticket__price small { font-size: 15px; font-family: var(--sans); color: var(--ink-3); margin-left: 6px; letter-spacing: 0; }
.ticket__unit { font-size: 13px; color: var(--ink-3); margin: 10px 0 22px; }
.ticket__out { font-size: 14px; color: var(--ink-2); padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.ticket ul { list-style: none; padding: 0; margin: 0 0 26px; }
.ticket li { font-size: 13.5px; color: var(--ink-2); padding: 6px 0 6px 18px; position: relative; line-height: 1.7; }
.ticket li::before { content: "—"; position: absolute; left: 0; color: var(--ink-3); }
.ticket .btn { margin-top: auto; width: 100%; justify-content: center; }

.ticket-note {
  margin-top: 40px;
  padding: 22px 26px;
  background: var(--paper-2);
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.9;
}

/* =====================================================================
   作品墙
   ===================================================================== */

.filters { display: flex; gap: 26px; margin: 34px 0 8px; flex-wrap: wrap; }
.filter {
  background: none; border: 0; padding: 6px 0;
  font-size: 14px; color: var(--ink-3); cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.filter:hover { color: var(--ink-2); }
.filter.active { color: var(--ink); border-color: var(--vermilion); }

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 28px;
  margin-top: 40px;
  align-items: start;
}

.works-empty {
  padding: 90px 0;
  text-align: center;
  color: var(--ink-3);
  font-size: 15px;
}
.works-empty p { margin: 0 0 6px; }
.works-empty .hand { color: var(--ink-2); font-size: 17px; }

.skeleton {
  aspect-ratio: 16 / 10;
  background: linear-gradient(100deg, var(--paper-2) 30%, #ebe7de 50%, var(--paper-2) 70%);
  background-size: 220% 100%;
  animation: shimmer 1.4s infinite linear;
}
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }

.load-more { text-align: center; margin-top: 54px; }

/* =====================================================================
   作品详情
   ===================================================================== */

.work-head { padding: clamp(40px, 6vw, 72px) 0 0; }
.back {
  font-size: 13px; color: var(--ink-3); text-decoration: none;
  display: inline-block; margin-bottom: 28px;
}
.back:hover { color: var(--ink); }

.work-title {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -.015em;
}
.work-meta { font-size: 13.5px; color: var(--ink-3); letter-spacing: .04em; }
.work-summary { font-size: 17px; color: var(--ink-2); margin: 22px 0 0; max-width: 40em; }

.play-bar { display: flex; gap: 16px; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.play-bar .hint { font-size: 12.5px; color: var(--ink-3); }

.gallery { margin-top: 52px; display: grid; gap: 22px; }
.gallery__item {
  background: #fff;
  padding: 14px 14px 44px;
  border: 1px solid var(--line);
  transform: rotate(-.6deg);
  max-width: 880px;
}
.gallery__item:nth-child(even) { transform: rotate(.7deg); margin-left: auto; }
.gallery__item img { width: 100%; }
.gallery__cap {
  font-family: var(--hand);
  font-size: 13px;
  color: var(--ink-3);
  padding: 10px 4px 0;
}

.info-table { margin-top: 56px; border-top: 1px solid var(--ink); max-width: 720px; }
.info-row { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.info-row dt { color: var(--ink-3); margin: 0; font-size: 13px; letter-spacing: .06em; }
.info-row dd { margin: 0; color: var(--ink-2); }

.timeline { margin-top: 56px; max-width: 800px; }
.timeline__title { font-family: var(--serif); font-size: 26px; margin: 0 0 8px; }
.timeline__hint { font-size: 13px; color: var(--ink-3); margin: 0 0 38px; }

.log {
  position: relative;
  padding: 0 0 42px 34px;
  border-left: 1px solid var(--line);
}
.log:last-child { border-left-color: transparent; padding-bottom: 0; }
.log::before {
  content: "";
  position: absolute;
  left: -4.5px; top: 10px;
  width: 8px; height: 8px;
  background: var(--vermilion);
  border-radius: 50%;
}
.log__date { font-size: 12.5px; color: var(--ink-3); letter-spacing: .08em; font-family: var(--mono); }
.log__title { font-family: var(--serif); font-size: 21px; font-weight: 700; margin: 6px 0 18px; }

.say { margin: 0 0 18px; }
.say__who { font-size: 11.5px; letter-spacing: .18em; color: var(--ink-3); display: block; margin-bottom: 4px; }
.say--child p {
  font-family: var(--hand);
  font-size: 21px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}
.say--child p::before { content: "「"; color: var(--vermilion); }
.say--child p::after { content: "」"; color: var(--vermilion); }
.say--teacher p { font-size: 15px; color: var(--ink-2); line-height: 1.95; margin: 0; }

.log__img { margin-top: 16px; border: 1px solid var(--line); max-width: 560px; background: #fff; }

/* =====================================================================
   动效与响应式
   ===================================================================== */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

img, svg { max-width: 100%; }
.lead, .stance p, .about__text p { overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero__visual { order: 0; justify-self: center; margin-top: 8px; }
  .phone { width: min(232px, 56vw); }
  .works-preview .work-card:nth-child(n) { grid-column: span 12; margin-top: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 26px 22px; }
  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 260px; }
  .price-row { grid-template-columns: 90px 1fr 120px; }
  .price-row__arrow { display: none; }
  .tickets { grid-template-columns: 1fr; }
  .ticket::before, .ticket::after { display: none; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { grid-template-columns: 1fr; }
  .cta__qr { justify-self: start; }
  .wx-card { justify-self: start; }
}

@media (max-width: 640px) {
  /* 移动端点击反馈 */
  a, button, .log-card, .carousel__dot { -webkit-tap-highlight-color: transparent; }
  a:active, button:active { opacity: .86; }
  body { font-size: 15.5px; }
  .br-desktop { display: none; }
  .nav { gap: 16px; font-size: 13px; }
  .topbar { padding: 16px 0; }
  .brand { font-size: 16px; letter-spacing: .12em; gap: 7px; }
.brand__mark { width: 40px; height: 40px; }
  .display { font-size: clamp(32px, 9vw, 42px); }
  .steps { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: minmax(0, 1fr); }
  .info-row { grid-template-columns: 90px 1fr; }
  .phone-note { right: -6px; bottom: -12px; padding: 10px 14px 9px; }
  .phone-note b { font-size: 14.5px; }
  .gain { grid-template-columns: 44px 1fr; gap: 16px; padding: 24px 0; }
  .wx-card { min-width: 0; width: 100%; padding: 20px 20px 18px; transform: none; }
  .wx-id__text { font-size: 26px; }
  .ticket__price { font-size: 38px; }
  .say--child p { font-size: 19px; }
}

/* =====================================================================
   首页 · 分屏落地页（一屏一内容，滚轮切换）
   ===================================================================== */

.topbar-fixed {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  background: rgba(247, 245, 240, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-fixed .topbar { padding: 16px var(--pad); }
.topbar-fixed .nav a { font-size: 14px; }

.deck { position: relative; }

.slide {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 96px 0 56px;
  scroll-snap-align: start;
  scroll-margin-top: 72px;
}
/* 内容不满一屏时居中；超出一屏时自动贴顶，不会被裁掉上半部分 */
.slide__inner { width: 100%; margin-block: auto; }
.slide__actions { margin-top: 44px; }

@media (min-width: 901px) {
  html.deck-ready { scroll-snap-type: y proximity; scroll-behavior: smooth; }
}

/* 入场动画 */
[data-anim] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s cubic-bezier(.2, .7, .2, 1), transform .75s cubic-bezier(.2, .7, .2, 1);
  will-change: opacity, transform;
}
.slide.is-active [data-anim] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1; transform: none; transition: none; }
}

/* ---------- 首屏右侧视觉：作品卡片堆叠构图 ---------- */

.hero-art {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1 / 1.1;
  justify-self: center;
}

/* 背景：点阵纸 + 虚线轨道 */
.art-dots {
  position: absolute;
  inset: -6% -4% -4% -6%;
  background-image: radial-gradient(#D9D3C7 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: .55;
  -webkit-mask-image: radial-gradient(closest-side, #000 52%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 52%, transparent 100%);
}
.art-ring {
  position: absolute;
  left: 3%;
  top: 1%;
  width: 82%;
  aspect-ratio: 1;
  border: 1px dashed #D6CFC1;
  border-radius: 50%;
  animation: artSpin 90s linear infinite;
}
@keyframes artSpin { to { transform: rotate(360deg); } }

/* 卡片通用 */
.art-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .9) inset,
    0 30px 60px -46px rgba(20, 17, 14, .62),
    0 12px 26px -24px rgba(20, 17, 14, .38);
  transform: rotate(var(--rot, 0deg));
  animation: floatCard 10s ease-in-out infinite;
  pointer-events: none;
}
@keyframes floatCard {
  0%, 100% { transform: rotate(var(--rot, 0deg)) translateY(0); }
  50%      { transform: rotate(var(--rot, 0deg)) translateY(-9px); }
}
@media (prefers-reduced-motion: reduce) {
  .art-card, .art-ring { animation: none !important; }
}

/* 后排：创作记录 */
.art-card--log {
  --rot: 7deg;
  width: 56%;
  right: -4%;
  top: 0;
  padding: 14px 15px 16px;
  z-index: 1;
  opacity: .96;
  animation-delay: -4s;
}
.art-log__title {
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--ink-3);
  margin: 0 0 12px;
}
.art-log__row { display: flex; align-items: center; gap: 8px; margin-bottom: 11px; }
.art-log__row:last-child { margin-bottom: 0; }
.art-log__row i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--vermilion); opacity: .7; flex: 0 0 auto;
}
.art-log__row span { display: block; height: 6px; border-radius: 3px; background: var(--paper-2); }
.art-log__row span:nth-child(2) { flex: 1; }
.art-log__row span:nth-child(3) { width: 24%; }
.art-log__row:nth-child(3) i { background: var(--ink-3); }
.art-log__row:nth-child(3) span:nth-child(3) { width: 34%; background: var(--mark); }

/* 前排：作品窗口 */
.art-card--work {
  --rot: -3deg;
  width: 80%;
  left: -3%;
  top: 21%;
  z-index: 3;
  overflow: hidden;
  animation-delay: -1s;
}
.art-chrome {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 12px;
  background: #FCFBF8;
  border-bottom: 1px solid var(--paper-2);
}
.art-chrome i { width: 6px; height: 6px; border-radius: 50%; background: #DCD6CA; display: block; }
.art-chrome i:first-child { background: #D8A79C; }
.art-url {
  margin-left: 7px; flex: 1; height: 15px; border-radius: 8px;
  background: var(--paper-2); display: flex; align-items: center;
  padding: 0 8px; font-size: 8.5px; letter-spacing: .02em;
  color: var(--ink-3); font-family: var(--mono);
}
.art-canvas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
.art-canvas span { display: block; aspect-ratio: 1.35; border-radius: 6px; background: var(--paper-2); }
.art-canvas .c1 { background: var(--mark); }
.art-canvas .c2 { background: var(--vermilion); opacity: .9; }
.art-foot { display: flex; align-items: center; gap: 8px; padding: 0 58px 13px 12px; }
.art-avatars { display: flex; }
.art-avatars i {
  width: 16px; height: 16px; border-radius: 50%;
  background: #E4DFD3; border: 2px solid #fff; margin-left: -6px; display: block;
}
.art-avatars i:first-child { margin-left: 0; background: #CFC3AE; }
.art-avatars i:nth-child(2) { background: #D8C7AE; }
.art-score {
  margin-left: auto;
  font-family: var(--mono); font-size: 10px; color: var(--ink-2);
  background: var(--paper-2); border-radius: 10px; padding: 3px 8px;
}
.art-play {
  position: absolute; right: 14px; bottom: 13px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; padding-left: 3px;
  box-shadow: 0 12px 26px -16px rgba(20, 17, 14, .9);
}

/* 左下：小作品卡 */
.art-card--mini {
  --rot: -9deg;
  width: 36%;
  left: -9%;
  bottom: -6%;
  padding: 11px 12px 13px;
  z-index: 4;
  animation-delay: -6s;
}
.art-mini__block { display: block; height: 54px; border-radius: 7px; background: var(--mark); position: relative; }
.art-mini__block::after {
  content: ""; position: absolute; right: 8px; top: 8px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--vermilion);
}
.art-mini__line { display: block; height: 6px; border-radius: 3px; background: var(--paper-2); margin-top: 9px; }
.art-mini__line.short { width: 58%; }
.art-mini__badge {
  position: absolute; right: 10px; top: 10px;
  display: flex; align-items: center; gap: 4px;
  font-size: 9px; color: #3E6B4F;
  background: #EFF4F0; border: 1px solid #CBDCD0;
  border-radius: 9px; padding: 2px 7px;
}
.art-mini__badge::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%; background: #5C8A6B;
}

/* 飘浮小签：6 次指导 */
.art-note--six {
  position: absolute; left: -1%; top: 5%; z-index: 5;
  display: flex; align-items: baseline; gap: 6px;
  background: #fff; border: 1px solid var(--line);
  padding: 9px 14px 10px;
  transform: rotate(-5deg);
  box-shadow: 0 14px 30px -26px rgba(20, 17, 14, .6);
}
.art-note--six b { font-family: var(--serif); font-size: 23px; line-height: 1; font-weight: 700; }
.art-note--six span { font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }

/* 手写标签 */
.art-tag {
  position: absolute; right: 0; bottom: -5%; z-index: 5;
  font-family: var(--hand); font-size: 15px; color: var(--ink);
  transform: rotate(3deg); white-space: nowrap;
}
.art-tag svg {
  position: absolute; left: -6px; right: -6px; bottom: -9px;
  width: calc(100% + 12px); height: 9px; color: var(--mark);
}

/* ---------- 右侧分屏圆点 ---------- */

.dots {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 11px;
  z-index: 30;
}
.dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #D8D2C6;
  cursor: pointer;
  transition: background .25s, height .25s, border-radius .25s;
}
.dot:hover { background: var(--ink-3); }
.dot.is-on { background: var(--vermilion); height: 24px; border-radius: 4px; }

/* ---------- 末屏页脚 ---------- */

.slide--contact .cta {
  border-top: 0;
  padding: 0;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.slide__foot {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-3);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 56px;
}

@media (max-width: 900px) {
  .slide { min-height: 0; padding: 76px 0 56px; }
  .dots { display: none; }
  .hero-art { max-width: 330px; margin: 36px auto 0; }
  .art-card--mini { left: -2%; bottom: -4%; }
  .art-tag { right: 2%; bottom: -8%; font-size: 14px; }
  .slide--contact .cta { grid-template-columns: 1fr; }
  .slide__foot { margin-top: 36px; }
}

/* =====================================================================
   首屏右侧 v2：五步创作过程（提出 / 设计 / 实现 / 修改 / 上线）
   ===================================================================== */

.art-card--process {
  --rot: -2deg;
  width: 61%;
  left: -1%;
  top: 1%;
  padding: 15px 17px 13px;
  z-index: 2;
  animation-delay: -2s;
}

.art-process__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--paper-2);
  margin-bottom: 10px;
}
.art-process__title {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .14em;
  color: var(--ink);
}
.art-process__meta {
  font-size: 9.5px;
  color: var(--ink-3);
  letter-spacing: .08em;
}

.art-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.art-steps::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 14px;
  bottom: 14px;
  border-left: 1px dashed #E3DDD0;
}
.art-steps li {
  display: grid;
  grid-template-columns: 23px 1fr;
  gap: 10px;
  align-items: start;
  padding: 6px 0;
  position: relative;
}
.art-steps i {
  position: relative;
  z-index: 1;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-style: normal;
  font-size: 9px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.art-steps b {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .08em;
  line-height: 1.35;
}
.art-steps span {
  display: block;
  font-size: 10.5px;
  color: var(--ink-3);
  line-height: 1.5;
  margin-top: 1px;
  white-space: nowrap;
}
.art-steps li:last-child i { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* 右下的成品窗口：缩小并右移，避免压住过程文字 */
.art-card--work {
  --rot: 3deg;
  width: 52%;
  left: auto;
  right: -6%;
  top: 26%;
  z-index: 3;
  animation-delay: -5s;
}
.art-card--work .art-chrome { padding: 8px 10px; gap: 4px; }
.art-card--work .art-chrome i { width: 5px; height: 5px; }
.art-card--work .art-url { height: 13px; font-size: 7.5px; padding: 0 6px; margin-left: 5px; }
.art-card--work .art-canvas { gap: 6px; padding: 9px; }
.art-card--work .art-canvas span { aspect-ratio: 1.25; border-radius: 5px; }
.art-card--work .art-foot { padding: 0 44px 10px 10px; gap: 6px; }
.art-card--work .art-avatars i { width: 13px; height: 13px; margin-left: -5px; }
.art-card--work .art-score { font-size: 8.5px; padding: 2px 6px; }
.art-card--work .art-play { width: 38px; height: 38px; right: 10px; bottom: 10px; font-size: 11px; }

/* 手写标签挪到右下 */
.art-tag {
  left: auto;
  right: 3%;
  bottom: 3%;
  font-size: 14px;
}

@media (max-width: 900px) {
  .art-card--process { width: 80%; left: 0; top: 0; }
  .art-card--work { width: 46%; right: -8%; top: 44%; }
  .art-steps span { font-size: 10px; }
  .art-tag { right: 2%; bottom: -4%; }
}

/* 让构图更方正，避免下半部分留白过多 */
.hero-art { aspect-ratio: 1 / 1.06; }

/* =====================================================================
   作品详情：作品介绍（左信息 / 右轮播）
   ===================================================================== */

.work-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 64px;
  align-items: start;
  margin-top: 40px;
}
.work-intro--nomedia { grid-template-columns: minmax(0, 1fr); }

.work-intro__info .kicker { margin-bottom: 14px; }
.work-summary {
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-2);
  margin: 0 0 28px;
}
.work-intro__info .info-table { margin: 0 0 28px; }
.work-intro__info .play-bar { margin-top: 4px; }

/* 轮播 */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  aspect-ratio: 16 / 10;
}
.carousel__track {
  display: flex;
  height: 100%;
  transition: transform .6s cubic-bezier(.22, .7, .2, 1);
  will-change: transform;
}
.carousel__slide { flex: 0 0 100%; height: 100%; }
.carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  padding: 0 0 2px;
  border-radius: 50%;
  border: 1px solid rgba(20, 17, 14, .12);
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s, background .2s, color .2s, border-color .2s;
}
.carousel:hover .carousel__nav { opacity: 1; }
.carousel__nav:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.carousel__nav--prev { left: 12px; }
.carousel__nav--next { right: 12px; }

.carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 12px -6px rgba(20, 17, 14, .45);
}
.carousel__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 17, 14, .26);
  cursor: pointer;
  transition: background .2s, width .25s, border-radius .25s;
}
.carousel__dot.is-on { background: var(--ink); width: 18px; border-radius: 4px; }

.carousel__cap:empty { display: none; }
.carousel__cap {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-3);
  min-height: 1.6em;
}

@media (hover: none) {
  .carousel__nav { opacity: 1; }
}

@media (max-width: 900px) {
  .work-intro { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 28px; }
  .carousel { aspect-ratio: 4 / 3; }
  .work-summary { font-size: 16px; }
}

/* =====================================================================
   创作记录：横向卡片 + 弹窗
   ===================================================================== */

.logs { margin-top: 76px; }

.logs__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.logs__title { font-family: var(--serif); font-size: 26px; margin: 0 0 8px; }
.logs__hint { font-size: 13px; color: var(--ink-3); margin: 0; }

.logs__ctrl { display: flex; align-items: center; gap: 9px; }
.logs__count {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--ink-3);
  margin-right: 6px;
}
.logs__arrow {
  width: 34px;
  height: 34px;
  padding: 0 0 2px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.logs__arrow:hover:not(:disabled) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.logs__arrow:disabled { opacity: .25; cursor: default; }

.logs__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-left: 2px;
  padding: 12px 2px 22px;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.logs__track::-webkit-scrollbar { display: none; }
.logs__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }

/* 卡片 */
.log-card {
  flex: 0 0 302px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 214px;
  padding: 20px 20px 16px;
  text-align: left;
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 44px -40px rgba(20, 17, 14, .75);
  cursor: pointer;
  transition: transform .28s cubic-bezier(.2, .7, .2, 1), border-color .25s, box-shadow .28s;
}

.log-card:hover {
  transform: translateY(-4px);
  border-color: #CFC6B4;
  box-shadow: 0 28px 54px -40px rgba(20, 17, 14, .6);
}
.log-card:active { transform: translateY(-1px); }
.log-card:focus-visible,
.logs__arrow:focus-visible,
.log-modal__close:focus-visible {
  outline: 2px solid var(--vermilion);
  outline-offset: 3px;
}

.log-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.log-card__no {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--vermilion);
}
.log-card__date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--ink-3);
}

.log-card__title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.log-card__excerpt {
  font-family: var(--hand);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.log-card__foot {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed #E7E1D4;
}
.log-card__thumb {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
  display: block;
  flex: 0 0 auto;
}
.log-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.log-card__more {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ink-3);
  transition: color .2s;
}
.log-card:hover .log-card__more { color: var(--vermilion); }
.log-card__more i { font-style: normal; }

/* 弹窗 */
.log-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.log-modal[hidden] { display: none; }

.log-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 17, 14, .42);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  animation: modalFade .24s ease both;
}
.log-modal__panel {
  position: relative;
  width: min(620px, 100%);
  max-height: min(84vh, 760px);
  overflow-y: auto;
  padding: 42px 46px 38px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 50px 110px -60px rgba(0, 0, 0, .8);
  animation: modalPop .32s cubic-bezier(.2, .7, .2, 1) both;
}
.log-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  padding: 0 0 2px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, border-color .2s;
}
.log-modal__close:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.log-modal__date {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--ink-3);
  margin: 0 0 10px;
}
.log-modal__title {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 22px;
  padding-right: 30px;
}
.log-modal__img {
  display: block;
  width: 100%;
  margin: 0 0 24px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.log-modal__panel .say { margin: 0 0 16px; }
.log-modal__panel .say--child p { font-size: 20px; }
.log-modal__panel .say--teacher { margin-bottom: 0; }

body.modal-open { overflow: hidden; }

@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalPop {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .log-modal__backdrop, .log-modal__panel { animation: none; }
  .log-card { transition: none; }
}

@media (max-width: 900px) {
  .logs { margin-top: 52px; }
  .logs__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .logs__ctrl { align-self: flex-end; }
  .log-card { flex: 0 0 78vw; min-height: 200px; }
  .log-modal { padding: 0; align-items: flex-end; }
  .log-modal__panel {
    width: 100%;
    max-height: 88vh;
    border-radius: 20px 20px 0 0;
    padding: 34px 22px 28px;
  }
  .log-modal__title { font-size: 23px; }
  .log-modal__panel .say--child p { font-size: 18px; }
}

/* 详情页：创作记录之后直接进页脚，留出呼吸间距 */.logs { margin-bottom: 84px; }
@media (max-width: 900px) { .logs { margin-bottom: 56px; } }




/* =====================================================================
   H5 适配（<=640px 为主，部分 <=900px）
   ===================================================================== */

@media (max-width: 900px) {
  /* 分屏页在手机上不做逐屏隐藏，避免内容因观察器未触发而空白 */
  [data-anim] { opacity: 1 !important; transform: none !important; }
  .slide { min-height: 0; padding: 52px 0 36px; }
  .slide:first-child { padding-top: 84px; }
  .slide + .slide { border-top: 1px solid var(--line); }
  .hero { padding-top: 8px; padding-bottom: 8px; gap: 28px; }
  .hero-art { max-width: 300px; margin: 10px auto 0; }
}

@media (max-width: 640px) {
  :root { --pad: 18px; }

  body { font-size: 15px; line-height: 1.75; }

  /* ---------- 顶栏 ---------- */
  .topbar { padding: 14px 0; }
  .topbar-fixed .topbar { padding: 12px var(--pad); }
  .brand { font-size: 15.5px; letter-spacing: .1em; gap: 6px; }
.brand__mark { width: 38px; height: 38px; }
  .nav { gap: 14px; font-size: 12.5px; }
  .nav a { padding: 6px 0; }

  /* ---------- 通用排版 ---------- */
  .kicker { font-size: 11px; letter-spacing: .22em; margin-bottom: 12px; }
  .display { font-size: clamp(30px, 8.6vw, 38px); line-height: 1.18; margin-bottom: 16px; }
  .h2 { font-size: 24px; line-height: 1.35; margin-bottom: 14px; }
  .lead { font-size: 15.5px; line-height: 1.85; }
  .small { font-size: 12.5px; }
  .hand-note { font-size: 13px; margin-left: 6px; }

  /* ---------- 首屏 ---------- */
  .hero { padding-top: 4px; }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 22px;
  }
  .hero__actions .btn { width: 100%; justify-content: center; padding: 14px 18px; }
  .hero__actions .link-underline { align-self: center; margin-top: 4px; font-size: 14px; }
  .hero-art { max-width: 280px; margin-top: 6px; }
  .art-tag { font-size: 12.5px; right: -2%; }
  .art-steps span { font-size: 10px; }

  /* ---------- 立场 ---------- */
  .stance p { font-size: 15px; line-height: 1.9; margin-bottom: 18px; }

  /* ---------- 四步 ---------- */
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 18px 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; padding-top: 8px; }
  .step__no { font-size: 12px; }
  .step h4 { font-size: 17px; margin: 6px 0 8px; }
  .step p { font-size: 14px; line-height: 1.8; }

  /* ---------- 作品预览 ---------- */
  .works-preview { grid-template-columns: 1fr; gap: 26px; margin-top: 26px; }
  .work-card__title { font-size: 18px; }
  .work-card__desc { font-size: 13px; }

  /* ---------- 价格速览 ---------- */
  .price-list { margin-top: 22px; }
  .price-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "name num" "desc desc";
    gap: 4px 12px;
    padding: 16px 2px;
  }
  .price-row__name { grid-area: name; font-size: 19px; }
  .price-row__num { grid-area: num; font-size: 21px; }
  .price-row__desc { grid-area: desc; font-size: 12.5px; line-height: 1.6; }
  .price-row__arrow { display: none; }

  /* ---------- 关于 ---------- */
  .about { gap: 22px; }
  .about__photo { max-width: 200px; margin: 0 auto; }
  .about__text p { font-size: 15px; line-height: 1.85; margin-bottom: 12px; }
  .about__text .about__lead { font-size: 17.5px; margin-bottom: 12px; }
  .about__text .about__note { margin-bottom: 18px; }
  .about__place { font-size: 12.5px; letter-spacing: .1em; }
  .about__facts { margin-bottom: 18px; }
  .about__fact { grid-template-columns: 54px 1fr; gap: 12px; padding: 10px 0; }
  .about__fact dt { font-size: 11.5px; letter-spacing: .14em; }
  .about__fact dd { font-size: 14.5px; line-height: 1.7; }

  /* ---------- 常见问题 ---------- */
  .faq { margin-top: 22px; }
  .faq__q { padding: 16px 0; font-size: 15.5px; line-height: 1.5; padding-right: 28px; }
  .faq__a { padding: 0 0 18px; font-size: 14px; line-height: 1.8; }

  /* ---------- 收获 ---------- */
  .gains { margin-top: 24px; }
  .gain { grid-template-columns: 34px 1fr; gap: 12px; padding: 18px 0; }
  .gain__no { font-size: 13px; }
  .gain__body h4 { font-size: 16px; margin-bottom: 4px; }
  .gain__body p { font-size: 13.5px; line-height: 1.75; }

  /* ---------- 底部 CTA ---------- */
  .cta {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 44px;
    padding-bottom: 40px;
    align-items: start;
  }
  .cta__title { font-size: 25px; line-height: 1.3; margin-bottom: 12px; }
  .cta__qr { width: 100%; text-align: left; justify-self: stretch; }
  .wx-card {
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 18px 18px 16px;
    transform: none;
    justify-self: stretch;
  }
  .wx-id__text { font-size: 23px; }
  .wx-card__label { font-size: 11px; }
  .wx-card__note { font-size: 12px; margin-top: 10px; }

  .slide__foot {
    flex-direction: column;
    gap: 6px;
    margin-top: 30px;
    padding-top: 14px;
    font-size: 12px;
  }

  /* ---------- 页脚 ---------- */
  .footer { flex-direction: column; gap: 6px; padding: 26px 0 38px; font-size: 12px; }

  /* ---------- 作品墙 ---------- */
  .filters { gap: 16px; margin-top: 26px; }
  .filter { font-size: 14px; padding: 4px 0 8px; }
  .works-grid { gap: 26px; margin-top: 26px; }

  /* ---------- 作品详情 ---------- */
  .work-head { padding-top: 8px; }
  .work-title { font-size: 30px; line-height: 1.25; }
  .work-meta { font-size: 12.5px; }
  .work-intro { gap: 26px; margin-top: 24px; }
  .work-summary { font-size: 15.5px; line-height: 1.8; margin-bottom: 20px; }
  .info-row { padding: 12px 0; font-size: 14.5px; }
  .play-bar { gap: 12px; }
  .play-bar .btn { padding: 13px 22px; }
  .carousel { aspect-ratio: 4 / 3; border-radius: 12px; }
  .carousel__nav { width: 34px; height: 34px; opacity: 1; }
  .carousel__dots { bottom: 10px; padding: 5px 9px; }
  .carousel__cap:empty { display: none; }
.carousel__cap { font-size: 12px; margin-top: 10px; }

  .logs { margin-top: 40px; margin-bottom: 44px; }
  .logs__title { font-size: 23px; }
  .logs__hint { font-size: 12.5px; }
  .logs__head { gap: 10px; margin-bottom: 18px; }
  .log-card { flex: 0 0 84vw; min-height: 0; padding: 16px 16px 13px; }
  .log-card__title { font-size: 17px; }
  .log-card__excerpt { font-size: 13px; }
  .log-modal__panel { padding: 30px 18px 24px; }
  .log-modal__title { font-size: 21px; }

  /* ---------- 定价页 ---------- */
  .tickets { gap: 18px; margin-top: 30px; }
  .ticket { padding: 24px 18px 22px; }
  .ticket__name { font-size: 21px; }
  .ticket__sub { font-size: 12.5px; min-height: 0; margin-bottom: 14px; }
  .ticket__price { font-size: 36px; }
  .ticket__unit { margin: 8px 0 16px; }
  .ticket__out { font-size: 13px; padding: 10px 0; margin-bottom: 14px; }
  .ticket ul { margin-bottom: 20px; }
  .ticket li { font-size: 13px; padding: 5px 0 5px 16px; }
  .ticket-note { margin-top: 26px; padding: 16px 16px; font-size: 12.5px; line-height: 1.85; }
}

/* =====================================================================
   H5 尺寸修正：连续缩放的字体比例 + 641–900 中间档
   ===================================================================== */

/* 页面级大标题（作品墙 / 定价页）：桌面 58px，随宽度连续缩小 */
.display--page { font-size: clamp(30px, 4.6vw, 58px); }

/* 平板 / 宽屏手机：641–900 */
@media (min-width: 641px) and (max-width: 900px) {
  :root { --pad: 28px; }

  body { font-size: 16px; }

  .brand { font-size: 18px; }
  .nav { gap: 22px; font-size: 13.5px; }
  .topbar-fixed .nav a { font-size: 13.5px; }

  .kicker { font-size: 11.5px; letter-spacing: .24em; }
  .display { font-size: clamp(34px, 5.4vw, 52px); }
  .display--page { font-size: clamp(32px, 4.8vw, 44px); }
  .h2 { font-size: 27px; }
  .lead { font-size: 16.5px; line-height: 1.9; }
  .stance p { font-size: 16.5px; line-height: 1.95; }

  .btn { min-height: 46px; }

  .section { padding-top: 56px; padding-bottom: 56px; }

  .work-card__title,
  .works-preview .work-card__title { font-size: 19px; }
  .work-card__sub { font-size: 13px; }
  .work-card__desc { font-size: 14px; }
  .works-grid { gap: 32px 24px; }

  .price-row { grid-template-columns: 100px 1fr 120px; }
  .price-row__name { font-size: 21px; }
  .price-row__desc { font-size: 13.5px; }

  .faq__q { font-size: 17.5px; }
  .faq__a { font-size: 15px; }

  .work-title { font-size: 38px; }
  .work-intro { gap: 40px; }
  .work-summary { font-size: 16.5px; }
  .logs { margin-top: 56px; margin-bottom: 64px; }
  .logs__title { font-size: 24px; }
  .log-card { flex: 0 0 44vw; }

  .ticket { padding: 30px 22px 26px; }
  .ticket__price { font-size: 40px; }
  .ticket__name { font-size: 22px; }
  .ticket__sub { font-size: 13.5px; }
  .ticket-note { font-size: 14px; }

  .cta { gap: 32px; }
  .cta__title { font-size: 34px; }
  .wx-id__text { font-size: 28px; }

  .footer { font-size: 13px; }
}

/* 手机：≤640 —— 与大标题之间的比例差收窄 */
@media (max-width: 640px) {
  body { font-size: 15.5px; }

  /* 中间档的大标题更收敛 */
  .display { font-size: clamp(30px, 8.2vw, 36px); }
  .display--page { font-size: clamp(27px, 7.4vw, 34px); }

  /* 小字放大一档，别显得像桌面缩小版 */
  .work-card__sub,
  .works-preview .work-card__sub { font-size: 13px; }
  .work-card__title,
  .works-preview .work-card__title { font-size: 18.5px; }
  .work-card__desc { font-size: 13.5px; }
  .nav { font-size: 13px; }
  .topbar-fixed .nav a { font-size: 13px; }
  .btn { min-height: 48px; }
  .footer { font-size: 12.5px; }
  .kicker { font-size: 11.5px; }

  /* 区块上下留白收紧，一屏能多看到点东西 */
  .section { padding-top: 40px; padding-bottom: 40px; }
  .slide { padding: 46px 0 32px; }
  .slide:first-child { padding-top: 78px; }
  .cta { padding-top: 36px; padding-bottom: 34px; }
}
