:root {
  --ink: #202323;
  --muted: #6f7676;
  --line: rgba(36, 43, 43, .16);
  --paper: #e9e7e1;
  --blue: #cbd7db;
  --pink: #ddcecc;
  --white: #f2f0eb;
  --mono: "DM Mono", monospace;
  --sans: "Noto Sans SC", sans-serif;
  --serif: "Playfair Display", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.noise {
  position: fixed; inset: 0; z-index: 20; 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}
.site-header {
  position: fixed; z-index: 15; top: 0; left: 0; right: 0;
  height: 72px; padding: 0 3vw; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; border-bottom: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(18px); background: rgba(232,230,224,.58);
  font: 400 10px/1 var(--mono); letter-spacing: .12em;
}
.wordmark { font-size: 12px; }
.wordmark span, .section-no { color: var(--muted); }
nav { display: flex; gap: 34px; }
nav a, .text-link, .project b, footer > a, .contact-links a { transition: opacity .3s ease; }
nav a:hover, .text-link:hover, .project:hover b, footer > a:hover, .contact-links a:hover { opacity: .5; }
.status { justify-self: end; display: flex; align-items: center; gap: 8px; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: #81918a; box-shadow: 0 0 10px #81918a; }

.hero {
  width: 100%; max-width: 100vw; min-height: 100vh; position: relative; display: block;
  overflow: hidden; background: linear-gradient(145deg, #dadfe0 0%, #e9e4df 50%, #d9d2cf 100%);
}
.hero-copy { position: relative; max-width: 79%; min-width: 0; padding: 23vh 4vw 8vh 7vw; z-index: 3; }
.eyebrow, .section-no {
  font: 400 9px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase;
}
h1, h2 { margin: 20px 0 34px; font-weight: 300; letter-spacing: -.055em; line-height: .95; }
h1 { font-size: clamp(72px, 9.2vw, 168px); }
h1 em, h2 em { font-family: var(--serif); font-weight: 500; }
.intro { max-width: 520px; color: #555d5d; font-size: 14px; line-height: 2; margin: 0 0 46px; overflow-wrap: anywhere; }
.text-link { display: inline-flex; gap: 45px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font: 400 10px var(--mono); letter-spacing: .14em; }
.portrait {
  position: absolute; z-index: 5; right: 3vw; bottom: 3vw; width: clamp(180px, 22vw, 350px);
  aspect-ratio: 3 / 4; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.58);
  box-shadow: 0 22px 70px rgba(53,61,61,.16);
}
.portrait img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.62) contrast(.9); }
.portrait::after { content:""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(224,223,216,.35), transparent 30%, rgba(221,209,205,.12)); mix-blend-mode: screen; }
.portrait figcaption { position: absolute; z-index: 2; bottom: 12px; left: 13px; right: 13px; display: flex; justify-content: space-between; color: rgba(255,255,255,.7); font: 300 6px var(--mono); letter-spacing: .12em; }
.hero-index { position: absolute; left: 2vw; bottom: 2vh; font: 300 clamp(100px,16vw,280px)/1 var(--mono); color: rgba(255,255,255,.18); z-index: 2; }
.light-strip { position: absolute; z-index: 4; top: 17%; left: 7%; width: 55%; height: 1px; background: rgba(255,255,255,.75); box-shadow: 0 0 28px 8px rgba(255,255,255,.35); }
.perspective-lines { position:absolute; inset:0; background: linear-gradient(108deg, transparent 0 20%, rgba(255,255,255,.18) 20.1%, transparent 20.2%), linear-gradient(72deg, transparent 0 20%, rgba(70,80,80,.08) 20.1%, transparent 20.2%); }

