/* ============================================================
   沐源渡官网 V1 · 响应式全站样式
   Mobile First · 米黄+暗红复古文化配色
   ============================================================ */

:root {
  --bg: #f5ebe1;
  --surface: #fff;
  --bio: #fdeedb;
  --ink: #2b1f17;
  --ink-2: #554639;
  --muted: #8a7a6a;
  --accent: #8d3728;
  --accent-hover: #a73e2f;
  --heritage: #3d5a3a;
  --life: #6b4a1e;
  --ai: #2c3f63;
  --line: #ead9c4;
  --line-2: #e4d3bd;
  --shadow-sm: 0 2px 8px rgba(120,70,35,.06);
  --shadow: 0 6px 22px rgba(120,70,35,.08);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --font-sans: "PingFang SC","Noto Sans SC","Microsoft YaHei",sans-serif;
  --font-serif: "Noto Serif SC","Songti SC","Source Han Serif CN",serif;
  --content-w: 1200px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.7;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  letter-spacing: 0.01em;
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

/* ---------- Container ---------- */
.container {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

@media (min-width: 1080px) {
  .container { padding: 0 24px; }
}

/* ---------- Site Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 235, 225, 0.97);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  user-select: none;
}

.brand h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.brand .sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  letter-spacing: 0.02em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  position: relative;
  font-size: 15px;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover {
    color: var(--accent);
  }
  .nav-links a:hover::after {
    width: 100%;
  }
}

.nav-links a.active {
  color: var(--accent);
  font-weight: 500;
}

.nav-links a.active::after {
  width: 100%;
}

/* Nav Toggle (Hamburger) */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  gap: 5px;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}

.site-nav.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-nav.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-nav.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Panel */
@media (max-width: 767.98px) {
  .site-nav.is-open .nav-links {
    display: flex;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(29, 24, 21, 0.98);
    padding: 24px 20px;
    z-index: 49;
  }

  .site-nav.is-open .nav-links a {
    color: #f5ebe1;
    font-size: 18px;
    padding: 16px 4px;
    border-bottom: 1px solid rgba(245, 235, 225, 0.1);
    width: 100%;
  }

  .site-nav.is-open .nav-links a::after {
    display: none;
  }

  .site-nav.is-open .nav-links a.active {
    color: var(--accent);
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* ---------- Hero Section ---------- */
.hero-section {
  min-height: 680px;
  background: radial-gradient(ellipse at 20% 10%, #fdf0dc 0%, var(--bg) 55%, #efe0cc 100%);
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}

@media (min-height: 800px) {
  .hero-section {
    min-height: 88vh;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text {
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bio);
  color: var(--accent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .hero-title { font-size: 56px; }
}

@media (min-width: 1080px) {
  .hero-title { font-size: 62px; }
}

.hero-subtitle {
  font-size: 24px;
  font-family: var(--font-serif);
  color: var(--accent);
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-body {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-illustration {
  display: none;
  height: 420px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bio) 0%, #f5d9b8 100%);
  position: relative;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  font-size: 140px;
  opacity: 0.85;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
  }
  .hero-illustration {
    display: flex;
  }
}

/* Hero Entries */
.hero-entries {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .hero-entries {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.hero-entry {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .hero-entry:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
  }
}

.entry-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: var(--bio);
  flex: 0 0 auto;
}

.entry-icon.human { background: #fde4d6; }
.entry-icon.scroll { background: #e4efe0; }
.entry-icon.leaf { background: #ecf3e3; }

.entry-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-serif);
}

.entry-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.entry-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  align-self: flex-start;
  transition: background 0.2s ease;
  width: fit-content;
}

@media (hover: hover) and (pointer: fine) {
  .entry-cta:hover {
    background: var(--accent-hover);
  }
}

.entry-cta::after {
  content: ' →';
  transition: transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .hero-entry:hover .entry-cta::after {
    transform: translateX(3px);
  }
}

/* ---------- Section ---------- */
.section {
  padding: 60px 0;
}

@media (min-width: 768px) {
  .section { padding: 80px 0; }
}

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

.section-head {
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .section-head { margin-bottom: 48px; }
}

.kicker {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .section-head h2 { font-size: 32px; }
}

@media (min-width: 1080px) {
  .section-head h2 { font-size: 36px; }
}

.section-head .lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.7;
}

/* ---------- Cards Grid ---------- */
.people-museum-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 76px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(141, 55, 40, 0.08), transparent 42%),
    var(--bg);
}

.people-museum-hero::before,
.people-museum-hero::after {
  content: "";
  position: absolute;
  top: 42px;
  width: 28%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(141, 55, 40, 0.25));
}
.people-museum-hero::before { left: 0; }
.people-museum-hero::after { right: 0; transform: scaleX(-1); }

.people-museum-hero-inner { position: relative; }
.people-museum-ornament {
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 auto 26px;
  border: 1px solid rgba(141, 55, 40, 0.5);
  transform: rotate(45deg);
}
.people-museum-ornament::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 12px;
  background: var(--accent);
}
.people-museum-en {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
}
.people-museum-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.people-museum-hero h1 span { color: var(--accent); letter-spacing: 0.04em; }
.people-museum-subtitle {
  margin-top: 24px;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: clamp(16px, 2vw, 19px);
  letter-spacing: 0.08em;
}
.people-museum-gallery { padding: 10px 0 100px; }
.people-museum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 380px));
  justify-content: center;
  gap: 32px;
}

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

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Unified Card Base ---------- */
.person-card,
.heritage-card,
.culturelife-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

