:root {
  --hub-paper: #f7f4ea;
  --hub-ink: #163d37;
  --hub-muted: #655f55;
  --hub-gold: #b78b36;
  --hub-coral: #c45448;
  --hub-line: rgba(22, 61, 55, 0.16);
}

* { box-sizing: border-box; }

body.hub-page {
  margin: 0;
  background: var(--hub-paper);
  color: var(--hub-ink);
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

.hub-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 12px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--hub-line);
  background: rgba(247, 244, 234, 0.94);
  backdrop-filter: blur(12px);
}

.hub-brand {
  color: var(--hub-ink);
  font-weight: 900;
  text-decoration: none;
}

.hub-topbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hub-topbar nav a {
  color: var(--hub-muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.hub-topbar nav a:hover { color: var(--hub-coral); }

.hub-hero {
  min-height: min(620px, 72vh);
  display: grid;
  align-content: end;
  padding: clamp(48px, 8vw, 110px) clamp(20px, 7vw, 110px);
  background:
    linear-gradient(90deg, rgba(8, 19, 18, 0.94) 0%, rgba(8, 19, 18, 0.66) 48%, rgba(8, 19, 18, 0.16) 100%),
    linear-gradient(0deg, rgba(8, 19, 18, 0.88), rgba(8, 19, 18, 0.04) 70%),
    var(--hub-image) center 30% / cover no-repeat;
  color: #fff;
}

.hub-hero > div { max-width: 790px; }
.hub-eyebrow { margin: 0 0 10px; color: #dec17d; font-size: 12px; font-weight: 900; }
.hub-hero h1 { margin: 0; font-size: clamp(42px, 7vw, 78px); line-height: 1.08; }
.hub-hero p:last-child { max-width: 700px; margin: 18px 0 0; font-size: clamp(16px, 2vw, 20px); line-height: 1.8; }

.hub-content {
  display: grid;
  gap: 58px;
  padding: 64px clamp(20px, 7vw, 110px) 90px;
}

.hub-section {
  display: grid;
  grid-template-columns: minmax(210px, 0.34fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 82px);
  padding-top: 28px;
  border-top: 1px solid var(--hub-line);
}

.hub-section header span { color: var(--hub-coral); font-size: 12px; font-weight: 900; }
.hub-section h2 { margin: 8px 0 0; font-size: clamp(25px, 3vw, 38px); }
.hub-section header p { margin: 12px 0 0; color: var(--hub-muted); line-height: 1.75; }

.hub-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--hub-line);
  border: 1px solid var(--hub-line);
}

.hub-link-grid a {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  background: var(--hub-paper);
  color: var(--hub-ink);
  font-weight: 900;
  text-decoration: none;
}

.hub-link-grid a:hover { background: #e7eee8; color: var(--hub-coral); }
.hub-link-grid a span:last-child { color: var(--hub-gold); }

.hub-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 34px clamp(20px, 7vw, 110px);
  background: var(--hub-ink);
  color: #fff;
}

.hub-footer a { color: #dec17d; }

@media (max-width: 760px) {
  .hub-topbar { align-items: start; flex-direction: column; }
  .hub-section { grid-template-columns: 1fr; }
  .hub-link-grid { grid-template-columns: 1fr; }
  .hub-footer { flex-direction: column; }
}

