@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url("../assets/fonts/archivo-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url("../assets/fonts/archivo-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url("../assets/fonts/archivo-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../assets/fonts/jbmono-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../assets/fonts/jbmono-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../assets/fonts/jbmono-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../assets/fonts/jbmono-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../assets/fonts/jbmono-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../assets/fonts/jbmono-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #1b1d27;
  --bg-deep: #15161d;
  --bg-card: #1f2230;
  --bg-tile: #232634;
  --bg-avatar: #2a2d3c;
  --text: #f4f2ee;
  --text-soft: #c4c6d0;
  --text-muted: #a3a6b4;
  --text-faint: #7d8090;
  --orange: #f26522;
  --amber: #fbb03b;
  --silver: #c9ccd3;
  --status-archived: #8b8e9b;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .12);
  --line-faint: rgba(255, 255, 255, .06);
  --section-tint: rgba(21, 22, 29, .55);

  --font-sans: 'Archivo', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1240px;
  --nav-offset: 70px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--amber); }

button { font: inherit; color: inherit; }

img { max-width: 100%; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

h1, h2, p { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--orange); color: var(--bg-deep); font-weight: 700;
  padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--bg-deep); }

.page { min-height: 100vh; overflow-x: clip; position: relative; }

.leaves { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.leaves__side { position: absolute; inset: 0; }
.leaves__side--right { transform: scaleX(-1); }
.frond {
  position: absolute; left: -40px; overflow: visible; transform-origin: 10px 50%;
  opacity: .14; transform: translateY(-50%);
}

.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(27, 29, 39, .86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.nav__bar {
  max-width: var(--container); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 16px; flex-wrap: nowrap;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); flex: none; }
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand__name { font-weight: 850; font-stretch: 110%; font-size: 18px; letter-spacing: .02em; white-space: nowrap; }
.brand__name span { color: var(--orange); }

.nav__links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; white-space: nowrap; }
.nav__links a { color: var(--text-muted); }
.nav__links a:hover { color: var(--text); }

.lang {
  display: flex; flex: none; margin-left: 0;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 3px;
  font-family: var(--font-mono); font-size: 12px;
}
.lang button {
  border: 0; cursor: pointer; padding: 5px 10px; border-radius: 999px;
  background: transparent; color: var(--text-muted);
}
.lang button[aria-pressed="true"] { background: var(--orange); color: var(--bg-deep); }

.nav__toggle {
  display: none; flex: none; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: var(--text);
  cursor: pointer; font-size: 18px; place-items: center;
}

.nav__menu {
  display: flex; flex-direction: column; padding: 4px 20px 16px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.nav__menu[hidden] { display: none; }
.nav__menu a { color: var(--text); padding: 14px 0; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.nav__menu a:last-child { border-bottom: 0; }

@media (max-width: 759px) {
  .nav__links { display: none; }
  .lang { margin-left: auto; }
  .nav__toggle { display: grid; }
}
@media (min-width: 760px) {
  .nav__menu { display: none !important; }
}

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { font-weight: 600; padding: 14px 22px; border-radius: 10px; font-size: 15px; }
.btn--primary { background: var(--orange); color: var(--bg-deep); font-weight: 700; }
.btn--primary:hover { background: var(--amber); color: var(--bg-deep); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .18); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); color: var(--text); }

.hero {
  max-width: var(--container); margin: 0 auto; padding: 72px 32px 56px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 48px; align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.eyebrow { font-family: var(--font-mono); font-size: 13px; color: var(--amber); letter-spacing: .04em; }
.hero h1 {
  font-weight: 850; font-stretch: 105%; font-size: clamp(44px, 6.4vw, 84px);
  line-height: .96; letter-spacing: -.025em; text-wrap: balance;
}
.hero h1 span:last-child { color: var(--orange); }
.hero__sub { font-size: 19px; line-height: 1.55; color: var(--text-soft); max-width: 520px; text-wrap: pretty; }
.hero__art { position: relative; display: flex; justify-content: center; }
.hero__glow {
  position: absolute; inset: 8% 6%; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 101, 34, .22), rgba(242, 101, 34, 0) 68%);
}
.hero__art img { position: relative; width: min(100%, 500px); height: auto; }

