:root {
  --背景一: #fff8ef;
  --背景二: #fff1de;
  --卡片: rgba(255, 255, 255, 0.78);
  --文字主色: #3f2f27;
  --文字次色: #6e5b4f;
  --重點色: #d98f4e;
  --重點深色: #b86c2f;
  --描邊: rgba(131, 93, 55, 0.14);
  --陰影: 0 22px 60px rgba(128, 84, 43, 0.12);
  --圓角: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--文字主色);
  background:
    radial-gradient(circle at top left, rgba(255, 210, 150, 0.52), transparent 32%),
    radial-gradient(circle at bottom right, rgba(255, 190, 140, 0.34), transparent 35%),
    linear-gradient(180deg, var(--背景一), var(--背景二));
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.35) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent 85%);
  opacity: 0.35;
}

.背景光點 {
  position: fixed;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.55;
  pointer-events: none;
}

.背景光點一 {
  top: -8rem;
  left: -8rem;
  background: rgba(255, 206, 136, 0.6);
}

.背景光點二 {
  right: -10rem;
  bottom: -10rem;
  background: rgba(255, 179, 121, 0.42);
}

.版面 {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.主視覺,
.區塊 {
  position: relative;
  z-index: 1;
}

.主視覺 {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 24px;
  align-items: stretch;
  min-height: 72vh;
  padding: 18px 0 28px;
}

.名片,
.資訊卡,
.內容卡,
.重點卡,
.時間項目,
.聯絡卡 {
  background: var(--卡片);
  backdrop-filter: blur(18px);
  border: 1px solid var(--描邊);
  box-shadow: var(--陰影);
}

.名片 {
  border-radius: calc(var(--圓角) + 8px);
  padding: clamp(28px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.標籤 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0 0 16px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(217, 143, 78, 0.14);
  color: var(--重點深色);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.簡介 {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.9;
  color: var(--文字次色);
  max-width: 38rem;
  margin-bottom: 28px;
}

.按鈕列 {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.主要按鈕,
.次要按鈕 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.主要按鈕 {
  color: #fff;
  background: linear-gradient(135deg, #d98f4e, #c77333);
  box-shadow: 0 14px 28px rgba(201, 117, 55, 0.24);
}

.次要按鈕 {
  color: var(--文字主色);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(131, 93, 55, 0.12);
}

.主要按鈕:hover,
.次要按鈕:hover {
  transform: translateY(-2px);
}

.資訊卡 {
  border-radius: var(--圓角);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.個人圖示 {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 30px;
  display: grid;
  place-items: center;
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  font-weight: 800;
  color: #fff;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.55), transparent 28%),
    linear-gradient(135deg, #e5a566, #c96f2f);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.34);
}

.小標 {
  font-weight: 700;
  color: var(--文字次色);
  margin-bottom: 14px;
}

.標籤群 {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.標籤群 span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(131, 93, 55, 0.1);
  color: var(--文字次色);
  font-weight: 600;
}

.區塊 {
  padding: 14px 0 24px;
}

.區塊 + .區塊 {
  margin-top: 10px;
}

.區塊標頭 {
  margin-bottom: 20px;
}

.區塊標頭 h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.15;
  max-width: 32rem;
  margin-bottom: 0;
}

.雙欄,
.三欄,
.時間軸 {
  display: grid;
  gap: 18px;
}

.雙欄 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.三欄 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.內容卡,
.重點卡,
.時間項目,
.聯絡卡 {
  border-radius: var(--圓角);
  padding: 24px;
}

.內容卡 h3,
.重點卡 h3,
.時間項目 h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

.內容卡 p,
.重點卡 p,
.時間項目 p,
.聯絡卡 p {
  line-height: 1.9;
  color: var(--文字次色);
  margin-bottom: 0;
}

.重點卡 {
  min-height: 100%;
}

.圖示 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  margin-bottom: 18px;
  background: rgba(217, 143, 78, 0.18);
  color: var(--重點深色);
  font-weight: 800;
}

.時間軸 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.年份 {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(217, 143, 78, 0.14);
  color: var(--重點深色);
  font-weight: 700;
  margin-bottom: 14px;
}

.聯絡區 {
  padding-bottom: 34px;
}

.聯絡卡 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.顯示 {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .主視覺,
  .雙欄,
  .三欄,
  .時間軸,
  .聯絡卡 {
    grid-template-columns: 1fr;
  }

  .主視覺 {
    min-height: auto;
  }

  .聯絡卡 {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .版面 {
    width: min(100% - 20px, 1120px);
    padding-top: 18px;
  }

  .名片,
  .資訊卡 {
    padding: 22px;
  }

  .主要按鈕,
  .次要按鈕 {
    width: 100%;
  }

  .按鈕列 {
    flex-direction: column;
  }

  h1 {
    font-size: clamp(2.2rem, 14vw, 3.6rem);
  }
}
