:root {
  --bg: #f5f1e8;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --ink: #1a1714;
  --muted: #5d554f;
  --line: rgba(26, 23, 20, 0.08);
  --accent: #8f5b34;
  --accent-deep: #59351b;
  --shadow: 0 24px 80px rgba(70, 42, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(143, 91, 52, 0.12), transparent 30%),
    radial-gradient(circle at right center, rgba(88, 53, 27, 0.08), transparent 28%),
    linear-gradient(180deg, #f8f4ec 0%, var(--bg) 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(26, 23, 20, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(26, 23, 20, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  position: sticky;
  top: 12px;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(245, 241, 232, 0.75);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: white;
  font-weight: 800;
}

.brand-name,
.brand-sub,
.eyebrow,
.panel-kicker,
.contact-label,
.timeline span,
.metrics span {
  margin: 0;
}

.brand-name {
  font-weight: 800;
}

.brand-sub,
.hero-text,
.section-heading p,
.card p,
.prose p,
.timeline p,
.metrics p,
.contact-note,
.contact-card li {
  color: var(--muted);
}

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

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 28px;
  padding: 72px 0 32px;
}

.eyebrow,
.panel-kicker,
.contact-label,
.timeline span,
.metrics span {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--accent-deep);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  line-height: 1.1;
}

h1 {
  margin-top: 14px;
  font-size: clamp(2.9rem, 6vw, 5.4rem);
  max-width: 10ch;
}

.hero-text {
  max-width: 62ch;
  font-size: 1.08rem;
  line-height: 1.85;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: var(--shadow);
}

.button-secondary {
  color: var(--ink);
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.hero-panel,
.card,
.contact-card,
.metrics article,
.timeline article {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  border-radius: 28px;
}

.hero-panel {
  padding: 28px;
  align-self: end;
}

.hero-panel ul,
.contact-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.hero-panel li,
.contact-card li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.metrics article,
.timeline article,
.card,
.contact-card {
  padding: 26px;
}

.metrics h2 {
  font-size: 1.35rem;
  margin: 16px 0 10px;
}

.section {
  padding-top: 78px;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
}

.section-heading p {
  line-height: 1.8;
  margin-top: 14px;
}

.cards.three-up,
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card h3,
.timeline h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.card p,
.timeline p,
.prose p,
.contact-card,
.metrics p {
  line-height: 1.8;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: start;
}

.prose {
  padding: 28px;
  border-left: 1px solid var(--line);
}

.contact .contact-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.contact-note {
  margin-top: 14px;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero,
  .metrics,
  .cards.three-up,
  .timeline,
  .split,
  .contact .contact-card {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
  }

  .topbar,
  .hero-panel,
  .metrics article,
  .card,
  .timeline article,
  .contact-card {
    border-radius: 22px;
  }

  h1 {
    max-width: 100%;
  }
}
