:root {
  color-scheme: dark;
  --night: #101114;
  --night-text: #f5f6fb;
  --night-muted: #b9bbc7;
  --paper: #f1f1f7;
  --ink: #191b25;
  --ink-muted: #4c4f62;
  --accent: #a8b2ff;
  --accent-ink: #394abd;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--night-text); background: var(--night); }
h1, h2, h3, p, ol { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
section[id] { scroll-margin-block-start: 1.5rem; }

.wrap { width: min(100% - clamp(2.5rem, 9vw, 9rem), 78rem); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 0.875rem;
  left: 0.875rem;
  z-index: 1;
  padding: 0.625rem 1rem;
  background: var(--accent);
  color: var(--night);
  transform: translateY(calc(-100% - 2rem));
}

.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid #292b35; }

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.4rem;
  font-weight: 750;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.symbol { position: relative; flex: none; width: 1.35rem; height: 1.35rem; color: var(--accent); }
.symbol::before, .symbol::after {
  content: "";
  position: absolute;
  inset: 11% 38%;
  background: currentColor;
  transform: skewX(-36deg);
}
.symbol::after { transform: skewX(36deg); opacity: 0.7; }

nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); }
nav a, .site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.9375rem;
  color: var(--night-muted);
  text-decoration: none;
  text-underline-offset: 0.35em;
}
nav a:hover, .site-footer a:hover { color: var(--night-text); text-decoration: underline; }

.hero {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.87fr) minmax(0, 1.13fr);
  gap: 1.5rem;
  min-height: min(42rem, 75vw);
  padding-block: clamp(2rem, 6vw, 6rem);
}

.hero-copy { z-index: 1; }
.eyebrow { color: var(--accent); font-size: 0.9375rem; font-weight: 650; letter-spacing: 0.12em; }
.hero h1 {
  margin-top: 1.2rem;
  font-size: clamp(2.45rem, 5.1vw, 5.125rem);
  font-weight: 750;
  letter-spacing: -0.08em;
  line-height: 1.19;
}
.hero h1 span { color: var(--accent); }
.hero-summary { margin-top: 1.5rem; max-width: 23em; color: var(--night-muted); font-size: clamp(1rem, 1.4vw, 1.125rem); line-height: 1.85; }

.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin-top: 1.875rem;
  padding: 0.6rem 1.3rem;
  background: var(--accent);
  color: #11152c;
  border-radius: 0.25rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 150ms ease;
}
.hero-link:hover { background: #c7cdff; }
.hero-link:focus-visible { outline-color: var(--night-text); }

.hero-art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.38;
  background: radial-gradient(ellipse at center, #252a47, #101114 75%);
  border: 1px solid #292c3b;
}

.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; }

.studio-content { color-scheme: light; background: var(--paper); color: var(--ink); }
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(1.25rem, 6vw, 6rem);
  padding-block: clamp(3.5rem, 8vw, 7.5rem);
}

.about .eyebrow { color: var(--accent-ink); }
.about h2 { margin-top: 0.75rem; font-size: clamp(2rem, 4.25vw, 3.75rem); line-height: 1.2; letter-spacing: -0.065em; }
.about > p { max-width: 29em; font-size: clamp(1.125rem, 1.9vw, 1.375rem); line-height: 1.9; }
.process { padding-block: clamp(2.25rem, 4.75vw, 4rem) clamp(3.5rem, 8vw, 7rem); border-top: 1px solid #cbccda; }
.process h2 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); line-height: 1.25; letter-spacing: -0.04em; }

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  list-style: none;
  margin-top: 1.6rem;
  padding: 1px;
  background: #cbccda;
}
.process-list li { background: #eaeaf3; padding: clamp(1.25rem, 3vw, 2.25rem); }
.process-list h3 { margin-top: 1.5rem; font-size: 1.25rem; line-height: 1.45; }
.process-list p { margin-top: 0.5rem; color: var(--ink-muted); line-height: 1.8; }

.process-mark { display: grid; align-content: center; width: 2.25rem; height: 2.25rem; color: var(--accent-ink); }
.mark-lines { gap: 0.34rem; }
.mark-lines::before, .mark-lines::after, .mark-lines span { content: ""; width: 100%; height: 2px; background: currentColor; }
.mark-lines span { width: 74%; }
.mark-lines::after { width: 48%; }
.mark-layers, .mark-focus { position: relative; }
.mark-layers::before, .mark-layers span { content: ""; position: absolute; width: 68%; height: 68%; border: 2px solid; background: #eaeaf3; }
.mark-layers::before { top: 6%; right: 6%; }
.mark-layers span { bottom: 6%; left: 6%; }
.mark-focus { place-items: center; border: 2px solid; border-radius: 50%; }
.mark-focus span { width: 42%; aspect-ratio: 1; border-radius: 50%; background: currentColor; }

.site-footer { border-top: 1px solid #292b35; }
.footer-inner p { font-size: 0.9375rem; }

@media (max-width: 47rem) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: 3.5rem 2rem; }
  .hero h1 { font-size: clamp(2.4rem, 9vw, 4.5rem); }
  .hero-art { aspect-ratio: 1.55; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .process-list { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .hero-link { transition: none; }
}
