:root {
  --bg: #000;
  --fg: #fff;
  --body: #e6e6e6;
  --dim: #ccc;
  --muted: #999;
  --sep: #444;
  --line: #262626;
  --accent: #6ee7a8;
  --accent-glow: rgba(110, 231, 168, 0.3);
  --serif: 'EB Garamond', Georgia, serif;
  --sans: 'Geist', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --pixel: 'Silkscreen', var(--mono);
  --gutter: clamp(16px, 8vw, 120px);
  --max: 1200px;
  --ease-out: cubic-bezier(0, .43, .2, 1);
  --ease-soft: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--fg); text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4, p { margin: 0; }
em { font-style: italic; }
ul { margin: 0; padding: 0; list-style: none; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--fg); color: var(--bg); border-radius: 6px;
}
.skip:focus { top: 16px; color: var(--bg); }

/* ---------- motion ---------- */
@keyframes glow-in { from { opacity: .5; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(150px); } to { opacity: 1; transform: none; } }
@keyframes up { from { opacity: 0; transform: translateY(130px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wave { from { transform: translateX(0); } to { transform: translateX(-80px); } }
@keyframes blink { 50% { opacity: 0; } }

.hero-glow { animation: glow-in 1.9s var(--ease-out) .9s both; }
.hero-title { animation: rise 1.2s cubic-bezier(.72, 0, .19, .98) .1s both; }
.stage { animation: up .9s cubic-bezier(0, .52, .4, 1) .6s both; }
.navpanel, .topbar { animation: fade .8s ease 1.4s both; }
.caret { animation: blink 1s steps(1) infinite; }
.wave { animation: wave 1.4s linear infinite; }

.reveal { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.soft { transition: opacity 1s var(--ease-soft), transform 1s var(--ease-soft); }
.js-reveal .reveal { opacity: 0; transform: translateY(150px); }
.js-reveal .reveal.soft { transform: translateY(70px); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .15s !important; }
.d2 { transition-delay: .3s !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}

/* ---------- shared bits ---------- */
.led {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
  opacity: 0; transition: opacity .3s;
}
.led.on { opacity: 1; }
.led.off { opacity: 1; background: #3a3a3a; box-shadow: none; }

.glow { position: absolute; pointer-events: none; background: radial-gradient(closest-side, var(--accent-glow), rgba(0, 0, 0, 0)); }

.scan {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .3) 0 1px, transparent 1px 3px);
}
.scan.faint { opacity: .35; }

.meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 6px 12px; font-size: 16px; font-weight: 500; color: var(--muted);
}
.meta i { font-style: normal; color: var(--sep); }

.section-title, .section-head h2 {
  font-family: var(--serif); font-weight: 400; text-align: center;
  font-size: clamp(48px, 7vw, 96px); line-height: 1;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border-radius: 6px;
  font: 500 15px/1 var(--sans); cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn svg { transition: transform .4s cubic-bezier(.2, .9, .3, 1.3); }
.btn:hover svg { transform: translateX(5px); }
.btn.solid { background: var(--fg); color: var(--bg); border: 0; font-weight: 600; }
.btn.solid:hover { background: var(--accent); color: var(--bg); }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--fg); }
.btn.ghost:hover { background: var(--fg); color: var(--bg); }
.btn[disabled] { opacity: .6; cursor: progress; }

.shelf {
  height: 16px; border-radius: 2px;
  background: linear-gradient(180deg, #7a4e2e 0, #5b3820 30%, #3e2614 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 20px 30px rgba(0, 0, 0, .8);
}

.acc { color: var(--accent); }
.acc-stroke { stroke: var(--accent); }
.acc-fill { fill: var(--accent); }

main { overflow-x: clip; }

/* ---------- navigation ---------- */
/* Collapsed to a faint arrow box; expands on hover, keyboard focus, or click (.open). */
.navpanel {
  position: fixed; left: 32px; top: 32px; z-index: 20;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 4px; border: 1px solid #2a2a2a; border-radius: 12px;
  background: rgba(0, 0, 0, 0); opacity: .45;
  font-size: 14px;
  transition: opacity .25s, background-color .25s, border-color .25s;
}
.navpanel:hover, .navpanel:has(:focus-visible), .navpanel.open {
  opacity: 1; border-color: #1e1e1e;
  background: rgba(0, 0, 0, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.nav-toggle {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  padding: 0; background: none; border: 0; border-radius: 8px; color: var(--fg); cursor: pointer;
}
.nav-toggle svg { transition: transform .3s var(--ease-soft); }
.navpanel:hover .nav-toggle svg, .navpanel:has(:focus-visible) .nav-toggle svg, .navpanel.open .nav-toggle svg { transform: rotate(90deg); }
.nav-links {
  display: flex; flex-direction: column; gap: 4px;
  max-width: 0; max-height: 0; overflow: hidden; opacity: 0;
  transition: max-width .3s var(--ease-soft), max-height .3s var(--ease-soft), opacity .2s, padding .3s var(--ease-soft);
}
.navpanel:hover .nav-links, .navpanel:has(:focus-visible) .nav-links, .navpanel.open .nav-links {
  max-width: 200px; max-height: 200px; opacity: 1; padding: 2px 16px 10px 10px;
}
.navpanel a { display: flex; align-items: center; gap: 10px; min-height: 24px; color: var(--muted); white-space: nowrap; transition: color .2s; }
.navpanel a:hover, .navpanel a.on { color: var(--fg); }
.navpanel a.on .led { opacity: 1; }

.topbar, .mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 900px;
  display: flex; flex-direction: column; align-items: center;
  padding: 130px var(--gutter) 40px;
}
.hero-glow { left: 50%; top: 20px; width: 1100px; height: 900px; margin-left: -550px; }
.hero-title {
  position: relative; text-align: center; font-family: var(--serif); font-weight: 400;
  font-size: clamp(54px, 8.5vw, 108px); line-height: .95; letter-spacing: -.02em;
}
.stage { position: relative; margin-top: 56px; display: flex; flex-direction: column; align-items: center; width: 100%; }
.stage-row { display: flex; align-items: flex-end; gap: 64px; }
.badge-card {
  width: 150px; height: 92px; padding: 14px; border-radius: 8px;
  background: #161616; border: 1px solid #2a2a2a; transform: rotate(-3deg);
  display: flex; flex-direction: column; justify-content: space-between;
  font: 11px/1.2 var(--mono); color: var(--muted);
}
.badge-card .white { color: var(--fg); }
.sticky-note {
  width: 124px; height: 124px; padding: 16px; transform: rotate(4deg);
  background: #e9e3c9; color: #1a1a1a; box-shadow: 0 12px 20px rgba(0, 0, 0, .6);
  display: flex; flex-direction: column; justify-content: space-between;
  font: 12px/1.35 var(--mono); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1);
}
.sticky-note:hover { color: #1a1a1a; transform: rotate(0deg) translateY(-6px); }
.sticky-note strong { font-weight: 500; }

.monitor {
  width: 420px; padding: 22px 22px 14px; border-radius: 20px;
  background: linear-gradient(180deg, #262726 0%, #141514 100%); border: 1px solid #333;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 80px rgba(0, 0, 0, .8);
}
.screen { position: relative; height: 300px; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid #0a0a0a; }
.screen img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
  filter: grayscale(.35) brightness(.7) contrast(1.1);
}
.screen .tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 30, 15, .25), rgba(0, 0, 0, .35)); mix-blend-mode: multiply; }
.screen .vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .75) 100%); }
.screen .glare { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, 0) 35%); }
.monitor-label {
  display: flex; justify-content: space-between; align-items: center; margin-top: 12px;
  font: 10px/1 var(--mono); letter-spacing: .1em; color: #777;
}
.power { display: flex; align-items: center; gap: 8px; }
.shelf-hero { width: min(960px, 100%); height: 22px; border-radius: 3px; }
.shelf-edge { width: min(940px, calc(100% - 12px)); height: 10px; background: #24160b; }

/* ---------- intro ---------- */
.intro { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 60px var(--gutter) 140px; }
.intro p { max-width: 1000px; text-align: center; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 36px); line-height: 1.3; }

