*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: #F5F0E6;
  color: #2C2C2C;
  line-height: 1.8;
  font-weight: 300;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:root {
  --ink: #2C2C2C;
  --rice: #F5F0E6;
  --ochre: #8B5A2B;
  --indigo: #1E3A5F;
  --bamboo: #5F8575;
  --rice-dark: #E8E0D0;
  --rice-light: #FAF7F0;
}

h1, h2, h3, h4, .logo, .hero-title, .section-title {
  font-family: 'Ma Shan Zheng', 'KaiTi', 'STKaiti', 'ZCOOL XiaoWei', serif;
  font-weight: 400;
  letter-spacing: 0.05em;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1em; }
a { color: var(--indigo); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--ochre); }

.fret-border {
  height: 6px;
  background:
    linear-gradient(90deg, var(--ochre) 2px, transparent 2px) repeat-x,
    linear-gradient(0deg, var(--ochre) 2px, transparent 2px) repeat-y;
  background-size: 12px 12px, 12px 12px;
  opacity: 0.35;
  margin: 1.5rem 0;
}
.divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 2rem 0;
  color: var(--ochre);
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  font-weight: 400;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ochre), transparent);
  opacity: 0.35;
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(245, 240, 230, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139, 90, 43, 0.12);
  padding: 0 1.2rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.25rem;
  color: var(--ink);
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}
.logo small {
  font-size: 0.65rem;
  color: var(--ochre);
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 300;
  opacity: 0.8;
}
.nav-links {
  display: none;
  list-style: none;
  gap: 0.15rem;
}
.nav-links a {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 400;
  transition: all 0.25s ease;
  cursor: pointer;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(139, 90, 43, 0.1);
  color: var(--ochre);
}
.nav-links a.active { font-weight: 500; }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1px solid rgba(139, 90, 43, 0.2);
  border-radius: 6px;
  cursor: pointer;
  padding: 8px 10px;
  min-width: 42px;
  min-height: 42px;
  transition: border-color 0.3s, background 0.3s;
}
.hamburger:hover { border-color: var(--ochre); background: rgba(139, 90, 43, 0.04); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
  border-radius: 1px;
  transform-origin: center;
}
.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .hamburger span:nth-child(2) { opacity: 0; }
.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-open .hamburger { border-color: var(--ochre); }

