@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');

:root {
  --paper: #f4f0e6;
  --paper-deep: #ebe4d7;
  --ink: #17211d;
  --muted: #626860;
  --line: rgba(23, 33, 29, .18);
  --lime: #b8f13f;
  --yellow: #ffd438;
  --coral: #ff5f4a;
  --blue: #55a9f5;
  --pink: #f45db4;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  padding: 0 clamp(24px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 240, 230, .9);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; fill: var(--ink); }
.brand span { display: grid; gap: 1px; }
.brand strong { font-size: 16px; letter-spacing: .08em; }
.brand small, .footer-brand small { font: 500 9px/1.2 "DM Mono", monospace; letter-spacing: .14em; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.site-nav a { font-size: 14px; font-weight: 600; text-decoration: none; }
.site-nav a:not(.nav-cta) { position: relative; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--ink); transition: right .25s ease; }
.site-nav a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 11px 18px; border: 1px solid var(--ink); border-radius: 99px; transition: .25s ease; }
.nav-cta:hover { color: var(--paper); background: var(--ink); }
.menu-toggle { display: none; border: 0; background: none; padding: 10px; }
.menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 4px 0; background: var(--ink); }

.hero {
  min-height: calc(100svh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr);
  align-items: center;
  gap: 5vw;
  padding: 72px clamp(24px, 5vw, 72px) 88px;
  overflow: hidden;
}
.eyebrow, .kicker { margin: 0 0 24px; font: 500 11px/1.4 "DM Mono", monospace; letter-spacing: .16em; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 10px; background: var(--lime); border: 1px solid var(--ink); border-radius: 8px 2px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 28px; font-size: clamp(52px, 5.7vw, 82px); line-height: .98; letter-spacing: -.065em; font-weight: 800; }
h1 em { color: var(--coral); font-style: normal; }
.hero-intro { max-width: 610px; margin-bottom: 36px; color: var(--muted); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; min-width: 210px; padding: 16px 18px; border-radius: 8px; text-decoration: none; font-weight: 700; }
.button-dark { color: var(--paper); background: var(--ink); box-shadow: 5px 5px 0 var(--lime); transition: transform .2s, box-shadow .2s; }
.button-dark:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--lime); }
.text-link { font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 5px; transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }

