:root {
  color-scheme: light dark;
  --paper: #f4f7fb;
  --surface: rgba(255, 255, 255, .84);
  --ink: #0a1728;
  --muted: #5d6b7d;
  --line: rgba(10, 23, 40, .13);
  --accent: #1769e0;
  --night: #081629;
  --safe: #1fa86a;
  --radius: 24px;
  --shadow: 0 22px 68px rgba(25, 58, 100, .1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 82% 4%, rgba(23, 105, 224, .11), transparent 32rem), var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 7px; }
.shell { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 790; text-decoration: none; letter-spacing: -.02em; }
.hub-mark { display: grid; grid-template-columns: repeat(2, 7px); gap: 5px; width: 38px; height: 38px; place-content: center; border-radius: 12px; background: var(--night); }
.hub-mark i { width: 7px; height: 7px; border-radius: 2px; background: #7bb1ff; }
.hub-mark i:nth-child(2), .hub-mark i:nth-child(3) { background: #fff; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 20px; }
.nav a { color: var(--muted); font-size: .92rem; font-weight: 650; text-decoration: none; }
.nav a:hover { color: var(--accent); }

.hero { display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: clamp(42px, 8vw, 108px); min-height: 570px; padding: 72px 0 88px; }
.eyebrow, .note-index, .record-label { color: var(--accent); font-size: .76rem; font-weight: 820; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 760px; margin: 18px 0 24px; font-family: "Iowan Old Style", "Songti SC", Georgia, serif; font-size: clamp(3.25rem, 7.6vw, 6.8rem); font-weight: 650; line-height: .98; letter-spacing: -.055em; }
.hero-copy p { max-width: 620px; margin: 0; color: var(--muted); font-size: clamp(1.04rem, 2vw, 1.22rem); }
.site-note { padding: 28px 30px; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.site-note p { margin: 18px 0 0; color: var(--muted); }
.site-note p + p { padding-top: 18px; border-top: 1px solid var(--line); }

.projects { padding: 86px 0 104px; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; align-items: end; gap: 36px; margin-bottom: 38px; }
.section-head h2 { margin: 0; font-family: "Iowan Old Style", "Songti SC", Georgia, serif; font-size: clamp(2.1rem, 5vw, 3.8rem); font-weight: 650; line-height: 1; letter-spacing: -.04em; }
.section-head p { max-width: 540px; margin: 0; color: var(--muted); }
.project-record { display: grid; grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr); overflow: hidden; border: 1px solid var(--line); border-radius: 32px; background: var(--surface); box-shadow: var(--shadow); }
.project-record + .project-record { margin-top: 28px; }
.project-visual { position: relative; min-height: 360px; display: grid; place-items: center; background: #061d3a; color: #fff; }
.ring { position: relative; width: 164px; height: 164px; border: 3px solid #1590ff; border-radius: 50%; box-shadow: 0 0 0 40px rgba(255,255,255,.04), 0 0 0 78px rgba(255,255,255,.025); }
.ring::before { content: ""; position: absolute; inset: 45px; border: 3px solid #1590ff; border-radius: 50%; }
.ring::after { content: ""; position: absolute; right: 14px; top: 16px; width: 17px; height: 17px; border-radius: 50%; background: var(--safe); box-shadow: 0 0 0 9px rgba(31,168,106,.17); }
.project-visual--snapexport { overflow: hidden; isolation: isolate; background: #edf6ff; }
.project-visual--snapexport::before, .project-visual--snapexport::after { content: ""; position: absolute; z-index: -1; left: 20%; width: 110%; height: 2px; border-radius: 999px; background: linear-gradient(90deg, transparent, rgba(23,105,224,.3), transparent); transform: rotate(-8deg); }
.project-visual--snapexport::before { top: 40%; box-shadow: 0 18px 0 rgba(23,105,224,.1), 0 36px 0 rgba(23,105,224,.06); }
.project-visual--snapexport::after { top: 63%; opacity: .55; }
.project-visual--snapexport img { width: min(168px, 46%); border-radius: 38px; box-shadow: 0 24px 54px rgba(0,91,205,.25); }
.project-copy { padding: clamp(30px, 6vw, 62px); }
.project-copy h3 { margin: 18px 0 12px; font-family: "Iowan Old Style", Georgia, serif; font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 650; line-height: 1; letter-spacing: -.045em; }
.project-copy > p { max-width: 610px; margin: 0; color: var(--muted); font-size: 1.04rem; }
.document-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 30px; border-top: 1px solid var(--line); }
.document-links a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 680; text-decoration: none; }
.document-links a:nth-child(odd) { margin-right: 16px; }
.document-links a:hover { color: var(--accent); }
.document-links a span:last-child { color: var(--accent); }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 36px 0 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.site-footer .filing-records { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; justify-self: center; text-align: center; }
.site-footer .public-security-record { display: inline-flex; align-items: center; gap: 6px; }
.site-footer .public-security-record img { width: 20px; height: 20px; object-fit: contain; flex: 0 0 auto; }
.site-footer .icp-record { text-align: center; }
.site-footer div:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.site-footer a { text-decoration: none; }
.error-page { min-height: calc(100vh - 84px); display: grid; place-items: center; text-align: center; }
.error-page h1 { margin-bottom: 16px; }
.error-page p { color: var(--muted); }
.error-links { width: min(540px, 100%); margin-inline: auto; text-align: left; }

@media (max-width: 800px) {
  .hero, .project-record, .section-head { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 58px; }
  .project-visual { min-height: 300px; }
  .section-head p { margin-top: -20px; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .site-footer .filing-records, .site-footer div:last-child { justify-self: center; }
  .site-footer div:last-child { justify-content: center; }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 28px); }
  .site-header { display: block; padding: 18px 0; }
  .nav { justify-content: flex-start; gap: 12px; margin-top: 15px; }
  h1 { font-size: clamp(3rem, 16vw, 4.8rem); }
  .projects { padding: 66px 0 78px; }
  .document-links { grid-template-columns: 1fr; }
  .document-links a:nth-child(odd) { margin-right: 0; }
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #07101d; --surface: rgba(16, 29, 47, .88); --ink: #f2f6fc; --muted: #a9b5c5; --line: rgba(225,236,250,.14); --night: #020914; }
  body { background: radial-gradient(circle at 82% 4%, rgba(23,105,224,.18), transparent 32rem), var(--paper); }
  .project-visual--snapexport { background: #0b2a50; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
