:root {
  --cream: #faf7f3;
  --white: #ffffff;
  --ink: #2b2a28;
  --text-muted: #837b73;
  --blush: #dba7a9;
  --blush-deep: #bf7f83;
  --blush-pale: #f3e3e2;
  --powder: #a9c2d3;
  --powder-deep: #7ea0b6;
  --powder-pale: #e7eef2;
  --gold-line: #cba877;
  --max-width: 1000px;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(43, 42, 40, 0.07);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans TC", "Microsoft JhengHei", -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Noto Serif TC", "PMingLiU", serif;
  color: var(--ink);
  font-weight: 700;
}

a {
  color: var(--blush-deep);
}

header.site-header {
  background: var(--white);
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid var(--blush-pale);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.site-header .brand {
  font-family: "Noto Serif TC", serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
}

nav.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 1.6rem;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

nav.site-nav a:hover {
  color: var(--blush-deep);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 4.5rem;
}

.hero {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 2rem 1rem 3.5rem;
  flex-wrap: wrap;
}

.hero .hero-text {
  flex: 1 1 360px;
}

.hero .hero-photo {
  flex: 0 0 auto;
  width: 260px;
}

.hero .hero-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.hero .tagline {
  font-size: 2rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
}

.hero .tagline::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--blush), var(--powder));
  border-radius: 2px;
  margin-top: 0.8rem;
}

.hero p.intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 2rem;
}

.btn {
  display: inline-block;
  background: linear-gradient(120deg, var(--blush), var(--blush-deep));
  color: var(--white);
  padding: 0.85rem 2.2rem;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 16px rgba(191, 127, 131, 0.35);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(191, 127, 131, 0.45);
}

.btn.secondary {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--powder-deep);
  box-shadow: none;
}

.btn.secondary:hover {
  background: var(--powder-pale);
}

section {
  margin-bottom: 3.5rem;
}

h2.section-title {
  font-size: 1.4rem;
  border-left: 4px solid var(--blush);
  padding-left: 0.8rem;
  margin-bottom: 1.6rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
}

.timeline .stage {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.2rem;
}

.timeline .stage:nth-child(odd) {
  border-top: 4px solid var(--blush);
}

.timeline .stage:nth-child(even) {
  border-top: 4px solid var(--powder);
}

.timeline .stage .era {
  font-size: 0.82rem;
  color: var(--blush-deep);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.timeline .stage:nth-child(even) .era {
  color: var(--powder-deep);
}

.timeline .stage h3 {
  margin: 0.4rem 0 0.7rem;
  font-size: 1.05rem;
}

.timeline .stage ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.video-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.video-card .video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 8px;
  overflow: hidden;
}

.video-card .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card h3 {
  font-size: 1rem;
  margin: 1rem 0 0;
}

.book-feature {
  display: flex;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.book-feature img {
  width: 160px;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.book-feature-text {
  flex: 1 1 300px;
}

.book-feature-text h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.book-feature-text p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.drivers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.drivers .driver {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem 1.5rem;
  text-align: center;
}

.drivers .driver .label {
  font-family: "Noto Serif TC", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blush-deep);
  margin-bottom: 0.6rem;
}

.quote-block {
  font-size: 1.1rem;
  font-style: italic;
  text-align: center;
  color: var(--ink);
  padding: 1.8rem 1rem 0;
  margin-top: 1rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.portfolio-col {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.5rem;
}

.portfolio-col h3 {
  margin-top: 0;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--blush-pale);
}

.portfolio-col ul {
  padding-left: 1.1rem;
  font-size: 0.92rem;
}

.portfolio-col li {
  margin-bottom: 0.6rem;
}

.subscribe-box {
  background: linear-gradient(135deg, var(--blush-pale), var(--powder-pale));
  color: var(--ink);
  padding: 2.5rem 2rem;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.subscribe-box h2 {
  color: var(--ink);
  margin-top: 0;
}

.placeholder-note {
  font-size: 0.85rem;
  color: var(--blush-deep);
  background: var(--white);
  border: 1px dashed var(--blush);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  margin-top: 1.2rem;
  display: inline-block;
}

.archive-list {
  list-style: none;
  padding: 0;
}

.archive-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--blush-pale);
}

.contact-block {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem;
}

.todo {
  color: var(--blush-deep);
  font-weight: 600;
}

footer {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--blush-pale);
}