.livery {
  height: 10px;
  background: linear-gradient(100deg, #c9ccd3 0 30%, #f26522 30% 48%, #fbb03b 48% 52%, #15161d 52% 70%, #c9ccd3 70%);
}

.section-label { font-family: var(--font-mono); font-size: 13px; color: var(--orange); }
.section-title {
  font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.02em;
}
#about, #members, #projects, #stack { scroll-margin-top: var(--nav-offset); }

#about {
  max-width: var(--container); margin: 0 auto; padding: 96px 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px;
}
.about__intro { display: flex; flex-direction: column; gap: 20px; }
.about__intro .section-title { line-height: 1.1; text-wrap: balance; }
.find { display: flex; flex-direction: column; }
.find__title {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-muted);
  padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.find__list { list-style: none; margin: 0; padding: 0; }
.find__item {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.find__n { font-family: var(--font-mono); font-size: 13px; color: var(--amber); padding-top: 4px; }
.find__body { display: flex; flex-direction: column; gap: 6px; }
.find__body strong { font-weight: 700; font-size: 20px; }
.find__body span { font-size: 16px; line-height: 1.5; color: var(--text-muted); text-wrap: pretty; }

#members {
  background: var(--section-tint);
  border-top: 1px solid var(--line-faint); border-bottom: 1px solid var(--line-faint);
}
.members__inner {
  max-width: var(--container); margin: 0 auto; padding: 88px 32px;
  display: flex; flex-direction: column; gap: 40px;
}
.heading-block { display: flex; flex-direction: column; gap: 14px; }
.members__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px;
}
.member {
  text-align: left; cursor: pointer; color: var(--text);
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px; padding: 24px;
  display: flex; flex-direction: column; gap: 20px;
  transition: border-color .2s, transform .2s;
}
.member:hover { border-color: var(--orange); transform: translateY(-2px); }
.member__head { display: flex; align-items: center; gap: 16px; }
.member__avatar {
  width: 64px; height: 64px; border-radius: 50%; background: var(--bg-avatar); border: 2px solid var(--member-color);
}
.member__id { display: flex; flex-direction: column; gap: 4px; }
.member__handle { font-weight: 700; font-size: 20px; }
.member__url { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.member__stats {
  display: flex; gap: 24px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--text-muted);
}
.member__stats b { color: var(--text); font-size: 18px; }
.member__more { margin-left: auto; color: var(--orange); }

#projects {
  max-width: var(--container); margin: 0 auto; padding: 96px 32px;
  display: flex; flex-direction: column; gap: 32px;
}
.projects__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.segmented { display: flex; border: 1px solid var(--line-strong); border-radius: 10px; padding: 3px; gap: 2px; }
.segmented button {
  border: 0; cursor: pointer; font: 500 14px var(--font-sans);
  padding: 8px 14px; border-radius: 7px; background: transparent; color: var(--text-soft);
}
.segmented button[aria-pressed="true"] { background: var(--orange); color: var(--bg-deep); }

.chips { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: 8px; }
.chip {
  cursor: pointer; font: 500 14px var(--font-sans);
  display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: var(--text);
}
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg-deep); border-color: var(--text); }
.chip img, .chip__all { width: 26px; height: 26px; border-radius: 50%; background: var(--bg-avatar); }
.chip__all { display: grid; place-items: center; font-size: 11px; color: var(--text); }
.chip__count { font-family: var(--font-mono); font-size: 11px; opacity: .7; }