body[data-page-type="people-index"] .person-card {
  padding: 0;
  gap: 0;
  border: 1px solid rgba(84, 66, 49, 0.12);
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: 0 18px 50px rgba(65, 48, 32, 0.10);
}
.person-card-portrait {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.7), transparent 48%),
    radial-gradient(circle at 50% 38%, #f4eadc, #e9ddc9 72%);
}
.person-card-portrait::before {
  content: "";
  position: absolute;
  width: 176px;
  height: 176px;
  border: 1px solid rgba(141, 55, 40, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(255,255,255,.18), 0 0 0 23px rgba(141,55,40,.08);
}
.person-card-portrait img { width: 100%; height: 100%; object-fit: cover; }
.person-card-seal {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 2px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: var(--portrait-color);
  color: #fffaf0;
  font-family: var(--font-serif);
  font-size: 52px;
  box-shadow: 0 14px 32px rgba(79, 43, 31, .22);
}
.person-card-body { display: flex; flex: 1; flex-direction: column; padding: 28px 30px 30px; text-align: center; }
.person-card-index { margin-bottom: 10px; color: #a8835e; font-size: 10px; letter-spacing: .2em; }
body[data-page-type="people-index"] .person-card .card-title { margin: 0; font-family: var(--font-serif); font-size: 30px; letter-spacing: .12em; }
body[data-page-type="people-index"] .person-card .card-subtitle { min-height: 44px; margin-top: 10px; font-size: 14px; line-height: 1.65; }
body[data-page-type="people-index"] .person-card .card-tags { justify-content: center; margin-top: 20px; gap: 8px; }
body[data-page-type="people-index"] .person-card .card-tags .tag { border: 1px solid rgba(141,55,40,.13); background: transparent; padding: 6px 11px; }
body[data-page-type="people-index"] .person-card .card-actions { margin-top: 26px; }
body[data-page-type="people-index"] .person-card .btn-primary { border-radius: 999px; letter-spacing: .06em; }

@media (hover: hover) and (pointer: fine) {
  body[data-page-type="people-index"] .person-card:hover { transform: translateY(-8px); box-shadow: 0 26px 64px rgba(65, 48, 32, 0.16); }
  body[data-page-type="people-index"] .person-card:hover .person-card-seal { transform: scale(1.04); }
  .person-card-seal { transition: transform .35s ease; }
}

@media (max-width: 600px) {
  .people-museum-hero { padding: 68px 0 56px; }
  .people-museum-hero h1 { letter-spacing: .08em; }
  .people-museum-en { font-size: 10px; letter-spacing: .18em; }
  .people-museum-gallery { padding-bottom: 72px; }
}

@media (hover: hover) and (pointer: fine) {
  .person-card:hover,
  .heritage-card:hover,
  .culturelife-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
  }
}

.card-cover {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  flex: 0 0 auto;
  user-select: none;
}

.person-card .card-cover {
  border-radius: 50%;
  font-size: 28px;
}

.card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.card-top-info {
  flex: 1;
  min-width: 0;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.35;
}

.card-subtitle {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.card-summary {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-tags .tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bio);
  color: var(--accent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

.card-tags .tag.heritage { background: #e4efe0; color: var(--heritage); }
.card-tags .tag.life { background: #f4ecdc; color: var(--life); }
.card-tags .tag.ai { background: #e3eaf5; color: var(--ai); }

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  flex: 1;
  text-align: center;
  white-space: nowrap;
}

.btn-secondary {
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--line-2);
}

@media (hover: hover) and (pointer: fine) {
  .btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--accent-hover);
  }
}

.btn-primary:disabled,
.btn-secondary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- Status Pills ---------- */
.status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.status-active {
  background: var(--heritage);
}

.status-coming {
  background: #c08a2d;
}

.card-status {
  margin-left: auto;
  flex: 0 0 auto;
}

/* ---------- Content Layout (Article Page) ---------- */
.content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 32px 0 60px;
}

@media (min-width: 768px) {
  .content-layout {
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: flex-start;
    padding: 48px 0 80px;
  }
}

.content-sidebar {
  position: sticky;
  top: 88px;
}

.content-sidebar h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
  font-family: var(--font-sans);
}

