/* =========================================================
   Naveen Boda — Portfolio
   Dark, technical, editorial. Pure HTML + CSS (+ tiny JS).
   ========================================================= */

:root {
  --bg: #050505;
  --bg-2: #0b0b0b;
  --panel: #0f0f10;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f2f2f0;
  --muted: #8b8b88;
  --dim: #5a5a58;
  --accent: #d4ff3a;          /* signal lime */
  --accent-ink: #0a0a0a;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1400px;
  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p a, .section-sub a { color: var(--accent); border-bottom: 1px solid rgba(212,255,58,.35); }
p a:hover { border-color: var(--accent); }
::selection { background: var(--accent); color: var(--accent-ink); }

.mono { font-family: var(--mono); letter-spacing: .04em; }
.dim { color: var(--dim); }

/* film grain */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .045;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0) } 20% { transform: translate(-5%,3%) }
  40% { transform: translate(3%,-4%) } 60% { transform: translate(-2%,5%) } 80% { transform: translate(4%,-2%) }
}

.dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); margin-right: 8px; vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(212,255,58,.6); animation: ping 2s infinite;
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(212,255,58,.55) } 80%,100% { box-shadow: 0 0 0 10px rgba(212,255,58,0) } }

/* ================= HEADER ================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 32px;
  padding: 18px var(--gutter);
  background: linear-gradient(to bottom, rgba(5,5,5,.92), rgba(5,5,5,.55));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-color: var(--line); }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .02em; }
.logo-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px;
  background: var(--accent); color: var(--accent-ink); font-family: var(--mono); font-size: 14px; font-weight: 700;
}
.logo-text { font-size: 15px; }
.status { display: flex; flex-direction: column; line-height: 1.3; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.status-label { color: var(--dim); }
.status-value { color: var(--text); }
.header-contact { display: flex; flex-direction: column; align-items: flex-end; font-family: var(--mono); font-size: 12px; line-height: 1.45; }
.header-contact a:hover { color: var(--accent); }
.clock { color: var(--dim); font-size: 11px; }

.menu-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2);
  background: transparent; cursor: pointer; display: grid; place-content: center; gap: 6px; padding: 0;
  transition: border-color .2s, background .2s;
}
.menu-btn:hover { border-color: var(--accent); }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40; background: rgba(5,5,5,.97);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 60px) 40px); transition: clip-path .7s var(--ease);
}
.menu.open { clip-path: circle(150% at calc(100% - 60px) 40px); }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li a {
  display: flex; align-items: baseline; gap: 20px; padding: 6px 0;
  font-size: clamp(36px, 7vw, 84px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05;
  color: var(--dim); transition: color .2s, transform .3s var(--ease);
}
.menu li a span { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--accent); letter-spacing: .05em; }
.menu li a:hover { color: var(--text); transform: translateX(10px); }
.menu-foot { display: flex; gap: 28px; margin-top: 48px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.menu-foot a:hover { color: var(--accent); }

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 999px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--line-2); transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { background: #e4ff7a; }
.btn-ghost:hover { border-color: var(--text); background: rgba(255,255,255,.04); }
.btn-lg { padding: 18px 28px; font-size: 13.5px; }

/* ================= HERO ================= */
.hero {
  position: relative; min-height: 100svh; padding: 130px var(--gutter) 48px;
  display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
  max-width: var(--maxw); margin: 0 auto;
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 35%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 35%, #000 20%, transparent 75%);
}
.hero-glow {
  position: absolute; z-index: -1; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
  right: -10vw; top: -12vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,255,58,.14), rgba(212,255,58,0) 60%);
  filter: blur(20px); animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-6vw, 8vw) scale(1.1); } }

