:root {
  --violet-1: #635bff;
  --violet-2: #af5bed;
  --gradient: linear-gradient(135deg, #635bff 0%, #af5bed 100%);
  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #1c2030;
  --ink-soft: #5a607a;
  --line: #e7eaf2;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(28, 32, 48, 0.08);
  --shadow-lg: 0 18px 50px rgba(99, 91, 255, 0.16);
  --serif: "Noto Serif SC", Georgia, "Songti SC", serif;
  --sans: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 12% 8%, rgba(99, 91, 255, 0.12), transparent 60%),
    radial-gradient(55% 45% at 88% 18%, rgba(175, 91, 237, 0.12), transparent 60%),
    var(--bg);
}

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

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(246, 248, 251, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  font-family: var(--serif);
  font-size: 20px;
}
.brand-text { font-size: 18px; letter-spacing: 0.5px; }
.brand-text em { font-style: normal; color: var(--ink-soft); font-weight: 500; font-size: 14px; }

.nav-links { display: flex; gap: clamp(14px, 3vw, 32px); font-size: 15px; color: var(--ink-soft); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--violet-1); }

/* ---------- Hero ---------- */
.hero {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(64px, 12vw, 130px) clamp(20px, 5vw, 40px) clamp(48px, 8vw, 90px);
  text-align: center;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--violet-1);
  font-weight: 600;
  margin-bottom: 18px;
}
.hero-name {
  font-family: var(--serif);
  font-size: clamp(44px, 9vw, 84px);
  font-weight: 700;
  letter-spacing: 2px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-handle { margin-top: 14px; font-size: clamp(15px, 2.4vw, 19px); color: var(--ink-soft); }
.hero-tagline {
  margin-top: 30px;
  font-family: var(--serif);
  font-size: clamp(20px, 4vw, 30px);
  color: var(--ink);
}
.hero-motto { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }
.lat { font-style: italic; color: var(--violet-2); }

.hero-actions { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: var(--shadow-lg); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Sections ---------- */
.section {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) clamp(20px, 5vw, 40px);
}
.section-head { margin-bottom: 34px; }
.kicker {
  font-size: 12px; letter-spacing: 3px; font-weight: 700;
  color: var(--violet-1);
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 5vw, 38px);
  margin-top: 8px;
  letter-spacing: 1px;
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center; }
.about-text p { color: var(--ink-soft); margin-bottom: 16px; }
.about-text strong { color: var(--ink); }
.facts { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.facts li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 15px;
  box-shadow: var(--shadow);
}
.facts li span {
  display: inline-block;
  min-width: 64px;
  color: var(--violet-1);
  font-weight: 600;
  margin-right: 14px;
}

.about-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.gradient-ring {
  width: 132px; height: 132px;
  margin: 0 auto 22px;
  border-radius: 50%;
  padding: 4px;
  background: var(--gradient);
  display: grid; place-items: center;
}
.monogram {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--surface);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 52px;
  color: var(--violet-1);
}
.card-quote { font-family: var(--serif); color: var(--ink); font-size: 17px; }

/* ---------- Brand ---------- */
.brand-panel {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.brand-swatch {
  border-radius: var(--radius);
  background: var(--gradient);
  min-height: 160px;
  box-shadow: var(--shadow-lg);
}
.brand-copy p { color: var(--ink-soft); margin-bottom: 14px; }
.brand-copy strong { color: var(--ink); }
.brand-copy em { font-style: normal; color: var(--violet-1); font-weight: 600; }
code {
  background: #eef0fb;
  color: var(--violet-1);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 13px;
}

/* ---------- Work cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--violet-1);
  background: #eef0fb;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.card h3 { font-size: 20px; margin-bottom: 10px; font-family: var(--serif); }
.card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- World ---------- */
.world-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.world-panel p { color: var(--ink-soft); margin-bottom: 18px; }
.world-panel strong { color: var(--ink); }
.world-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  border: 1px solid transparent;
  background: var(--gradient);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow);
}

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 44px 20px 56px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.footer-brand { font-family: var(--serif); font-size: 18px; }
.footer-brand em { font-style: normal; color: var(--ink-soft); font-weight: 500; }
.footer-copy { margin-top: 10px; color: var(--ink-soft); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .brand-panel { grid-template-columns: 1fr; }
  .brand-swatch { min-height: 90px; }
  .nav-links { display: none; }
}
