:root {
  --bg: #f8fbf3;
  --bg-deep: #f2f7ea;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-soft: #f4f8ed;
  --surface-strong: #edf5e2;
  --brand: #2f641d;
  --brand-strong: #1f4d12;
  --brand-soft: #dcebc8;
  --brand-pale: #eef5e6;
  --text: #1f291c;
  --text-soft: #51614d;
  --text-muted: #73816e;
  --line: rgba(47, 100, 29, 0.1);
  --shadow-xl: 0 28px 80px rgba(38, 76, 23, 0.1);
  --shadow-lg: 0 20px 46px rgba(38, 76, 23, 0.08);
  --shadow-md: 0 12px 28px rgba(38, 76, 23, 0.06);
  --radius-xxl: 34px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at 12% 2%, rgba(167, 206, 122, 0.24), transparent 24%),
    radial-gradient(circle at 88% 10%, rgba(191, 222, 152, 0.18), transparent 22%),
    linear-gradient(180deg, #fefefb 0%, var(--bg) 45%, #f5f9ef 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(47, 100, 29, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 100, 29, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 88%);
  pointer-events: none;
  z-index: -4;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
}

.page {
  padding: 32px 0 48px;
}

.shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.page-glow {
  position: fixed;
  z-index: -3;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(92px);
  opacity: 0.42;
  pointer-events: none;
}

.glow-left {
  top: 160px;
  left: -150px;
  background: rgba(164, 202, 124, 0.38);
}

.glow-right {
  top: 260px;
  right: -140px;
  background: rgba(216, 234, 184, 0.46);
}

.page-titlebar,
.hero-card,
.info-card,
.about-card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}

.page-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
  border-radius: var(--radius-xxl);
  overflow: hidden;
}

.page-titlebar::after,
.hero-card::after,
.info-card::after,
.about-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.26), transparent 36%, rgba(220, 235, 200, 0.18) 100%);
  pointer-events: none;
}

.title-group {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.title-group h1,
.title-group p,
.title-chip {
  position: relative;
  z-index: 1;
}

.title-icon,
.chip-heart,
.card-icon,
.fact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.title-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: var(--brand);
  background: linear-gradient(180deg, #eef6e4 0%, #dbeac7 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  flex: 0 0 auto;
}

.title-icon svg,
.chip-heart svg,
.card-icon svg,
.fact-icon svg {
  width: 24px;
  height: 24px;
}

.title-group h1 {
  margin: 0;
  font-size: clamp(2rem, 3.7vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.title-group p {
  margin: 4px 0 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  white-space: nowrap;
}

.title-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  color: var(--brand-strong);
  background: linear-gradient(180deg, #f3f8eb 0%, #e7f1db 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.chip-heart {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--brand);
  background: rgba(47, 100, 29, 0.08);
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.25fr) minmax(240px, 0.8fr);
  gap: 28px;
  margin-top: 24px;
  padding: 28px;
  border-radius: 36px;
}

.portrait-panel,
.quote-panel {
  position: relative;
  z-index: 1;
}

.portrait-panel {
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, #f0f4f8 0%, #eef5ec 100%);
  min-height: 420px;
}

.portrait-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.intro-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 6px;
}

.intro-panel h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.intro-highlight {
  margin: 16px 0 0;
  color: var(--brand);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.45;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  margin-top: 34px;
}

.fact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 98px;
  padding: 18px;
  border: 1px solid rgba(47, 100, 29, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 247, 233, 0.9) 100%);
  box-shadow: var(--shadow-md);
}

.fact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--brand);
  background: var(--brand-pale);
  flex: 0 0 auto;
}

.fact-label {
  display: block;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.2;
}

.fact-value {
  display: block;
  margin-top: 6px;
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.quote-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 26px 24px;
  border-radius: 28px;
  color: var(--brand-strong);
  background: linear-gradient(180deg, #f7fbf2 0%, #eef5e6 100%);
  overflow: hidden;
}

.quote-mark {
  font-size: 5rem;
  line-height: 0.7;
  font-weight: 800;
  color: var(--brand);
}

.quote-panel p {
  margin: 6px 0 0;
  color: #335a28;
  font-size: 1.18rem;
  line-height: 1.95;
}

.quote-heart {
  align-self: flex-end;
  width: 46px;
  height: 46px;
  color: var(--brand);
  opacity: 0.88;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.info-card {
  padding: 28px 28px 30px;
  border-radius: 30px;
}

.card-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  color: var(--brand);
  background: linear-gradient(180deg, #eef6e4 0%, #dcebc8 100%);
  flex: 0 0 auto;
}

.card-title h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.info-list,
.check-list,
.interest-grid,
.about-copy p,
.about-links,
.about-visual {
  position: relative;
  z-index: 1;
}

.info-list {
  display: grid;
  gap: 18px;
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 10px 14px;
  align-items: start;
}

.info-list dt {
  color: var(--brand);
  font-weight: 700;
}

.info-list dt::before {
  content: "›";
  margin-right: 8px;
  color: #aac784;
  font-weight: 900;
}

.info-list dd {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.85;
}

.inline-link {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(47, 100, 29, 0.3);
  text-underline-offset: 3px;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: var(--brand-strong);
  text-decoration-color: rgba(47, 100, 29, 0.55);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--text-soft);
  line-height: 1.8;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f641d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.8 12.4 4.1 4.1 8.3-9'/%3E%3Ccircle cx='12' cy='12' r='9' stroke='%2393b96f' stroke-width='1.8'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

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

.interest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid rgba(47, 100, 29, 0.08);
  border-radius: 20px;
  color: var(--text-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 247, 233, 0.92) 100%);
}

.interest-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--brand);
  flex: 0 0 auto;
}

.about-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 28px;
  margin-top: 24px;
  padding: 28px;
  border-radius: 30px;
}

.about-copy {
  position: relative;
  z-index: 1;
}

.about-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.95;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 24px;
}

.about-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 8px 8px 0;
}

.about-visual img {
  width: min(100%, 360px);
  height: auto;
}

@media (max-width: 1100px) {
  .title-group {
    flex-wrap: wrap;
  }

  .hero-card {
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  }

  .quote-panel {
    grid-column: 1 / -1;
  }

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

@media (max-width: 860px) {
  .page {
    padding: 20px 0 32px;
  }

  .shell {
    width: min(100% - 20px, 1220px);
  }

  .page-titlebar {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
  }

  .title-group {
    gap: 14px;
  }

  .title-group h1,
  .title-group p,
  .title-chip {
    white-space: normal;
  }

  .hero-card,
  .detail-grid,
  .about-card {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .info-card,
  .about-card {
    padding: 20px;
  }

  .portrait-panel {
    min-height: auto;
    aspect-ratio: 4 / 5;
  }

  .intro-panel {
    padding: 2px 0;
  }

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

  .fact-item {
    min-height: 88px;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .about-links {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .title-icon,
  .card-icon {
    width: 44px;
    height: 44px;
  }

  .title-icon svg,
  .card-icon svg,
  .fact-icon svg {
    width: 22px;
    height: 22px;
  }

  .fact-icon {
    width: 50px;
    height: 50px;
  }

  .page-titlebar,
  .hero-card,
  .info-card,
  .about-card {
    border-radius: 24px;
  }

  .quote-panel,
  .portrait-panel {
    border-radius: 22px;
  }

  .card-title h3 {
    font-size: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