.hero-meta { display: flex; gap: 28px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); margin-bottom: 28px; }
.hero-title {
  margin: 0; font-weight: 900; text-transform: uppercase;
  font-size: clamp(56px, 13.2vw, 210px); line-height: .86; letter-spacing: -.055em;
}
.hero-title .line { display: block; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-title .outline { color: transparent; -webkit-text-stroke: 1.5px var(--text); }

.hero-bottom {
  display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 32px; align-items: end;
  margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line);
}
.hero-lead { margin: 0; max-width: 560px; color: var(--muted); font-size: 17px; }
.hero-lead strong { color: var(--text); font-weight: 600; }
.hero-role { font-size: 15px; color: var(--text); }
.hero-role .prompt { color: var(--accent); }
.caret { color: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0 } }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.hero-stats > div { padding: 20px 22px; border-right: 1px solid var(--line); position: relative; }
.hero-stats > div:last-child { border-right: 0; }
.hero-stats b { font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.hero-stats sup { color: var(--accent); font-size: 22px; font-weight: 700; margin-left: 2px; }
.hero-stats span { display: block; margin-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }

/* ================= MARQUEE ================= */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: var(--bg-2); }
.marquee-track { display: flex; gap: 36px; width: max-content; animation: marquee 38s linear infinite; font-size: 14px; color: var(--muted); white-space: nowrap; }
.marquee-track i { color: var(--accent); font-style: normal; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================= SECTIONS ================= */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(80px, 11vw, 150px) var(--gutter) 0; }
.section-head { margin-bottom: 56px; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.tag { display: inline-block; font-size: 12px; color: var(--accent); margin-bottom: 20px; }
.section h2, .cta-title {
  margin: 0; font-size: clamp(40px, 6.4vw, 92px); font-weight: 800; letter-spacing: -.045em; line-height: .95;
}
.section-sub { color: var(--muted); max-width: 460px; margin: 24px 0 0; font-size: 17px; }
.section-head.split .section-sub { margin: 0; }

/* ================= CAPABILITIES ================= */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.cap {
  position: relative; padding: 34px 28px 34px 0; border-right: 1px solid var(--line);
  transition: background .35s;
}
.cap + .cap { padding-left: 28px; }
.cap:last-child { border-right: 0; }
.cap::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--accent);
  transition: width .5s var(--ease);
}
.cap:hover::before { width: 100%; }
.cap-num { font-size: 12px; color: var(--dim); }
.cap h3 { font-size: 24px; letter-spacing: -.02em; margin: 60px 0 12px; line-height: 1.15; }
.cap p { color: var(--muted); margin: 0 0 22px; font-size: 15px; }
.cap ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.cap li, .chips span {
  font-size: 11px; padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted);
}