.content-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.content-sidebar nav a {
  padding: 8px 12px;
  font-size: 14px;
  color: var(--ink-2);
  border-radius: 8px;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.content-sidebar nav a:hover,
.content-sidebar nav a.active {
  background: var(--bio);
  color: var(--accent);
  border-left-color: var(--accent);
}

.content-main {
  max-width: 700px;
  min-width: 0;
}

.content-main h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .content-main h1 { font-size: 36px; }
}

.content-main .article-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.content-main article {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-2);
}

.content-main article h2 {
  font-size: 24px;
  margin: 36px 0 16px;
  padding-top: 8px;
}

.content-main article h3 {
  font-size: 19px;
  margin: 28px 0 12px;
}

.content-main article p {
  margin-bottom: 16px;
}

.content-main article blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  background: var(--bio);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink);
  font-style: italic;
}

.content-main article ul,
.content-main article ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.content-main article li {
  list-style: disc;
  margin-bottom: 8px;
}

.content-main article ol li {
  list-style: decimal;
}

/* ---------- Two Col Grid (Person Detail) ---------- */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 32px 0 60px;
}

@media (min-width: 768px) {
  .two-col-grid {
    grid-template-columns: 40% 60%;
    gap: 48px;
    align-items: start;
    padding: 48px 0 80px;
  }
}

.person-cover-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.person-cover-card .big-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 700;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.person-cover-card h2 {
  font-size: 26px;
}

.person-cover-card .identity {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.person-cover-card .cover-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.person-detail-info h1 {
  font-size: 32px;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .person-detail-info h1 { font-size: 40px; }
}

.person-detail-info .detail-identity {
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 20px;
  font-family: var(--font-serif);
}

.detail-block {
  margin-bottom: 28px;
}

.detail-block h3 {
  font-size: 18px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-block h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--accent);
  border-radius: 2px;
}

.detail-block p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.8;
}

.detail-block ul {
  padding-left: 20px;
}

.detail-block li {
  list-style: none;
  position: relative;
  padding-left: 20px;
  padding-bottom: 10px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
}

.detail-block li::before {
  content: '·';
  position: absolute;
  left: 4px;
  top: -4px;
  font-size: 24px;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Footer ---------- */
.footer {
  background: #1d1815;
  color: var(--bg);
  padding: 60px 0 30px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 3fr 2fr 2fr;
    gap: 32px;
  }
}

@media (min-width: 1080px) {
  .footer-grid {
    grid-template-columns: 3fr 2fr 2fr 3fr;
    gap: 40px;
  }
}

.footer-brand h2 {
  font-size: 26px;
  color: var(--bg);
  margin-bottom: 8px;
}

