:root {
  --paper: #050812;
  --paper-deep: #0b1020;
  --ink: #f4f6ff;
  --muted: #929bb4;
  --line: rgba(133, 148, 196, .18);
  --green: #7d78ff;
  --lime: #8b7cff;
  --orange: #4b9cff;
  --white: #f8f9ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 10%, rgba(76, 83, 220, .20), transparent 30rem),
    radial-gradient(circle at 22% 42%, rgba(37, 112, 196, .09), transparent 28rem),
    linear-gradient(180deg, var(--paper), #070b16 48%, var(--paper));
  color: var(--ink);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}
a { color: inherit; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  background: rgba(5, 8, 18, .82);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(139, 124, 255, .42);
  background: #0d1326;
  color: #a9a1ff;
  font-family: ui-monospace, monospace;
  font-size: 13px;
}
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
nav a:hover { color: var(--white); }
nav .nav-cta {
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
}

main, .site-footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  min-height: 700px;
  padding: 70px 0 92px;
}
.eyebrow {
  margin: 0;
  color: var(--green);
  font-family: ui-monospace, "SFMono-Regular", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}
h1, h2, h3, p { text-wrap: pretty; }
h1 {
  margin: 20px 0 26px;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(54px, 7vw, 94px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.04;
}
h1 em { color: var(--green); font-style: normal; }
.hero-lead { max-width: 630px; color: var(--muted); font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23,32,29,.12); }
.button.primary { border-color: var(--green); background: var(--green); color: var(--white); }
.button.secondary { background: transparent; }

.hero-art { position: relative; min-height: 490px; isolation: isolate; }
.hero-art::before {
  content: "";
  position: absolute;
  inset: 10% 3% 5% 13%;
  z-index: -3;
  border-radius: 48% 52% 45% 55%;
  background: linear-gradient(145deg, #111934, #151c48 56%, #0b1531);
  box-shadow: inset 0 0 80px rgba(75, 156, 255, .08), 0 35px 90px rgba(0, 0, 0, .34);
  transform: rotate(-7deg);
}
.hero-art::after {
  content: "";
  position: absolute;
  width: 36%;
  aspect-ratio: 1;
  right: -3%;
  top: 7%;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #817cff, #343a9c 56%, #111a45);
  box-shadow: 0 0 70px rgba(92, 91, 255, .34);
  opacity: .86;
}
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; }
.orbit-one { inset: 17% 9% 13% 19%; transform: rotate(18deg); }
.orbit-two { inset: 28% 1% 24% 7%; transform: rotate(-18deg); }
.art-core {
  position: absolute;
  left: 43%;
  top: 41%;
  display: grid;
  width: 118px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, #a89fff, #6d68e9);
  color: #070b16;
  font-family: Georgia, serif;
  font-size: 64px;
  font-weight: 700;
  box-shadow: 0 25px 60px rgba(0,0,0,.18);
}
.art-card {
  position: absolute;
  width: 165px;
  padding: 20px;
  border: 1px solid rgba(139, 151, 210, .28);
  border-radius: 22px;
  background: rgba(12, 18, 38, .82);
  color: var(--white);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(12px);
}
.art-card span { display: block; color: var(--green); font: 700 10px/1 ui-monospace, monospace; letter-spacing: .14em; }
.art-card strong { display: block; margin-top: 9px; font-size: 18px; }
.card-one { left: 1%; top: 16%; transform: rotate(-7deg); }
.card-two { right: 0; top: 42%; transform: rotate(6deg); }
.card-three { left: 12%; bottom: 4%; transform: rotate(4deg); }

.section { padding: 104px 0; border-top: 1px solid var(--line); }
.section h2, .closing h2 {
  margin: 14px 0 0;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(38px, 5vw, 68px);
  letter-spacing: -.04em;
  line-height: 1.12;
}
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about-copy > p { margin: 0; color: var(--muted); font-size: 20px; line-height: 1.9; }
.topic-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.topic-list span { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-heading > p { max-width: 420px; color: var(--muted); line-height: 1.8; }
.featured-work {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1.2fr .8fr;
  gap: 36px;
  min-height: 420px;
  overflow: hidden;
  padding: 38px;
  border-radius: 34px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
}
.work-index { color: var(--lime); font: 700 13px/1 ui-monospace, monospace; }
.work-copy { align-self: center; }
.work-type { color: #aab6b0; font-size: 13px; }
.work-copy h3 { margin: 15px 0 20px; font-family: "Songti SC", Georgia, serif; font-size: clamp(32px, 4vw, 58px); line-height: 1.12; }
.work-copy p { max-width: 570px; color: #b9c2be; line-height: 1.9; }
.work-link { display: inline-flex; gap: 8px; margin-top: 20px; color: var(--lime); font-weight: 800; }
.work-visual { position: relative; min-height: 320px; align-self: center; }
.folder {
  position: absolute;
  border-radius: 22px;
  background: var(--lime);
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
}
.folder::before {
  content: "";
  position: absolute;
  top: -24px;
  left: 0;
  width: 42%;
  height: 45px;
  border-radius: 16px 16px 0 0;
  background: inherit;
}
.folder-back { inset: 17% 4% 14% 13%; background: #487d6a; transform: rotate(8deg); }
.folder-front { inset: 24% 8% 7% 3%; display: flex; flex-direction: column; justify-content: end; padding: 28px; transform: rotate(-4deg); color: var(--ink); }
.folder-front span { font-family: Georgia, serif; font-size: 84px; line-height: .8; }
.folder-front small { margin-top: 12px; font-weight: 800; }

.note-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.note-grid article { min-height: 250px; padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.035); }
.note-grid article > span { color: var(--orange); font: 800 12px/1 ui-monospace, monospace; }
.note-grid h3 { margin: 58px 0 12px; font-size: 22px; }
.note-grid p { color: var(--muted); line-height: 1.75; }
.closing { margin-bottom: 80px; padding: 90px 30px; border: 1px solid var(--line); border-radius: 34px; background: linear-gradient(135deg, #10172d, #171641 62%, #0c1328); text-align: center; box-shadow: inset 0 0 70px rgba(100, 92, 255, .08); }
.closing p:not(.eyebrow) { max-width: 620px; margin: 20px auto 30px; color: var(--muted); line-height: 1.8; }
.closing .eyebrow { color: #9690ff; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 34px 0 44px; border-top: 1px solid var(--line); }
.site-footer > div { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer span, .site-footer a { color: var(--muted); font-size: 12px; }
.site-footer strong { font-size: 13px; }
.footer-meta { justify-content: flex-end; }

@media (max-width: 820px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-art { min-height: 430px; margin-top: 30px; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .featured-work { grid-template-columns: 50px 1fr; }
  .work-visual { grid-column: 1 / -1; min-height: 280px; }
  .note-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header, main, .site-footer { width: min(100% - 24px, 1180px); }
  .brand > span:last-child { display: none; }
  .hero { min-height: auto; padding: 48px 0 72px; }
  h1 { font-size: clamp(45px, 13vw, 66px); }
  .hero-lead { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-art { min-height: 365px; }
  .art-card { width: 135px; padding: 15px; }
  .art-card strong { font-size: 15px; }
  .art-core { width: 94px; font-size: 50px; }
  .section { padding: 76px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .featured-work { grid-template-columns: 1fr; gap: 20px; padding: 26px; border-radius: 25px; }
  .work-index { display: none; }
  .work-visual { min-height: 240px; }
  .closing { padding: 70px 20px; border-radius: 25px; }
  .site-footer { flex-direction: column; }
  .footer-meta { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
