:root {
  --bg: #f7f6f2;
  --bg-accent: #e7efe8;
  --card: rgba(255, 255, 255, 0.78);
  --line: rgba(23, 33, 24, 0.15);
  --text: #172118;
  --muted: #4e6150;
  --brand: #d85d2f;
  --brand-dark: #8f3517;
  --shadow: 0 24px 60px rgba(35, 46, 36, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Noto Sans TC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 400px at 10% 0%, #f9e5cc 0%, rgba(249, 229, 204, 0) 60%),
    radial-gradient(900px 400px at 90% 15%, #dcece2 0%, rgba(220, 236, 226, 0) 70%),
    linear-gradient(145deg, var(--bg) 0%, var(--bg-accent) 100%);
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  filter: blur(1px);
}

.ambient-1 {
  width: 300px;
  height: 300px;
  top: -120px;
  left: -60px;
  background: conic-gradient(from 130deg, #d85d2f, #f0ab6f, #d85d2f);
  border-radius: 32% 68% 70% 30% / 44% 41% 59% 56%;
  opacity: 0.12;
  animation: float 9s ease-in-out infinite;
}

.ambient-2 {
  width: 380px;
  height: 380px;
  right: -140px;
  bottom: -170px;
  background: linear-gradient(45deg, #5d8f72, #9fc8ac);
  border-radius: 61% 39% 30% 70% / 49% 55% 45% 51%;
  opacity: 0.16;
  animation: float 12s ease-in-out infinite reverse;
}

.page {
  position: relative;
  z-index: 1;
  width: min(1100px, 92vw);
  margin: 56px auto 42px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--card);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 26px;
  padding: 30px;
  align-items: center;
}

.avatar {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24px;
  border: 4px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px rgba(62, 56, 42, 0.25);
}

.eyebrow {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--brand-dark);
  font-weight: 700;
}

h1,
h2 {
  margin: 0;
  font-family: "Chakra Petch", sans-serif;
  line-height: 1.1;
}

h1 {
  margin-top: 8px;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.intro {
  margin: 16px 0 10px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
  max-width: 64ch;
}

.location {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
}

.quick-links {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

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

.btn.primary {
  background: linear-gradient(135deg, #d85d2f, #ea8048);
  color: #fff;
  box-shadow: 0 10px 20px rgba(216, 93, 47, 0.35);
}

.btn.ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.55);
}

.grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  padding: 22px;
}

.info-card h2 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.info-card ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.8;
}

a {
  color: var(--brand-dark);
}

a:hover {
  color: var(--brand);
}

.footer {
  margin-top: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer p {
  margin: 4px 0;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal 620ms ease-out forwards;
}

.delay-1 {
  animation-delay: 120ms;
}

.delay-2 {
  animation-delay: 220ms;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-12px) rotate(3deg);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .avatar {
    width: min(52vw, 220px);
  }

  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page {
    margin-top: 24px;
  }

  .hero,
  .info-card {
    padding: 18px;
    border-radius: 18px;
  }

  .quick-links {
    gap: 10px;
  }

  .btn {
    width: 100%;
  }
}