:root { color-scheme: dark; --bg:#080c11; --panel:#111820; --line:rgba(180,197,218,.18); --text:#f4f7fa; --muted:#aeb8c5; --cyan:#58e1ff; --amber:#ffc84a; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--text); background:radial-gradient(900px 520px at 80% 0%,rgba(88,225,255,.09),transparent 58%),var(--bg); font-family:Inter,"Segoe UI",system-ui,sans-serif; }
a { color:inherit; }
.page-shell { width:min(1420px,calc(100% - 32px)); margin:0 auto; }
.topbar { min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:28px; border-bottom:1px solid rgba(113,165,190,.16); }
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; }
.brand-mark { display:grid; width:42px; height:42px; place-items:center; border:2px solid var(--cyan); border-radius:50%; color:var(--cyan); font-weight:900; }
.brand span:last-child { display:grid; gap:2px; }.brand strong { letter-spacing:.08em; }.brand small { color:var(--muted); }
.topbar nav { display:flex; flex-wrap:wrap; }.topbar nav a { position:relative; padding:25px 13px 22px; color:#c1ced6; text-decoration:none; }.topbar nav a:hover,.topbar nav a:focus-visible,.topbar nav a[aria-current="page"] { color:var(--cyan); }.topbar nav a[aria-current="page"]::after { position:absolute; right:13px; bottom:12px; left:13px; height:2px; content:""; background:var(--cyan); }
.hero { position:relative; height:min(384px, 32vw); min-height:0; margin-top:18px; overflow:hidden; display:flex; align-items:flex-end; border:1px solid var(--line); border-radius:28px; background:#0c1521; }
.hero img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }.hero-shade { position:absolute; inset:0; background:linear-gradient(90deg,rgba(4,8,13,.95),rgba(4,8,13,.7) 42%,rgba(4,8,13,.1) 78%),linear-gradient(0deg,rgba(4,8,13,.86),transparent 55%); }
.hero-copy { position:relative; z-index:1; width:min(680px,90%); padding:clamp(32px,6vw,84px); }.eyebrow { margin:0 0 14px; color:var(--cyan); font-size:.78rem; font-weight:800; letter-spacing:.18em; }
h1 { margin:0; font-size:clamp(2.8rem,6vw,5.4rem); line-height:.9; letter-spacing:-.055em; }.hero-copy>p:not(.eyebrow) { margin:24px 0 30px; color:#d2d9e2; font-size:clamp(1rem,2vw,1.25rem); line-height:1.65; }.hero-action { display:inline-flex; gap:10px; padding:13px 17px; border:1px solid rgba(88,225,255,.34); border-radius:999px; background:rgba(8,18,26,.68); font-weight:750; text-decoration:none; }
.projects-section { padding:clamp(56px,8vw,100px) clamp(4px,4vw,48px); }.section-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:28px; }h2 { margin:0; font-size:clamp(2rem,5vw,4rem); letter-spacing:-.045em; }.updated { margin:0 0 8px; color:var(--muted); font-size:.9rem; }.project-list { display:grid; gap:12px; }
.project-card { display:grid; grid-template-columns:58px minmax(0,1fr) auto; align-items:center; gap:22px; padding:clamp(20px,3vw,30px); border:1px solid var(--line); border-radius:20px; background:linear-gradient(135deg,rgba(24,33,43,.92),rgba(13,19,26,.96)); transition:transform 180ms ease,border-color 180ms ease; }.project-card:hover { transform:translateY(-2px); border-color:rgba(88,225,255,.38); }.project-number { color:rgba(174,184,197,.55); font-weight:800; }.project-title-row { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }h3 { margin:0; font-size:clamp(1.25rem,3vw,1.65rem); }.project-content>p { max-width:760px; margin:10px 0 14px; color:var(--muted); line-height:1.6; }
.status { padding:5px 9px; border:1px solid rgba(107,229,188,.28); border-radius:999px; color:#9af0d2; background:rgba(107,229,188,.07); font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.07em; }.status-experiment,.status-exploring,.status-in-development { color:#ffd989; border-color:rgba(255,200,74,.28); background:rgba(255,200,74,.07); }.tags { display:flex; flex-wrap:wrap; gap:7px; margin:0; padding:0; list-style:none; }.tags li { padding:5px 9px; border-radius:8px; background:rgba(255,255,255,.055); color:#cbd3dd; font-size:.76rem; }.project-link { white-space:nowrap; padding:11px 14px; border-radius:12px; color:var(--cyan); font-weight:750; text-decoration:none; }.project-link:hover,.project-link:focus-visible { background:rgba(88,225,255,.08); }
.load-error { padding:24px; border:1px solid rgba(255,128,109,.35); border-radius:16px; }.page-shell>footer { display:flex; justify-content:space-between; gap:20px; padding:22px 8px 12px; color:var(--muted); }.page-shell>footer p { margin:0; }.page-shell>footer a { color:var(--cyan); }
.theme-toggle{position:fixed;z-index:20;right:14px;bottom:14px;display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;color:var(--muted);background:rgba(10,15,21,.9);font-size:.72rem;backdrop-filter:blur(12px)}.theme-toggle select{border:0;color:var(--text);background:transparent;font:inherit;font-weight:750}
html[data-theme="light"] body { color:#111827; background:#eef3f7; }html[data-theme="light"] .topbar,html[data-theme="light"] .project-card { border-color:rgba(19,38,58,.18); background:#fff; }html[data-theme="light"] h2,html[data-theme="light"] h3 { color:#111827; }html[data-theme="light"] .project-content>p,html[data-theme="light"] .updated,html[data-theme="light"] .page-shell>footer { color:#536273; }
html[data-theme="light"] .theme-toggle{border-color:rgba(19,38,58,.18);color:#536273;background:#fff}html[data-theme="light"] .theme-toggle select{color:#111827}
@media(max-width:760px){.page-shell{width:min(100% - 18px,1420px);margin-top:9px}.topbar{align-items:flex-start;border-radius:18px}.brand small{display:none}.topbar nav a{padding:8px 9px}.hero{min-height:570px;border-radius:20px}.hero-shade{background:linear-gradient(0deg,rgba(4,8,13,.96) 5%,rgba(4,8,13,.5) 68%,rgba(4,8,13,.15))}.hero-copy{width:100%;padding:30px 24px}.section-heading{align-items:flex-start;flex-direction:column}.project-card{grid-template-columns:34px minmax(0,1fr);gap:12px}.project-link{grid-column:2;justify-self:start;padding-left:0}.page-shell>footer{flex-direction:column}}
@media(max-width:520px){.topbar{flex-direction:column}.topbar nav{width:100%;justify-content:space-between}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.project-card{transition:none}}

/* Keep the compact hero content fully visible at desktop widths. */
.hero-copy { padding:clamp(26px,4vw,48px); }
h1 { font-size:clamp(2.4rem,4.2vw,3.8rem); }
