:root {
  --paper: #f4f0e8;
  --ink: #172226;
  --muted: #626963;
  --line: rgba(23, 34, 38, .18);
  --coral: #e56d54;
  --lime: #b8d948;
  --blue: #326a9d;
  --lavender: #b7addb;
  --mono: "DM Mono", monospace;
  --sans: "DM Sans", "Noto Sans JP", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-feature-settings: "palt"; }
body::selection { color: var(--paper); background: var(--ink); }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 9px 12px; background: var(--ink); color: var(--paper); transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
.page-grain { position: fixed; inset: 0; z-index: 5; pointer-events: none; opacity: .12; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.23'/%3E%3C/svg%3E"); }
.site-header { display: flex; position: fixed; z-index: 10; top: 0; right: 0; left: 0; align-items: center; justify-content: space-between; height: 88px; padding: 0 clamp(1.4rem, 4.2vw, 4.5rem); transition: background .3s, height .3s; }
.site-header.is-scrolled { height: 66px; background: rgba(244, 240, 232, .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.wordmark { font-size: 1.45rem; font-weight: 700; letter-spacing: -.08em; }
.wordmark span { color: var(--coral); }
.site-nav { display: flex; gap: clamp(1.2rem, 3vw, 3.1rem); font-family: var(--mono); font-size: .7rem; }
.site-nav a { transition: opacity .2s; }
.site-nav a:hover { opacity: .5; }
.menu-toggle { display: none; }
.section-shell { padding-right: clamp(1.4rem, 8.4vw, 9.4rem); padding-left: clamp(1.4rem, 8.4vw, 9.4rem); }
.hero { position: relative; display: flex; min-height: 100svh; flex-direction: column; justify-content: space-between; overflow: hidden; padding-top: 14.5vh; padding-bottom: 5.5vh; }
.hero-kicker, .eyebrow { font-family: var(--mono); font-size: .69rem; letter-spacing: .02em; text-transform: uppercase; }
.hero-copy { position: relative; z-index: 1; }
.hero-prelude { margin: 0 0 1rem; font-size: clamp(1rem, 1.5vw, 1.28rem); font-weight: 500; line-height: 1.7; letter-spacing: -.02em; }
.hero-prelude span, .about-lead span, .contact-main span { color: var(--coral); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(4rem, 10.2vw, 10.5rem); font-weight: 500; letter-spacing: -.085em; line-height: .84; }
.hero-bottom { display: flex; z-index: 1; align-items: end; justify-content: space-between; gap: 2rem; }
.hero-bottom p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: .55rem; border-bottom: 1px solid currentColor; padding-bottom: .25rem; font-size: .86rem; font-weight: 600; transition: color .2s, gap .2s; }
.text-link:hover { color: var(--coral); gap: .8rem; }
.hero-orbit { position: absolute; right: clamp(-7rem, -3vw, -2rem); top: 24%; width: clamp(19rem, 31vw, 30rem); height: clamp(19rem, 31vw, 30rem); border: 1px solid var(--ink); border-radius: 50%; transform: rotate(-15deg); }
.hero-orbit::before, .hero-orbit::after { position: absolute; border: 1px solid var(--ink); border-radius: inherit; content: ""; }
.hero-orbit::before { inset: 14%; }.hero-orbit::after { inset: 31%; }
.hero-orbit span { position: absolute; font-family: var(--mono); font-size: .62rem; }.hero-orbit span:nth-child(1) { top: 12%; left: 6%; }.hero-orbit span:nth-child(2) { right: 8%; bottom: 25%; }.hero-orbit span:nth-child(3) { bottom: 2%; left: 33%; }
.hero-orbit i { position: absolute; top: 46%; left: 46%; width: 9%; height: 9%; border-radius: 50%; background: var(--coral); }
.work, .skills { padding-top: clamp(6rem, 12vw, 11rem); padding-bottom: clamp(6rem, 12vw, 11rem); }
.section-heading { display: flex; justify-content: space-between; margin-bottom: clamp(3rem, 7vw, 6rem); }.section-heading .eyebrow { min-width: 150px; }.eyebrow span { color: var(--muted); margin-left: .6rem; }
h2 { margin-bottom: 0; font-size: clamp(2.7rem, 5.8vw, 6rem); font-weight: 500; letter-spacing: -.075em; line-height: .94; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 5vw, 5.5rem) clamp(1.1rem, 2.8vw, 3.4rem); }.project-featured { grid-column: 1 / -1; }.project-art { position: relative; overflow: hidden; min-height: clamp(18rem, 37vw, 37rem); }.project-info { padding-top: 1rem; }.project-meta { margin-bottom: .75rem; color: var(--muted); font-family: var(--mono); font-size: .63rem; }.project h3 { margin-bottom: .85rem; font-size: clamp(1.55rem, 2.4vw, 2.55rem); font-weight: 500; letter-spacing: -.06em; line-height: 1.03; }.project-info > p:not(.project-meta) { max-width: 33rem; margin-bottom: 1.1rem; color: var(--muted); font-size: .87rem; line-height: 1.75; }.tag-list { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0; list-style: none; }.tag-list li { border: 1px solid var(--line); border-radius: 100px; padding: .28rem .55rem; font-family: var(--mono); font-size: .58rem; }
.art-operations { background: var(--ink); }.terminal-line { position: absolute; left: 8%; height: 1px; background: rgba(244,240,232,.6); }.line-one { top: 25%; width: 35%; }.line-two { top: 46%; width: 64%; }.line-three { top: 68%; width: 48%; }.pulse { position: absolute; border: 1px solid var(--lime); border-radius: 50%; }.pulse-one { top: 16%; right: 11%; width: 45%; aspect-ratio: 1; }.pulse-two { top: 31%; right: 26%; width: 15%; aspect-ratio: 1; background: var(--lime); }.art-label { position: absolute; bottom: 8%; left: 8%; color: var(--paper); font-family: var(--mono); font-size: clamp(.55rem, 1vw, .82rem); letter-spacing: .08em; }
.art-puzzle { background: var(--coral); }.art-puzzle > span { position: absolute; top: 13%; right: 7%; color: var(--ink); font-family: var(--mono); font-size: clamp(1.4rem, 3vw, 3.4rem); font-weight: 500; letter-spacing: -.08em; line-height: .9; }.puzzle-piece { position: absolute; width: 28%; aspect-ratio: 1; border: 1px solid var(--ink); }.piece-a { left: 14%; bottom: 8%; background: var(--lime); border-radius: 45% 47% 38% 50%; }.piece-b { left: 37%; bottom: 26%; background: var(--lavender); border-radius: 40% 50% 49% 38%; }.piece-c { left: 15%; bottom: 35%; width: 14%; background: var(--ink); border-radius: 50%; }.piece-d { left: 55%; bottom: 7%; width: 18%; background: var(--paper); border-radius: 42% 56% 45% 50%; }
.art-platform { background: #d9d6c9; }.device { position: absolute; border: 2px solid var(--ink); }.device-phone { right: 17%; bottom: 16%; width: 18%; height: 54%; border-radius: 8px; background: var(--blue); }.device-monitor { left: 19%; bottom: 20%; width: 38%; height: 37%; background: var(--paper); }.device-monitor::after { position: absolute; right: 36%; bottom: -16%; width: 25%; height: 16%; background: var(--ink); content: ""; }.device-console { right: 7%; bottom: 14%; width: 22%; height: 13%; border-radius: 30px; background: var(--coral); }.route { position: absolute; height: 1px; transform-origin: left; background: var(--ink); }.route-one { top: 35%; left: 12%; width: 48%; transform: rotate(23deg); }.route-two { top: 29%; right: 10%; width: 36%; transform: rotate(145deg); }
.art-api { display: flex; align-items: center; justify-content: center; gap: 2%; background: var(--blue); color: var(--paper); }.api-bracket { font-family: var(--sans); font-size: clamp(8rem, 18vw, 18rem); font-weight: 300; line-height: .75; }.api-code { font-family: var(--mono); font-size: clamp(1.25rem, 2.8vw, 3.2rem); font-weight: 500; line-height: 1.2; }.api-dot { position: absolute; width: 10px; aspect-ratio: 1; border-radius: 50%; background: var(--lime); }.dot-a { top: 15%; left: 15%; }.dot-b { right: 14%; bottom: 18%; }.dot-c { top: 32%; right: 24%; width: 5px; }
.about { display: grid; grid-template-columns: 1fr 5fr; gap: 4vw; padding-top: clamp(6rem, 11vw, 10rem); padding-bottom: clamp(5rem, 10vw, 9rem); background: var(--ink); color: var(--paper); }.about-sidenote { color: rgba(244,240,232,.65); font-family: var(--mono); font-size: .66rem; line-height: 1.6; }.about-sidenote span { color: var(--lime); }.about-content { display: grid; grid-template-columns: 1.25fr 1fr; gap: 6vw; }.about-lead { font-size: clamp(2.5rem, 4.7vw, 5rem); font-weight: 500; letter-spacing: -.075em; line-height: .97; }.about-body { align-self: end; color: rgba(244,240,232,.76); font-size: .87rem; line-height: 1.85; }.about-body p:last-child { margin-bottom: 0; }.about-stats { grid-column: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 5rem; }.about-stats div { border-top: 1px solid rgba(244,240,232,.35); padding-top: .75rem; }.about-stats strong { display: block; font-family: var(--mono); font-size: clamp(1.8rem, 3.5vw, 3.6rem); font-weight: 400; letter-spacing: -.08em; }.about-stats strong span { color: var(--lime); }.about-stats p { margin: .45rem 0 0; color: rgba(244,240,232,.58); font-family: var(--mono); font-size: .56rem; line-height: 1.5; }
.skills { display: grid; grid-template-columns: 1fr 2fr; gap: 5vw; }.skills .section-heading { display: block; margin-bottom: 0; }.skills .section-heading h2 { margin-top: 2rem; }.skill-list { border-top: 1px solid var(--ink); }.skill-list details { border-bottom: 1px solid var(--ink); }.skill-list summary { display: grid; grid-template-columns: 3rem 1fr 1.5rem; align-items: center; padding: 1.35rem 0; cursor: pointer; list-style: none; }.skill-list summary::-webkit-details-marker { display: none; }.skill-list summary span, .skill-list summary i { font-family: var(--mono); font-size: .64rem; font-style: normal; }.skill-list summary strong { font-size: clamp(1rem, 1.65vw, 1.45rem); font-weight: 500; letter-spacing: -.04em; }.skill-list summary i { text-align: right; transition: transform .2s; }.skill-list details[open] summary i { transform: rotate(45deg); }.skill-list details p { max-width: 39rem; margin: 0; padding: 0 2.5rem 1.45rem 3rem; color: var(--muted); font-size: .85rem; line-height: 1.75; }
.contact { min-height: 88vh; display: flex; flex-direction: column; justify-content: space-between; padding-top: clamp(5rem, 9vw, 8rem); padding-bottom: 1.5rem; background: var(--lime); }.contact-main { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }.contact-main p { margin: 0; font-size: clamp(3.2rem, 8.5vw, 9rem); font-weight: 500; letter-spacing: -.085em; line-height: .87; }.contact-link { flex: 0 0 auto; margin-bottom: .6rem; border-bottom: 1px solid; padding-bottom: .35rem; font-size: clamp(1rem, 1.8vw, 1.5rem); font-weight: 600; transition: color .2s; }.contact-link:hover { color: var(--coral); }footer { display: flex; justify-content: space-between; color: rgba(23,34,38,.7); font-family: var(--mono); font-size: .57rem; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }.reveal.is-visible { opacity: 1; transform: translateY(0); }.reveal:nth-child(2) { transition-delay: .1s; }
.mobile-only { display: none; }
@media (max-width: 720px) { .site-header { height: 68px; }.menu-toggle { display: flex; position: relative; z-index: 2; align-items: center; gap: .55rem; border: 0; padding: .5rem 0; color: var(--ink); background: transparent; font-family: var(--mono); font-size: .66rem; }.menu-icon, .menu-icon::before { display: block; width: 17px; height: 1px; background: currentColor; content: ""; transition: transform .2s; }.menu-icon::before { transform: translateY(-5px); }.menu-toggle[aria-expanded="true"] .menu-icon { transform: rotate(45deg); }.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: rotate(90deg); }.site-nav { position: absolute; top: 0; right: 0; left: 0; display: flex; visibility: hidden; flex-direction: column; gap: 1.5rem; padding: 100px 1.4rem 2rem; background: var(--paper); border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }.site-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }.hero { min-height: 780px; padding-top: 18vh; }.hero-orbit { top: 53%; right: -6.75rem; width: 14rem; height: 14rem; opacity: .35; }.hero-bottom { align-items: flex-start; flex-direction: column; }.section-heading { display: block; }.section-heading h2 { margin-top: 1.5rem; }.work-grid { display: block; }.project { margin-bottom: 4rem; }.project-art { min-height: 18rem; }.about { display: block; }.about-sidenote { margin-bottom: 3rem; }.about-content { display: block; }.about-body { margin-top: 2rem; }.about-stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 3.5rem; }.about-stats div:last-child { grid-column: 1 / -1; }.skills { display: block; }.skills .section-heading { margin-bottom: 3.5rem; }.contact { min-height: 72vh; }.contact-main { align-items: flex-start; flex-direction: column; }.contact-link { margin-bottom: 0; } .mobile-only { display: block; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.reveal { opacity: 1; transform: none; transition: none; }* { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