.statement { min-height: 85vh; padding: 9vw 7vw 5vw; display: flex; flex-direction: column; justify-content: space-between; background: #d6dcdd; border-top: 1px solid rgba(255,255,255,.4); }
.statement > p { align-self: center; margin: 0; font-size: clamp(45px,6.3vw,112px); line-height: 1.3; letter-spacing: -.05em; }
.statement > p span { display: inline-block; color: transparent; -webkit-text-stroke: 1px #7d8a8c; font-family: var(--serif); font-style: italic; }
.statement-meta { display: flex; justify-content: space-between; color: var(--muted); font: 300 9px var(--mono); letter-spacing: .12em; }

.projects { padding: 11vw 4vw 7vw; background: #e9e7e1; }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 8vw; max-width: 1300px; margin: 0 auto 8vw; }
.section-heading h2, .collaboration h2, footer h2 { font-size: clamp(58px,8vw,140px); }
.section-heading p { align-self: end; max-width: 360px; color: var(--muted); font-size: 13px; line-height: 2; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7vw 2vw; max-width: 1400px; margin: auto; }
.project { display: grid; gap: 24px; transition: opacity .35s ease; }
.project:hover .project-visual { border-color: rgba(32,35,35,.48); filter: brightness(1.025); }
.project-wide { grid-column: span 2; grid-template-columns: 1.35fr .65fr; align-items: end; }
.project-tall { margin-top: 11vw; }
.project-visual { min-height: 390px; overflow: hidden; position: relative; border: 1px solid var(--line); background: #d9d8d3; transition: border-color .35s ease, filter .35s ease; }
.project-visual img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.42) contrast(.82); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.project:hover .project-visual img { transform: scale(1.015); }
.skill-badge {
  position: absolute; z-index: 6; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; font: 600 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  white-space: nowrap; max-width: calc(100% - 28px);
  color: var(--archive-cyan); background: rgba(9,13,18,.82); border: 1px solid rgba(0,245,212,.5);
  box-shadow: 0 0 18px rgba(0,245,212,.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.skill-badge::before { content:""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--archive-cyan); box-shadow: 0 0 10px var(--archive-cyan); }
.visual-vibe { min-height: 600px; display: grid; place-items: center; background: linear-gradient(145deg,#d8d6d2,#c4d0d3); }
.visual-vibe img { position: relative; z-index: 2; width: 34%; height: auto; object-fit: contain; filter: saturate(.45) drop-shadow(0 30px 45px rgba(50,60,60,.22)); }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .65; }
.orb-a { width: 280px; height: 280px; left: 18%; top: 12%; background: radial-gradient(circle at 30% 30%, #ece6e1, #b8c7ca); }
.orb-b { width: 190px; height: 190px; right: 13%; bottom: 8%; background: radial-gradient(circle at 30% 30%, #eadbd6, #c5b8b7); }
.visual-robot { height: 650px; }
.visual-robot::after { content:"TARGET / 03.02 M"; position:absolute; inset: 6% 7% auto auto; color:white; border:1px solid rgba(255,255,255,.55); padding: 8px 12px; font: 8px var(--mono); letter-spacing:.12em; }
.project-info > div { display:flex; justify-content:space-between; color:var(--muted); font:300 8px var(--mono); letter-spacing:.14em; }
.project-info h3 { margin: 18px 0 12px; font-size: clamp(30px,4vw,68px); line-height: 1; letter-spacing: -.05em; font-weight: 300; }
.project-info p { max-width: 450px; margin: 0 0 20px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.feature-list { margin: 0 0 22px; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--line); display: grid; gap: 7px; }
.feature-list li { position: relative; padding-left: 17px; color: #4f5858; font: 300 9px/1.6 var(--mono); letter-spacing: .05em; }
.feature-list li::before { content: "·"; position: absolute; left: 0; color: #829190; font-weight: 500; }
.project-info b { font: 400 8px var(--mono); letter-spacing: .15em; }

.visual-lanes { min-height: 470px; background: linear-gradient(130deg,#dad7d0,#cad4d6); }
.lane { position:relative; border:1px solid rgba(255,255,255,.7); display:flex; flex-direction:column; justify-content:space-between; padding:20px; font:8px var(--mono); letter-spacing:.15em; }
.lane i { width:7px;height:7px;border-radius:50%;background:#7e8b89;box-shadow:0 0 15px #7e8b89; }
.lane-two { transform:translateY(50px); }
.handoff { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); background:#ece9e2; padding:12px 16px; font:8px var(--mono); letter-spacing:.08em; box-shadow:0 12px 30px rgba(40,50,50,.1); }
.visual-claude { min-height:470px; display:grid; place-items:center; background:#cbd5d6; }
.terminal { width:70%; padding:35px; border:1px solid rgba(255,255,255,.7); background:rgba(238,238,232,.25); backdrop-filter:blur(8px); font-family:var(--mono); }
.terminal i,.terminal em { font-size:8px; letter-spacing:.15em; font-style:normal; }
.terminal p { margin:50px 0; font-size:clamp(14px,2vw,24px); }
.terminal em { color:#687877; }
.signal { position:absolute; border:1px solid rgba(255,255,255,.5); border-radius:50%; }
.s1{width:130px;height:130px}.s2{width:250px;height:250px}.s3{width:390px;height:390px}
.visual-echo { min-height:420px; display:grid; place-items:center; background:linear-gradient(120deg,#d8d1cf,#c5d0d1); }
.echo-ring { position:absolute; width:90px;height:90px;border:1px solid rgba(70,80,80,.28);border-radius:50%; }
.echo-ring:nth-child(2){width:200px;height:200px}.echo-ring:nth-child(3){width:350px;height:350px}
.visual-echo span { font:8px var(--mono); letter-spacing:.28em; }
.visual-shop { min-height:420px; display:grid;place-items:center;background:#d9d5ce; }
.shop-window { width:60%;height:62%;border:1px solid rgba(255,255,255,.8);display:flex;flex-direction:column;justify-content:space-between;padding:24px;background:rgba(235,225,220,.28); }
.shop-window span { font:italic 82px var(--serif);color:#988d8b}.shop-window i{height:1px;background:rgba(70,70,70,.18)}.shop-window b{font:8px var(--mono);letter-spacing:.18em}
.archive { cursor: default; }

.collaboration { margin: 7vw 4vw; padding: 9vw 5vw; min-height: 80vh; background: linear-gradient(135deg,#cbd6d7,#ded5d1); border:1px solid rgba(255,255,255,.5); }
.collaboration h2 { max-width: 900px; }
.collab-diagram { display:grid; grid-template-columns:1fr 60px 1fr 60px 1fr 60px 1fr; align-items:center; margin-top:10vw; }
.collab-diagram > i { height:1px;background:rgba(50,60,60,.25); }
.collab-diagram div { min-height:130px;display:flex;flex-direction:column;justify-content:space-between;border-top:1px solid rgba(50,60,60,.25);padding-top:15px; }
.collab-diagram span { color:var(--muted);font:8px var(--mono);letter-spacing:.1em; }
.collab-diagram small { color:var(--muted);font:13px/1.6 var(--mono);letter-spacing:.04em; }
.collab-diagram b { font:400 11px var(--mono);letter-spacing:.18em; }

footer { min-height:90vh; position:relative; padding:10vw 7vw 3vw; display:flex;flex-direction:column;justify-content:center;overflow:hidden;background:#d9dcda; }
footer h2 { position:relative;z-index:2; }
footer > a, .contact-links a { position:relative;z-index:2;border-bottom:1px solid var(--ink);padding-bottom:10px;font:10px var(--mono);letter-spacing:.15em; }
footer > a { align-self:flex-start; }
.contact-links { position:relative; z-index:2; display:flex; flex-wrap:wrap; gap:14px 32px; align-self:flex-start; }
.footer-glow { position:absolute; width:55vw;height:55vw;border-radius:50%;right:-10%;top:8%;background:radial-gradient(circle,#efdeda 0,rgba(220,211,208,.4) 38%,transparent 67%);filter:blur(12px); }
.footer-bottom { position:absolute;left:7vw;right:7vw;bottom:28px;display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:17px;font:8px var(--mono);letter-spacing:.14em;color:var(--muted); }

.reveal { opacity:0; transform:translateY(18px); transition:opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity:1; transform:none; }

@media (max-width: 800px) {
  .site-header { grid-template-columns:1fr auto; padding:0 20px; }
  .site-header nav, .status { display:none; }
  .hero { grid-template-columns:1fr; }
  .hero-copy { max-width:100%; min-height:72vh; padding:150px 25px 90px; }
  .hero-copy, .hero-copy h1, .hero-copy p { width:100%; max-width:100%; }
  h1 { font-size: clamp(56px, 16vw, 64px); }
  .portrait { right:18px; bottom:18px; width:105px; }
  .portrait figcaption { display:none; }
  .light-strip { left:25px; width:60%; }
  .statement { min-height:68vh; padding:90px 25px 30px; }
  .statement-meta { gap:12px; flex-direction:column; }
  .projects { padding:100px 18px; }
  .section-heading { grid-template-columns:1fr; }
  .project-grid { grid-template-columns:1fr; gap:80px; }
  .project-wide { grid-column:auto; grid-template-columns:1fr; }
  .project-tall { margin-top:0; }
  .project-visual,.visual-vibe,.visual-robot { min-height:430px;height:auto; }
  .visual-vibe img { width:52%; }
  .collaboration { margin:20px; padding:70px 25px; }
  .collab-diagram { grid-template-columns:1fr;gap:30px; }
  .collab-diagram > i { display:none; }
  footer { padding:90px 25px; }
  .footer-bottom { left:25px;right:25px;gap:10px;flex-wrap:wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { transition-duration:.01ms !important; }
}

/* Liminal Space / Digital Museum */
:root {
  --liminal-bg: #f5f1e8;
  --liminal-ivory: #faf8f3;
  --liminal-wall: #d5dce0;
  --liminal-wall-light: #e0e5ea;
  --liminal-green: #e8f0e0;
  --liminal-purple: #d5d0dd;
  --liminal-gray: #c0c5ca;
  --liminal-text: #3a3d40;
  --liminal-text-soft: #4a4d50;
  --liminal-accent: #8a9da8;
  --liminal-accent-light: #a0b5c0;
}

body { color: var(--liminal-text); background: var(--liminal-bg); }
.noise { opacity: .055; }
.site-header {
  height: 58px; padding: 0 4vw; background: rgba(250,248,243,.56);
  border-color: rgba(192,197,202,.5); backdrop-filter: blur(7px);
}
.hero {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255,255,255,.55) 0, transparent 18%),
    linear-gradient(118deg, var(--liminal-ivory) 0 31%, var(--liminal-wall) 31.1% 76%, var(--liminal-bg) 76.1%);
  perspective: 1000px;
}
.hero::before {
  content: ""; position: absolute; z-index: 1; left: 16%; right: 13%; bottom: -18%;
  height: 55%; opacity: .38; transform: perspective(650px) rotateX(62deg);
  transform-origin: bottom;
  background:
    repeating-linear-gradient(90deg, transparent 0 90px, rgba(90,105,108,.15) 91px 92px),
    repeating-linear-gradient(0deg, transparent 0 70px, rgba(90,105,108,.12) 71px 72px);
  mask-image: linear-gradient(to bottom, transparent, #000);
}
.hero::after {
  content: "SYSTEM / READY\A MCU  STM32H743\A VISION  OPENMV\A LINK  UART + SPI";
  white-space: pre; position: absolute; z-index: 1; width: 18%; height: 42%; left: 67%; top: 24%;
  border: 1px solid rgba(80,95,98,.14);
  background: linear-gradient(180deg, rgba(212,220,222,.2), rgba(244,242,235,.5));
  box-shadow: inset 0 0 45px rgba(255,255,255,.7), 0 35px 70px rgba(74,86,88,.06);
  padding: 25px; color: rgba(74,77,80,.42); font: 400 8px/2.4 var(--mono); letter-spacing: .12em;
}
.perspective-lines {
  z-index: 1; opacity: .4;
  background:
    linear-gradient(108deg, transparent 0 27%, rgba(85,100,103,.15) 27.1%, transparent 27.2%),
    linear-gradient(72deg, transparent 0 27%, rgba(255,255,255,.8) 27.1%, transparent 27.2%);
}
.hero-copy { max-width: 570px; padding: 30vh 4vw 8vh 9vw; }
h1, h2, h1 em, h2 em { font-family: var(--sans); font-style: normal; font-weight: 400; letter-spacing: -.025em; }
h1 { max-width: 480px; margin: 24px 0 42px; font-size: clamp(36px, 4vw, 52px); line-height: 1.35; }
.intro { max-width: 490px; font-size: 15px; line-height: 2; color: var(--liminal-text-soft); }
.eyebrow, .section-no { color: var(--liminal-accent); letter-spacing: .24em; }
.light-strip {
  top: 18%; left: 17%; width: 47%; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255,255,240,.95), transparent);
  box-shadow: 0 0 25px 7px rgba(255,255,240,.45);
}
.portrait {
  right: 5vw; bottom: 5vw; width: clamp(105px, 11vw, 165px); opacity: .72;
  box-shadow: 0 20px 65px rgba(70,80,82,.1); transition: opacity 1.2s ease, border-color 1.2s ease;
}
.portrait:hover { opacity: .9; }
.hero-index { left: 4vw; bottom: 3vh; font-size: clamp(70px,10vw,145px); color: rgba(255,255,255,.24); }
.text-link { color: var(--liminal-text-soft); border-color: var(--liminal-accent); }
.hero-tech { display: flex; flex-wrap: wrap; gap: 7px; max-width: 510px; margin: -18px 0 35px; }
.hero-tech span {
  padding: 7px 10px; border: 1px solid rgba(138,157,168,.55); background: rgba(250,248,243,.22);
  color: var(--liminal-text-soft); font: 400 8px/1 var(--mono); letter-spacing: .1em;
}

.statement {
  min-height: 100vh; padding: 10vw 9vw 6vw;
  background:
    linear-gradient(180deg, rgba(255,255,255,.25), transparent 25%),
    linear-gradient(125deg, var(--liminal-wall-light), var(--liminal-green) 70%);
  position: relative; overflow: hidden;
}
.statement::before {
  content: "SENSOR  →  MCU  →  ACTUATOR\A           ↓\A       INTERFACE";
  white-space: pre; position: absolute; width: 36%; height: 52%; right: 12%; top: 21%;
  border: 1px solid rgba(79,93,96,.12); background: rgba(255,255,255,.12);
  box-shadow: inset 0 0 70px rgba(255,255,255,.4);
  display: grid; place-items: center; color: rgba(74,77,80,.34); font: 400 10px/2 var(--mono); letter-spacing: .14em;
}
.statement > p { position: relative; z-index: 2; align-self: flex-start; max-width: 650px; margin-left: 15%; font-size: clamp(30px,3.6vw,48px); line-height: 1.7; }
.statement > p span { color: var(--liminal-accent); -webkit-text-stroke: 0; font-family: var(--sans); font-style: normal; }

.projects {
  padding: 12vw 7vw; background:
    linear-gradient(180deg, rgba(255,255,255,.35), transparent 12%),
    linear-gradient(145deg, var(--liminal-bg), var(--liminal-green) 60%, var(--liminal-purple));
}
.section-heading { grid-template-columns: 1fr 1fr; max-width: 1120px; margin-bottom: 13vw; }
.section-heading h2, .collaboration h2, footer h2 {
  max-width: 600px; margin-top: 28px; font-size: clamp(34px,4vw,52px); line-height: 1.4;
}
.section-heading p { font-size: 15px; line-height: 2; }
.project-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11vw 3vw; max-width: 1240px; }
.project, .project-wide { grid-column: auto; grid-template-columns: 1fr; gap: 0; align-items: initial; }
.project-tall { margin-top: 0; }
.project-visual, .visual-vibe, .visual-lanes, .visual-claude, .visual-echo, .visual-shop {
  min-height: 230px; height: 230px;
  border-color: var(--liminal-gray); background-color: rgba(250,248,243,.26);
  transition: filter 1.2s ease, border-color 1.2s ease, transform 1.2s ease;
}
.project:hover .project-visual { transform: translateY(-2px); border-color: rgba(75,90,93,.3); filter: brightness(1.025); }
.project-visual::before {
  content: ""; position: absolute; z-index: 3; left: 12px; right: 12px; top: 12px; height: 1px;
  background: linear-gradient(90deg, var(--liminal-accent), transparent 70%); opacity: .45;
}
.visual-vibe img { width: 32%; }
.orb { opacity: .28; filter: blur(12px); }
.orb-a { width: 150px; height: 150px; }
.orb-b { width: 100px; height: 100px; }
.visual-robot { height: 230px; }
.lane { padding: 12px; }
.lane-two { transform: translateY(18px); }
.handoff { padding: 8px 10px; }
.terminal { width: 78%; padding: 18px; }
.terminal p { margin: 30px 0; font-size: 11px; }
.signal.s1 { width: 70px; height: 70px; }
.signal.s2 { width: 130px; height: 130px; }
.signal.s3 { width: 200px; height: 200px; }
.echo-ring:nth-child(1) { width: 55px; height: 55px; }
.echo-ring:nth-child(2) { width: 110px; height: 110px; }
.echo-ring:nth-child(3) { width: 180px; height: 180px; }
.shop-window { width: 52%; height: 62%; padding: 15px; }
.shop-window span { font-size: 48px; }
.project:nth-child(3n + 1) .project-visual { background-color: rgba(213,220,224,.62); }
.project:nth-child(3n + 2) .project-visual { background-color: rgba(232,240,224,.64); }
.project:nth-child(3n) .project-visual { background-color: rgba(213,208,221,.58); }
.project-visual img { filter: saturate(.28) contrast(.78) brightness(1.04); }
.orb-a { background: radial-gradient(circle at 30% 30%, var(--liminal-ivory), var(--liminal-wall)); }
.orb-b { background: radial-gradient(circle at 30% 30%, var(--liminal-green), var(--liminal-purple)); }
.lane, .terminal, .shop-window { border-color: rgba(160,181,192,.65); background: rgba(250,248,243,.18); }
.lane i { background: var(--liminal-accent); box-shadow: 0 0 15px rgba(138,157,168,.65); }
.handoff { color: var(--liminal-text-soft); background: var(--liminal-ivory); box-shadow: 0 12px 30px rgba(138,157,168,.12); }
.signal, .echo-ring { border-color: rgba(138,157,168,.42); }
.shop-window span { color: var(--liminal-accent); }
.project-info { min-height: 390px; padding: 25px 22px 28px; border: 1px solid var(--liminal-gray); border-top: 0; background: rgba(250,248,243,.48); }
.project-info h3 { margin: 28px 0 20px; font-size: clamp(25px,2.2vw,34px); line-height: 1.25; letter-spacing: -.02em; }
.project-info p { color: var(--liminal-text-soft); font-size: 13px; line-height: 2; }
.feature-list { margin-top: 28px; padding-top: 18px; }
.feature-list li { color: var(--liminal-text-soft); font-family: var(--sans); font-size: 11px; letter-spacing: .02em; line-height: 1.8; }
.project-info > div span:last-child { color: var(--liminal-accent); }

.collaboration {
  margin: 0; min-height: 100vh; padding: 12vw 9vw;
  background: linear-gradient(135deg, var(--liminal-green), var(--liminal-purple)); border: 0; position: relative; overflow: hidden;
}
.collaboration::after {
  content: "SIGNAL FLOW / SYSTEM INTEGRATION"; position: absolute; width: 32%; height: 45%; right: 8%; top: 16%;
  border: 1px solid rgba(75,90,93,.12); background: rgba(255,255,255,.1);
  padding: 20px; color: rgba(74,77,80,.3); font: 400 8px var(--mono); letter-spacing: .15em;
}
.collab-diagram { position: relative; z-index: 2; margin-top: 16vw; }
footer { min-height: 100vh; background: linear-gradient(145deg, var(--liminal-ivory), var(--liminal-wall-light)); }
.footer-glow {
  opacity: .34;
  background: radial-gradient(circle, var(--liminal-purple) 0, rgba(213,220,224,.42) 38%, transparent 67%);
}

.reveal { transform: translateY(7px); transition: opacity 2s ease-out, transform 2s ease-out; }
section:target .reveal, footer:target .reveal { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-copy { padding: 25vh 25px 100px; }
  .hero::after { display: none; }
  h1 { font-size: 40px; }
  .intro { max-width: 100%; overflow-wrap: anywhere; }
  .hero-tech { max-width: 100%; }
  .portrait { width: 88px; right: 18px; bottom: 18px; }
  .statement { padding: 110px 25px 40px; }
  .statement > p { margin-left: 0; font-size: 31px; }
  .projects { padding: 110px 18px; }
  .section-heading, .project-grid { grid-template-columns: 1fr; }
  .project-grid { gap: 75px; }
  .project-visual, .visual-vibe, .visual-robot, .visual-lanes, .visual-claude, .visual-echo, .visual-shop { min-height: 250px; height: 250px; }
  .project-info { min-height: 0; }
}

/* Digital archive terminal theme */
:root {
  --archive-bg: #090d12;
  --archive-panel: #12171f;
  --archive-panel-2: #171b24;
  --archive-border: #29313c;
  --archive-text: #8e96a8;
  --archive-muted: #535c6d;
  --archive-cyan: #00f5d4;
  --archive-pink: #ff006e;
  --archive-amber: #ffb454;
}

html { background: var(--archive-bg); }
body {
  color: var(--archive-text); background:
    radial-gradient(circle at 28% 35%, rgba(0,245,212,.045), transparent 28%),
    radial-gradient(circle at 70% 40%, rgba(255,0,110,.025), transparent 24%),
    var(--archive-bg);
  font-family: var(--mono);
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 19; pointer-events: none; opacity: .18;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(150,170,190,.065) 4px);
}
.noise { opacity: .13; mix-blend-mode: screen; }
.site-header {
  height: 64px; color: var(--archive-muted); background: rgba(12,17,23,.94);
  border-bottom: 1px solid #1b232d; backdrop-filter: blur(14px);
}
.wordmark { color: #a3aabc; font-weight: 500; font-size: 13px; letter-spacing: .13em; }
.wordmark::before {
  content: ""; display: inline-block; width: 9px; height: 25px; margin-right: 12px; vertical-align: middle;
  background: var(--archive-pink); box-shadow: 0 0 13px var(--archive-pink);
}
.wordmark span { margin-left: 12px; padding: 6px 9px; border: 1px solid var(--archive-border); color: var(--archive-muted); }
nav a { color: var(--archive-muted); padding: 23px 0 18px; }
nav a:first-child { color: var(--archive-cyan); border-bottom: 2px solid var(--archive-cyan); text-shadow: 0 0 8px rgba(0,245,212,.45); }
.status { color: var(--archive-muted); }
.status i { background: var(--archive-cyan); box-shadow: 0 0 10px var(--archive-cyan); }

.hero {
  min-height: 100vh; color: var(--archive-text); background:
    radial-gradient(circle at 50% 46%, rgba(32,39,50,.7), transparent 39%),
    radial-gradient(circle at 30% 48%, rgba(0,245,212,.06), transparent 24%),
    var(--archive-bg);
}
.hero::before {
  inset: 0; height: auto; opacity: .06; transform: none; mask-image: none;
  background: repeating-linear-gradient(90deg, transparent 0 99px, rgba(130,145,165,.2) 100px);
}
.hero::after { display: none; }
.perspective-lines { display: none; }
.hero-copy { max-width: 850px; margin: auto; padding: 25vh 20px 10vh; text-align: center; }
.hero .eyebrow { color: #303847; }
.hero h1 {
  max-width: none; margin: 45px 0 30px; color: #818899; font-size: clamp(48px,7vw,94px);
  line-height: 1.18; letter-spacing: .15em; text-shadow: 0 0 20px rgba(100,110,130,.08);
}
.hero h1 span { font-weight: 300; }
.hero h1 em {
  color: var(--archive-pink); font-family: var(--mono); font-weight: 500;
  text-shadow: 0 0 7px var(--archive-pink), 0 0 22px rgba(255,0,110,.65);
}
.intro { max-width: 660px; margin: 0 auto 28px; color: #464e5d; font-size: 12px; line-height: 2; }
.intro::before { content: "// "; color: var(--archive-muted); }
.hero-tech { justify-content: center; max-width: 700px; margin: 0 auto 35px; }
.hero-tech span {
  color: #687183; background: #141923; border-color: #252d38; padding: 9px 14px;
}
.hero-tech span:nth-child(2), .hero-tech span:nth-child(4) { color: var(--archive-cyan); border-color: rgba(0,245,212,.25); }
.text-link { color: var(--archive-cyan); border-color: rgba(0,245,212,.38); }
.portrait {
  width: 96px; right: 3vw; bottom: 3vw; opacity: .68;
  border-color: rgba(0,245,212,.22);
  background: #0a1119;
  box-shadow: 0 0 0 1px rgba(255,0,110,.08), 0 0 28px rgba(0,245,212,.08);
  filter: none;
}
.portrait img {
  filter: saturate(.62) brightness(.58) contrast(1.18) hue-rotate(12deg);
  mix-blend-mode: screen;
}
.portrait::after {
  background:
    linear-gradient(145deg, rgba(0,245,212,.12), transparent 45%, rgba(255,0,110,.1)),
    linear-gradient(180deg, transparent 45%, rgba(9,13,18,.55));
  mix-blend-mode: color;
}
.light-strip { display: none; }
.hero-index { color: rgba(255,0,110,.06); font-size: 120px; }

.statement, .collaboration, footer {
  min-height: auto; margin: 0; padding: 110px 9vw; color: var(--archive-text);
  background: rgba(13,18,25,.75); border-top: 1px solid #1d252f;
}
.statement::before, .collaboration::after, .footer-glow { display: none; }
.statement > p {
  max-width: 850px; margin: 75px auto; color: #747d8e; font-family: var(--mono); font-size: clamp(25px,3vw,42px);
}
.statement > p span { color: var(--archive-cyan); text-shadow: 0 0 8px rgba(0,245,212,.3); }
.statement-meta { padding-top: 22px; border-top: 1px solid var(--archive-border); color: var(--archive-muted); }
.section-no, .eyebrow { color: var(--archive-muted); }

.projects {
  padding: 110px 6vw 150px; color: var(--archive-text); background:
    radial-gradient(circle at 22% 36%, rgba(0,245,212,.045), transparent 22%),
    radial-gradient(circle at 65% 65%, rgba(255,0,110,.025), transparent 20%),
    var(--archive-bg);
}
.section-heading { max-width: 1180px; margin-bottom: 75px; }
.section-heading h2, .collaboration h2, footer h2 {
  color: var(--archive-pink); font: 500 clamp(36px,4vw,60px)/1.3 var(--mono); letter-spacing: .12em;
  text-shadow: 0 0 14px rgba(255,0,110,.55);
}
.section-heading p { color: var(--archive-muted); font-size: 11px; }
.section-heading p::before { content: "// "; }
.project-grid { max-width: 1320px; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 55px 38px; }
.project {
  position: relative; display: flex; flex-direction: column; background: linear-gradient(145deg, rgba(26,29,39,.94), rgba(16,21,29,.96));
  border: 1px solid var(--archive-border); transition: border-color .35s ease, box-shadow .35s ease;
}
.project::before {
  content: "RECORD_" counter(project, decimal-leading-zero); position: absolute; z-index: 5; top: 18px; left: 20px;
  color: #656e80; font: 400 8px var(--mono); letter-spacing: .18em;
}
.project::after {
  content: "MONITORING"; position: absolute; z-index: 5; right: 18px; top: 13px; padding: 7px 10px;
  color: var(--archive-cyan); border: 1px solid rgba(0,245,212,.45); background: rgba(0,245,212,.08);
  font: 400 7px var(--mono); letter-spacing: .12em;
}
.project-grid { counter-reset: project; }
.project { counter-increment: project; }
.project:nth-child(3n)::after { content: "ACTIVE"; color: var(--archive-pink); border-color: rgba(255,0,110,.5); background: rgba(255,0,110,.07); }
.project.status-progress::after { content: "IN PROGRESS"; color: var(--archive-amber); border-color: rgba(255,180,84,.5); background: rgba(255,180,84,.08); }
.project:hover { border-color: rgba(0,245,212,.48); box-shadow: 0 0 30px rgba(0,245,212,.06); }
.project-visual, .visual-vibe, .visual-robot, .visual-lanes, .visual-claude, .visual-echo, .visual-shop {
  flex-shrink: 0; height: 240px; min-height: 240px; margin: 55px 20px 0; border: 1px solid #252c35; background: #161a20;
}
.project-visual::before { top: 0; left: 0; right: 0; opacity: .25; background: var(--archive-cyan); }
.project-visual::after {
  content: "CAM_FEED / IMAGE_DATA"; position: absolute; z-index: 4; left: 12px; bottom: 10px;
  color: rgba(0,245,212,.55); font: 400 7px var(--mono); letter-spacing: .12em;
}
.project-visual img {
  width: 100%; height: 100%; object-fit: cover; opacity: 1;
  filter: none;
}
.visual-vibe img { width: 45%; height: auto; object-fit: contain; filter: none; }
.orb { display: none; }
.project-info {
  display: flex; flex-direction: column; flex: 1; min-height: 350px; padding: 30px 20px 25px; border: 0; background: transparent;
}
.project-info > div { padding-top: 10px; border-top: 1px solid #252d38; color: #545e70; }
.project-info h3 { color: #b6bdca; font: 500 20px/1.4 var(--mono); letter-spacing: .06em; }
.project-info p { color: #7c8697; font: 400 10px/2 var(--mono); }
.feature-list { border-color: #272f3a; }
.feature-list li { color: #778294; font: 400 10px/1.8 var(--mono); }
.feature-list li::before { color: var(--archive-cyan); }
.project-info b { margin-top: auto; padding-top: 16px; color: var(--archive-cyan); }

.collaboration h2, footer h2 { max-width: 900px; color: #8992a3; text-shadow: none; }
.collab-diagram { margin-top: 90px; }
.collab-diagram div { border-color: #2a323e; }
.collab-diagram > i { background: #303947; }
.collab-diagram b { color: var(--archive-cyan); }
.collab-diagram span, .collab-diagram small { color: var(--archive-muted); }
footer { min-height: 70vh; background: var(--archive-bg); }
footer > a, .contact-links a { color: var(--archive-cyan); border-color: var(--archive-cyan); }
.footer-bottom { border-color: #252d38; color: var(--archive-muted); }
.footer-bottom .icp-link {
  color: var(--archive-muted);
  transition: color .3s ease;
}
.footer-bottom .icp-link:hover { color: var(--archive-cyan); }

.reveal { transition: opacity .8s ease, transform .8s ease; }

@media (max-width: 900px) {
  .site-header { height: 58px; }
  .wordmark { font-size: 10px; }
  .wordmark::before { height: 20px; }
  .hero-copy { padding: 21vh 20px 80px; }
  .hero h1 { font-size: clamp(36px,12vw,54px); letter-spacing: .08em; }
  .portrait { display: block; width: 72px; right: 16px; bottom: 16px; opacity: .58; }
  .project-grid { grid-template-columns: 1fr; }
  .project-visual, .visual-vibe, .visual-robot, .visual-lanes, .visual-claude, .visual-echo, .visual-shop { height: 240px; min-height: 240px; }
  .statement, .collaboration, footer { padding: 85px 22px; }
  .statement > p { margin: 55px 0; }
}
