* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #fbf5f0;
  --paper: #fffaf6;
  --ink: #2d2724;
  --muted: #746963;
  --line: #e6d8ce;
  --accent: #c9435a;
  --accent-dark: #8b3340;
  --gold: #b88b5a;
  --soft: #f3e6df;
  --shadow: 0 24px 70px rgba(83, 53, 43, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", Georgia, serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.sans {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(260px, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 20px 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 245, 240, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 170px;
  min-height: 46px;
}

.brand-logo {
  width: 150px;
  height: auto;
  display: block;
}

.top-meta {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.top-meta {
  text-align: center;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: 0.22s ease;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.hero {
  border-bottom: 1px solid var(--line);
  padding: 76px 32px 92px;
}

.hero-inner,
.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1 {
  margin-top: 22px;
  font-size: clamp(54px, 8vw, 112px);
  font-weight: 500;
  line-height: 0.95;
}

h1 em,
h2 em,
.next-link em {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

.lead {
  max-width: 590px;
  margin-top: 32px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.motto {
  display: inline-grid;
  gap: 8px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.motto strong {
  font-size: 20px;
  font-weight: 500;
}

.motto span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-portrait {
  position: relative;
  min-height: 610px;
}

.portrait-frame {
  position: absolute;
  inset: 0 0 0 8%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 10%;
}

.member-card {
  position: absolute;
  left: 0;
  bottom: 42px;
  width: min(315px, 48vw);
  padding: 26px 24px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 246, 0.95);
  box-shadow: 0 18px 42px rgba(83, 53, 43, 0.13);
}

.member-card .label {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.member-card strong {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.15;
}

.member-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.page-hero {
  padding: 72px 32px 50px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 880px;
}

.content {
  padding: 82px 32px;
  border-bottom: 1px solid var(--line);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) minmax(0, 1.8fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 50px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

h2 {
  font-size: clamp(38px, 5.6vw, 66px);
  font-weight: 500;
  line-height: 1.05;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 52px;
  align-items: start;
}

.fact-list {
  border-top: 1px solid var(--line);
}

.fact {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.fact .kicker,
.group-title {
  color: var(--accent);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.fact strong {
  display: block;
  margin-bottom: 4px;
  font-size: 21px;
  font-weight: 500;
}

.fact p,
.card p,
.flow-step p,
.note,
.image-caption {
  color: var(--muted);
  font-size: 15px;
}

.quote-panel {
  border-left: 1px solid var(--line);
  padding: 18px 0 18px 42px;
}

.quote-panel .mark {
  color: var(--accent);
  font-size: 84px;
  line-height: 0.55;
}

.quote-panel p {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.25;
  font-style: italic;
}

.quote-panel span {
  display: block;
  margin-top: 24px;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.image-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
}

.image-caption {
  margin-top: 18px;
  text-align: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.card {
  min-height: 205px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 246, 0.44);
}

.card .num {
  color: var(--gold);
  font-size: 16px;
  font-style: italic;
}

.card h3 {
  margin-top: 18px;
  color: var(--accent);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.12;
}

.card p {
  margin-top: 12px;
}

.flow {
  counter-reset: flow;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.flow-step {
  counter-increment: flow;
  min-height: 280px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 246, 0.5);
}

.flow-step::before {
  content: "0" counter(flow);
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 30px;
  font-style: italic;
  line-height: 1;
}

.flow-step h3 {
  margin-top: 24px;
  font-size: 24px;
  font-weight: 500;
}

.flow-step p {
  margin-top: 12px;
}

.note {
  margin-top: 34px;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  text-align: center;
}

.tag-board {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 246, 0.56);
  padding: 0 18px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
}

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

.group-title {
  margin-bottom: 18px;
}

.starter-list {
  display: grid;
  gap: 16px;
}

.starter {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.starter span {
  color: var(--gold);
  font-size: 28px;
  font-style: italic;
  line-height: 1;
}

.starter p {
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.32;
}

.next-band {
  padding: 38px 32px;
  text-align: right;
}

.next-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  transition: 0.22s ease;
}

.next-link:hover {
  color: var(--accent-dark);
  transform: translateX(4px);
}

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 76px 32px 34px;
  text-align: center;
}

.footer h2 {
  color: var(--paper);
}

.footer p {
  max-width: 700px;
  margin: 24px auto 36px;
  color: #d5c8bf;
  font-size: 18px;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.footer-actions a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0 22px;
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: 0.22s ease;
}

.footer-actions a:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.copyright {
  margin-top: 62px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8f817a;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 1060px) {
  .topbar {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .top-meta {
    text-align: left;
  }

  .nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-inner,
  .two-col,
  .section-header {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-portrait {
    min-height: 560px;
  }

  .portrait-frame {
    left: 0;
  }

  .quote-panel {
    border-left: 0;
    padding: 0;
  }

  .card-grid,
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .topbar,
  .hero,
  .page-hero,
  .content,
  .footer,
  .next-band {
    padding-left: 20px;
    padding-right: 20px;
  }

  .brand strong {
    font-size: 20px;
  }

  .brand {
    width: 150px;
    min-height: 42px;
  }

  .brand-logo {
    width: 135px;
  }

  .top-meta {
    font-size: 10px;
    line-height: 1.6;
  }

  .nav a {
    min-height: 36px;
    padding: 0 12px;
    font-size: 9px;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-portrait {
    min-height: 500px;
  }

  .member-card {
    bottom: 20px;
    width: min(280px, 78vw);
  }

  .fact,
  .starter {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .card-grid,
  .flow {
    grid-template-columns: 1fr;
  }

  .card,
  .flow-step {
    min-height: auto;
    padding: 26px 22px;
  }

  .image-panel {
    margin-left: -20px;
    margin-right: -20px;
    border-left: 0;
    border-right: 0;
  }

  .next-band {
    text-align: left;
  }

  .next-link {
    font-size: 21px;
  }
}
