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

:root {
  color-scheme: light;
  --paper: #f6f5f2;
  --paper-soft: #eeede9;
  --ink: #17191e;
  --muted: #73757b;
  --line: rgba(23, 25, 30, .13);
  --pink: #f2469a;
  --pink-hot: #ff4ba6;
  --blue: #426cff;
  --red: #ef463f;
  --purple: #9670fb;
  --green: #6ea983;
  --surface: #fff;
  --surface-2: #f1f0ec;
  --shadow: 0 24px 70px rgba(30, 30, 40, .1);
  --font-display: "Space Grotesk", "Arial", sans-serif;
  --font-body: "DM Sans", "Arial", sans-serif;
  --font-mono: "DM Mono", Consolas, monospace;
  font-family: var(--font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #15161a;
  --paper-soft: #1d1f24;
  --ink: #f2f1ed;
  --muted: #a4a5ab;
  --line: rgba(245, 245, 245, .14);
  --surface: #202228;
  --surface-2: #292b32;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  transition: background-color .25s ease, color .25s ease;
}

button, a { font: inherit; }
a { color: inherit; }
button { color: inherit; }
::selection { color: #fff; background: var(--pink); }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  padding: .8rem 1rem;
  transform: translateY(-160%);
  border-radius: .5rem;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus { transform: translateY(0); }

.section-shell, .site-header { width: min(1192px, calc(100% - 96px)); margin-inline: auto; }
.section-space { padding-block: 112px; }

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand, .site-nav, .header-actions { display: flex; align-items: center; }
.brand { gap: .7rem; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 35px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: -.08em;
}
.brand-name { font-family: var(--font-display); font-size: .9rem; font-weight: 600; letter-spacing: -.03em; }
.site-nav { gap: 2rem; margin-left: auto; margin-right: 2.5rem; }
.site-nav a, .contact-links a, .back-top {
  color: var(--muted);
  font-size: .82rem;
  text-decoration: none;
  transition: color .2s ease;
}
.site-nav a:hover, .contact-links a:hover, .back-top:hover { color: var(--pink); }
.header-actions { gap: .65rem; }
.icon-button, .language-toggle, .menu-toggle {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.icon-button:hover, .language-toggle:hover, .menu-toggle:hover { transform: translateY(-2px); background: var(--surface-2); }
.icon-button svg { width: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.moon-icon { display: none; }
:root[data-theme="dark"] .sun-icon { display: none; }
:root[data-theme="dark"] .moon-icon { display: block; }
.language-toggle { font-family: var(--font-mono); font-size: .68rem; }
.menu-toggle { display: none; }

.hero {
  display: grid;
  min-height: 660px;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 2rem;
  padding-block: 70px 82px;
}
.hero-copy { position: relative; z-index: 2; padding-block: 26px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.status-dot, .project-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #64b786;
  box-shadow: 0 0 0 4px rgba(100, 183, 134, .13);
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); }
h1 {
  max-width: 650px;
  margin-bottom: 1.35rem;
  font-size: clamp(4.5rem, 8.4vw, 7.7rem);
  font-weight: 600;
  letter-spacing: -.095em;
  line-height: .91;
}
.title-second-line { display: block; white-space: nowrap; }
.title-second-line > span:first-child { font-size: .73em; }
.accent-word {
  color: var(--pink);
  font-style: italic;
  letter-spacing: -.1em;
}
.hero-intro {
  max-width: 480px;
  margin-bottom: 1.8rem;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}
.hero-actions { display: flex; align-items: center; gap: 1.55rem; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  padding: 0 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .83rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { box-shadow: 0 10px 24px rgba(23, 25, 30, .17); }
:root[data-theme="dark"] .button-primary:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
.text-link { display: inline-flex; align-items: center; gap: .55rem; font-size: .83rem; text-decoration: none; }
.text-link span:last-child { color: var(--pink); transition: transform .2s ease; }
.text-link:hover span:last-child { transform: translate(3px, -3px); }
.hero-footnote { display: flex; align-items: center; gap: .65rem; margin-top: 3.4rem; color: var(--muted); font-family: var(--font-mono); font-size: .63rem; }
.footnote-line { width: 24px; height: 1px; background: var(--pink); }

.hero-art {
  position: relative;
  display: grid;
  min-height: 465px;
  overflow: clip;
  place-items: center;
  isolation: isolate;
  perspective: 900px;
  transform-style: preserve-3d;
}
.hero-art::before {
  position: absolute;
  z-index: -2;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(66,108,255,.1), rgba(242,70,154,.06) 45%, transparent 72%);
  content: "";
}
.orb-core {
  position: relative;
  z-index: 1;
  width: clamp(210px, 27vw, 330px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 29% 21%, rgba(255,255,255,.98) 0 2%, rgba(255,255,255,.4) 8%, transparent 24%),
    radial-gradient(ellipse at 70% 78%, rgba(55,33,130,.75), transparent 40%),
    linear-gradient(138deg, #ff73bb 4%, #ed398d 36%, #694ef1 74%, #3479ff 100%);
  box-shadow: inset -26px -25px 48px rgba(31, 16, 86, .42), inset 12px 12px 28px rgba(255,255,255,.26), 30px 38px 80px rgba(126,65,194,.3);
  animation: orb-float 7s ease-in-out infinite;
  backface-visibility: hidden;
}
.orb-depth { position: relative; z-index: 1; transform: translateZ(55px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)); transform-style: preserve-3d; transition: transform .18s ease-out; }
.orb-core::after {
  position: absolute;
  inset: 9% -18%;
  transform: rotate(-32deg);
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
  content: "";
}
.orb-highlight { position: absolute; top: 13%; left: 18%; width: 29%; height: 14%; transform: rotate(-35deg); border-radius: 50%; background: rgba(255,255,255,.7); filter: blur(13px); }
.orb-grid {
  position: absolute;
  inset: 0;
  opacity: .14;
  background-image: linear-gradient(rgba(255,255,255,.8) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.8) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 43% 38%, #000 8%, transparent 69%);
}
.orbit { position: absolute; z-index: 0; width: 95%; height: 42%; border: 1px solid rgba(110, 111, 122, .27); border-radius: 50%; transform-style: preserve-3d; }
.orbit-one { transform: rotate(-34deg) translateZ(-30px); }
.orbit-two { width: 88%; height: 58%; transform: rotate(48deg) translateZ(5px); border-color: rgba(242,70,154,.35); }
.orbit-three { width: 74%; height: 86%; transform: rotate(68deg) translateZ(-60px); border-color: rgba(66,108,255,.25); }
.orbit-node { position: absolute; z-index: 2; width: 18px; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 7px var(--paper), 0 0 0 8px var(--line); transform: translateZ(82px); }
.node-pink { top: 24%; right: 18%; background: var(--pink); }
.node-blue { bottom: 23%; left: 13%; width: 12px; background: var(--blue); }
.art-caption, .art-sticker { position: absolute; z-index: 3; font-family: var(--font-mono); transform: translateZ(75px); }
.art-caption { color: var(--muted); font-size: .58rem; letter-spacing: .05em; }
.caption-top { top: 10%; left: 8%; display: flex; align-items: center; gap: .5rem; }
.caption-top i { width: 30px; height: 1px; background: var(--pink); }
.caption-bottom { right: 2%; bottom: 6%; }
.art-sticker { padding: .8rem; transform: translateZ(90px) rotate(8deg); background: var(--pink); color: #fff; font-size: .56rem; line-height: 1.3; letter-spacing: .08em; box-shadow: 7px 12px 20px rgba(37, 22, 56, .2); }
.sticker-top { top: 19%; left: 16%; }
.sticker-bottom { right: 12%; bottom: 21%; transform: translateZ(90px) rotate(-9deg); background: var(--blue); }
.sticker-bottom span { opacity: .65; }
.art-spark { position: absolute; z-index: 2; width: 32px; fill: var(--pink); transform: translateZ(100px); }
.spark-one { top: 21%; right: 8%; }
.spark-two { bottom: 20%; left: 20%; width: 20px; fill: var(--blue); }
@keyframes orb-float { 0%, 100% { transform: translateY(0) rotateX(-15deg) rotateY(-26deg); } 50% { transform: translateY(-12px) rotateX(-11deg) rotateY(-19deg); } }
.art-cube { position: absolute; z-index: 2; top: 26%; right: 30%; width: 42px; aspect-ratio: 1; transform: translate3d(0, 0, 105px) rotateX(-23deg) rotateY(31deg) rotateZ(-8deg); transform-style: preserve-3d; animation: cube-drift 8s ease-in-out infinite; will-change: transform; }
.art-cube i { position: absolute; inset: 0; display: block; border: 1px solid rgba(255,255,255,.58); background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(242,70,154,.58)); box-shadow: inset 0 0 18px rgba(255,255,255,.35); }
.art-cube i:nth-child(1) { transform: translateZ(21px); }
.art-cube i:nth-child(2) { transform: rotateY(180deg) translateZ(21px); background: linear-gradient(145deg, rgba(66,108,255,.83), rgba(94,71,196,.7)); }
.art-cube i:nth-child(3) { transform: rotateY(90deg) translateZ(21px); background: linear-gradient(145deg, rgba(255,119,185,.88), rgba(196,57,139,.8)); }
.art-cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(21px); background: linear-gradient(145deg, rgba(102,131,255,.9), rgba(47,76,194,.8)); }
.art-cube i:nth-child(5) { transform: rotateX(90deg) translateZ(21px); background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,177,216,.83)); }
.art-cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(21px); background: linear-gradient(145deg, rgba(75,65,161,.9), rgba(48,41,108,.8)); }
@keyframes cube-drift { 0%, 100% { transform: translate3d(0, 0, 105px) rotateX(-23deg) rotateY(31deg) rotateZ(-8deg); } 50% { transform: translate3d(0, -12px, 105px) rotateX(-23deg) rotateY(31deg) rotateZ(-1deg); } }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface-2); }
.marquee-track { display: flex; width: max-content; align-items: center; padding: 1.05rem 0; animation: marquee 26s linear infinite; }
.marquee-group { display: flex; width: max-content; flex: none; align-items: center; gap: 2rem; padding-right: 2rem; }
.marquee-track span { font-family: var(--font-display); font-size: .74rem; font-weight: 600; letter-spacing: .16em; }
.marquee-track i { color: var(--pink); font-size: 1.15rem; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3.4rem; }
.section-index { color: var(--pink); }
.section-heading .eyebrow { margin-bottom: .95rem; }
.section-heading h2, .about-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 600;
  letter-spacing: -.075em;
  line-height: 1;
}
.section-aside { max-width: 245px; margin-bottom: .3rem; color: var(--muted); font-size: .87rem; line-height: 1.6; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; }
.project-card { min-width: 0; }
.project-art {
  position: relative;
  display: grid;
  min-height: 370px;
  overflow: hidden;
  place-items: center;
  perspective: 850px;
  transform-style: preserve-3d;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.absence-art { background: #e7e5df; }
:root[data-theme="dark"] .absence-art { background: #25272d; }
.absence-art::before, .absence-art::after { position: absolute; width: 230px; aspect-ratio: 1; border: 1px solid rgba(242,70,154,.25); border-radius: 50%; content: ""; }
.absence-art::before { top: -95px; right: -54px; }
.absence-art::after { bottom: -155px; left: -100px; width: 300px; border-color: rgba(66,108,255,.25); }
.window-bar {
  position: absolute;
  top: 17%; left: 12%;
  display: flex;
  width: 76%;
  height: 31px;
  align-items: center;
  justify-content: space-between;
  padding-inline: 10px;
  border: 1px solid rgba(22,26,38,.1);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #f8f8f7;
  color: #555966;
  transform: translateZ(26px) rotateX(var(--window-tilt-y, 0deg)) rotateY(var(--window-tilt-x, 0deg));
  box-shadow: 0 8px 18px rgba(31,35,48,.09);
  transition: transform .18s ease-out;
}
.window-dots { display: flex; gap: 4px; }
.window-dots i { width: 5px; height: 5px; border-radius: 50%; background: #f46a62; }
.window-dots i:nth-child(2) { background: #eebd4c; }
.window-dots i:nth-child(3) { background: #73c574; }
.window-label { font: 500 7px var(--font-mono); letter-spacing: .08em; }
.window-menu { font-size: 9px; }
.absence-layout {
  position: relative;
  display: flex;
  width: 76%;
  height: 203px;
  margin-top: 27px;
  overflow: visible;
  border-radius: 0 0 9px 9px;
  background: #fbfbfa;
  box-shadow: 0 28px 55px rgba(31,35,48,.2), 0 5px 0 rgba(255,255,255,.7) inset;
  transform: rotateX(calc(5deg + var(--card-tilt-y, 0deg))) rotateY(calc(-7deg + var(--card-tilt-x, 0deg))) translateZ(42px);
  transform-style: preserve-3d;
  transition: transform .18s ease-out;
}
.absence-sidebar { display: flex; width: 43px; flex-direction: column; align-items: center; gap: 15px; padding-top: 14px; border-right: 1px solid #eeeff1; }
.mini-logo { display: grid; width: 17px; aspect-ratio: 1; place-items: center; border-radius: 5px; background: var(--pink); color: #fff; font: 600 8px var(--font-display); }
.absence-sidebar i { width: 10px; height: 10px; border-radius: 3px; background: #eceef2; }
.absence-sidebar i.side-active { background: #f9d7e8; }
.absence-content { flex: 1; padding: 13px 15px; color: #2e3037; }
.dash-heading { display: flex; justify-content: space-between; margin-bottom: 11px; }
.dash-heading span { width: 50px; height: 6px; border-radius: 5px; background: #343640; }
.dash-heading i { width: 25px; height: 8px; border-radius: 10px; background: #f5e4ed; }
.dash-stat-row { display: flex; gap: 8px; margin-bottom: 9px; }
.dash-stat { display: flex; flex: 1; align-items: center; justify-content: space-between; padding: 7px; border: 1px solid #ececf0; border-radius: 5px; }
.dash-stat small { color: #9597a0; font: 6px var(--font-mono); }
.dash-stat b { font: 600 12px var(--font-display); }
.schedule-row { display: flex; height: 27px; align-items: center; gap: 7px; border-bottom: 1px solid #eff0f2; }
.schedule-row .row-color { width: 4px; height: 14px; border-radius: 4px; background: #72b58e; }
.schedule-row .row-red { background: #ed6174; }
.schedule-row .row-blue { background: #6886ef; }
.schedule-row span:not(.row-color) { width: 42px; height: 5px; border-radius: 4px; background: #e4e5e9; }
.schedule-row b { margin-left: auto; color: #777a84; font: 6px var(--font-mono); }
.schedule-row em { padding: 3px 4px; border-radius: 3px; background: #e5f3ea; color: #4a9367; font: normal 5px var(--font-mono); }
.schedule-row em.em-red { background: #fde7eb; color: #d54d67; }
.floating-note { position: absolute; right: -22px; bottom: 26px; display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 7px; background: #fff; box-shadow: 0 12px 24px rgba(31,35,48,.2); transform: translateZ(75px); }
.floating-note span { display: grid; width: 17px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: #e0f3e7; color: #3b9762; font-size: 10px; }
.floating-note small { color: #41434b; font: 6px var(--font-mono); }
.art-number { position: absolute; right: 18px; bottom: 16px; color: rgba(23,25,30,.38); font: 10px var(--font-mono); }
.digibar-art { background: linear-gradient(135deg, #e4e9f2, #dfd7f0 54%, #f2dce7); }
:root[data-theme="dark"] .digibar-art { background: linear-gradient(135deg, #222938, #312944 54%, #372532); }
.digibar-art::before { position: absolute; width: 300px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.58); border-radius: 50%; content: ""; }
.signage-screen { position: relative; z-index: 1; width: 72%; padding: 14px; overflow: hidden; transform: rotateY(calc(-7deg + var(--card-tilt-x, 0deg))) rotateX(calc(3deg + var(--card-tilt-y, 0deg))) translateZ(42px); transform-style: preserve-3d; border: 6px solid #20232a; border-radius: 9px; background: #151d39; color: #fff; box-shadow: 18px 28px 40px rgba(32,32,55,.3); transition: transform .18s ease-out; }
.signage-screen::after { position: absolute; top: -80px; right: -75px; width: 190px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 24px rgba(255,255,255,.04), 0 0 0 48px rgba(255,255,255,.03); content: ""; }
.signage-topline { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.7); font: 7px var(--font-mono); letter-spacing: .12em; }
.signage-topline i { display: flex; align-items: center; gap: 5px; font-size: 6px; font-style: normal; }
.signage-topline b { width: 5px; height: 5px; border-radius: 50%; background: #70dc9c; }
.signage-main { position: relative; z-index: 1; display: flex; min-height: 148px; align-items: center; justify-content: space-between; }
.signage-copy { display: flex; flex-direction: column; align-items: flex-start; }
.signage-copy > span, .signage-copy small { color: rgba(255,255,255,.56); font: 6px var(--font-mono); letter-spacing: .1em; }
.signage-copy b { margin: 10px 0; font: 600 clamp(17px, 2.7vw, 30px)/.93 var(--font-display); letter-spacing: -.07em; }
.signage-copy em { color: #ff78b6; font-style: normal; }
.signage-copy small { font-size: 5px; }
.signage-shape { position: relative; width: 90px; height: 100px; }
.signage-shape i { position: absolute; top: 6px; right: 5px; width: 76px; height: 76px; transform: rotate(-18deg); border: 1px solid rgba(255,255,255,.55); border-radius: 24px; background: linear-gradient(145deg, #ff69ac, #7655ee); box-shadow: inset 0 0 25px rgba(255,255,255,.2); }
.signage-shape b { position: absolute; right: 0; bottom: 5px; width: 35px; height: 35px; border-radius: 50%; background: #4a83ff; }
.signage-shape span { position: absolute; top: 0; left: 5px; width: 13px; height: 13px; border-radius: 50%; background: #ffcf65; }
.signage-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.18); padding-top: 8px; color: rgba(255,255,255,.55); font: 5px var(--font-mono); letter-spacing: .07em; }
.signage-bottom div { display: flex; gap: 4px; }
.signage-bottom i { width: 11px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.27); }
.signage-bottom i:first-child { background: #ff69ac; }
.screen-base { position: absolute; bottom: 18%; width: 25px; height: 41px; background: linear-gradient(90deg, #282a32, #42454e, #252830); clip-path: polygon(28% 0, 72% 0, 86% 76%, 100% 100%, 0 100%, 14% 76%); transform: translateZ(15px); }
.screen-foot { position: absolute; bottom: 17%; width: 67px; height: 5px; border-radius: 50%; background: #292b33; box-shadow: 0 8px 14px rgba(30,31,45,.28); transform: translateZ(14px); }
.project-meta { padding: 1.3rem .1rem .5rem; }
.project-title-line { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.project-title-line h3 { margin-bottom: .65rem; font-size: 1.25rem; letter-spacing: -.05em; }
.project-status { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .65rem; color: var(--muted); font-family: var(--font-mono); font-size: .57rem; white-space: nowrap; }
.project-status i { width: 6px; height: 6px; box-shadow: none; }
.status-build i { background: var(--blue); box-shadow: 0 0 0 4px rgba(66,108,255,.12); }
.project-meta > p { min-height: 57px; margin-bottom: 1.1rem; color: var(--muted); font-size: .84rem; line-height: 1.65; }
.tag-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag-row span { padding: .38rem .62rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-family: var(--font-mono); font-size: .58rem; }
.project-note { display: flex; align-items: center; gap: .5rem; margin: 1.5rem 0 0; color: var(--muted); font-size: .69rem; }
.note-mark { color: var(--pink); }
.reveal-up { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }

.about-section { overflow: hidden; background: var(--paper-soft); }
.about-inner { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(3rem, 9vw, 9rem); }
.about-visual { position: relative; display: grid; min-height: 390px; place-items: center; perspective: 850px; transform-style: preserve-3d; }
.about-card { position: relative; z-index: 1; display: flex; width: min(100%, 350px); min-height: 245px; flex-direction: column; justify-content: space-between; padding: 1.35rem; transform: rotateX(8deg) rotateY(-12deg) rotateZ(-5deg) translateZ(35px); transform-style: preserve-3d; border: 1px solid rgba(255,255,255,.25); border-radius: 4px; background: linear-gradient(145deg, #5f81ff, #354ed2 70%, #29399c); box-shadow: 14px 18px 0 rgba(23,25,30,.1), 25px 35px 55px rgba(31, 42, 114, .28), inset 0 1px rgba(255,255,255,.38); color: #fff; }
.about-card-label, .about-card-bottom { font: 8px var(--font-mono); letter-spacing: .1em; }
.about-card-word { font: 600 clamp(2.6rem, 5vw, 4rem)/1 var(--font-display); letter-spacing: -.09em; }
.about-card-word span { color: #ff75b6; }
.about-card-bottom { display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.72); }
.about-card-bottom span:last-child { color: #ff75b6; font-size: 1.4rem; }
.about-orbit { position: absolute; width: 350px; height: 170px; border: 1px solid rgba(242,70,154,.5); border-radius: 50%; }
.about-orbit-one { transform: rotate(-38deg); }
.about-orbit-two { width: 290px; height: 215px; transform: rotate(43deg); border-color: rgba(66,108,255,.4); }
.about-sticker { position: absolute; z-index: 2; top: 18%; right: 0; padding: .7rem; transform: translateZ(85px) rotateX(-5deg) rotateY(-12deg) rotate(9deg); background: linear-gradient(145deg, #ff65b1, #dc3282); box-shadow: 6px 12px 20px rgba(37, 22, 56, .2); color: #fff; font: 8px/1.35 var(--font-mono); letter-spacing: .08em; }
.about-cross { position: absolute; bottom: 12%; left: 9%; color: var(--red); font-size: 2.1rem; }
.about-copy h2 { margin-bottom: 1.4rem; }
.about-copy > p:not(.eyebrow) { max-width: 540px; margin-bottom: 1rem; color: var(--muted); font-size: .88rem; line-height: 1.8; }
.about-copy .about-lead { color: var(--ink) !important; font-size: 1.05rem !important; line-height: 1.65 !important; }
.about-signoff { display: flex; align-items: center; gap: .65rem; margin-top: 1.6rem; color: var(--ink); font-family: var(--font-mono); font-size: .64rem; }
.signoff-rule { width: 22px; height: 1px; background: var(--pink); }

.skills-section { padding-bottom: 120px; }
.skills-heading { margin-bottom: 2.5rem; }
.skills-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.skill-card { display: flex; min-height: 105px; align-items: center; gap: .9rem; padding: 1rem; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); transition: transform .2s ease, border-color .2s ease; }
.skill-card:hover { transform: translateY(-3px); border-color: rgba(242,70,154,.48); }
.skill-symbol { display: grid; width: 39px; aspect-ratio: 1; flex: none; place-items: center; border-radius: 10px; background: rgba(242,70,154,.12); color: var(--pink); font: 600 1rem var(--font-mono); }
.symbol-blue { background: rgba(66,108,255,.12); color: var(--blue); }
.symbol-red { background: rgba(239,70,63,.12); color: var(--red); }
.symbol-purple { background: rgba(150,112,251,.14); color: var(--purple); }
.symbol-green { background: rgba(110,169,131,.14); color: var(--green); }
.skill-card h3 { margin: 0 0 .28rem; font-size: .9rem; letter-spacing: -.03em; }
.skill-card p { margin: 0; color: var(--muted); font-size: .65rem; line-height: 1.45; }
.skill-arrow { align-self: flex-start; margin-left: auto; color: var(--muted); font-size: .72rem; }
.skill-note { align-items: flex-start; background: var(--paper-soft); }
.skill-note p { max-width: 260px; color: var(--ink); font-family: var(--font-display); font-size: .87rem; line-height: 1.5; }
.note-star { color: var(--pink); font-size: 1.2rem; }

.contact-section { position: relative; overflow: hidden; background: #211a2d; color: #fff; }
.contact-inner { position: relative; padding-block: 102px 82px; text-align: center; }
.contact-section .eyebrow { justify-content: center; color: rgba(255,255,255,.55); }
.contact-section .section-index { color: #ff78b6; }
.contact-inner h2 { position: relative; z-index: 1; margin: 0 0 1.2rem; font-size: clamp(3.2rem, 8vw, 6.7rem); font-weight: 500; letter-spacing: -.085em; line-height: .98; }
.contact-outline { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.66); }
.contact-intro { position: relative; z-index: 1; max-width: 480px; margin: 0 auto 1.6rem; color: rgba(255,255,255,.67); font-size: .9rem; line-height: 1.75; }
.button-light { position: relative; z-index: 1; background: #fff; color: #201a2a; }
.button-light:hover { box-shadow: 0 10px 28px rgba(0,0,0,.24); }
.contact-links { position: relative; z-index: 1; display: flex; justify-content: center; gap: 1.6rem; margin-top: 3.7rem; }
.contact-links a { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.66); font-size: .75rem; }
.contact-links a span:last-child { color: #ff78b6; }
.contact-orb { position: absolute; top: -105px; right: 8%; display: grid; width: 220px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #ff98c8, #e84398 45%, #7252e8 80%); box-shadow: inset -20px -20px 30px rgba(26,13,51,.42), 0 20px 80px rgba(242,70,154,.22); }
.contact-orb span { color: rgba(255,255,255,.75); font-size: 2.4rem; }

.site-footer { display: flex; min-height: 94px; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; font: 700 .9rem var(--font-display); text-decoration: none; }
.footer-brand span { color: var(--muted); font: .58rem var(--font-mono); }
.site-footer p { margin: 0; color: var(--muted); font-size: .7rem; }
.back-top { display: inline-flex; align-items: center; gap: .55rem; font-size: .72rem; }
.back-top span:last-child { color: var(--pink); }

@media (min-width: 1440px) {
  .hero { min-height: 730px; }
}

@media (max-width: 900px) {
  .section-shell, .site-header { width: min(100% - 56px, 700px); }
  .hero { min-height: auto; grid-template-columns: 1fr .8fr; gap: .3rem; padding-block: 65px; }
  h1 { font-size: clamp(4rem, 10vw, 6rem); }
  .hero-art { min-height: 390px; }
  .orb-core { width: clamp(195px, 32vw, 280px); }
  .orbit { width: 110%; }
  .sticker-top { left: 3%; }
  .section-space { padding-block: 85px; }
  .about-inner { gap: 3rem; }
  .about-visual { min-height: 340px; }
  .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-orb { right: -5%; opacity: .6; }
}

@media (max-width: 650px) {
  html { scroll-padding-top: 4rem; }
  .section-shell, .site-header { width: calc(100% - 40px); }
  .site-header { min-height: 72px; }
  .brand-name { font-size: .82rem; }
  .menu-toggle { display: grid; gap: 4px; align-content: center; margin-left: .75rem; padding: 0; }
  .menu-toggle span { display: block; width: 13px; height: 1px; background: currentColor; }
  .site-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 0 0 8px 8px; background: var(--paper); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .header-actions { gap: .45rem; margin-left: auto; margin-right: .55rem; }
  .icon-button, .language-toggle, .menu-toggle { width: 34px; height: 34px; }
  .hero { grid-template-columns: 1fr; gap: 0; padding-block: 57px 49px; }
  .hero-copy { padding: 0; }
  .hero .eyebrow { margin-bottom: 1.1rem; font-size: .59rem; }
  h1 { margin-bottom: 1.1rem; font-size: clamp(3.55rem, 16vw, 5.6rem); }
  .hero-intro { max-width: 430px; font-size: .94rem; }
  .hero-footnote { margin-top: 2rem; font-size: .58rem; }
  .hero-art { min-height: 350px; margin: 5px 0 0; }
  .orb-core { width: min(68vw, 270px); }
  .art-cube { top: 21%; right: 24%; width: 33px; }
  .orbit { width: 95%; }
  .sticker-top { top: 17%; left: 10%; }
  .node-pink { right: 14%; }
  .marquee-group { gap: 1.45rem; padding-right: 1.45rem; }
  .section-space { padding-block: 68px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: .8rem; margin-bottom: 2rem; }
  .section-heading h2, .about-copy h2 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .section-aside { max-width: 310px; font-size: .8rem; }
  .project-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .project-art { min-height: 320px; }
  .window-bar { top: 14%; }
  .absence-layout { height: 185px; }
  .project-meta > p { min-height: auto; }
  .project-title-line { align-items: flex-start; flex-direction: column; gap: 0; }
  .project-status { margin-top: -.25rem; }
  .about-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .about-visual { min-height: 300px; }
  .about-card { width: min(78%, 330px); min-height: 220px; }
  .about-sticker { right: 7%; }
  .about-copy h2 { margin-bottom: 1rem; }
  .skills-grid { grid-template-columns: 1fr; }
  .skill-card { min-height: 86px; }
  .contact-inner { padding-block: 74px 63px; }
  .contact-inner h2 { font-size: clamp(3rem, 12vw, 4.5rem); }
  .contact-orb { top: -85px; right: -105px; width: 185px; opacity: .42; }
  .contact-links { flex-direction: column; align-items: center; gap: .8rem; margin-top: 2.8rem; }
  .site-footer { min-height: 110px; flex-wrap: wrap; justify-content: space-between; padding-block: 1.2rem; }
  .site-footer p { order: 1; width: 100%; }
}

@media (max-width: 380px) {
  .section-shell, .site-header { width: calc(100% - 32px); }
  .brand { gap: .45rem; }
  .brand-name { font-size: .74rem; }
  .hero-actions { gap: 1rem; }
  .button { min-height: 47px; gap: .75rem; padding-inline: .9rem; font-size: .76rem; }
  .project-art { min-height: 285px; }
  .signage-screen { width: 80%; }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .project-art { transition: box-shadow .25s ease; }
  .project-art:hover { box-shadow: 0 24px 55px rgba(54,47,83,.14); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-up { opacity: 1; transform: none; }
}

.subpage-main { min-height: 65vh; padding-block: 54px 110px; }
.subpage-hero {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  perspective: 900px;
  transform-style: preserve-3d;
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.subpage-hero::before {
  position: absolute;
  top: -210px;
  right: -80px;
  width: 470px;
  aspect-ratio: 1;
  border: 1px solid rgba(242,70,154,.25);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(242,70,154,.035), 0 0 0 70px rgba(66,108,255,.035), 0 0 0 115px rgba(66,108,255,.025);
  content: "";
}
.subpage-hero > * { position: relative; z-index: 1; }
.subpage-hero .eyebrow { margin-bottom: 1.3rem; }
.subpage-title { margin-bottom: 1rem; font-size: clamp(4rem, 10vw, 7rem); font-weight: 600; letter-spacing: -.09em; line-height: .95; }
.subpage-lead { max-width: 650px; margin-bottom: 1.6rem; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.github-profile-link { margin-top: .2rem; }
.github-decoration { position: absolute; right: 12%; bottom: 12%; display: grid; width: 145px; aspect-ratio: 1; place-items: center; transform: rotateX(-16deg) rotateY(19deg) rotateZ(12deg) translateZ(55px); border: 1px solid rgba(66,108,255,.4); border-radius: 38%; background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(66,108,255,.08)); box-shadow: 16px 22px 35px rgba(66,108,255,.12), inset 0 1px rgba(255,255,255,.38); color: var(--blue); }
.github-decoration span { font: 500 2rem var(--font-mono); }
.github-decoration i, .github-decoration b { position: absolute; width: 11px; aspect-ratio: 1; border-radius: 50%; background: var(--pink); }
.github-decoration i { top: 4px; right: 17px; }
.github-decoration b { bottom: 12px; left: 3px; width: 7px; background: var(--blue); }
.github-content { padding-top: 85px; }
.github-content .section-heading { margin-bottom: 1.8rem; }
.github-stats { display: flex; gap: 2rem; margin-bottom: 1.5rem; }
.github-stats div { display: flex; align-items: baseline; gap: .45rem; }
.github-stats span { font: 600 1.25rem var(--font-display); }
.github-stats small { color: var(--muted); font: .62rem var(--font-mono); text-transform: uppercase; }
.github-status { margin: 0 0 1.2rem; color: var(--muted); font-size: .82rem; }
.github-status.is-error { max-width: 620px; color: var(--red); }
.github-retry { min-height: 42px; margin: 0 0 1.2rem; }
.github-retry[hidden] { display: none; }
.repo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: 0; padding: 0; list-style: none; }
.repo-card { min-width: 0; }
.repo-card-link { display: flex; min-height: 190px; flex-direction: column; padding: 1.2rem; border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.repo-card-link:hover { transform: translateY(-3px); border-color: rgba(242,70,154,.48); box-shadow: var(--shadow); }
.repo-card-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.repo-name { overflow: hidden; color: var(--blue); font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; text-overflow: ellipsis; }
.repo-arrow { color: var(--pink); }
.repo-description { display: -webkit-box; overflow: hidden; min-height: 3.8em; margin-top: .7rem; color: var(--muted); font-size: .8rem; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.repo-card-footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: 1.2rem; }
.repo-details { display: flex; align-items: center; gap: .75rem; }
.repo-language, .repo-stars, .repo-updated { color: var(--muted); font: .63rem var(--font-mono); }
.repo-language { display: inline-flex; align-items: center; gap: .35rem; }
.repo-language::before { width: 7px; aspect-ratio: 1; border-radius: 50%; background: var(--pink); content: ""; }
.repo-stars { color: var(--ink); }

.research-hero { min-height: 430px; }
.research-hero .subpage-lead { max-width: 700px; }
.research-status { display: inline-flex; align-items: center; gap: .65rem; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font: .62rem var(--font-mono); }
.research-decoration { position: absolute; right: 10%; bottom: 12%; display: grid; width: 160px; aspect-ratio: 1; place-items: center; transform: rotateX(15deg) rotateY(-18deg) rotateZ(-9deg) translateZ(55px); border: 1px solid rgba(242,70,154,.45); border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.14), rgba(242,70,154,.06) 65%, transparent); box-shadow: 14px 23px 42px rgba(80,40,100,.13), inset 0 1px rgba(255,255,255,.35); color: var(--ink); }
.research-decoration > span { font: 600 2.2rem var(--font-display); letter-spacing: -.1em; }
.research-decoration i, .research-decoration b { position: absolute; width: 10px; aspect-ratio: 1; border-radius: 50%; background: var(--pink); }
.research-decoration i { top: 12px; left: 22px; }
.research-decoration b { right: 4px; bottom: 37px; width: 7px; background: var(--blue); }
.research-details { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(2rem, 7vw, 6rem); padding-block: 85px; }
.research-copy h2, .research-contact h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 600; letter-spacing: -.07em; line-height: 1.05; }
.research-copy > p:last-child, .research-contact p:not(.eyebrow) { max-width: 600px; margin-bottom: 0; color: var(--muted); font-size: .88rem; line-height: 1.8; }
.research-card { position: relative; overflow: hidden; padding: 1.6rem; border: 1px solid var(--line); background: var(--surface); }
.research-card-mark { position: absolute; top: -.5rem; right: .6rem; color: rgba(242,70,154,.1); font: 600 6rem var(--font-display); }
.research-card .eyebrow, .research-card h3, .research-card > p, .research-card .text-link, .orcid-id { position: relative; }
.research-card .eyebrow { margin-bottom: .7rem; }
.research-card h3 { margin-bottom: .55rem; font-size: 1.6rem; letter-spacing: -.05em; }
.research-card > p { max-width: 340px; margin-bottom: 1.2rem; color: var(--muted); font-size: .78rem; line-height: 1.65; }
.research-card .text-link { font-size: .77rem; }
.orcid-id { display: block; margin-top: 1.2rem; color: var(--muted); font: .63rem var(--font-mono); }
.research-contact { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem; background: var(--paper-soft); }
.research-contact h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.research-contact p:not(.eyebrow) { max-width: 520px; }
.research-contact .button { flex: none; }

@media (max-width: 900px) {
  .github-decoration, .research-decoration { right: 7%; opacity: .7; }
  .research-details { gap: 2.2rem; }
  .research-contact { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 650px) {
  .subpage-main { padding-top: 32px; padding-bottom: 70px; }
  .subpage-hero { min-height: 0; padding: 1.5rem; }
  .subpage-hero::before { top: -270px; right: -230px; }
  .subpage-title { font-size: clamp(3.7rem, 17vw, 5.2rem); }
  .subpage-lead { font-size: .9rem; }
  .github-decoration { right: -40px; bottom: -45px; width: 120px; opacity: .35; }
  .github-profile-link { position: relative; z-index: 2; }
  .github-content { padding-top: 64px; }
  .github-content .section-heading { gap: .5rem; }
  .github-stats { gap: 1rem; }
  .github-stats div { flex-direction: column; gap: .15rem; }
  .github-stats span { font-size: 1.1rem; }
  .github-stats small { font-size: .55rem; }
  .repo-grid { grid-template-columns: 1fr; }
  .repo-card-link { min-height: 165px; }
  .research-hero { min-height: 0; }
  .research-decoration { right: -38px; bottom: -48px; width: 130px; opacity: .35; }
  .research-status { position: relative; z-index: 1; max-width: 100%; font-size: .54rem; }
  .research-details { grid-template-columns: 1fr; gap: 2rem; padding-block: 64px; }
  .research-copy h2 { font-size: 2.35rem; }
  .research-contact { padding: 1.4rem; }
  .research-contact .button { max-width: 100%; gap: .5rem; padding-inline: .8rem; font-size: .72rem; }
}
