:root {
  color-scheme: dark;
  --ink: #f4f7f5;
  --muted: #a9b3b0;
  --bg: #07090b;
  --panel: #0d1113;
  --line: #293237;
  --acid: #c8ff38;
  --cyan: #5ce8d2;
  --max: 1440px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.55; }
a { color: inherit; text-underline-offset: .25em; }
.profile-nav { width: min(calc(100% - 3rem), var(--max)); min-height: 5.5rem; margin: 0 auto; display: flex; align-items: center; gap: 2rem; border-bottom: 1px solid var(--line); }
.monogram { display: flex; align-items: center; gap: .85rem; text-decoration: none; }
.monogram b { display: grid; place-items: center; width: 3rem; height: 3rem; background: var(--acid); color: #071000; font-size: 1.1rem; letter-spacing: -.06em; }
.monogram span, .profile-nav nav a { color: var(--muted); font: 750 .75rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; }
.profile-nav nav { margin-left: auto; display: flex; gap: 1.4rem; align-items: center; }
.profile-nav nav a:hover { color: var(--ink); }
.profile-nav .lang-switch { border: 1px solid var(--line); padding: .62rem .72rem; color: var(--acid); }
main, footer { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; }
.profile-hero { min-height: calc(100vh - 5.5rem); display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; padding: clamp(3.5rem, 8vw, 8rem) 0; }
.signal { margin: 0 0 1rem; color: var(--acid); font: 800 .75rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .15em; text-transform: uppercase; }
h1 { max-width: 930px; margin: 0; font-size: clamp(3.45rem, 7.6vw, 8.25rem); line-height: .88; letter-spacing: -.075em; }
h1 em { color: var(--acid); font-style: normal; }
.hero-intro { max-width: 780px; margin: 2rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.35rem); }
.hero-actions, .contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.hero-actions a, .contact-links a { font-weight: 800; }
.primary { display: inline-block; padding: .9rem 1.15rem; background: var(--acid); color: #071000; text-decoration: none; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.hero-stats div { padding: 1.2rem .85rem .3rem 0; border-right: 1px solid var(--line); }
.hero-stats div + div { padding-left: 1.15rem; }
.hero-stats strong { display: block; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.06em; }
.hero-stats span { display: block; color: var(--muted); font: .72rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; }
.portrait-wrap { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.portrait-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line); background: #11181a; }
.portrait-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgb(7 9 11 / .8)); pointer-events: none; }
.portrait-frame img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; filter: saturate(.9) contrast(1.04); }
.availability { position: absolute; z-index: 2; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; display: flex; gap: .7rem; align-items: center; padding: .85rem 1rem; border: 1px solid rgb(255 255 255 / .18); background: rgb(7 9 11 / .75); backdrop-filter: blur(12px); font: 700 .75rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; }
.availability i { width: .65rem; height: .65rem; border-radius: 50%; background: var(--acid); box-shadow: 0 0 1rem var(--acid); }
.portrait-code { display: flex; justify-content: space-between; margin: .8rem 0 0; color: var(--muted); font: .7rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; }
.portrait-code span { color: var(--acid); }
.manifesto, .trajectory, .work, .method, .contact { border-top: 1px solid var(--line); padding: clamp(4rem, 9vw, 8rem) 0; }
.manifesto { display: grid; grid-template-columns: minmax(190px, .32fr) 1fr; gap: 2rem; }
h2 { margin: 0; max-width: 1050px; font-size: clamp(2.6rem, 6.6vw, 6.5rem); line-height: .96; letter-spacing: -.065em; }
.manifesto > div > p { max-width: 860px; color: var(--muted); font-size: 1.2rem; }
.trajectory { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding-top: 0; }
.trajectory article { min-height: 320px; padding: 2rem; border-right: 1px solid var(--line); background: linear-gradient(145deg, #0d1113, #080b0c); }
.trajectory article:first-child { border-left: 1px solid var(--line); }
.trajectory article > span, .work-card > span { color: var(--cyan); font: 750 .7rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; }
.trajectory h3 { margin: 4.5rem 0 1rem; font-size: 1.65rem; }
.trajectory p, .work-card p, .method li span, .contact > div > p { color: var(--muted); }
.work header, .method header { display: grid; grid-template-columns: .32fr 1fr; gap: 2rem; margin-bottom: 4rem; }
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.work-card { grid-column: span 6; position: relative; min-height: 340px; padding: 2rem; border: 1px solid var(--line); background: #0c1012; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.work-card:hover { transform: translateY(-4px); border-color: var(--acid); }
.work-card.flagship { grid-column: span 7; background: radial-gradient(circle at 90% 10%, rgb(200 255 56 / .18), transparent 35%), #0d1113; }
.work-card.flagship + .work-card { grid-column: span 5; }
.work-card h3 { margin: 5rem 0 1rem; max-width: 620px; font-size: clamp(2rem, 4vw, 4.2rem); line-height: .95; letter-spacing: -.055em; }
.work-card b { position: absolute; left: 2rem; bottom: 1.8rem; color: var(--acid); }
.method ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.method li { display: grid; grid-template-columns: .35fr 1fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.method li b { color: var(--acid); font: 800 .85rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; }
.method li span { max-width: 900px; font-size: 1.25rem; }
.contact { display: grid; grid-template-columns: 1fr 260px; align-items: end; gap: 4rem; }
.contact > div > p { max-width: 700px; font-size: 1.2rem; }
.qr-card { justify-self: end; padding: 1rem; background: #f4f7f5; color: #07090b; }
.qr-card img { display: block; width: 210px; height: 210px; }
.qr-card span { display: block; margin-top: .6rem; text-align: center; font: 800 .72rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
footer { display: grid; grid-template-columns: .6fr 1.4fr; gap: 2rem; padding: 2rem 0 3.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
footer span:last-child { text-align: right; }
@media (max-width: 920px) {
  .profile-nav { width: min(calc(100% - 2rem), var(--max)); }
  .profile-nav nav a:not(.lang-switch) { display: none; }
  main, footer { width: min(calc(100% - 2rem), var(--max)); }
  .profile-hero { grid-template-columns: 1fr; }
  .portrait-wrap { max-width: 620px; }
  .manifesto, .work header, .method header { grid-template-columns: 1fr; }
  .trajectory { grid-template-columns: 1fr; }
  .trajectory article, .trajectory article:first-child { border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .work-card, .work-card.flagship, .work-card.flagship + .work-card { grid-column: 1 / -1; }
  .contact { grid-template-columns: 1fr; }
  .qr-card { justify-self: start; }
}
@media (max-width: 560px) {
  .profile-nav { min-height: 4.8rem; }
  .monogram span { display: none; }
  h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div, .hero-stats div + div { padding: 1rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .trajectory article, .work-card { padding: 1.4rem; }
  .work-card b { left: 1.4rem; }
  .method li { grid-template-columns: 1fr; gap: .7rem; }
  footer { grid-template-columns: 1fr; }
  footer span:last-child { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .work-card { transition: none; } }
