:root {
  --bg: #07080c;
  --bg-2: #0c0e14;
  --ink: #f3efe6;
  --muted: #9a968b;
  --line: rgba(243, 239, 230, 0.1);
  --mint: #3ee0c5;
  --mint-2: #7cf6e0;
  --violet: #b7a4ff;
  --warn: #ffb86b;
  --display: "Syne", sans-serif;
  --sans: "Outfit", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
body.touch { cursor: auto; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: none; }
body.touch button { cursor: pointer; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--mint);
  color: #04110e;
  padding: 8px 12px;
  z-index: 100;
  border-radius: 8px;
}
.skip:focus { top: 16px; }

.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 80; }
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--mint);
  z-index: 2;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(62, 224, 197, 0.55);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s;
}
body.is-hovering .cursor-ring {
  width: 64px; height: 64px;
  background: rgba(62, 224, 197, 0.08);
  border-color: var(--mint);
}
body.touch .cursor { display: none; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 70;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.route {
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  height: min(46vh, 340px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.route::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--mint), transparent);
  opacity: 0.45;
}
.route a {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  transition: border-color 0.3s, color 0.3s;
}
.route a.is-here {
  border-color: var(--mint);
  color: var(--mint);
}
.route-marker {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  background: var(--mint);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(62, 224, 197, 0.7);
  pointer-events: none;
  z-index: 2;
  will-change: transform;
}

.orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: drift 18s ease-in-out infinite alternate;
}
.orb-a {
  width: 42vw; height: 42vw;
  left: -10vw; top: -8vw;
  background: radial-gradient(circle, rgba(62, 224, 197, 0.45), transparent 70%);
}
.orb-b {
  width: 36vw; height: 36vw;
  right: -8vw; top: 20vh;
  background: radial-gradient(circle, rgba(183, 164, 255, 0.38), transparent 70%);
  animation-delay: -6s;
}
.orb-c {
  width: 30vw; height: 30vw;
  left: 30vw; bottom: -12vw;
  background: radial-gradient(circle, rgba(255, 184, 107, 0.18), transparent 70%);
  animation-delay: -11s;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4vw, 6vh, 0) scale(1.12); }
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  display: grid;
  place-content: center;
  gap: 18px;
  text-align: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 64px;
  letter-spacing: -0.08em;
  display: flex;
  justify-content: center;
  gap: 4px;
}
.loader-mark span {
  display: inline-block;
  animation: pop 0.9s var(--ease) both;
}
.loader-mark span:nth-child(2) { animation-delay: 0.12s; color: var(--mint); }
@keyframes pop {
  from { transform: translateY(28px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.loader-line {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.loader-bar {
  width: 140px;
  height: 2px;
  margin: 0 auto;
  background: var(--line);
  overflow: hidden;
}
.loader-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--mint);
  animation: load 1.1s var(--ease) forwards;
}
@keyframes load { to { width: 100%; } }

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  background: linear-gradient(to bottom, rgba(7, 8, 12, 0.86), rgba(7, 8, 12, 0));
  backdrop-filter: blur(10px);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 700;
}
.nav-monogram {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.nav-name { font-size: 15px; }
.nav-links { display: flex; gap: 26px; font-size: 14px; color: var(--muted); }
.nav-links a { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--mint);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.nav-cta:hover, .nav-cta:focus-visible {
  border-color: var(--mint);
  color: var(--mint);
  background: rgba(62, 224, 197, 0.06);
}
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { bottom: 16px; }
.nav-toggle.is-open span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle.is-open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(7, 8, 12, 0.96);
  display: none;
  place-content: center;
  gap: 22px;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(32px, 8vw, 56px);
  font-weight: 700;
}
.mobile-menu:not([hidden]) {
  display: grid;
}

main { position: relative; z-index: 1; }

.hero {
  min-height: 100svh;
  padding: 118px 48px 64px 72px;
  max-width: 90vw;
  margin: 0 auto;
  display: grid;
  align-content: center;
  position: relative;
  width: 100%;
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.92fr);
  gap: 28px 40px;
  align-items: stretch;
  width: 100%;
}
.hero-copy {
  min-width: 0;
}
.hero-id {
  display: flex;
  align-items: center;
  gap: 16px 20px;
}
.portrait {
  position: relative;
  width: clamp(96px, 9vw, 132px);
  flex-shrink: 0;
  margin: 0;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(140deg, var(--mint), var(--violet), transparent 70%);
  box-shadow: 0 20px 60px rgba(62, 224, 197, 0.18);
  transform-style: preserve-3d;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  filter: saturate(1.05) contrast(1.04);
}
.dem {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.55;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mint);
}
.live i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(62, 224, 197, 0.7);
  animation: ping 2s infinite;
}
@keyframes ping {
  70% { box-shadow: 0 0 0 10px rgba(62, 224, 197, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 224, 197, 0); }
}