/* ================= WORK ================= */
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button {
  font: inherit; font-size: 11.5px; letter-spacing: .06em; cursor: pointer;
  background: transparent; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 16px;
  transition: all .2s;
}
.filters button:hover { color: var(--text); border-color: var(--text); }
.filters button.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.hint { font-size: 12px; color: var(--dim); margin: -30px 0 28px; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.work {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  cursor: pointer; display: flex; flex-direction: column; outline: none;
  transition: border-color .3s, transform .45s var(--ease), opacity .4s;
}
.work:hover, .work:focus-visible { border-color: var(--line-2); transform: translateY(-4px); }
.work.hide { display: none; }
.work-visual {
  aspect-ratio: 16 / 10; position: relative; overflow: hidden; display: grid; place-items: center;
  border-bottom: 1px solid var(--line);
}
.work-visual::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px; opacity: .5;
}
.v-hr     { background: radial-gradient(circle at 20% 20%, #1e2a0a, #0b0b0b 70%); }
.v-react  { background: radial-gradient(circle at 80% 20%, #0a2230, #0b0b0b 70%); }
.v-sap    { background: radial-gradient(circle at 30% 80%, #0b1a33, #0b0b0b 70%); }
.v-health { background: radial-gradient(circle at 70% 70%, #2a0f12, #0b0b0b 70%); }
.v-fin    { background: radial-gradient(circle at 50% 10%, #2a220a, #0b0b0b 70%); }
.v-ai     { background: radial-gradient(circle at 20% 70%, #1c0f2e, #0b0b0b 70%); }

.mock {
  position: relative; z-index: 1; width: 76%; border-radius: 10px; background: rgba(18,18,20,.92);
  border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
  transform: perspective(900px) rotateX(8deg) rotateY(-10deg) translateY(6px);
  transition: transform .6s var(--ease);
}
.work:hover .mock { transform: perspective(900px) rotateX(0) rotateY(0) translateY(0) scale(1.04); }
.mock-bar { display: flex; align-items: center; gap: 5px; padding: 9px 11px; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 7px; height: 7px; border-radius: 50%; background: #333; }
.mock-bar span { margin-left: 8px; font-family: var(--mono); font-size: 9.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-body { padding: 14px; display: grid; gap: 9px; }
.mock-row { height: 7px; border-radius: 4px; background: rgba(255,255,255,.1); }
.mock-row.accent { background: var(--accent); opacity: .85; }
.w80 { width: 80%; } .w60 { width: 60%; } .w40 { width: 40%; }
.mock-cols, .mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.mock-cards { grid-template-columns: repeat(4, 1fr); }
.mock-cols div { height: 34px; border-radius: 5px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.mock-cards div { aspect-ratio: 3/4; border-radius: 5px; background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); }
.mock-chart { display: flex; align-items: flex-end; gap: 7px; height: 56px; }
.mock-chart b { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: rgba(255,255,255,.14); }
.mock-chart b:nth-child(4) { background: var(--accent); }
.mock-pulse svg { width: 100%; height: 40px; }
.mock-pulse polyline { fill: none; stroke: #ff5c6c; stroke-width: 2; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.6s linear infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.mock-big { font-size: 22px; font-weight: 700; color: var(--text); }
.mock-big small { font-size: 11px; color: var(--dim); margin-left: 4px; }
.mock-chat { display: grid; gap: 6px; }
.mock-chat span { height: 16px; border-radius: 8px; width: 70%; background: rgba(255,255,255,.08); }
.mock-chat .me { justify-self: end; width: 50%; background: rgba(212,255,58,.3); }
.mock-chat .short { width: 30%; }

.work-info { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.work-meta { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--dim); margin-bottom: 14px; }
.work-cat { font-size: 11px; color: var(--accent); }
.work h3 { font-size: 24px; letter-spacing: -.025em; margin: 6px 0 10px; line-height: 1.15; }
.work p { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; }
.work-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.work-more ul { margin: 0; padding: 0 0 0 16px; color: var(--text); font-size: 14px; min-height: 0; }
.work-more li { margin-bottom: 4px; }
.work-more li::marker { color: var(--accent); }
.work.open .work-more { grid-template-rows: 1fr; }
.work.open .work-more ul { padding-bottom: 14px; }
.work-more-inner { overflow: hidden; min-height: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.work.open .work-more-inner { padding-bottom: 16px; }
.work-cta { margin-top: auto; font-size: 11px; color: var(--text); padding-top: 12px; border-top: 1px solid var(--line); }
.work:hover .work-cta { color: var(--accent); }

/* ================= TIMELINE ================= */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li {
  display: grid; grid-template-columns: 220px 1fr auto; gap: 32px; align-items: start;
  padding: 30px 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .35s var(--ease);
}
.timeline li::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(212,255,58,.05), transparent 60%); opacity: 0; transition: opacity .35s;
}
.timeline li:hover { padding-left: 16px; }
.timeline li:hover::before { opacity: 1; }
.t-date { font-size: 12px; color: var(--muted); padding-top: 6px; }
.t-body h3 { margin: 0 0 4px; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -.02em; line-height: 1.2; }
.t-co { font-size: 12px; color: var(--accent); }
.t-body p { color: var(--muted); margin: 12px 0 0; max-width: 720px; font-size: 15px; }
.t-badge { font-size: 11px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.t-badge.live { color: var(--text); border-color: rgba(212,255,58,.4); }

/* ================= LAB ================= */
.lab-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lab {
  position: relative; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), var(--bg)); overflow: hidden; min-height: 360px;
  display: flex; flex-direction: column; transition: border-color .3s, transform .45s var(--ease);
}
.lab::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -80px; bottom: -80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,255,58,.18), transparent 70%); opacity: 0; transition: opacity .4s;
}
.lab:hover { border-color: rgba(212,255,58,.35); transform: translateY(-4px); }
.lab:hover::after { opacity: 1; }
.lab-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--dim); }
.pill { color: var(--accent); border: 1px solid rgba(212,255,58,.35); padding: 4px 9px; border-radius: 999px; font-size: 10px; }
.lab h3 { margin: 70px 0 4px; font-size: 28px; font-weight: 900; letter-spacing: -.03em; }
.lab-kicker { color: var(--text) !important; font-weight: 500; margin: 0 0 12px !important; }
.lab p { color: var(--muted); font-size: 14.5px; margin: 0 0 20px; }
.lab .chips { margin-top: auto; }

/* ================= GITHUB ================= */
.gh-stats { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.gh-stats b { display: block; font-family: var(--font); font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.gh-stats span { font-size: 10.5px; color: var(--muted); }
.gh-stats .btn span { color: inherit; font-size: inherit; }
.repo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.repo {
  display: flex; flex-direction: column; padding: 22px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel); transition: border-color .3s, transform .45s var(--ease), background .3s;
}
.repo:hover { border-color: rgba(212,255,58,.35); transform: translateY(-4px); background: #121212; }
.repo-top { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--accent); gap: 8px; }
.repo-top > span:first-child { display: inline-flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.repo-top svg { width: 14px; height: 14px; fill: var(--muted); flex: none; }
.repo-arrow { color: var(--dim); transition: color .2s, transform .3s var(--ease); }
.repo:hover .repo-arrow { color: var(--accent); transform: translate(2px,-2px); }
.repo h3 { margin: 28px 0 8px; font-size: 20px; letter-spacing: -.02em; line-height: 1.2; }
.repo p { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.repo .chips { margin-bottom: 18px; }
.repo-foot { margin-top: auto; display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.repo-foot i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; vertical-align: middle; }

/* ================= SPECS ================= */
.specs { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.spec { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.spec:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--line); }
.spec:nth-child(even) { padding-left: 32px; }
.spec > span { font-size: 11.5px; color: var(--accent); padding-top: 3px; }
.spec p { margin: 0; color: var(--text); font-size: 15.5px; }

/* ================= BIO ================= */
.bio { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.bio-photo { position: sticky; top: 110px; }
.photo-frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(circle at 30% 20%, #1c230b, #0b0b0b 70%); border: 1px solid var(--line);
}
.photo-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom;
  padding: 10% 6% 0; filter: grayscale(1) contrast(1.05); transition: filter .6s, transform .8s var(--ease); z-index: 1;
}
.photo-frame:hover img { filter: grayscale(0); transform: scale(1.02); }
.photo-frame img ~ .photo-fallback { display: none; }
.photo-frame::before {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -10%; height: 70%; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, rgba(212,255,58,.22), transparent 65%);
}
.photo-fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: clamp(90px, 14vw, 200px); font-weight: 900; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(212,255,58,.6);
}
.corner { position: absolute; width: 18px; height: 18px; border-color: var(--accent); border-style: solid; z-index: 2; }
.corner.tl { top: 12px; left: 12px; border-width: 1.5px 0 0 1.5px; }
.corner.tr { top: 12px; right: 12px; border-width: 1.5px 1.5px 0 0; }
.corner.bl { bottom: 12px; left: 12px; border-width: 0 0 1.5px 1.5px; }
.corner.br { bottom: 12px; right: 12px; border-width: 0 1.5px 1.5px 0; }
.photo-cap { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 14px; }
.bio-copy blockquote {
  margin: 34px 0 36px; font-size: clamp(28px, 3.4vw, 46px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
}
.bio-copy > p { color: var(--muted); font-size: 17px; margin: 0 0 20px; max-width: 640px; }
.bio-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 36px 0 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.bio-facts span { font-size: 11px; color: var(--accent); }
.bio-facts p { margin: 8px 0 0; font-size: 15px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { font-size: 12px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; transition: all .2s; }
.socials a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ================= CTA ================= */
.cta {
  max-width: var(--maxw); margin: clamp(90px, 12vw, 160px) auto 0; padding: clamp(60px, 9vw, 120px) var(--gutter);
  text-align: center; position: relative; border-top: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(212,255,58,.1), transparent 70%);
}
.cta-title { font-size: clamp(60px, 12vw, 190px) !important; text-transform: uppercase; line-height: .86 !important; letter-spacing: -.06em !important; }
.cta-title em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.cta > p { color: var(--muted); font-size: 18px; margin: 28px auto 36px; max-width: 520px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ================= FOOTER ================= */
.site-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 28px var(--gutter); border-top: 1px solid var(--line); font-size: 11px; color: var(--muted);
}
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a:hover { color: var(--accent); }
.site-footer .sys b { color: var(--text); font-weight: 500; }

/* ================= REVEAL ================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .cap-grid, .lab-grid, .repo-grid { grid-template-columns: repeat(2, 1fr); }
  .cap:nth-child(2) { border-right: 0; }
  .cap:nth-child(3) { padding-left: 0; }
  .cap:nth-child(n+3) { border-top: 1px solid var(--line); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-bottom { grid-template-columns: 1fr 1fr; }
  .hero-ctas { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 860px) {
  .site-header { grid-template-columns: auto 1fr auto; gap: 16px; }
  .header-contact { display: none; }
  .status { justify-self: end; }
  .specs { grid-template-columns: 1fr; }
  .spec:nth-child(odd), .spec:nth-child(even) { padding: 22px 0; border-right: 0; }
  .timeline li { grid-template-columns: 1fr; gap: 10px; }
  .t-badge { justify-self: start; }
  .bio { grid-template-columns: 1fr; }
  .bio-photo { position: static; max-width: 420px; }
}
@media (max-width: 640px) {
  .status-label { display: none; }
  .status-value { font-size: 10px; }
  .logo-text { display: none; }
  .hero { padding-top: 110px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 22px; }
  .hero-meta { gap: 14px; font-size: 10.5px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div:nth-child(2) { border-right: 0; }
  .hero-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cap-grid, .lab-grid, .work-grid, .repo-grid { grid-template-columns: 1fr; }
  .cap, .cap + .cap { padding: 28px 0; border-right: 0; border-top: 1px solid var(--line); }
  .cap:first-child { border-top: 0; }
  .cap h3 { margin-top: 28px; }
  .lab { min-height: 0; }
  .lab h3 { margin-top: 40px; }
  .spec { grid-template-columns: 1fr; gap: 8px; }
  .bio-facts { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .hint { margin-top: -36px; }
}
