:root {
  --paper: #233f6b;
  --paper-2: #f3efe5;
  --ink: #f3efe5;
  --muted: rgba(243, 239, 229, .72);
  --line: rgba(243, 239, 229, .24);
  --orange: #ff6f3d;
  --blue: #2563eb;
  --cyan: #00d4ff;
  --navy: #1a1e25;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(243, 239, 229, .06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(243, 239, 229, .06) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px, 72px 72px, auto;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.frame { width: min(1510px, calc(100% - 28px)); margin-inline: auto; }

.nav {
  height: 62px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .08em;
}

.nav, .hero, .writing, .contact { background-color: var(--paper); }
.about, .build { background-color: var(--paper-2); color: #10100e; --ink: #10100e; --muted: #666257; --line: rgba(16, 16, 14, .18); }
.about::before, .build::before { color: rgba(16, 16, 14, .35); }
.wordmark { font-family: Georgia, "Times New Roman", serif; font-size: 18px; letter-spacing: 0; }
.navLinks { display: flex; gap: 30px; align-items: center; }
.navLinks a { position: relative; padding: 22px 0; }
.navLinks a::after {
  content: '';
  position: absolute;
  left: 35%;
  right: 35%;
  bottom: 12px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.navLinks a:hover::after { transform: scaleX(1); }
.signal { justify-self: end; display: inline-flex; align-items: center; gap: 7px; }
.signal span { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

.hero {
  min-height: 760px;
  position: relative;
  display: block;
  padding: 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::before,
.panel::before,
.contact::before {
  content: '+';
  position: absolute;
  left: 14px;
  top: 14px;
  color: rgba(16, 16, 14, .35);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.hero::after {
  content: '';
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.heroCopy { position: relative; z-index: 3; width: 57%; padding: 74px 0 70px 70px; }
.kicker, .sectionMark {
  margin: 0 0 18px;
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(138px, 15.8vw, 242px);
  line-height: .7;
  letter-spacing: 0;
  font-weight: 600;
}
.hero h1 span { display: block; }
.hero h1 span:last-child { margin-top: .08em; margin-left: .38em; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.heroLine { max-width: 660px; margin: 38px 0 0; font-size: clamp(28px, 3.7vw, 54px); line-height: 1.13; font-weight: 700; letter-spacing: 0; }
.heroText { max-width: 570px; margin: 18px 0 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.heroActions { display: flex; gap: 12px; margin-top: 30px; }
.heroActions a {
  min-width: 130px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  background: rgba(243, 239, 229, .78);
  font-size: 13px;
  font-weight: 700;
}
.heroActions a:first-child { background: var(--orange); color: white; border-color: var(--orange); }

.heroArt {
  position: absolute;
  z-index: 2;
  right: -1%;
  bottom: 0;
  width: min(52vw, 790px);
  height: 100%;
  min-width: 620px;
  min-height: 720px;
  overflow: hidden;
}
.heroArt::before {
  content: '';
  position: absolute;
  z-index: 0;
  left: 1%;
  right: 0;
  top: 10%;
  bottom: 0;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(255, 111, 61, .9) 8% 9.5%, transparent 9.5% 100%),
    linear-gradient(135deg, rgba(37, 99, 235, .28), rgba(0, 212, 255, .08) 55%, transparent 55%);
  border: 1px solid rgba(243, 239, 229, .12);
}
.heroArt::after {
  content: '';
  position: absolute;
  z-index: 0;
  right: 3%;
  top: 7%;
  width: 50%;
  height: 35%;
  background-image: radial-gradient(rgba(0, 212, 255, .3) 1px, transparent 1px);
  background-size: 9px 9px;
  mask-image: linear-gradient(135deg, black, transparent 72%);
}
.heroArt img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 2;
  transform: scale(1.04) translate(3%, -1.5%);
  transform-origin: 50% 0;
  filter:
    drop-shadow(1px 0 0 rgba(243, 239, 229, .95))
    drop-shadow(-2px 0 0 rgba(243, 239, 229, .9))
    drop-shadow(0 2px 0 rgba(243, 239, 229, .9))
    drop-shadow(0 -2px 0 rgba(243, 239, 229, .9))
    drop-shadow(0 0 7px rgba(0, 212, 255, .45))
    drop-shadow(22px 26px 30px rgba(7, 15, 31, .42));
}
.blueprint {
  position: absolute;
  z-index: 1;
  right: 1%;
  top: 9%;
  width: 64%;
  height: 205px;
  border: 1px solid rgba(0, 212, 255, .3);
  background: rgba(18, 35, 66, .22);
}
.blueprint::before {
  content: '';
  position: absolute;
  inset: 22px;
  border-top: 1px solid rgba(0, 212, 255, .26);
  border-bottom: 1px solid rgba(0, 212, 255, .26);
}
.blueprint span {
  position: absolute;
  padding: 6px 12px;
  border: 1px solid rgba(37, 99, 235, .36);
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  background: rgba(243, 239, 229, .9);
}
.blueprint span:nth-child(1) { left: 24px; top: 24px; }
.blueprint span:nth-child(2) { right: 34px; top: 64px; background: var(--blue); color: white; }
.blueprint span:nth-child(3) { right: 28px; bottom: 20px; }

.panel {
  position: relative;
  min-height: 650px;
  padding: 74px 58px;
  border-bottom: 1px solid var(--line);
}
.panel h2, .contact h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(78px, 11vw, 172px);
  line-height: .82;
  letter-spacing: 0;
  font-weight: 500;
}
.panel p, .contact p { color: var(--muted); line-height: 1.9; }

.about {
  display: grid;
  grid-template-columns: .9fr 1.4fr;
  align-items: start;
  gap: 70px;
}
.about > div:first-child p:last-child { max-width: 590px; margin-top: 28px; font-size: 17px; }
.identityCard {
  display: grid;
  grid-template-columns: minmax(210px, 330px) 1fr;
  gap: 42px;
  align-items: center;
}
.avatarSketch {
  position: relative;
  min-height: 390px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 49%, rgba(16,16,14,.12) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(16,16,14,.12) 50%, transparent 51%),
    rgba(255,255,255,.23);
}
.avatarSketch::after {
  content: 'IP / character';
  position: absolute;
  left: 18px;
  bottom: 15px;
  color: rgba(16,16,14,.42);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}
.avatarSketch img { padding: 18px 18px 36px; }
.avatarSketch > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}
.channelTable { border-top: 1px solid var(--line); }
.channelTable a {
  min-height: 72px;
  display: grid;
  grid-template-columns: 80px 1.1fr 1fr 54px;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.channelTable strong { font-size: 15px; }
.channelTable em { color: var(--muted); font-style: normal; }
.channelTable i { color: var(--orange); font-style: normal; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }

.sectionIntro { display: flex; justify-content: space-between; align-items: end; margin-bottom: 46px; }
.writingGrid { display: grid; grid-template-columns: .88fr 1.25fr; gap: 62px; align-items: end; }
.featureTile {
  min-height: 390px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .25);
}
.moon {
  width: 100%;
  aspect-ratio: 1.2;
  border: 1px solid rgba(16,16,14,.16);
  background:
    radial-gradient(circle at 52% 46%, var(--orange) 0 21%, transparent 22%),
    radial-gradient(circle at 50% 52%, rgba(16,16,14,.75) 0 9%, transparent 10%),
    linear-gradient(135deg, rgba(37,99,235,.12), transparent 52%);
}
.featureTile h3 { margin: 24px 0 12px; font-size: 26px; line-height: 1.28; letter-spacing: 0; }
.featureTile a { color: var(--orange); font-weight: 700; }
.articleList { border-top: 1px solid var(--line); }
.articleList article {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.articleList span {
  color: rgba(16,16,14,.26);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  line-height: .9;
}
.articleList h3 { margin: 0 0 8px; font-size: 24px; line-height: 1.25; letter-spacing: 0; }
.articleList p { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }

.build {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}
.build p:not(.sectionMark) { max-width: 580px; margin: 26px 0; font-size: 17px; }
.build a { color: var(--orange); font-weight: 700; }
.terminal {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .45);
  box-shadow: 18px 18px 0 rgba(16,16,14,.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.terminalTop { display: flex; gap: 8px; margin-bottom: 30px; }
.terminalTop span { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.terminalTop span:nth-child(2) { background: var(--blue); }
.terminalTop span:nth-child(3) { background: var(--cyan); }
.terminal > p { color: var(--orange); margin: 0 0 24px; }
.log { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.log span { color: var(--blue); }
.log em { color: var(--muted); font-style: normal; }
.progress { height: 7px; margin-top: 28px; border: 1px solid var(--line); }
.progress span { display: block; width: 78%; height: 100%; background: var(--orange); }

.contact {
  position: relative;
  min-height: 560px;
  padding: 92px 58px 72px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.contact .sectionMark { color: var(--muted); }
.contact h2 { font-size: clamp(76px, 10vw, 152px); }
.contact > p { margin: 22px auto 52px; max-width: 520px; }
.contactGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contactGrid a { min-height: 84px; display: grid; place-items: center; border-left: 1px solid var(--line); color: var(--muted); }
.contactGrid a:first-child { border-left: 0; }
.contactGrid span { display: block; color: var(--ink); font-weight: 700; margin-bottom: 4px; }
.footer {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

@media (max-width: 980px) {
  .nav { grid-template-columns: 1fr auto; }
  .navLinks { display: none; }
  .about, .writingGrid, .build { grid-template-columns: 1fr; }
  .hero { min-height: 1080px; }
  .hero::after { left: 54%; }
  .heroCopy { width: 100%; padding: 54px 22px 0; }
  .heroArt { right: -8%; width: min(88vw, 690px); min-width: 0; min-height: 650px; height: 68%; }
  .panel { padding: 70px 22px; }
  .identityCard { grid-template-columns: 1fr; }
  .avatarSketch { min-height: 480px; }
}

@media (max-width: 640px) {
  .frame { width: min(100% - 22px, 1510px); }
  .hero { min-height: 1120px; padding-top: 20px; }
  .hero::after { left: 62%; }
  .hero h1 { font-size: clamp(96px, 31vw, 132px); }
  .hero h1 span:last-child { margin-left: .28em; -webkit-text-stroke-width: 1.5px; }
  .heroLine { font-size: 30px; }
  .heroActions, .contactGrid { grid-template-columns: 1fr; flex-direction: column; }
  .heroActions a { width: 100%; }
  .heroArt { right: -24%; width: 122%; height: 48%; min-height: 535px; }
  .heroArt img { transform: scale(1.03) translate(2%, -1%); }
  .blueprint { width: 250px; height: 150px; right: 2%; top: 8%; }
  .panel h2, .contact h2 { font-size: clamp(70px, 22vw, 98px); }
  .channelTable a { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .articleList article { grid-template-columns: 58px 1fr; }
  .articleList span { font-size: 42px; }
  .contactGrid a { border-left: 0; border-top: 1px solid var(--line); }
  .contactGrid a:first-child { border-top: 0; }
  .footer { display: grid; gap: 8px; padding: 22px 0; }
}

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