.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  width: auto;
  overflow: visible;
}
.hero-title .line {
  display: block;
  white-space: nowrap;
  overflow: visible;
}
.hero-title .word,
.hero-title .ch {
  display: inline-block;
  animation: rise 0.9s var(--ease) 0.28s both;
}
.hero-title .ch { will-change: transform; }
.hero-title .accent .word {
  background: linear-gradient(110deg, #f3efe6 0%, var(--mint) 42%, var(--violet) 78%, #f3efe6 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: rise 0.9s var(--ease) 0.4s both, shine 8s linear 1.4s infinite;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes shine { to { background-position: 220% 0; } }

.hero-lead {
  max-width: 46ch;
  margin: 16px 0 24px;
  font-size: clamp(16px, 1.45vw, 19px);
  color: #d8d3c6;
  font-weight: 300;
}

.range {
  position: relative;
  height: 100%;
  min-height: 320px;
  align-self: stretch;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 30% 110%, rgba(62, 224, 197, 0.16), transparent 55%),
    radial-gradient(ellipse at 90% 0%, rgba(183, 164, 255, 0.12), transparent 50%),
    rgba(255, 255, 255, 0.02);
  cursor: none;
}
.range.is-hot {
  border-color: rgba(62, 224, 197, 0.45);
}
.range canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.range-hud {
  position: absolute;
  left: 16px;
  bottom: 14px;
  display: flex;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}
.range-hud em {
  display: block;
  font-style: normal;
  opacity: 0.7;
  margin-bottom: 3px;
}
.range-hud b {
  color: var(--mint);
  font-weight: 500;
}
.range-hint {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}
.swap {
  color: var(--mint);
  border-bottom: 1px solid rgba(62, 224, 197, 0.35);
  display: inline-block;
  min-width: 9.2em;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 22px;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--ink);
  color: #0b0c10;
}
.btn-primary:hover { background: var(--mint); }
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--mint); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stats strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.hero-stats span { color: var(--muted); font-size: 14px; }

.scroll-hint {
  position: absolute;
  right: 28px;
  bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-hint i {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--mint), transparent);
  animation: drop 1.6s ease-in-out infinite;
}
@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: ticker 32s linear infinite;
  font-family: var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}
.marquee-track span { white-space: nowrap; }
.marquee-track span::before {
  content: "◆";
  color: var(--mint);
  margin-right: 42px;
}
@keyframes ticker { to { transform: translateX(-50%); } }

.section {
  max-width: 90vw;
  margin: 0 auto;
  padding: 110px 48px 110px 72px;
  scroll-margin-top: 84px;
}
.section-head { margin-bottom: 48px; max-width: 760px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}
.lead { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 560px; }

.project {
  display: grid;
  grid-template-columns: 80px 1fr 280px;
  gap: 28px;
  padding: 36px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  transform-style: preserve-3d;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.project:hover { border-color: rgba(62, 224, 197, 0.35); }
.project-index {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 13px;
}
.project-role {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 8px;
}
.project h3 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.project p { color: #cfcabe; max-width: 62ch; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 18px 0;
}
.tags li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--muted);
}
.text-link {
  color: var(--mint);
  font-size: 14px;
  border-bottom: 1px solid transparent;
}
.text-link:hover { border-bottom-color: var(--mint); }