.projects__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px;
}
.card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .2s;
}
.card:hover { border-color: rgba(242, 101, 34, .6); }
.card__shot {
  aspect-ratio: 16 / 9; position: relative; display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 10px, transparent 10px 20px), var(--bg-tile);
  border-bottom: 1px solid var(--line-faint);
}
.card__shot-label { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); }
.badge {
  position: absolute; top: 12px; font-family: var(--font-mono); font-size: 11px;
  padding: 4px 8px; border-radius: 6px;
}
.badge--type { left: 12px; font-weight: 600; color: var(--bg-deep); }
.badge--personal { background: var(--silver); }
.badge--joint { background: var(--orange); }
.badge--status {
  right: 12px; background: rgba(21, 22, 29, .85); color: var(--text);
  display: flex; align-items: center; gap: 6px;
}
.badge--status i { width: 7px; height: 7px; border-radius: 50%; background: var(--status-color); }
.status-prod { --status-color: var(--orange); }
.status-wip { --status-color: var(--amber); }
.status-archived { --status-color: var(--status-archived); }

.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__name { font-family: var(--font-mono); font-weight: 600; font-size: 16px; color: var(--text); }
.card__desc { font-size: 15px; line-height: 1.5; color: var(--text-muted); text-wrap: pretty; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.tags li {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-soft);
  border: 1px solid var(--line-strong); padding: 3px 8px; border-radius: 5px;
}
.people {
  list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, .07);
  display: flex; gap: 6px; flex-wrap: wrap;
}
.people li {
  display: flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 999px;
  background: var(--bg-deep); border: 1px solid var(--member-color); font-size: 12px; color: var(--text);
}
.people img { width: 20px; height: 20px; border-radius: 50%; background: var(--bg-avatar); }

.empty {
  padding: 48px; text-align: center; border: 1px dashed rgba(255, 255, 255, .15);
  border-radius: 16px; color: var(--text-muted);
}
.empty[hidden] { display: none; }

#stack { background: var(--section-tint); border-top: 1px solid var(--line-faint); }
.stack__inner {
  max-width: var(--container); margin: 0 auto; padding: 80px 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px; align-items: start;
}
.stack__inner .section-title { text-wrap: balance; }
.stack__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  list-style: none; margin: 0; padding: 0;
}
.stack__item { background: var(--bg-deep); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.stack__board { position: relative; }
.stack__grid:has(.stack__item--empty) { grid-template-columns: 1fr; }
.stack__item--empty { min-height: 180px; }
.stack__empty {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(86%, 380px); margin: 0; padding: 18px 22px; text-align: center;
  background: var(--bg-deep); border: 1px dashed rgba(255, 255, 255, .15); border-radius: 12px;
  color: var(--text-muted);
}
.stack__empty[hidden] { display: none; }
.stack__item strong { font-weight: 700; font-size: 16px; }
.stack__item span { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }

#contact { position: relative; border-top: 1px solid var(--line-faint); }
.contact__inner {
  max-width: var(--container); margin: 0 auto; padding: 96px 32px 64px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: center;
}
.contact__copy { display: flex; flex-direction: column; gap: 24px; }
.contact__copy h2 {
  font-weight: 850; font-size: clamp(36px, 4.6vw, 60px); line-height: 1; letter-spacing: -.025em; text-wrap: balance;
}
.contact__copy p { font-size: 18px; color: var(--text-muted); line-height: 1.5; max-width: 480px; }
.contact__list { display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, .1); }
.contact__row {
  display: flex; align-items: center; gap: 14px; padding: 18px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.contact__row img { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-avatar); }
.contact__row strong { font-weight: 600; font-size: 18px; }
.contact__icons { margin-left: auto; display: flex; gap: 14px; }
.contact__icon { display: inline-flex; color: var(--text); }
.contact__icon:hover { color: var(--orange); }

.footer {
  max-width: var(--container); margin: 0 auto; padding: 28px 32px 40px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line-faint);
}
.footer__brand { font-weight: 850; font-stretch: 110%; font-size: 22px; }
.footer__brand span { color: var(--orange); }
.footer__note { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); }

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease var(--reveal-delay, 0s), transform .8s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .member, .card { transition: none; }
}