.footer-brand .tagline {
  font-size: 13px;
  color: rgba(245, 235, 225, 0.6);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.footer-brand .desc {
  font-size: 13px;
  color: rgba(245, 235, 225, 0.55);
  line-height: 1.75;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(245, 235, 225, 0.75);
  margin-bottom: 16px;
  font-family: var(--font-sans);
  font-weight: 600;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(245, 235, 225, 0.7);
  transition: color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer-col a:hover {
    color: var(--bg);
  }
}

.footer-col .contact-item {
  font-size: 13px;
  color: rgba(245, 235, 225, 0.65);
  line-height: 1.7;
  margin-bottom: 6px;
}

.footer-col .contact-item strong {
  color: rgba(245, 235, 225, 0.85);
  font-weight: 500;
  display: inline-block;
  min-width: 56px;
}

.footer-principles {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-principles .principle {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-principles .p-key {
  flex: 0 0 auto;
  padding: 3px 10px;
  background: rgba(141, 55, 40, 0.35);
  color: #f4c4ba;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.footer-principles .p-body {
  font-size: 12px;
  color: rgba(245, 235, 225, 0.55);
  line-height: 1.65;
  padding-top: 2px;
}

.footer-copyright {
  padding-top: 24px;
  border-top: 1px solid rgba(245, 235, 225, 0.1);
  font-size: 12px;
  color: rgba(245, 235, 225, 0.4);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ---------- Topic Item (Culture Life Section) ---------- */
.topic-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 768px) {
  .topic-item {
    grid-template-columns: auto 1fr;
    gap: 32px;
    padding: 36px 0;
    align-items: start;
  }

  .topic-item:nth-child(even) {
    grid-template-columns: 1fr auto;
  }

  .topic-item:nth-child(even) .topic-order {
    grid-column: 2;
    grid-row: 1;
  }

  .topic-item:nth-child(even) .topic-content {
    grid-column: 1;
    grid-row: 1;
  }
}

.topic-order {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  user-select: none;
  flex: 0 0 auto;
}

@media (min-width: 768px) {
  .topic-order { font-size: 64px; }
}

.topic-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.topic-content .topic-summary {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 14px;
}

.topic-articles-preview {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.topic-articles-preview li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.topic-articles-preview li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  opacity: 0.6;
  font-size: 12px;
  line-height: 1.6;
}

/* ---------- Stage Card (AI x Culture) ---------- */
.stages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 768px) {
  .stages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .stages-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stages-grid .stage-card:first-child {
    grid-column: span 1;
  }

  .stages-grid .stage-card:last-child {
    grid-column: span 3;
  }
}

.stage-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 3px solid var(--ai);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.stage-card[data-id="digitize"] { border-top-color: var(--life); }
.stage-card[data-id="distill"] { border-top-color: var(--accent); }
.stage-card[data-id="person_ai"] { border-top-color: var(--heritage); }
.stage-card[data-id="heritage_service"] { border-top-color: var(--life); }
.stage-card[data-id="digital_life"] { border-top-color: var(--ai); }

@media (hover: hover) and (pointer: fine) {
  .stage-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
  }
}

.stage-card .stage-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--bio);
  display: grid;
  place-items: center;
  font-size: 28px;
  flex: 0 0 auto;
}

.stage-card[data-id="digitize"] .stage-icon { background: #f4ecdc; }
.stage-card[data-id="distill"] .stage-icon { background: #fde4d6; }
.stage-card[data-id="person_ai"] .stage-icon { background: #e4efe0; }
.stage-card[data-id="heritage_service"] .stage-icon { background: #f4ecdc; }
.stage-card[data-id="digital_life"] .stage-icon { background: #e3eaf5; }

.stage-card h3 {
  font-size: 20px;
  font-weight: 700;
}

.stage-card .stage-body {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.75;
}

.stage-io {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.stage-io-col {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.stage-io-col label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.stage-io-col li {
  font-size: 13px;
  color: var(--ink-2);
  padding: 3px 0 3px 14px;
  position: relative;
  line-height: 1.55;
}

.stage-io-col li::before {
  content: '·';
  position: absolute;
  left: 2px;
  top: -2px;
  font-size: 20px;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Brand Principle Grid (About Page) ---------- */
.brand-principle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .brand-principle-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1080px) {
  .brand-principle-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
  }
}

.brand-principle {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .brand-principle:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
  }
}

.brand-principle .p-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  flex: 0 0 auto;
}

.brand-principle h4 {
  font-size: 18px;
  font-family: var(--font-serif);
  color: var(--accent);
}

.brand-principle .p-body {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  padding: 20px 0 0;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumbs a {
  color: var(--ink-2);
  transition: color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .breadcrumbs a:hover {
    color: var(--accent);
  }
}

.breadcrumbs .sep {
  opacity: 0.5;
}

.breadcrumbs .current {
  color: var(--accent);
  font-weight: 500;
}

/* ---------- Reserve Banner ---------- */
.reserve-banner {
  margin: 40px 0 0;
  padding: 28px 24px;
  background: linear-gradient(135deg, rgba(44, 63, 99, 0.08) 0%, rgba(141, 55, 40, 0.06) 100%);
  border-radius: var(--radius);
  border: 1px dashed var(--line-2);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
}

@media (min-width: 768px) {
  .reserve-banner {
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    padding: 24px 32px;
  }
}

.reserve-banner .banner-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(44, 63, 99, 0.12);
  display: grid;
  place-items: center;
  font-size: 26px;
  flex: 0 0 auto;
  justify-self: center;
}

@media (min-width: 768px) {
  .reserve-banner .banner-icon {
    justify-self: start;
  }
}

.reserve-banner .banner-text h4 {
  font-size: 17px;
  margin-bottom: 4px;
  text-align: center;
}

@media (min-width: 768px) {
  .reserve-banner .banner-text h4 { text-align: left; }
}

.reserve-banner .banner-text p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}

@media (min-width: 768px) {
  .reserve-banner .banner-text p { text-align: left; }
}

.reserve-banner .banner-btn {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  justify-self: center;
}

@media (min-width: 768px) {
  .reserve-banner .banner-btn { justify-self: end; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.wrap { flex-wrap: wrap; }
.inline-block { display: inline-block; }