.project-visual { display: grid; place-items: center; }
.device {
  width: 170px;
  height: 220px;
  border-radius: 28px;
  border: 1px solid var(--line);
  padding: 10px;
  background: #10131a;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.device-screen {
  height: 100%;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 42%, rgba(62, 224, 197, 0.25), transparent 42%),
    linear-gradient(180deg, #151922, #0b0d12);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.pulse-ring {
  position: absolute;
  width: 54px; height: 54px;
  border: 1px solid var(--mint);
  border-radius: 50%;
  animation: rings 2.4s ease-out infinite;
}
.pulse-ring.delay { animation-delay: 1.2s; }
@keyframes rings {
  from { transform: scale(0.4); opacity: 0.9; }
  to { transform: scale(2.4); opacity: 0; }
}
.device-label {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--mint);
}

.glass-card {
  display: grid;
  gap: 10px;
  width: 180px;
}
.glass-card span {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.02);
  animation: floaty 4.5s ease-in-out infinite;
}
.glass-card span:nth-child(2) { animation-delay: 0.3s; }
.glass-card span:nth-child(3) { animation-delay: 0.6s; }
.glass-card span:nth-child(4) { animation-delay: 0.9s; }
@keyframes floaty {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.mini {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  transition: transform 0.45s var(--ease), border-color 0.3s;
}
.mini:hover { border-color: rgba(183, 164, 255, 0.4); transform: translateY(-6px); }
.mini h3 {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.mini p { color: var(--muted); }

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.about-copy p + p { margin-top: 18px; }
.about-copy p { font-size: 18px; color: #d7d2c6; font-weight: 300; }

.terminal {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #090b10;
  box-shadow: 0 30px 80px rgba(0,0,0,0.28);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.terminal-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #3d414b;
}
.terminal-bar span:nth-child(1) { background: #ff6b6b; }
.terminal-bar span:nth-child(2) { background: #ffd166; }
.terminal-bar span:nth-child(3) { background: #3ee0c5; }
.terminal-bar p {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
.terminal-body {
  min-height: 220px;
  padding: 20px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
  color: #d7efe8;
}
.term-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 16px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--mint);
  border-top: 1px solid var(--line);
}
.term-input-wrap input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--ink);
  padding: 12px 0;
}
.terminal-body .cmd { color: var(--mint); }
.terminal-body .out { color: #cfcabe; }
.caret {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--mint);
  transform: translateY(2px);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.stack {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.stack li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.02);
}
.stack strong {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  margin-bottom: 8px;
}
.stack span { color: var(--muted); font-size: 14px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form label { display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.form label.full { grid-column: 1 / -1; }
.form em { font-style: normal; opacity: 0.6; }
.form input, .form textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(62, 224, 197, 0.12);
}
.form .btn { grid-column: 1 / -1; justify-self: start; border: 0; }
.form-status { grid-column: 1 / -1; min-height: 1.4em; font-size: 14px; }
.form-status.ok { color: var(--mint); }
.form-status.err { color: #ff8b8b; }

.contact-aside { display: grid; gap: 12px; align-content: start; }
.contact-card {
  display: grid;
  gap: 6px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.contact-card span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-card strong { font-family: var(--display); font-size: 20px; }
.contact-card:hover { border-color: var(--mint); transform: translateY(-4px); }

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 90vw;
  margin: 0 auto;
  padding: 28px 48px 28px 72px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1200px) {
  .nav-name { display: none; }
  .hero-stage { grid-template-columns: 1fr; }
  .range { min-height: 280px; height: 280px; }
}

@media (max-width: 980px) {
  .nav-links, .nav-cta, .nav-name { display: none; }
  .nav-toggle { display: block; }
  .hero-stats, .project, .work-grid, .about-grid, .stack, .contact-grid, .form {
    grid-template-columns: 1fr;
  }
  .hero, .section, .footer { padding-left: 22px; padding-right: 22px; }
  .hero-stage { grid-template-columns: 1fr; }
  .range { grid-column: 1 / -1; height: 240px; min-height: 220px; }
  .portrait { width: 96px; }
  .hero-title { font-size: clamp(40px, 10vw, 64px); }
  .route { display: none; }
  .project-visual { display: none; }
  .scroll-hint { display: none; }
  .hero { padding-top: 110px; }
}

@media (max-width: 560px) {
  .hero-stage { grid-template-columns: 1fr; gap: 14px 16px; }
  .portrait { width: 84px; }
  .hero-title { font-size: clamp(34px, 12vw, 52px); }
  .range { height: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
  .hero-title .word { transform: none; }
  .cursor { display: none; }
  body { cursor: auto; }
}