.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 56px; left: 0; right: 0;
  background: rgba(245, 240, 230, 0.98);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139, 90, 43, 0.12);
  padding: 0.6rem 1.2rem 1.2rem;
  gap: 0.1rem;
  animation: slideDown 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.page {
  display: none;
  padding-top: 56px;
  min-height: 100vh;
  animation: pageIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.page.active { display: block; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.2rem;
}

.hero {
  position: relative;
  padding: 3.5rem 1.2rem 2.5rem;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 200px;
  border: 2px solid rgba(139, 90, 43, 0.1);
  border-radius: 50%;
  pointer-events: none;
  animation: pulseRing 4s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  width: 140px; height: 140px;
  border: 1px solid rgba(139, 90, 43, 0.06);
  border-radius: 50%;
  pointer-events: none;
  animation: pulseRing 4s ease-in-out infinite 0.5s;
}
@keyframes pulseRing {
  0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.5; transform: translateX(-50%) scale(1.05); }
}
.hero-title {
  font-size: 2.4rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
  position: relative;
  animation: fadeUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.hero-sub {
  font-size: 0.95rem;
  color: var(--ochre);
  font-weight: 300;
  letter-spacing: 0.25em;
  position: relative;
  animation: fadeUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}
.hero-desc {
  max-width: 520px;
  margin: 1rem auto 0;
  font-size: 0.88rem;
  color: #888;
  position: relative;
  line-height: 1.7;
  animation: fadeUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section-title {
  text-align: center;
  font-size: 1.7rem;
  margin-bottom: 0.2rem;
  color: var(--ink);
}
.section-sub {
  text-align: center;
  font-size: 0.82rem;
  color: var(--ochre);
  letter-spacing: 0.1em;
  margin-bottom: 1.8rem;
  font-weight: 300;
  opacity: 0.8;
}

.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 1.8rem 0;
}
.cat-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 0.6rem;
  background: var(--rice-light);
  border: 1px solid rgba(139, 90, 43, 0.12);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
  min-height: 110px;
  overflow: hidden;
}
.cat-entry:hover {
  border-color: var(--ochre);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 30px rgba(139, 90, 43, 0.12);
}
.cat-entry:active { transform: translateY(-1px) scale(1.01); }
.cat-entry .icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cat-entry:hover .icon { transform: scale(1.15); }
.cat-entry .label {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  z-index: 1;
}
.cat-entry .count {
  font-size: 0.72rem;
  color: #aaa;
  margin-top: 0.15rem;
  position: relative;
  z-index: 1;
}
.icon-fine-art { background: linear-gradient(135deg, #D4A574, #8B5A2B); }
.icon-craft    { background: linear-gradient(135deg, #5F8575, #3D6B5A); }
.icon-opera    { background: linear-gradient(135deg, #C94545, #8B2A2A); }
.icon-folk     { background: linear-gradient(135deg, #1E3A5F, #2A5080); }

.card-grid {
  display: grid;
  gap: 1rem;
  margin: 1.2rem 0;
}
.card {
  background: var(--rice-light);
  border: 1px solid rgba(139, 90, 43, 0.1);
  border-radius: 10px;
  padding: 1.4rem;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}
.card:hover {
  border-color: rgba(139, 90, 43, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
.card:active { transform: translateY(-1px); }
.card-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: var(--ink);
  line-height: 1.4;
}
.card-meta {
  font-size: 0.78rem;
  color: var(--ochre);
  margin-bottom: 0.5rem;
  opacity: 0.85;
}
.card-text {
  font-size: 0.86rem;
  color: #777;
  line-height: 1.7;
}

.thumb-block {
  width: 100%;
  height: 120px;
  border-radius: 8px;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.08em;
  font-weight: 300;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.card:hover .thumb-block { transform: scale(1.02); }
.thumb-fine-art { background: linear-gradient(135deg, #D4A574, #8B5A2B); }
.thumb-craft    { background: linear-gradient(135deg, #5F8575, #3D6B5A); }
.thumb-opera    { background: linear-gradient(135deg, #C94545, #8B2A2A); }
.thumb-folk     { background: linear-gradient(135deg, #1E3A5F, #2A5080); }
.thumb-indigo   { background: linear-gradient(135deg, #1E3A5F, #2A5080); }
.thumb-ochre    { background: linear-gradient(135deg, #8B5A2B, #A07040); }
.thumb-bamboo   { background: linear-gradient(135deg, #5F8575, #3D6B5A); }
.thumb-red      { background: linear-gradient(135deg, #C94545, #8B2A2A); }
.thumb-gold     { background: linear-gradient(135deg, #C9A84C, #8B7A2B); }

.inheritor-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--rice-light);
  border: 1px solid rgba(139, 90, 43, 0.1);
  border-radius: 10px;
  padding: 1.4rem;
  transition: all 0.35s ease;
}
.inheritor-card-wide {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: var(--rice-light);
  border: 1px solid rgba(139, 90, 43, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
  transition: all 0.35s ease;
}
.inheritor-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ochre), #A07040);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Ma Shan Zheng', serif;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(139, 90, 43, 0.15);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.inheritor-card:hover .inheritor-avatar,
.inheritor-card-wide:hover .inheritor-avatar { transform: scale(1.05); }

.news-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(139, 90, 43, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
}
.news-item:hover {
  padding-left: 0.8rem;
  background: linear-gradient(90deg, rgba(139, 90, 43, 0.03), transparent);
}
.news-item:last-child { border-bottom: none; }
.news-date { font-size: 0.75rem; color: #bbb; }
.news-title {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0.15rem 0 0.25rem;
  color: var(--ink);
  transition: color 0.3s;
}
.news-item:hover .news-title { color: var(--ochre); }

.course-card {
  background: var(--rice-light);
  border: 1px solid rgba(139, 90, 43, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.course-card:hover {
  border-color: rgba(139, 90, 43, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
.video-placeholder {
  width: 100%;
  height: 170px;
  background: linear-gradient(135deg, #1E3A5F 30%, #2A5080);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  position: relative;
  cursor: pointer;
  transition: all 0.4s ease;
  overflow: hidden;
}
.video-placeholder:hover { opacity: 0.85; }
.video-placeholder::before {
  content: '\25B6';
  font-size: 2.2rem;
  opacity: 0.4;
  margin-bottom: 0.3rem;
  position: relative;
  z-index: 1;
  transition: transform 0.3s, opacity 0.3s;
}
.video-placeholder:hover::before { transform: scale(1.15); opacity: 0.6; }
.course-body { padding: 1.2rem 1.4rem 1.4rem; }

.btn {
  display: inline-block;
  padding: 0.65rem 1.6rem;
  border: 1px solid var(--ochre);
  border-radius: 6px;
  background: transparent;
  color: var(--ochre);
  font-size: 0.88rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: inherit;
  line-height: 1.4;
}
.btn:hover {
  background: var(--ochre);
  color: var(--rice);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 90, 43, 0.2);
}
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-primary {
  background: var(--ochre);
  color: var(--rice);
}
.btn-primary:hover { background: #7A4A1F; color: var(--rice); }
.btn-sm { padding: 0.35rem 0.9rem; font-size: 0.8rem; }

.detail-section { margin-bottom: 2rem; }
.detail-section h3 {
  color: var(--ochre);
  margin-bottom: 0.7rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid rgba(139, 90, 43, 0.12);
  font-size: 1.2rem;
}
.detail-section p { font-size: 0.92rem; line-height: 1.9; }

.step-list { list-style: none; counter-reset: step; }
.step-list li {
  counter-increment: step;
  padding: 0.8rem 0 0.8rem 2.5rem;
  position: relative;
  border-left: 2px solid rgba(139, 90, 43, 0.12);
  margin-left: 0.8rem;
  font-size: 0.9rem;
  line-height: 1.8;
  transition: border-color 0.3s;
}
.step-list li:hover { border-left-color: var(--ochre); }
.step-list li:last-child { border-left-color: transparent; padding-bottom: 0; }
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: -0.85rem;
  top: 0.75rem;
  width: 1.6rem; height: 1.6rem;
  border-radius: 50%;
  background: var(--ochre);
  color: var(--rice);
  font-size: 0.72rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.step-list li:hover::before { transform: scale(1.15); }

.blockquote {
  font-style: italic;
  color: var(--ochre);
  padding: 1.2rem 1.5rem;
  background: rgba(139, 90, 43, 0.04);
  border-radius: 8px;
  border-left: 3px solid var(--ochre);
  margin: 1rem 0;
  line-height: 1.8;
  font-size: 0.92rem;
  position: relative;
}

.tag {
  display: inline-block;
  padding: 0.12rem 0.55rem;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 400;
  margin-right: 0.3rem;
  margin-bottom: 0.25rem;
  line-height: 1.6;
}
.tag-ochre  { background: rgba(139, 90, 43, 0.1); color: var(--ochre); }
.tag-indigo { background: rgba(30, 58, 95, 0.08); color: var(--indigo); }
.tag-bamboo { background: rgba(95, 133, 117, 0.1); color: var(--bamboo); }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}
.filter-btn {
  padding: 0.35rem 1rem;
  border: 1px solid var(--ochre);
  border-radius: 20px;
  background: transparent;
  color: var(--ochre);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: inherit;
}
.filter-btn:hover { background: rgba(139, 90, 43, 0.08); transform: translateY(-1px); }
.filter-btn.active { background: var(--ochre); color: var(--rice); border-color: var(--ochre); }

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  animation: fadeIn 0.2s ease;
}
.modal-overlay.open { display: flex; }
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.modal {
  background: var(--rice);
  border-radius: 12px;
  padding: 2rem 1.5rem 1.5rem;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
  animation: modalUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalUp {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 1rem; right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: #bbb;
  padding: 4px 8px;
  line-height: 1;
  border-radius: 4px;
  transition: all 0.2s;
}
.modal-close:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.05);
  transform: rotate(90deg);
}
.modal h3 { font-size: 1.25rem; margin-bottom: 0.3rem; color: var(--ink); text-align: center; }
.modal-sub { text-align: center; font-size: 0.82rem; color: #999; margin-bottom: 1.2rem; }

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: #888;
  margin-bottom: 0.3rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(139, 90, 43, 0.18);
  border-radius: 6px;
  background: var(--rice-light);
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--ink);
  transition: all 0.25s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ochre);
  box-shadow: 0 0 0 3px rgba(139, 90, 43, 0.06);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-actions { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.form-actions .btn { flex: 1; text-align: center; }

.breadcrumb { font-size: 0.8rem; color: #bbb; margin-bottom: 1.2rem; padding: 0.4rem 0; }
.breadcrumb a { color: var(--ochre); cursor: pointer; }
.breadcrumb a:hover { opacity: 0.7; }
.breadcrumb .sep { color: #ddd; margin: 0 0.3rem; }

.back-bar { display: flex; align-items: center; padding: 0.5rem 0; margin-bottom: 0.3rem; }
.back-btn {
  background: none;
  border: none;
  font-size: 0.88rem;
  color: var(--ochre);
  cursor: pointer;
  padding: 6px 10px;
  font-family: inherit;
  border-radius: 4px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.back-btn:hover { background: rgba(139, 90, 43, 0.08); transform: translateX(-2px); }

footer {
  border-top: 1px solid rgba(139, 90, 43, 0.1);
  padding: 2rem 1.2rem;
  text-align: center;
  color: #bbb;
  font-size: 0.8rem;
  margin-top: 3rem;
  line-height: 1.8;
}

.toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: var(--indigo);
  color: var(--rice);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  z-index: 3000;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  max-width: 90vw;
  text-align: center;
  line-height: 1.5;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.page-banner {
  background: linear-gradient(135deg, rgba(139, 90, 43, 0.05), rgba(30, 58, 95, 0.05));
  padding: 2rem 1.2rem;
  text-align: center;
  border-bottom: 1px solid rgba(139, 90, 43, 0.06);
}

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

@media (min-width: 640px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

@media (min-width: 768px) {
  body { font-size: 16px; }
  .hamburger { display: none; }
  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    animation: none !important;
  }
  .hero { padding: 5rem 2rem 3.5rem; }
  .hero-title { font-size: 3.2rem; }
  .hero-sub { font-size: 1.05rem; }
  .hero-desc { font-size: 0.95rem; }
  .container { padding: 2rem; }
  h1 { font-size: 2.6rem; }
  h2 { font-size: 1.9rem; }
  .cat-entry { min-height: 130px; padding: 1.8rem 1rem; }
  .inheritor-card { flex-direction: row; align-items: flex-start; }
  .inheritor-card-wide { flex-direction: row; align-items: flex-start; }
  .inheritor-avatar { width: 90px; height: 90px; font-size: 2rem; }
  .card-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .video-placeholder { height: 190px; }
  .thumb-block { height: 150px; }
  .step-list li { font-size: 0.95rem; }
  .page-banner { padding: 3rem 2rem; }
}

@media (min-width: 1200px) {
  .hero-title { font-size: 3.8rem; }
  .hero { padding: 6rem 2rem 4rem; }
  .container { padding: 2.5rem 2rem; }
  .card-grid-2 { gap: 1.5rem; }
}

@media print {
  nav { display: none; }
  .page { display: block !important; padding-top: 0; }
  .back-bar, .breadcrumb { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