.hero-art { position: relative; min-height: 650px; }
.orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.orbit-one { inset: 2% 3% 12% 1%; }
.orbit-two { inset: 18% -17% -2% 18%; }
.tile-field { position: absolute; inset: 10% 6% 7% 4%; transform: rotate(-5deg); }
.tile { position: absolute; width: 21%; aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 22%; box-shadow: inset -8px -10px 0 rgba(0,0,0,.08), 8px 10px 0 var(--ink); animation: float 6s ease-in-out infinite; }
.tile::after { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(255,255,255,.45); border-radius: 16%; }
.t1 { left: 5%; top: 8%; background: var(--coral); }
.t2 { left: 28%; top: 8%; background: var(--yellow); animation-delay: -.6s; }
.t3 { left: 51%; top: 8%; background: var(--blue); animation-delay: -1.2s; }
.t4 { left: 5%; top: 31%; background: var(--pink); animation-delay: -1.8s; }
.t5 { left: 28%; top: 31%; background: var(--lime); animation-delay: -2.4s; }
.t6 { left: 51%; top: 31%; background: var(--yellow); animation-delay: -3s; }
.t7 { left: 74%; top: 31%; background: var(--coral); animation-delay: -3.6s; }
.t8 { left: 28%; top: 54%; background: var(--blue); animation-delay: -4.2s; }
.t9 { left: 51%; top: 54%; background: var(--pink); animation-delay: -4.8s; }
.t10 { left: 28%; top: 77%; background: var(--coral); animation-delay: -5.4s; }
.t11 { left: 51%; top: 77%; background: var(--lime); animation-delay: -2s; }
.score-card { position: absolute; top: 11%; right: 0; display: grid; gap: 3px; padding: 14px 18px; background: var(--ink); color: var(--paper); transform: rotate(4deg); box-shadow: 5px 5px 0 var(--yellow); }
.score-card span { font: 500 9px "DM Mono", monospace; color: var(--lime); letter-spacing: .16em; }
.score-card strong { font: 500 22px "DM Mono", monospace; }
.play-note { position: absolute; left: -3%; bottom: 8%; display: flex; gap: 14px; align-items: center; transform: rotate(-4deg); }
.play-note span { display: grid; place-items: center; width: 64px; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); font: 500 11px "DM Mono", monospace; }
.play-note b { font-size: 14px; line-height: 1.5; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.section-pad { padding: 120px clamp(24px, 6.5vw, 100px); }
.statement { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; gap: 9vw; color: var(--paper); background: var(--ink); }
.section-number { position: absolute; left: clamp(24px, 6.5vw, 100px); top: 26px; font: 500 10px "DM Mono", monospace; color: var(--lime); }
.statement .kicker { color: var(--lime); }
.statement h2, .section-heading h2, .contact h2 { margin-bottom: 0; font-size: clamp(38px, 5.2vw, 72px); line-height: 1.15; letter-spacing: -.045em; }
.statement-side { align-self: end; }
.statement-side > p { color: #b9c2bd; line-height: 1.9; }
.statement dl { margin: 36px 0 0; border-top: 1px solid rgba(255,255,255,.2); }
.statement dl div { display: grid; grid-template-columns: 86px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.statement dt { color: #87908b; font-size: 12px; }
.statement dd { margin: 0; font-size: 13px; }

.focus { background: var(--paper-deep); }
.section-heading { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 8vw; margin-bottom: 72px; }
.section-heading > p { margin: 0 0 8px; color: var(--muted); line-height: 1.8; }
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.focus-card { min-height: 420px; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--ink); background: var(--paper); transition: transform .25s ease, box-shadow .25s ease; }
.focus-card:hover { transform: translateY(-8px); box-shadow: 8px 8px 0 var(--ink); }
.focus-index { align-self: flex-end; font: 500 10px "DM Mono", monospace; }
.focus-icon { position: relative; width: 120px; height: 120px; margin: 54px auto auto; }
.focus-card h3 { margin-bottom: 12px; font-size: 24px; }
.focus-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.icon-prototype i { position: absolute; width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: 10px; }
.icon-prototype i:nth-child(1) { left: 4px; top: 36px; background: var(--coral); transform: rotate(-10deg); }
.icon-prototype i:nth-child(2) { left: 40px; top: 10px; background: var(--yellow); transform: rotate(7deg); }
.icon-prototype i:nth-child(3) { right: 2px; bottom: 14px; background: var(--blue); transform: rotate(15deg); }
.icon-craft { display: grid; grid-template-columns: repeat(2, 42px); place-content: center; gap: 5px; transform: rotate(-8deg); }
.icon-craft i { aspect-ratio: 1; border: 2px solid var(--ink); background: var(--lime); }
.icon-craft i:nth-child(2), .icon-craft i:nth-child(3) { background: var(--pink); }
.icon-craft i:nth-child(4) { background: var(--yellow); }
.icon-iterate i { position: absolute; inset: 16px; border: 14px solid var(--blue); border-right-color: transparent; border-radius: 50%; transform: rotate(-25deg); }
.icon-iterate i::after { content: ""; position: absolute; right: -19px; bottom: -8px; border: 10px solid transparent; border-top-color: var(--ink); transform: rotate(-20deg); }

.contact { position: relative; min-height: 640px; display: grid; place-items: center; overflow: hidden; color: var(--paper); background: var(--coral); text-align: center; }
.contact-inner { position: relative; z-index: 2; max-width: 840px; }
.contact .kicker { color: var(--ink); }
.contact h2 { margin-bottom: 28px; font-size: clamp(48px, 7vw, 98px); }
.contact-inner > p:not(.kicker):not(.contact-company) { color: rgba(23,33,29,.76); }
.contact-mail { display: inline-flex; gap: 24px; align-items: center; margin: 24px 0 42px; padding: 15px 22px; color: var(--paper); background: var(--ink); text-decoration: none; font: 500 clamp(14px, 2vw, 20px) "DM Mono", monospace; box-shadow: 6px 6px 0 var(--yellow); transition: transform .2s; }
.contact-mail:hover { transform: rotate(-2deg) scale(1.03); }
.contact-company { font-size: 12px; line-height: 1.8; }
.contact-company small { font: 400 9px "DM Mono", monospace; letter-spacing: .05em; }
.contact-shape i { position: absolute; width: clamp(60px, 8vw, 115px); aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 22%; opacity: .9; }
.contact-shape i:nth-child(1) { left: 5%; top: 12%; background: var(--yellow); transform: rotate(12deg); }
.contact-shape i:nth-child(2) { left: 14%; bottom: 6%; background: var(--blue); transform: rotate(-8deg); }
.contact-shape i:nth-child(3) { right: 7%; top: 10%; background: var(--lime); transform: rotate(-13deg); }
.contact-shape i:nth-child(4) { right: 15%; bottom: 2%; background: var(--pink); transform: rotate(18deg); }
.contact-shape i:nth-child(5) { right: -3%; top: 47%; background: var(--yellow); transform: rotate(7deg); }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 44px clamp(24px, 5vw, 72px) 24px; color: var(--paper); background: var(--ink); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-mark { fill: var(--paper); }
.footer-brand p { display: grid; gap: 4px; margin: 0; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: #bdc4c0; font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: var(--lime); }
.copyright { grid-column: 1/-1; margin: 22px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: #77817c; font: 400 10px "DM Mono", monospace; }

.legal-page { min-height: 100vh; }
.legal-main { max-width: 900px; margin: 0 auto; padding: 100px 24px 120px; }
.legal-main .kicker { color: var(--coral); }
.legal-main h1 { font-size: clamp(44px, 7vw, 76px); }
.legal-meta { margin-bottom: 56px; color: var(--muted); font-size: 13px; }
.legal-content { padding-top: 12px; border-top: 1px solid var(--line); }
.legal-content h2 { margin: 42px 0 12px; font-size: 22px; letter-spacing: -.02em; }
.legal-content p, .legal-content li { color: var(--muted); line-height: 1.9; }
.legal-content a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .site-header { height: 72px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; display: grid; gap: 0; padding: 12px 24px 24px; border-bottom: 1px solid var(--ink); background: var(--paper); transform: translateY(-130%); opacity: 0; pointer-events: none; transition: .25s ease; }
  .site-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 14px 0; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 60px; }
  .hero-art { min-height: 560px; max-width: 620px; width: 100%; margin: auto; }
  .statement, .section-heading { grid-template-columns: 1fr; }
  .statement { gap: 52px; }
  .section-heading { gap: 24px; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-card { min-height: 340px; }
}
@media (max-width: 560px) {
  .brand-mark { width: 34px; height: 34px; }
  .hero { padding-bottom: 54px; }
  h1 { font-size: 49px; }
  .hero-intro { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-art { min-height: 410px; margin-top: 18px; }
  .tile { border-radius: 16%; box-shadow: inset -4px -5px 0 rgba(0,0,0,.08), 5px 6px 0 var(--ink); }
  .score-card { padding: 9px 11px; }
  .score-card strong { font-size: 16px; }
  .play-note span { width: 48px; }
  .play-note b { font-size: 11px; }
  .section-pad { padding-top: 82px; padding-bottom: 82px; }
  .statement h2, .section-heading h2 { font-size: 39px; }
  .statement dl div { grid-template-columns: 72px 1fr; }
  .contact { min-height: 580px; }
  .contact h2 { font-size: 47px; }
  .contact-shape i { opacity: .55; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}
