﻿:root {
  --bg: #ffffff;
  --bg-2: #ffffff;
  --card: #ffffff;
  --text: #1b1a18;
  --muted: #5f5a53;
  --accent: #ff5a3a;
  --accent-2: #f2b541;
  --line: rgba(27, 26, 24, 0.12);
  --shadow: 0 18px 40px rgba(29, 24, 18, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 10%, rgba(255, 230, 216, 0.65), transparent 60%),
    radial-gradient(circle at 90% 0%, rgba(255, 246, 217, 0.65), transparent 55%), var(--bg);
  min-height: 100%;
}

body {
  position: relative;
  overflow-x: hidden;
}

.motif-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.motif-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.3;
  mix-blend-mode: multiply;
  z-index: 0;
}

.motif-bg::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 90vw);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    var(--bg) 10%,
    var(--bg) 90%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

.motif-pattern .outline {
  stroke: #2f2720;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.motif-pattern .fill-a {
  fill: #f4a9bf;
  stroke: #2f2720;
  stroke-width: 2.5;
}

.motif-pattern .fill-b {
  fill: #a8d57c;
  stroke: #2f2720;
  stroke-width: 2.5;
}

.motif-pattern .fill-c {
  fill: #ffc56b;
  stroke: #2f2720;
  stroke-width: 2.5;
}

.motif-pattern .fill-d {
  fill: #f3c08c;
  stroke: #2f2720;
  stroke-width: 2.5;
}

.motif-pattern .fill-e {
  fill: #f6d6c3;
  stroke: #2f2720;
  stroke-width: 2.5;
}

.motif-pattern .water {
  stroke: #4ea1b3;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.motif-pattern .bamboo {
  stroke: #2f6f3f;
}

.motif-pattern text {
  font-size: 10px;
  fill: #2f2720;
  font-family: "Space Grotesk", "Microsoft YaHei", "Segoe UI", sans-serif;
  letter-spacing: 0.03em;
}

.motif-pattern .label {
  font-weight: 600;
  opacity: 0.75;
}

.bg-shapes::before,
.bg-shapes::after {
  content: "";
  position: absolute;
  inset: auto;
  width: 420px;
  height: 420px;
  border-radius: 42% 58% 38% 62%;
  background: linear-gradient(135deg, rgba(255, 90, 58, 0.18), rgba(242, 181, 65, 0.18));
  filter: blur(6px);
  z-index: 0;
}

.bg-shapes::before {
  top: -120px;
  left: -140px;
}

.bg-shapes::after {
  bottom: -160px;
  right: -120px;
  border-radius: 60% 40% 70% 30%;
}

.wrap {
  width: min(1200px, 90vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(248, 245, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  background: #ffffff;
  border: 1px solid var(--line);
}

.avatar svg {
  width: 100%;
  height: 100%;
}

.avatar-rings .ring {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.avatar-rings .ring-a {
  stroke: #ff5a3a;
}

.avatar-rings .ring-b {
  stroke: #4ea1b3;
}

.avatar-rings .ring-c {
  stroke: #f2b541;
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.btn {
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 12px 24px rgba(255, 90, 58, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(255, 90, 58, 0.28);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 80px 0 40px;
}

.hero-text {
  background: rgba(255, 255, 255, 0.92);
  padding: 26px;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-text h1 {
  font-size: clamp(2.4rem, 3.4vw, 3.6rem);
  margin: 12px 0 20px;
  line-height: 1.05;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent-2);
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

.identity {
  margin: 12px 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.pill-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}

.pill {
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.9);
}

.hero-media {
  display: grid;
  gap: 20px;
  align-content: start;
}

.photo-frame {
  padding: 12px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.8), rgba(255, 90, 58, 0.08));
  box-shadow: var(--shadow);
  animation: floatIn 0.8s ease-out;
  max-width: 220px;
}

.photo-frame img {
  width: 100%;
  border-radius: 18px;
  display: block;
}

.mission {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mission-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-2);
  margin: 0 0 10px;
}

.impact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 30px auto 60px;
}

.impact-card {
  padding: 24px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  margin: 0;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.stack {
  display: grid;
  gap: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card);
  display: grid;
  gap: 12px;
  min-height: 190px;
  animation: rise 0.8s ease forwards;
  box-shadow: var(--shadow);
}

.card.wide {
  min-height: unset;
  padding: 26px;
  background: linear-gradient(120deg, rgba(255, 245, 235, 0.9), rgba(255, 255, 255, 0.9));
}

.metric-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.metric-list strong {
  color: var(--text);
}

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

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.card a {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.publications {
  margin: 20px auto 60px;
}

.service {
  margin: 20px auto 60px;
}

.art {
  margin: 60px auto;
}

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

.art-card {
  margin: 0;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card);
  display: grid;
  gap: 8px;
  box-shadow: var(--shadow);
  justify-items: center;
}

.art-card img {
  width: 100%;
  max-width: 200px;
  border-radius: 14px;
  display: block;
}

.art-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  align-items: center;
  justify-items: center;
}

.art-pair img {
  max-width: 140px;
}

.art-card figcaption {
  color: var(--muted);
  font-size: 0.9rem;
}

.work {
  margin: 60px auto 80px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 60px;
  background: #ffffff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-title {
  font-size: 1.4rem;
  margin: 0 0 10px;
}

.footer-sub {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 8px;
  text-align: right;
}

.footer-links a {
  color: var(--accent-2);
  text-decoration: none;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .pill-row {
    flex-wrap: wrap;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .footer-links {
    text-align: left;
  }
}

@media (min-width: 1000px) {
  .hero {
    grid-template-columns: 1.35fr 0.85fr;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 60px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }
}
