/* ============================================================
   玛丽亚民族团结教育工作室 — 单页样式
   底色 #f6f6f6 / 文字 #111111 / 克制的黑白灰
   ============================================================ */

:root {
  --bg: #f6f6f6;
  --paper: #ffffff;
  --ink: #111111;
  --mute: #777777;
  --faint: #a3a3a3;
  --hair: #e5e5e5;
  --wash: #ececec;
  --shell: 1440px;
  --gutter: 24px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection { background: #111; color: #fff; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
@media (min-width: 768px) {
  :root { --gutter: 40px; }
}
@media (min-width: 1280px) {
  :root { --gutter: 56px; }
}

.eyebrow {
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a8a8a;
  font-weight: 500;
}

section[id] { scroll-margin-top: 88px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 246, 246, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}
.header-row {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  display: block;
}
.brand-text { display: flex; flex-direction: column; gap: 3px; line-height: 1.1; }
.brand-cn { font-size: 15px; font-weight: 600; letter-spacing: 0.01em; }
.brand-en { font-size: 8.5px; letter-spacing: 0.24em; color: #a3a3a3; }

.desk-nav { display: none; align-items: center; gap: 44px; }
.desk-nav a {
  position: relative;
  font-size: 12.5px;
  color: #666;
  padding: 4px 0;
  transition: color 0.25s ease;
}
.desk-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: #111;
  transition: right 0.3s ease;
}
.desk-nav a:hover { color: #111; }
.desk-nav a:hover::after { right: 0; }

.header-right { display: flex; align-items: center; gap: 18px; }
.header-contact {
  display: none;
  font-size: 11.5px;
  color: #777;
  border-bottom: 1px solid #d5d5d5;
  padding-bottom: 3px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.header-contact:hover { color: #111; border-color: #111; }
.menu-toggle {
  background: none;
  border: 0;
  padding: 6px 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #555;
  cursor: pointer;
}

.mobile-menu { border-top: 1px solid var(--hair); }
.mobile-menu nav { display: flex; flex-direction: column; padding: 8px 24px 16px; }
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #ececec;
  font-size: 13px;
}
.mobile-menu a span:last-child { font-size: 10px; color: #a3a3a3; letter-spacing: 0.1em; }

@media (min-width: 768px) {
  .desk-nav { display: flex; }
  .header-contact { display: inline-block; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  background: #fbfbfb;
  border-bottom: 1px solid var(--hair);
}
.hero-shell { padding-top: 72px; padding-bottom: 32px; }
.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.hero-flower { width: 34px; height: 34px; color: #cfcfcf; flex: 0 0 auto; }

.hero-title {
  margin: 40px 0 0;
  font-size: clamp(2rem, 7.4vw, 7rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.035em;
  word-break: keep-all;
}
.hero-title span { display: block; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  margin-top: 56px;
}
/* 防止 grid item 被按钮/长文本的 min-content 宽度撑破视口 */
.hero-grid > * { min-width: 0; }
.hero-slogan {
  margin: 0;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.hero-slogan .dot { color: #bdbdbd; }
.hero-copy {
  margin-top: 24px;
  max-width: 560px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--mute);
}
.hero-copy p + p { margin-top: 14px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}
/* 首屏实心入口按钮：比表单按钮略轻，三个并排成一组 */
.hero-actions .hero-cta {
  padding: 11px 19px;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: #111;
  padding-bottom: 7px;
  border-bottom: 1px solid #d2d2d2;
  transition: border-color 0.25s ease;
}
.text-link svg { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.text-link:hover { border-color: #111; }
.text-link:hover svg { transform: translate(2px, -2px); }

.hero-aside {
  max-width: 300px;
  border-top: 1px solid var(--hair);
  padding-top: 20px;
  font-size: 12px;
  line-height: 1.95;
  color: #8c8c8c;
}
.aside-index {
  margin: 0 0 18px;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: #b3b3b3;
}
.aside-note { margin-top: 22px; font-size: 11.5px; line-height: 1.9; color: #a3a3a3; }

.hero-rule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 72px;
  padding-top: 14px;
  border-top: 1px solid #dedede;
  font-size: 9px;
  letter-spacing: 0.24em;
  color: #a3a3a3;
}
.hero-rule a { color: #111; }

/* 桌面端隐藏触屏提示语 */
.hint-touch { display: none; }

@media (min-width: 900px) {
  .hero-shell { padding-top: 96px; padding-bottom: 36px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 64px;
    margin-top: 72px;
    align-items: start;
  }
  .hero-aside { justify-self: end; width: 300px; }
  .hero-rule { margin-top: 96px; }
}

@media (min-width: 1280px) {
  .hero-shell { padding-top: 116px; }
  .hero-title { margin-top: 46px; }
}

/* Hero 入场 */
@media (prefers-reduced-motion: no-preference) {
  .hero-top,
  .hero-title,
  .hero-grid {
    animation: heroIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .hero-title { animation-delay: 0.08s; }
  .hero-grid { animation-delay: 0.16s; }
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 通用 section 头部 ---------- */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e2e2e2;
}
.section-head h2 {
  margin: 20px 0 0;
  font-family: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.24;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.section-note {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.9;
  color: #8f8f8f;
  letter-spacing: 0.02em;
}
@media (min-width: 768px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 46px;
  }
  .section-note { text-align: right; }
}

/* ---------- 团队名单 ---------- */
.roster {
  padding: 96px 0 110px;
  background: var(--bg);
}
.roster-grid {
  display: grid;
  gap: 40px;
  margin-top: 48px;
}
.roster-left { position: relative; }
.roster-list { position: relative; }

.roster-item { position: relative; }
.roster-name {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 14px;
  width: 100%;
  padding: 13px 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.roster-no {
  flex: 0 0 auto;
  width: 26px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: #b0b0b0;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}
.roster-label {
  font-family: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  font-size: clamp(1.6rem, 4.8vw, 2.15rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: #111;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.roster-tag {
  margin-left: auto;
  padding-left: 16px;
  flex: 0 0 auto;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9a9a9a;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.3s ease, transform 0.35s ease;
}
.roster-name:hover .roster-label,
.roster-item.is-active .roster-label { color: #000; }
.roster-name:hover .roster-no,
.roster-item.is-active .roster-no { color: #777; }
.roster-name:hover .roster-tag,
.roster-item.is-active .roster-tag { opacity: 1; transform: none; }

.roster-name:focus-visible {
  outline: 1px solid #111;
  outline-offset: 4px;
}

/* 悬浮图片 */
.roster-float {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  width: clamp(260px, 28vw, 380px);
  transform: translate(-50%, -50%) scale(0.965);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}
.roster-list.is-preview ~ .roster-float {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.float-frame {
  background: #fff;
  padding: 9px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.16);
  animation: floatIn 0.4s ease both;
}
@keyframes floatIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.float-cap {
  margin: 9px 0 1px;
  padding: 0 2px;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: #9a9a9a;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

/* 占位图 */
.media-ph {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #ededed;
}
.media-ph .ph-num {
  font-family: "Songti SC", "Noto Serif SC", "SimSun", Georgia, serif;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1;
  color: #cfcfcf;
}
.media-ph .ph-label {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-size: 8px;
  letter-spacing: 0.18em;
  color: #a8a8a8;
}
.media-float { aspect-ratio: 3 / 2; width: 100%; }

/* ---------- 真实照片（覆盖占位层） ---------- */
.ph-img,
.news-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 摘要面板（桌面） */
.roster-detail {
  align-self: start;
  border-top: 1px solid #111;
  padding-top: 18px;
  max-width: 340px;
}
.detail-index {
  margin: 0 0 18px;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: #a3a3a3;
}
.detail-name {
  margin: 0;
  font-family: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.4;
  font-weight: 400;
}
.detail-tag {
  margin: 10px 0 0;
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9a9a9a;
}
.detail-summary {
  margin: 20px 0 0;
  font-size: 12.5px;
  line-height: 1.9;
  color: #444;
}
.detail-body {
  margin-top: 18px;
  border-top: 1px solid #e2e2e2;
  padding-top: 18px;
  font-size: 12px;
  line-height: 1.95;
  color: #777;
}
.detail-body p + p { margin-top: 12px; }
.detail-note {
  margin: 26px 0 0;
  padding-top: 14px;
  border-top: 1px solid #e2e2e2;
  font-size: 10px;
  line-height: 1.9;
  color: #adadad;
}
.roster-noscript {
  margin-top: 28px;
  border-top: 1px solid #e2e2e2;
  padding-top: 16px;
  font-size: 12px;
  line-height: 1.9;
  color: #777;
}

/* 移动端展开的团队内容 */
.roster-inline { display: none; }
.inline-media { aspect-ratio: 3 / 2; width: 100%; }
.inline-copy { padding: 16px 0 26px; }
.inline-tag {
  margin: 0 0 10px;
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9a9a9a;
}
.inline-summary {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.85;
  color: #333;
}
.inline-body {
  border-top: 1px solid #e4e4e4;
  padding-top: 14px;
  font-size: 12px;
  line-height: 1.95;
  color: #777;
}
.inline-body p + p { margin-top: 10px; }

@media (min-width: 1024px) {
  .roster-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 88px;
    margin-top: 56px;
  }
  .roster-detail { position: sticky; top: 104px; }
  .roster-label { font-size: clamp(2rem, 3.3vw, 2.9rem); }
  .roster-name { padding: 15px 0; }
  .roster-list.is-preview .roster-item:not(.is-active) .roster-label { opacity: 0.3; }

  /* 纵向错落 */
  .roster-item:nth-child(1) .roster-name { padding-left: 0; }
  .roster-item:nth-child(2) .roster-name { padding-left: 12%; }
  .roster-item:nth-child(3) .roster-name { padding-left: 4%; }
  .roster-item:nth-child(4) .roster-name { padding-left: 19%; }
  .roster-item:nth-child(5) .roster-name { padding-left: 8%; }
  .roster-item:nth-child(6) .roster-name { padding-left: 16%; }
  .roster-item:nth-child(7) .roster-name { padding-left: 2%; }
  .roster-item:nth-child(8) .roster-name { padding-left: 24%; }
  .roster-item:nth-child(9) .roster-name { padding-left: 10%; }
  .roster-item:nth-child(10) .roster-name { padding-left: 5%; }
  .roster-item:nth-child(11) .roster-name { padding-left: 17%; }
  .roster-item:nth-child(12) .roster-name { padding-left: 1%; }
}

@media (hover: none) {
  /* 触屏设备没有光标，切换提示语 */
  .hint-hover { display: none; }
  .hint-touch { display: inline; }
  .roster-float { display: none; }
  .roster-detail { display: none; }
  .roster-item.is-open .roster-inline { display: block; }
  .roster-name { padding: 14px 0; }
  .roster-tag { opacity: 1; transform: none; }
  .roster-label { font-size: clamp(1.5rem, 6vw, 2rem); }
  .roster-name .roster-no { width: 22px; }
  .roster-name::after {
    content: "+";
    margin-left: 6px;
    font-size: 15px;
    color: #a3a3a3;
    transition: transform 0.3s ease;
  }
  .roster-item.is-open .roster-name::after { transform: rotate(45deg); }
  .roster-tag { display: none; }
  .roster-name { justify-content: flex-start; }
  .roster-name::after { margin-left: auto; }
}

/* ---------- 工作室纪事 ---------- */
.news {
  background: var(--paper);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: 96px 0 80px;
}
.news-grid {
  display: grid;
  gap: 44px;
  margin-top: 48px;
}
.news-card { display: block; }
.news-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #ededed;
  overflow: hidden;
  display: grid;
  place-items: center;
  transition: background-color 0.35s ease;
}
.news-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(17, 17, 17, 0.04);
}
.news-card:hover .news-media { background: #e6e6e6; }
.news-num {
  font-family: "Songti SC", "Noto Serif SC", "SimSun", Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  line-height: 1;
  color: #c9c9c9;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
}
.news-card:hover .news-num { transform: scale(1.06); color: #b5b5b5; }
.news-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 8px;
  letter-spacing: 0.2em;
  color: #a8a8a8;
}
.news-meta {
  display: flex;
  gap: 18px;
  margin-top: 20px;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: #9a9a9a;
  text-transform: uppercase;
}
h3 {
  margin: 12px 0 0;
  font-family: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}
.news-card > p {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--mute);
}
.news-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #111;
  border-bottom: 1px solid #d5d5d5;
  padding-bottom: 5px;
  transition: border-color 0.25s ease;
}
.news-card:hover .news-more { border-color: #111; }
.news-source {
  margin-top: 64px;
  border-top: 1px solid var(--hair);
  padding-top: 18px;
  font-size: 10.5px;
  line-height: 1.9;
  color: #9a9a9a;
}
@media (min-width: 768px) {
  .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
}

/* ---------- 意向卡 ---------- */
.intent {
  padding: 96px 0 110px;
  background: var(--bg);
}
.intent-grid {
  display: grid;
  gap: 48px;
  margin-top: 48px;
}
.intent-copy {
  max-width: 420px;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--mute);
}
.intent-form { margin-top: 36px; }
.field-group { margin-bottom: 30px; }
.field-group label {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9a9a9a;
}
.field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.counter { font-size: 9.5px; letter-spacing: 0.1em; color: #b3b3b3; }

.line-input {
  display: block;
  width: 100%;
  margin-top: 6px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #cfcfcf;
  border-radius: 0;
  padding: 10px 0;
  font-size: 17px;
  color: #111;
  transition: border-color 0.2s ease;
}
.line-input:focus { outline: none; border-color: #111; }
.line-input::placeholder { color: #b5b5b5; }
.line-input.is-error { border-color: #111; }

.line-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6' stroke='%23777777' fill='none' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 24px;
  font-size: 16px;
}

.line-area {
  display: block;
  width: 100%;
  margin-top: 8px;
  min-height: 88px;
  padding: 12px;
  resize: vertical;
  background: transparent;
  border: 1px solid #dcdcdc;
  border-radius: 0;
  font-size: 13px;
  line-height: 1.85;
  color: #111;
  transition: border-color 0.2s ease;
}
.line-area:focus { outline: none; border-color: #111; }
.line-area::placeholder { color: #b5b5b5; }

.field-error {
  margin: 8px 0 0;
  font-size: 11px;
  color: #111;
  border-left: 2px solid #111;
  padding-left: 8px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
}
.solid-btn,
.outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 1px;
  padding: 15px 24px;
  font-size: 12px;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.solid-btn { background: #111; color: #fff; border: 1px solid #111; }
.solid-btn:hover { background: #2b2b2b; border-color: #2b2b2b; }
.outline-btn { background: transparent; color: #111; border: 1px solid #111; }
.outline-btn:hover { background: #111; color: #fff; }
.privacy { font-size: 10.5px; color: #9a9a9a; letter-spacing: 0.02em; }

.preview-frame {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--hair);
}
.preview-empty { text-align: center; }
.preview-empty svg { width: 36px; height: 36px; color: #cccccc; }
.preview-empty p {
  margin: 18px 0 0;
  font-size: 11.5px;
  line-height: 1.9;
  color: #9a9a9a;
}
#card-image {
  display: block;
  max-width: 100%;
  max-height: 640px;
  width: auto;
  height: auto;
  margin: 0 auto;
}
/* 未生成卡片时，隐藏占位层的元素要真正隐藏（display 声明会覆盖 hidden） */
#card-image[hidden],
#card-empty[hidden],
#card-actions[hidden] { display: none; }
.preview-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}
.preview-actions p { margin: 0; font-size: 10.5px; color: #9a9a9a; }

@media (min-width: 1024px) {
  .intent-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 80px;
    margin-top: 56px;
  }
  .intent-form-col { padding-right: 20px; }
  .preview-frame { min-height: 560px; }
}

/* ---------- 页脚（深色） ---------- */
.site-footer {
  border-top: 1px solid #1c1c1c;
  background: #111111;
  color: #f2f2f2;
  padding: 72px 0 28px;
}
.footer-top {
  display: grid;
  gap: 40px;
}
.footer-mark {
  margin: 0;
  font-family: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: #ffffff;
}
.footer-cols {
  display: grid;
  gap: 32px;
}
.footer-label {
  margin: 0;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8f8f8f;
}
.footer-main { margin: 14px 0 0; font-size: 13px; color: #f2f2f2; }
.footer-sub { margin: 6px 0 0; font-size: 11px; line-height: 1.85; color: #9a9a9a; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
  font-size: 10px;
  color: #8a8a8a;
}
.footer-bottom a { color: #d0d0d0; }
.footer-bottom a:hover { color: #ffffff; }

@media (min-width: 768px) {
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 64px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}

/* ---------- 提示条 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 90;
  transform: translate(-50%, 12px);
  padding: 11px 20px;
  background: #111;
  color: #fff;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 工作室详情弹层 ---------- */
button.text-link {
  background: none;
  border: 0;
  border-bottom: 1px solid #d2d2d2;
  padding: 0 0 7px;
  font-family: inherit;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: #111;
  cursor: pointer;
}
button.text-link:hover { border-bottom-color: #111; }

.about-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 17, 17, 0.44);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.about-modal[hidden] { display: none; }
.about-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(820px, 100%);
  max-height: min(86vh, 880px);
  background: #ffffff;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.26);
  animation: aboutIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes aboutIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.about-head {
  flex: none;
  padding: clamp(26px, 3.6vw, 42px) clamp(24px, 3.6vw, 48px) 20px;
  padding-right: 96px;
  border-bottom: 1px solid #111;
}
.about-title {
  margin: 14px 0 0;
  font-family: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.about-sub {
  margin: 12px 0 0;
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: #8a8a8a;
}
.about-close {
  position: absolute;
  top: clamp(22px, 3.2vw, 34px);
  right: clamp(20px, 3.2vw, 40px);
  padding: 7px 13px;
  background: #ffffff;
  border: 1px solid #111;
  font-family: inherit;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #111;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.about-close:hover { background: #111; color: #ffffff; }
.about-body {
  overflow-y: auto;
  padding: clamp(24px, 3.2vw, 36px) clamp(24px, 3.6vw, 48px) clamp(26px, 3.6vw, 40px);
}
.about-block { margin-bottom: 30px; }
.about-block:last-of-type { margin-bottom: 0; }
.about-no {
  margin: 0 0 6px;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: #b3b3b3;
}
.about-block h3 {
  margin: 0 0 12px;
  font-family: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.about-block p {
  margin: 0;
  font-size: 13px;
  line-height: 2;
  color: #4a4a4a;
}
.about-list { margin: 4px 0 0; }
.about-list dt {
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: #111;
}
.about-list dt:first-child { margin-top: 0; }
.about-list dd {
  margin: 7px 0 0;
  font-size: 13px;
  line-height: 1.95;
  color: #6a6a6a;
}
.about-note {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid #ececec;
  font-size: 10.5px;
  line-height: 1.9;
  color: #a0a0a0;
}

@media (max-width: 640px) {
  .about-modal { padding: 0; }
  .about-panel { width: 100%; max-height: 100%; height: 100%; }
  .about-head { padding: 22px 20px 18px; padding-right: 84px; }
  .about-close { top: 18px; right: 16px; }
  .about-body { padding: 22px 20px 32px; }
}