/* ---------- experience ---------- */
.experience { position: relative; display: flex; flex-direction: column; align-items: center; gap: 72px; padding: 60px var(--gutter) 0; }
.exp-glow { left: 50%; top: 260px; width: 1200px; height: 1000px; margin-left: -600px; }
.section-head { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 8px; }

.frame {
  position: relative; width: 100%; max-width: var(--max);
  padding: 12px 14px 14px; border-radius: 26px;
  background: linear-gradient(180deg, #272827 0%, #121312 100%); border: 1px solid #333;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 50px 100px rgba(0, 0, 0, .85);
}
.frame:hover { border-color: #4f5a52; }
.frame-strip {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 4px 12px 14px; font: 11px/1 var(--mono); letter-spacing: .12em; color: #888;
}
.status { display: flex; align-items: center; gap: 8px; }
.status.active { color: var(--accent); }
.frame-screen { position: relative; border-radius: 16px; background: #050605; border: 1px solid #0c0c0c; box-shadow: inset 0 0 60px rgba(0, 0, 0, .9); overflow: hidden; }
.frame-body { position: relative; display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 64px; padding: 64px 64px 72px; }
.role { display: flex; flex-direction: column; gap: 16px; }
.date { display: flex; align-items: center; gap: 10px; font: 13px/1 var(--mono); color: var(--accent); }
.role h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4vw, 56px); line-height: 1; }
.org { display: flex; flex-direction: column; gap: 4px; font-size: 16px; font-weight: 500; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tags li { padding: 6px 12px; border: 1px solid #333; border-radius: 999px; font: 12px/1.2 var(--mono); color: var(--dim); }
.points { display: flex; flex-direction: column; gap: 28px; padding-left: 48px; border-left: 1px solid #242424; }
.points h4 { margin-bottom: 8px; font: 500 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.points p { font-size: 16px; line-height: 1.65; color: var(--dim); }

/* ---------- work ---------- */
.work { display: flex; flex-direction: column; align-items: center; gap: 160px; padding: 220px var(--gutter) 0; }
.project { width: 100%; max-width: var(--max); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.project-text { display: flex; flex-direction: column; gap: 20px; }
.project-text h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; }
.project-text .meta { justify-content: flex-start; }
.project-text p { font-size: 16px; line-height: 1.65; color: var(--body); }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.project-object { display: flex; flex-direction: column; align-items: center; }
.panel {
  width: min(500px, 100%); aspect-ratio: 500 / 340; padding: 18px; border-radius: 18px;
  background: linear-gradient(180deg, #232423, #111211); border: 1px solid #2e2e2e;
}
.panel-screen { position: relative; height: 100%; border-radius: 12px; background: #030503; overflow: hidden; }
.panel-screen.center { display: flex; align-items: center; justify-content: center; }
.panel-screen.row { gap: 36px; padding: 0 16px; }
.panel-screen.col { flex-direction: column; gap: 8px; }
.panel-screen > svg { width: 88%; height: auto; }
.panel-screen.row > svg { width: 170px; flex-shrink: 0; }
.panel-screen .scan { opacity: .6; }
.readout { display: flex; flex-direction: column; gap: 10px; font: 12px/1.2 var(--mono); color: var(--muted); }
.layers { font: 12px/1 var(--mono); }
.layers > div:not(.scan) { width: min(240px, 70%); padding: 12px 0; text-align: center; border: 1px solid var(--fg); border-radius: 6px; }
.layers i { font-style: normal; color: var(--accent); }
.layers .acc-box { border-color: var(--accent); color: var(--accent); }
.project-object .shelf { width: min(560px, 100%); margin-top: 14px; }
.brackets { width: min(520px, 92%); display: flex; justify-content: space-between; }
.brackets span { width: 4px; height: 60px; background: linear-gradient(90deg, #666, #bbb, #666); }

/* ---------- about ---------- */
.about { display: flex; flex-direction: column; align-items: center; gap: 96px; padding: 200px var(--gutter) 0; }
.about-grid { width: 100%; max-width: var(--max); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start; }
.pegboard {
  position: relative; padding: 36px; border-radius: 14px; border: 1px solid var(--line);
  background-color: #151515;
  background-image: radial-gradient(circle, #000 0 3px, transparent 3.5px);
  background-size: 28px 28px; background-position: 14px 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .8);
  display: flex; flex-direction: column; gap: 22px;
}
.label-tag { align-self: flex-start; padding: 6px 12px; background: #111; border: 1px solid #333; border-radius: 4px; font: 13px/1 var(--pixel); color: var(--accent); }
.stickers { display: flex; flex-wrap: wrap; gap: 10px; }
.stickers li { padding: 8px 14px; background: #262626; border-radius: 6px; font: 13px/1.2 var(--mono); }
.stickers .cream { background: #f2f1ec; color: #000; }
.stickers .acc-bg { background: var(--accent); color: #000; }
.stickers .tilt-l { transform: rotate(-2deg); }
.stickers .tilt-r { transform: rotate(2deg); }
.about-text { display: flex; flex-direction: column; gap: 22px; padding-top: 8px; font-size: 16px; line-height: 1.65; color: var(--body); }

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 120px; margin-top: 200px; padding: 40px var(--gutter) 96px; }
.foot-glow { left: 50%; bottom: -520px; width: 1400px; height: 1100px; margin-left: -700px; }
.contact-grid { position: relative; width: 100%; max-width: var(--max); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: start; scroll-margin-top: 40px; }
.cta { display: flex; flex-direction: column; gap: 28px; }
.cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 7vw, 96px); line-height: .95; }
.cta p { max-width: 460px; font-size: 17px; line-height: 1.65; color: var(--dim); }
.direct { display: flex; flex-direction: column; gap: 6px; }
.direct span { font: 12px/1 var(--mono); color: var(--muted); }
.resume-btn { align-self: flex-start; }
.resume-btn:hover svg { transform: translateY(3px); }
.direct a { font-size: 18px; font-weight: 500; overflow-wrap: anywhere; }

.form-card {
  padding: 36px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(180deg, #161616 0%, #0b0b0b 100%); box-shadow: 0 40px 80px rgba(0, 0, 0, .8);
}
form { display: flex; flex-direction: column; gap: 22px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > label, .field legend { padding: 0; font: 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field legend { margin-bottom: 10px; }
input[type="text"], input[type="email"], textarea {
  width: 100%; background: #050505; border: 1px solid #2e2e2e; border-radius: 8px; color: var(--fg);
  font: 16px/1.5 var(--sans); outline: none; transition: border-color .2s, box-shadow .2s;
}
input[type="text"], input[type="email"] { height: 52px; padding: 0 16px; }
textarea { padding: 14px 16px; resize: vertical; min-height: 140px; }
input::placeholder, textarea::placeholder { color: #777; }
input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(110, 231, 168, .18); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #f08a7a; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid #333; border-radius: 999px; color: var(--dim); font-size: 15px; font-weight: 500; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--fg); color: var(--fg); }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.chip:has(input:checked) { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(110, 231, 168, .35); }
.form-error { font-size: 14px; color: #f08a7a; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-foot span { font-size: 13px; color: var(--muted); }
.form-foot .btn { height: 52px; padding: 0 22px; font-size: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-done { min-height: 460px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; }
.form-done h3 { font-family: var(--serif); font-weight: 400; font-size: 52px; line-height: 1; }
.form-done p { font-size: 17px; line-height: 1.65; color: var(--dim); }
.lcd {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 17px;
  background: #07110b; border: 1px solid #1f2a22; font: 12px/1 var(--pixel); color: var(--accent); white-space: nowrap;
}

.console {
  position: relative; width: 100%; max-width: var(--max); min-height: 300px;
  display: flex; gap: 28px; align-items: stretch; padding: 28px; border-radius: 24px;
  background: linear-gradient(180deg, #1d1d1d 0%, #0c0c0c 100%); border: 1px solid #2c2c2c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 80px rgba(0, 0, 0, .9);
}
.keys-area { width: 420px; flex-shrink: 0; display: flex; flex-direction: column; gap: 18px; }
.keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; padding-bottom: 10px; }
.key {
  height: 64px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #2e2e2e, #1b1b1b); color: var(--fg);
  font-size: 15px; font-weight: 600; letter-spacing: .04em;
  box-shadow: 0 10px 0 #070707, 0 14px 20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), box-shadow .3s cubic-bezier(.3, 1.6, .5, 1);
}
.key:hover, .key:active { transform: translateY(8px); box-shadow: 0 2px 0 #070707, 0 4px 6px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .14); }
.key.cream { background: linear-gradient(180deg, #f2ecd6, #d8d0b4); color: #111; font-size: 18px; }
.key.acc-key { background: var(--accent); color: #000; }
.key:hover { color: var(--fg); }
.key.cream:hover, .key.acc-key:hover { color: #000; }
.grille { flex-grow: 1; border-radius: 8px; border: 1px solid #222; background: repeating-linear-gradient(0deg, #040404 0 6px, #1a1a1a 6px 12px); }
.scope {
  width: 244px; height: 244px; flex-shrink: 0; align-self: center; border-radius: 50%; padding: 12px;
  background: linear-gradient(180deg, #2a2a2a, #111); border: 1px solid #333; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .9);
}
.scope-screen {
  position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  background-color: #06140c; box-shadow: inset 0 0 40px rgba(0, 0, 0, .9);
  background-image: linear-gradient(rgba(110, 231, 168, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 231, 168, .12) 1px, transparent 1px);
  background-size: 25px 25px;
}
.scope-screen svg { position: absolute; left: 0; top: 0; max-width: none; filter: drop-shadow(0 0 4px var(--accent)); }
.copyright { position: relative; width: 100%; max-width: var(--max); display: flex; justify-content: space-between; gap: 12px; font: 12px/1.4 var(--mono); color: var(--muted); }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .frame-body { grid-template-columns: 1fr; gap: 36px; padding: 48px 40px 56px; }
  .points { padding-left: 0; border-left: 0; padding-top: 32px; border-top: 1px solid #242424; }
  .project { grid-template-columns: 1fr; gap: 40px; }
  .project-object { order: -1; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .console .grille { display: none; }
  .console { justify-content: space-between; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .navpanel { display: none; }
  .topbar {
    display: flex; position: sticky; top: 0; z-index: 30; height: 64px; padding: 0 16px;
    align-items: center; justify-content: space-between;
    background: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, 0));
  }
  .brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
  .menu-btn {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, .6); border: 1px solid var(--line); border-radius: 10px; color: var(--fg); cursor: pointer;
  }
  .mobile-menu:not([hidden]) {
    display: flex; flex-direction: column; position: fixed; z-index: 25; left: 12px; right: 12px; top: 68px;
    padding: 8px; border: 1px solid #1e1e1e; border-radius: 14px; background: rgba(0, 0, 0, .94);
  }
  .mobile-menu a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; font-size: 17px; border-radius: 8px; }
  .mobile-menu a:active { background: #111; }

  .hero { min-height: 0; padding: 36px 16px 0; }
  .hero-glow { width: 800px; height: 700px; margin-left: -400px; top: -40px; }
  .stage { margin-top: 36px; }
  .badge-card, .sticky-note { display: none; }
  .monitor { width: 220px; padding: 12px 12px 8px; border-radius: 14px; }
  .screen { height: 160px; border-radius: 10px; }
  .monitor-label { margin-top: 8px; font-size: 9px; }
  .monitor-label span:first-child { visibility: hidden; }
  .shelf-hero { height: 14px; }
  .shelf-edge { height: 7px; }

  .intro { padding: 72px 16px 0; gap: 20px; }
  .meta { font-size: 14px; gap: 6px 10px; }

  .experience { padding: 112px 12px 0; gap: 40px; }
  .exp-glow { width: 800px; height: 900px; margin-left: -400px; top: 200px; }
  .frame { padding: 8px 8px 10px; border-radius: 20px; }
  .frame-strip { padding: 4px 8px 10px; font-size: 10px; letter-spacing: .1em; }
  .frame-screen { border-radius: 13px; }
  .frame-body { padding: 28px 22px 32px; gap: 20px; }
  .org { font-size: 14px; }
  .points { gap: 18px; padding-top: 20px; }
  .points p { font-size: 15px; line-height: 1.6; }

  .work { padding: 128px 16px 0; gap: 88px; }
  .project { gap: 24px; }
  .panel { padding: 12px; border-radius: 14px; }
  .panel-screen.row { gap: 16px; }
  .panel-screen.row > svg { width: 110px; }
  .readout { font-size: 10px; gap: 8px; }
  .brackets { display: none; }
  .project-object .shelf { height: 12px; margin-top: 10px; }
  .project-text { gap: 14px; }
  .project-text p { font-size: 15px; }
  .actions .btn { width: 100%; }

  .about { padding: 128px 16px 0; gap: 40px; }
  .about-grid { gap: 40px; }
  .about-text { order: -1; font-size: 15px; gap: 16px; }
  .pegboard { padding: 22px; background-size: 22px 22px; background-position: 11px 11px; }
  .stickers { gap: 8px; }
  .stickers li { padding: 7px 12px; font-size: 12px; }

  .contact { margin-top: 128px; padding: 24px 16px 48px; gap: 56px; }
  .foot-glow { width: 1000px; height: 800px; margin-left: -500px; bottom: -380px; }
  .contact-grid { gap: 28px; }
  .cta { align-items: center; text-align: center; gap: 16px; }
  .cta p { font-size: 15px; }
  .resume-btn { align-self: stretch; }
  .form-card { padding: 22px 18px; border-radius: 16px; }
  form { gap: 18px; }
  .field-row { grid-template-columns: 1fr; gap: 18px; }
  .form-foot .btn { width: 100%; }
  .form-done { min-height: 380px; }
  .form-done h3 { font-size: 40px; }
  .form-done .btn { width: 100%; }

  .console { flex-direction: column; min-height: 0; padding: 18px; border-radius: 20px; gap: 18px; }
  .keys-area { width: 100%; }
  .lcd { font-size: 10px; }
  .keys { gap: 14px 10px; }
  .key { height: 52px; font-size: 13px; }
  .scope { display: none; }
  .copyright { flex-direction: column; align-items: center; font-size: 11px; }
}
