* { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background: #f5f0e8;
    color: #2b2217;
    line-height: 1.75;
  }
  html { scroll-behavior: smooth; }
  section { scroll-margin-top: 72px; }
  .svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
  }

  nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(43, 34, 23, 0.96);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 16px 0;
  }
  .nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
  }
  .logo {
    font-size: 22px;
    font-weight: 600;
    color: #d4b886;
    letter-spacing: 6px;
  }
  .nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
  }
  .nav-links a {
    color: #e8dcc8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    letter-spacing: 1px;
  }
  .nav-links a:hover { color: #d4b886; }

  .hero {
    height: 92vh;
    background: linear-gradient(135deg, #2b2217 0%, #4a3b28 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    border: 1px solid rgba(212, 184, 134, 0.15);
    border-radius: 50%;
    animation: rotate 80s linear infinite;
  }
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, transparent 49.8%, rgba(212, 184, 134, 0.07) 50%, transparent 50.2%),
      linear-gradient(0deg, transparent 49.8%, rgba(212, 184, 134, 0.05) 50%, transparent 50.2%);
    background-size: 130px 130px;
    mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent);
    pointer-events: none;
  }
  @keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  .hero-content {
    text-align: center;
    color: #e8dcc8;
    z-index: 2;
  }
  .hero-cloud {
    position: absolute;
    width: 280px;
    color: rgba(212, 184, 134, 0.22);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    z-index: 1;
    animation: cloudDrift 12s ease-in-out infinite alternate;
  }
  .hero-cloud-left { left: 4%; bottom: 15%; }
  .hero-cloud-right {
    right: 2%;
    top: 22%;
    transform: scale(0.72) rotate(180deg);
    opacity: 0.72;
    animation-delay: -5s;
  }
  @keyframes cloudDrift {
    from { margin-left: -10px; }
    to { margin-left: 18px; }
  }
  .hero h1 {
    font-size: 68px;
    letter-spacing: 18px;
    margin-bottom: 18px;
    color: #d4b886;
    font-weight: 300;
  }
  .hero p {
    font-size: 18px;
    letter-spacing: 6px;
    opacity: 0.75;
    margin-bottom: 28px;
  }
  .hero-sub {
    font-size: 13px;
    letter-spacing: 3px;
    opacity: 0.5;
  }

  section {
    padding: 90px 40px;
    max-width: 1280px;
    margin: 0 auto;
  }
  .section-title {
    text-align: center;
    margin-bottom: 70px;
  }
  .section-title h2 {
    font-size: 34px;
    color: #2b2217;
    letter-spacing: 8px;
    margin-bottom: 14px;
    font-weight: 400;
  }
  .section-title .line {
    width: 56px;
    height: 2px;
    background: #d4b886;
    margin: 0 auto;
  }
  .section-title p {
    margin-top: 14px;
    color: #8b7355;
    letter-spacing: 2px;
    font-size: 14px;
  }

  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 36px;
  }
  .card {
    background: #fffdf9;
    border: 1px solid rgba(113, 83, 48, 0.1);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(61, 43, 24, 0.08);
    transition: transform 0.4s, box-shadow 0.4s;
  }
  .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(43, 34, 23, 0.12);
  }

  .canvas-wrap {
    width: 100%;
    height: 370px;
    background: radial-gradient(circle at 50% 42%, #fffdf8 0%, #f3ecdf 100%);
    position: relative;
    overflow: hidden;
  }
  .canvas-wrap canvas { display: block; width: 100%; height: 100%; }
  .scene-tag {
    position: absolute;
    top: 14px;
    left: 16px;
    background: rgba(47, 36, 25, 0.92);
    color: #ead2a7;
    padding: 7px 12px;
    font-size: 11px;
    border: 1px solid rgba(234, 210, 167, 0.2);
    border-radius: 999px;
    letter-spacing: 1.2px;
    box-shadow: 0 6px 16px rgba(43, 34, 23, 0.12);
    z-index: 5;
    pointer-events: none;
  }
  .auto-play-tip {
    position: absolute;
    top: 16px;
    right: 16px;
    color: #745e45;
    font-size: 11px;
    z-index: 5;
    pointer-events: none;
    opacity: 0.82;
  }
  .scene-legend {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 6;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    pointer-events: none;
  }
  .legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 5px 10px;
    background: rgba(255, 253, 248, 0.9);
    border: 1px solid rgba(91, 67, 40, 0.12);
    border-radius: 999px;
    box-shadow: 0 5px 14px rgba(65, 46, 27, 0.08);
    backdrop-filter: blur(8px);
    color: #5d4933;
    font-size: 11px;
    letter-spacing: 0.4px;
  }
  .legend-swatch {
    width: 9px;
    height: 9px;
    border-radius: 3px;
    background: var(--swatch);
    box-shadow: inset 0 0 0 1px rgba(43, 34, 23, 0.12);
  }
  .legend-swatch.light { --swatch: #cf9f65; }
  .legend-swatch.dark { --swatch: #8d673b; }
  .legend-swatch.accent { --swatch: #b94b3e; }
  .legend-swatch.core { --swatch: #d6b274; }
  @media (max-width: 640px) {
    .canvas-wrap { height: 330px; }
    .auto-play-tip { display: none; }
    .legend-item { padding: 4px 8px; font-size: 10px; }
  }

  .card-info {
    padding: 24px 26px 26px;
  }
  .card-info h3 {
    font-size: 20px;
    color: #2b2217;
    margin-bottom: 6px;
    letter-spacing: 2px;
    font-weight: 500;
  }
  .card-info .en-name {
    color: #d4b886;
    font-size: 12px;
    margin-bottom: 16px;
    letter-spacing: 1px;
  }
  .info-grid {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 8px 12px;
    margin-bottom: 18px;
    font-size: 13px;
  }
  .info-grid dt { color: #8b7355; font-weight: 500; }
  .info-grid dd { color: #4a3b28; }

  .ctrl-bar {
    display: flex;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid #f0e9dc;
  }
  .ctrl-bar button {
    flex: 1;
    border: none;
    padding: 9px 0;
    background: #2b2217;
    color: #d4b886;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
    letter-spacing: 1px;
  }
  .ctrl-bar button:hover { background: #4a3b28; }
  .ctrl-bar button.secondary {
    background: #f0e9dc;
    color: #4a3b28;
  }
  .ctrl-bar button.secondary:hover { background: #e5dccb; }

  .principle {
    background: #2b2217;
    color: #e8dcc8;
    max-width: 100%;
  }
  .principle .section-title h2 { color: #d4b886; }
  .principle-box {
    max-width: 900px;
    margin: 0 auto;
    columns: 2;
    column-gap: 60px;
  }
  .principle-box p {
    margin-bottom: 18px;
    opacity: 0.85;
    font-size: 15px;
    text-align: justify;
  }
  .principle-box strong { color: #d4b886; font-weight: 500; }

  .classification-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .classification-item {
    padding: 24px;
    background: #fff;
    border-radius: 6px;
    border-left: 3px solid #d4b886;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  }
  .classification-item h4 {
    color: #2b2217;
    margin-bottom: 10px;
    font-size: 16px;
  }
  .classification-item p {
    font-size: 13px;
    color: #6b5a42;
    line-height: 1.7;
  }

  .heritage {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    background:
      radial-gradient(circle at 10% 12%, rgba(175, 54, 45, 0.07), transparent 24%),
      linear-gradient(180deg, #eee3d2 0%, #f7f1e7 48%, #ede1cf 100%);
  }
  .heritage::before,
  .heritage::after {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(122, 83, 45, 0.09);
    border-radius: 50%;
  }
  .heritage::before { left: -260px; top: 130px; }
  .heritage::after { right: -300px; bottom: 80px; }
  .heritage-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
  }
  .heritage .section-title { margin-bottom: 46px; }
  .heritage .section-title h2 { color: #4a2f20; }
  .heritage-intro {
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    min-height: 300px;
    margin-bottom: 38px;
    padding: 38px 44px;
    color: #f4ead8;
    background: linear-gradient(125deg, #38271d 0%, #68462e 100%);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 22px 52px rgba(59, 39, 24, 0.16);
  }
  .heritage-intro::before {
    content: "";
    position: absolute;
    inset: 11px;
    border: 1px solid rgba(226, 193, 137, 0.22);
    border-radius: 11px;
    pointer-events: none;
  }
  .intro-copy { position: relative; z-index: 2; max-width: 540px; }
  .intro-eyebrow {
    color: #d9b77d;
    font-size: 12px;
    letter-spacing: 4px;
    margin-bottom: 13px;
  }
  .intro-copy h3 {
    font-family: "STKaiti", "KaiTi", serif;
    font-size: 34px;
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: 15px;
  }
  .intro-copy p { color: rgba(244, 234, 216, 0.76); font-size: 14px; text-align: justify; }
  .intro-seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-top: 22px;
    color: #e9cda0;
    border: 1px solid rgba(233, 205, 160, 0.65);
    font-family: "STKaiti", "KaiTi", serif;
    font-size: 20px;
    transform: rotate(-4deg);
  }
  .hall-drawing {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 230px;
    color: rgba(229, 197, 144, 0.82);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
  }
  .heritage-cloud {
    position: absolute;
    right: 6%;
    bottom: 5%;
    width: 230px;
    color: rgba(230, 199, 147, 0.15);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
  }
  .heritage-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .heritage-card {
    position: relative;
    padding: 30px;
    background: rgba(255, 253, 248, 0.9);
    border: 1px solid rgba(107, 72, 39, 0.13);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(74, 47, 32, 0.07);
    transition: transform 0.35s, box-shadow 0.35s;
    overflow: hidden;
  }
  .heritage-card::after {
    content: attr(data-mark);
    position: absolute;
    right: -3px;
    bottom: -27px;
    color: rgba(130, 74, 44, 0.055);
    font-family: "STKaiti", "KaiTi", serif;
    font-size: 112px;
    line-height: 1;
    pointer-events: none;
  }
  .heritage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(74, 47, 32, 0.12);
  }
  .case-head { display: flex; align-items: flex-start; gap: 17px; margin-bottom: 16px; }
  .case-number {
    flex: 0 0 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #f5e7d1;
    background: #9a4036;
    border-radius: 50% 50% 48% 52%;
    font-family: "STKaiti", "KaiTi", serif;
    box-shadow: inset 0 0 0 4px rgba(255,255,255,0.16);
  }
  .case-meta { color: #a45a42; font-size: 11px; letter-spacing: 2px; margin-bottom: 3px; }
  .heritage-card h3 {
    color: #352419;
    font-size: 21px;
    font-weight: 500;
    letter-spacing: 2px;
  }
  .case-summary { margin-bottom: 18px; color: #66513d; font-size: 14px; text-align: justify; }
  .case-detail { position: relative; z-index: 1; display: grid; gap: 9px; }
  .case-detail div {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px;
    padding-top: 9px;
    border-top: 1px dashed rgba(114, 78, 43, 0.18);
    font-size: 13px;
  }
  .case-detail dt { color: #9a4036; font-weight: 600; }
  .case-detail dd { color: #574431; }
  .craft-strip {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 1px;
    margin-top: 26px;
    overflow: hidden;
    color: #eadbc3;
    background: rgba(220, 191, 146, 0.16);
    border-radius: 12px;
  }
  .craft-strip > div { min-height: 165px; padding: 25px; background: #3a2a20; }
  .craft-intro { display: flex; flex-direction: column; justify-content: center; }
  .craft-intro small { color: #b98f57; letter-spacing: 3px; }
  .craft-intro strong {
    margin-top: 8px;
    font-family: "STKaiti", "KaiTi", serif;
    font-size: 25px;
    font-weight: 400;
    letter-spacing: 2px;
  }
  .craft-point span { display: block; color: #a64b3f; font-size: 11px; letter-spacing: 2px; }
  .craft-point strong { display: block; margin: 7px 0 8px; color: #d9b77d; font-size: 16px; }
  .craft-point p { color: rgba(234, 219, 195, 0.65); font-size: 12px; line-height: 1.65; }

  footer {
    background: #1e1810;
    color: #6b5a42;
    text-align: center;
    padding: 36px;
    letter-spacing: 2px;
    font-size: 12px;
  }

  @media (max-width: 768px) {
    .hero h1 { font-size: 40px; letter-spacing: 10px; }
    .card-grid { grid-template-columns: 1fr; }
    .principle-box { columns: 1; }
    .classification-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero-cloud { width: 190px; }
    .heritage-intro { grid-template-columns: 1fr; padding: 34px 28px; }
    .hall-drawing { margin-top: 28px; }
    .heritage-grid { grid-template-columns: 1fr; }
    .craft-strip { grid-template-columns: 1fr; }
    .craft-strip > div { min-height: auto; }
    .heritage-card { padding: 24px; }
    .case-detail div { grid-template-columns: 68px 1fr; }
  }

/* ===== Multi-page layout ===== */
:root {
  --ink: #2b2217;
  --ink-soft: #4a3b28;
  --paper: #f5f0e8;
  --paper-light: #fffdf9;
  --gold: #d4b886;
  --cinnabar: #9a4036;
}
.page-body { min-height: 100vh; display: flex; flex-direction: column; }
.page-body main { flex: 1; }
.logo { text-decoration: none; white-space: nowrap; }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto 0;
  background: var(--gold);
}

.page-hero {
  position: relative;
  min-height: 360px;
  margin-top: 68px;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  color: #eadfcf;
  background:
    radial-gradient(circle at 50% 120%, rgba(212,184,134,0.22), transparent 44%),
    linear-gradient(135deg, #2b2217 0%, #533b29 100%);
}
.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 120px;
  opacity: 0.16;
  border-top: 2px solid var(--gold);
  border-radius: 50%;
}
.page-hero::before { left: -90px; bottom: -36px; transform: rotate(8deg); }
.page-hero::after { right: -90px; top: 34px; transform: rotate(188deg); }
.page-hero-content { position: relative; z-index: 2; padding: 54px 24px; }
.page-kicker { color: var(--gold); font-size: 12px; letter-spacing: 5px; }
.page-hero h1 {
  margin: 12px 0 10px;
  color: #e6c994;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 9px;
}
.page-hero p { color: rgba(234,223,207,0.68); font-size: 14px; letter-spacing: 2px; }

.portal { padding-top: 76px; padding-bottom: 86px; }
.portal .section-title { margin-bottom: 42px; }
.portal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.portal-card {
  position: relative;
  min-height: 275px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper-light);
  border: 1px solid rgba(113,83,48,0.12);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(61,43,24,0.07);
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.portal-card:hover {
  transform: translateY(-7px);
  border-color: rgba(154,64,54,0.28);
  box-shadow: 0 18px 40px rgba(61,43,24,0.12);
}
.portal-number { color: var(--cinnabar); font-size: 11px; letter-spacing: 3px; }
.portal-symbol {
  color: rgba(154,64,54,0.12);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 92px;
  line-height: 1;
  align-self: flex-end;
}
.portal-card h2 { font-size: 20px; font-weight: 500; letter-spacing: 2px; }
.portal-card p { margin-top: 8px; color: #79644d; font-size: 13px; }
.portal-arrow { margin-top: 16px; color: var(--cinnabar); font-size: 13px; }

.visual-note {
  max-width: 900px;
  margin: 0 auto 34px;
  padding: 13px 18px;
  color: #7d6349;
  background: rgba(255,253,248,0.64);
  border: 1px solid rgba(113,83,48,0.11);
  border-radius: 8px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 1px;
}
.building-list { display: grid; gap: 30px; }
.building-case {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  min-height: 410px;
  overflow: hidden;
  background: rgba(255,253,248,0.94);
  border: 1px solid rgba(107,72,39,0.13);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(74,47,32,0.08);
}
.building-case:nth-child(even) .building-figure { order: 2; }
.building-figure { position: relative; min-height: 360px; overflow: hidden; background: #d8c6aa; }
.building-figure img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 0.7s; }
.building-case:hover .building-figure img { transform: scale(1.025); }
.building-figure figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 6px 10px;
  color: rgba(255,255,255,0.8);
  background: rgba(43,34,23,0.72);
  border-radius: 999px;
  font-size: 10px;
  backdrop-filter: blur(6px);
}
.building-copy { padding: 38px 40px; display: flex; flex-direction: column; justify-content: center; }
.building-meta { color: var(--cinnabar); font-size: 11px; letter-spacing: 2px; }
.building-copy h2 { margin: 7px 0 14px; color: #352419; font-size: 28px; font-weight: 500; letter-spacing: 3px; }
.building-copy > p { color: #66513d; font-size: 14px; text-align: justify; }
.building-facts { display: grid; gap: 9px; margin-top: 22px; }
.building-facts div { display: grid; grid-template-columns: 78px 1fr; gap: 12px; padding-top: 9px; border-top: 1px dashed rgba(114,78,43,0.18); font-size: 13px; }
.building-facts dt { color: var(--cinnabar); font-weight: 600; }
.building-facts dd { color: #574431; }

.principle-page { max-width: 100%; background: #2b2217; color: #eadfcf; }
.principle-page .section-title h2 { color: var(--gold); }
.principle-diagram { max-width: 1050px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.principle-card { position: relative; min-height: 250px; padding: 30px; overflow: hidden; background: #3b2d21; border: 1px solid rgba(212,184,134,0.16); border-radius: 12px; }
.principle-card span { color: #ad5546; font-size: 12px; letter-spacing: 3px; }
.principle-card h2 { margin: 9px 0 12px; color: var(--gold); font-size: 22px; font-weight: 500; }
.principle-card p { color: rgba(234,223,207,0.72); font-size: 14px; }
.principle-card strong { display: block; margin-top: 18px; color: #d6b274; font-size: 13px; font-weight: 500; }

.classification-page .classification-grid { grid-template-columns: repeat(3, minmax(0,1fr)); max-width: 1120px; }
.classification-page .classification-item { padding: 32px 28px; border-left: none; border-top: 3px solid var(--gold); }
.classification-page .classification-item h4 { font-size: 20px; letter-spacing: 2px; }
.joint-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.joint-tags span { padding: 5px 9px; color: #7c543a; background: #f3eadc; border-radius: 999px; font-size: 11px; }
.classification-guide { max-width: 920px; margin: 34px auto 0; padding: 24px 28px; color: #eadfcf; background: var(--ink); border-radius: 10px; }
.classification-guide strong { color: var(--gold); }

.page-switcher { padding: 0 40px 76px; max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; gap: 18px; }
.page-switcher a { min-width: 220px; padding: 15px 18px; color: #604933; text-decoration: none; background: #fffdf9; border: 1px solid rgba(113,83,48,0.14); border-radius: 8px; font-size: 13px; transition: 0.3s; }
.page-switcher a:last-child { text-align: right; }
.page-switcher a:hover { color: var(--cinnabar); border-color: rgba(154,64,54,0.35); }

@media (max-width: 980px) {
  .portal-grid { grid-template-columns: repeat(2, 1fr); }
  .building-case { grid-template-columns: 1fr; }
  .building-case:nth-child(even) .building-figure { order: 0; }
  .classification-page .classification-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 10px 0; }
  .nav-container { align-items: flex-start; flex-direction: column; gap: 8px; padding: 0 18px; }
  .nav-links { display: flex; width: 100%; gap: 18px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; font-size: 12px; }
  .nav-links a.active::after { display: none; }
  .page-hero { min-height: 300px; margin-top: 99px; }
  .page-hero h1 { font-size: 34px; letter-spacing: 5px; }
  .portal-grid { grid-template-columns: 1fr; }
  .portal-card { min-height: 220px; }
  .building-copy { padding: 28px 24px; }
  .building-figure { min-height: 250px; }
  .principle-diagram { grid-template-columns: 1fr; }
  .page-switcher { padding: 0 20px 56px; flex-direction: column; }
  .page-switcher a { min-width: 0; width: 100%; }
  .page-switcher a:last-child { text-align: left; }
}
