﻿[data-theme="dark"] {
  --bg: #0d0c0a;
  --bg1: #131210;
  --bg2: #181714;
  --br: rgba(255,255,255,0.07);
  --br2: rgba(255,255,255,0.04);
  --ink: #e8e3d9;
  --dim: rgba(232,227,217,0.52);
  --dim2: rgba(232,227,217,0.28);
  --dim3: rgba(232,227,217,0.07);
  --acc: #8aad78;
  --acc-bg: rgba(138,173,120,0.1);
  --acc-br: rgba(138,173,120,0.25);
  --shadow: 0 24px 60px rgba(0,0,0,0.55);
  --t-bg: #0a0908;
  --snip: rgba(0,0,0,0.4);
  --snip-br: rgba(255,255,255,0.06);
  --tog: #1e1c18;
  --grid: rgba(138,173,120,0.025);
}

[data-theme="light"] {
  --bg: #f6f2e9;
  --bg1: #ede9df;
  --bg2: #e5e0d4;
  --br: rgba(30,28,20,0.1);
  --br2: rgba(30,28,20,0.05);
  --ink: #1a1815;
  --dim: rgba(26,24,21,0.58);
  --dim2: rgba(26,24,21,0.38);
  --dim3: rgba(26,24,21,0.06);
  --acc: #3a5e2c;
  --acc-bg: rgba(58,94,44,0.08);
  --acc-br: rgba(58,94,44,0.25);
  --shadow: 0 12px 40px rgba(0,0,0,0.08);
  --t-bg: #eee9df;
  --snip: rgba(0,0,0,0.04);
  --snip-br: rgba(0,0,0,0.1);
  --tog: #ddd8cc;
  --grid: rgba(58,94,44,0.04);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .4s, color .4s;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
}

::-webkit-scrollbar {
  width: 2px;
}

::-webkit-scrollbar-thumb {
  background: var(--acc);
  border-radius: 1px;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
  height: 56px;
  border-bottom: 1px solid var(--br);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(16px);
  transition: background .4s, border-color .4s;
}

.logo {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .4s;
  opacity: 0;
  animation: bootFade .18s ease-out forwards;
}

.logo .p {
  color: var(--acc);
}

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: var(--dim2);
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s;
  position: relative;
  padding-bottom: 2px;
  opacity: 0;
  animation: bootFade .14s ease-out forwards;
}

.nav-links a:nth-child(1) { animation-delay: .06s; }
.nav-links a:nth-child(2) { animation-delay: .1s; }
.nav-links a:nth-child(3) { animation-delay: .14s; }
.nav-links a:nth-child(4) { animation-delay: .18s; }
.nav-links a:nth-child(5) { animation-delay: .22s; }
.nav-links a:nth-child(6) { animation-delay: .26s; }

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-r {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toggle {
  width: 38px;
  height: 20px;
  background: var(--tog);
  border: 1px solid var(--br);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  transition: all .3s;
  flex-shrink: 0;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--acc);
  transition: transform .3s;
}

[data-theme="light"] .toggle::after {
  transform: translateX(18px);
  background: var(--acc);
}

.resume-btn {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--bg);
  background: var(--acc);
  padding: 8px 16px;
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s, transform .15s, box-shadow .18s;
}

.resume-btn:hover {
  opacity: .85;
  transform: translateY(-1px);
}

.menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  background: var(--bg1);
  border: 1px solid var(--br);
  border-radius: 4px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}

.menu-btn:hover {
  border-color: var(--acc-br);
  color: var(--acc);
}

.menu-btn span {
  width: 14px;
  height: 1px;
  background: currentColor;
  transition: transform .2s, opacity .2s;
}

.menu-btn.open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 210;
  background: var(--bg);
  border-top: 1px solid var(--br);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-inner {
  height: 100%;
  padding: 84px 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mobile-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0 18px;
  border-bottom: 1px solid var(--br);
}

.mobile-theme-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim2);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
}

.mobile-nav-links a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--br);
  transition: color .18s;
}

.mobile-nav-links a:hover {
  color: var(--acc);
}

@keyframes bootFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bootRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 52px;
  padding: 56px 44px 0;
  position: relative;
  z-index: 1;
}

.h-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--acc);
  background: var(--acc-bg);
  border: 1px solid var(--acc-br);
  border-radius: 2px;
  padding: 5px 11px;
  margin-bottom: 24px;
}

.sdot {
  width: 5px;
  height: 5px;
  background: var(--acc);
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.hero-hed {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 4.2vw, 62px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
  transition: color .4s;
  opacity: 0;
  animation: bootRise .24s cubic-bezier(.2,.8,.2,1) .2s forwards;
}

.hero-hed em {
  font-style: italic;
  color: var(--acc);
}

.tcaret {
  display: inline-block;
  width: 2px;
  height: .82em;
  background: var(--acc);
  vertical-align: middle;
  margin-left: 2px;
  animation: car 1s step-end infinite;
}

@keyframes car {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-sub {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--dim);
  max-width: 390px;
  margin-bottom: 32px;
  line-height: 1.75;
  transition: color .4s;
  opacity: 0;
  animation: bootRise .24s cubic-bezier(.2,.8,.2,1) .3s forwards;
}

.hero-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  opacity: 0;
  animation: bootRise .24s cubic-bezier(.2,.8,.2,1) .38s forwards;
}

.btn-p,
.btn-s {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 3px;
  text-decoration: none;
}

.btn-p {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--bg);
  background: var(--acc);
  padding: 11px 18px;
  transition: opacity .2s, transform .15s, box-shadow .18s;
}

.btn-p:hover {
  opacity: .85;
  transform: translateY(-1px);
}

.btn-s {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--dim);
  border: 1px solid var(--br);
  padding: 11px 18px;
  transition: color .2s, border-color .2s, transform .15s;
}

.btn-s:hover {
  color: var(--ink);
  border-color: var(--dim2);
  transform: translateY(-1px);
}

#hero .terminal {
  opacity: 0;
  animation: bootRise .24s cubic-bezier(.2,.8,.2,1) .32s forwards;
}

.terminal {
  background: var(--t-bg);
  border: 1px solid var(--br);
  border-radius: 8px;
  overflow: hidden;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  box-shadow: var(--shadow);
  transition: background .4s, border-color .4s, box-shadow .4s;
}

.th {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--dim3);
  border-bottom: 1px solid var(--br);
  transition: background .4s, border-color .4s;
}

.td {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.td.r { background: #ff5f57; }
.td.y { background: #febc2e; }
.td.g { background: #28c840; }

.ttl {
  flex: 1;
  text-align: center;
  font-size: 9px;
  color: var(--dim2);
  letter-spacing: .05em;
  transition: color .4s;
}

.tb {
  padding: 14px;
  min-height: 230px;
  line-height: 1.9;
}

.trow {
  display: flex;
  gap: 8px;
}

.tp { color: var(--acc); }
.tc { color: var(--ink); opacity: .85; transition: color .4s; }
.to { color: var(--dim); padding-left: 14px; font-size: 10.5px; transition: color .4s; }
.tk { color: var(--acc); opacity: .75; }
.tv { color: var(--dim2); transition: color .4s; }
.tg { color: #5aa847; }
[data-theme="light"] .tg { color: #2d6b22; }

.tal {
  opacity: 0;
  animation: tain .12s forwards;
}

@keyframes tain {
  to { opacity: 1; }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--br);
  border-bottom: 1px solid var(--br);
  position: relative;
  z-index: 1;
  transition: border-color .4s;
}

.si {
  padding: 20px 44px;
  border-right: 1px solid var(--br);
  transition: border-color .4s;
}

.si:last-child {
  border-right: none;
}

.sl {
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  letter-spacing: .16em;
  color: var(--dim2);
  margin-bottom: 5px;
  text-transform: uppercase;
  transition: color .4s;
}

.sv {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  transition: color .4s;
}

.sv.ac {
  color: var(--acc);
}

.avail-dot {
  display: inline-block;
  margin-right: 6px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.mq {
  overflow: hidden;
  border-bottom: 1px solid var(--br);
  padding: 11px 0;
  position: relative;
  z-index: 1;
  transition: border-color .4s;
}

.mq-t {
  display: flex;
  animation: mqa 28s linear infinite;
  width: max-content;
}

.mq-t:hover {
  animation-play-state: paused;
}

@keyframes mqa {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.mqi {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  letter-spacing: .09em;
  color: var(--dim2);
  white-space: nowrap;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 22px;
  transition: color .4s;
}

.mqi::after {
  content: "·";
  color: var(--acc);
  opacity: .5;
  font-size: 13px;
}

.sec {
  padding: 80px 44px;
  position: relative;
  z-index: 1;
}

.sec-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  letter-spacing: .18em;
  color: var(--dim2);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: color .4s;
}

.sec-label::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--acc);
  opacity: .7;
}

.sec-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 10px;
  color: var(--ink);
  transition: color .4s;
}

.sec-sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--dim);
  max-width: 400px;
  margin-bottom: 44px;
  line-height: 1.72;
  transition: color .4s;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--br);
  border-radius: 8px;
  overflow: hidden;
  background: var(--br2);
  gap: 1px;
  transition: border-color .4s, background .4s;
}

.ab-l,
.ab-r {
  background: var(--bg1);
  padding: 40px;
  transition: background .4s;
}

.ab-l {
  border-right: 1px solid var(--br);
  transition: background .4s, border-color .4s;
}

.ab-pull {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: var(--ink);
  margin-bottom: 18px;
  transition: color .4s;
}

.ab-pull em {
  font-style: italic;
  color: var(--acc);
}

.ab-body {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--dim);
  line-height: 1.8;
  transition: color .4s;
}

.ann {
  border-left: 2px solid var(--acc-br);
  padding-left: 16px;
  margin-bottom: 24px;
}

.ann:last-child {
  margin-bottom: 0;
}

.ann-lbl {
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  letter-spacing: .14em;
  color: var(--acc);
  opacity: .7;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.ann-txt {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-style: italic;
  color: var(--dim);
  line-height: 1.72;
  transition: color .4s;
}

.ab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 24px;
}

.atag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: .04em;
  color: var(--dim2);
  background: var(--dim3);
  border: 1px solid var(--br);
  padding: 4px 9px;
  border-radius: 2px;
  transition: all .4s;
}

.img-nova,
.img-nexus,
.img-sentinel,
.img-chronos {
  background: var(--bg2);
}

.sc { color: var(--acc); opacity: .45; }
.sk { color: #7eb0d4; }
[data-theme="light"] .sk { color: #1d5a8a; }
.sf { color: #b39ddb; }
[data-theme="light"] .sf { color: #5c35a0; }
.ss { color: #81c784; }
[data-theme="light"] .ss { color: #2e6b30; }
.sn { color: #ffb74d; }
[data-theme="light"] .sn { color: #b05a10; }

.snip {
  background: var(--snip);
  border: 1px solid var(--snip-br);
  border-radius: 5px;
  padding: 13px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  line-height: 1.8;
  color: var(--dim2);
  transition: background .4s, border-color .4s, color .4s;
}

.carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.carousel-header > div:first-child {
  flex: 1;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding-bottom: 4px;
}

.car-counter {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--dim2);
  transition: color .4s;
  white-space: nowrap;
}

.car-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg1);
  border: 1px solid var(--br);
  border-radius: 4px;
  cursor: pointer;
  color: var(--dim);
  transition: all .18s;
  flex-shrink: 0;
}

.car-btn:hover {
  background: var(--acc-bg);
  border-color: var(--acc-br);
  color: var(--acc);
}

.car-btn:disabled {
  opacity: .28;
  pointer-events: none;
}

.carousel-viewport {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 16px;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}

.ccard {
  flex: 0 0 340px;
  background: var(--bg1);
  border: 1px solid var(--br);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .25s, background .25s, box-shadow .25s, transform .18s;
}

.ccard:hover {
  border-color: var(--acc-br);
  box-shadow: 0 10px 36px rgba(0,0,0,.26);
  transform: translateY(-2px);
}

.cc-img {
  position: relative;
  overflow: hidden;
  height: 210px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--br);
  background: var(--bg2);
  transition: border-color .4s;
}

.cc-img svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}

.ccard:hover .cc-img img {
  transform: scale(1.04);
}

.cc-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.58) 0%, transparent 52%);
  pointer-events: none;
}

.cc-role {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  letter-spacing: .09em;
  color: rgba(255,255,255,.9);
  background: rgba(0,0,0,.52);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 2px;
}

.cc-feat {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  letter-spacing: .1em;
  color: var(--acc);
  background: var(--acc-bg);
  border: 1px solid var(--acc-br);
  backdrop-filter: blur(8px);
  padding: 3px 9px;
  border-radius: 2px;
}

.cc-body {
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cc-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  letter-spacing: .13em;
  color: var(--acc);
  background: var(--acc-bg);
  border: 1px solid var(--acc-br);
  padding: 3px 8px;
  border-radius: 2px;
}

.cc-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.1;
  transition: color .18s, color .4s;
}

.ccard:hover .cc-name {
  color: var(--acc);
}

.cc-desc {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--dim);
  line-height: 1.68;
  margin-bottom: 14px;
  transition: color .4s;
}

.cc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 16px;
}

.cc-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  letter-spacing: .04em;
  color: var(--dim2);
  background: var(--dim3);
  border: 1px solid var(--br);
  padding: 3px 8px;
  border-radius: 2px;
  transition: all .18s;
}

.ccard:hover .cc-tag {
  border-color: var(--acc-br);
  color: var(--acc);
}

.cc-code {
  background: var(--snip);
  border: 1px solid var(--snip-br);
  border-radius: 5px;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: background .4s, border-color .4s;
}

.cc-code-hdr {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  background: var(--dim3);
  border-bottom: 1px solid var(--snip-br);
  flex-shrink: 0;
  transition: background .4s, border-color .4s;
}

.cdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: .75;
}

.cdot.r { background: #ff5f57; }
.cdot.y { background: #febc2e; }
.cdot.g { background: #28c840; }

.cc-fname {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: .05em;
  color: var(--dim2);
  margin-left: 3px;
  transition: color .4s;
}

.cc-code-body {
  padding: 11px 13px;
  flex: 1;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  line-height: 1.8;
  color: var(--dim2);
  transition: color .4s;
}

.cc-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 24px;
  flex-shrink: 0;
  border-top: 1px solid var(--br);
  transition: border-color .4s;
}

.cc-lnk {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: .07em;
  color: var(--dim2);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color .15s, transform .15s;
}

.cc-lnk:hover {
  color: var(--acc);
  transform: translateY(-1px);
}

.carousel-dots {
  display: flex;
  gap: 7px;
  justify-content: center;
  margin-top: 20px;
}

.cdot-ind {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--dim3);
  border: 1px solid var(--br);
  cursor: pointer;
  transition: all .25s;
}

.cdot-ind.active {
  width: 22px;
  background: var(--acc);
  border-color: var(--acc);
}

.exp {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1px;
  background: var(--br);
  border: 1px solid var(--br);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .4s, background .4s;
}

.exp-nav {
  background: var(--bg1);
  padding: 20px 0;
  transition: background .4s;
}

.eni {
  padding: 12px 22px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: .08em;
  color: var(--dim2);
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: all .18s;
}

.eni.active {
  color: var(--acc);
  background: var(--acc-bg);
  border-left-color: var(--acc);
}

.eni:hover:not(.active) {
  color: var(--ink);
  background: var(--dim3);
}

.ep {
  background: var(--bg1);
  padding: 36px;
  display: none;
  transition: background .4s;
}

.ep.active {
  display: block;
}

.ep-ttl {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 8px;
  transition: color .4s;
}

.ep-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--dim);
  line-height: 1.72;
  margin-bottom: 22px;
  max-width: 460px;
  transition: color .4s;
}

.sbars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.srow {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.smeta {
  display: flex;
  justify-content: space-between;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  color: var(--dim2);
  letter-spacing: .04em;
  transition: color .4s;
}

.sbg {
  height: 2px;
  background: var(--dim3);
  border-radius: 1px;
  overflow: hidden;
  transition: background .4s;
}

.sfill {
  height: 100%;
  background: linear-gradient(90deg, var(--acc), color-mix(in srgb, var(--acc) 40%, transparent));
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s cubic-bezier(.16,1,.3,1);
}

.etags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.etag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  color: var(--dim2);
  background: var(--dim3);
  border: 1px solid var(--br);
  padding: 4px 9px;
  border-radius: 2px;
  transition: all .4s;
}

.wg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--br);
  border: 1px solid var(--br);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .4s, background .4s;
}

.content-track .wc {
  flex: 0 0 340px;
  min-width: 340px;
  border: 1px solid var(--br);
  border-radius: 8px;
}

.wc {
  background: var(--bg1);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: background .22s, transform .18s, border-color .18s;
}

.wc::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--acc), transparent);
  opacity: 0;
  transition: opacity .22s;
}

.wc:hover {
  background: var(--bg2);
  transform: translateY(-2px);
}

.wc:hover::after {
  opacity: 1;
}

.wdate {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: .09em;
  color: var(--dim2);
  margin-bottom: 9px;
  transition: color .4s;
}

.wtag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  letter-spacing: .1em;
  color: var(--acc);
  background: var(--acc-bg);
  border: 1px solid var(--acc-br);
  padding: 3px 8px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 11px;
}

.wttl {
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.28;
  color: var(--ink);
  margin-bottom: 8px;
  transition: color .2s, color .4s;
}

.wc:hover .wttl {
  color: var(--acc);
}

.wex {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--dim);
  line-height: 1.65;
  margin-bottom: 16px;
  transition: color .4s;
}

.wread {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: .08em;
  color: var(--dim2);
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: color .15s, transform .15s;
}

.wc:hover .wread,
.wread:hover {
  color: var(--acc);
  transform: translateY(-1px);
}

.carousel-shell {
  position: relative;
}

.carousel-arrow {
  display: none;
}

.ct {
  background: var(--bg1);
  border: 1px solid var(--br);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  transition: background .4s, border-color .4s;
}

.ct-l {
  padding: 48px;
  border-right: 1px solid var(--br);
  position: relative;
  overflow: hidden;
  transition: border-color .4s;
}

.ct-l::before {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, var(--acc-bg) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ct-ol {
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  letter-spacing: .17em;
  color: var(--dim2);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  transition: color .4s;
}

.ct-ol::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--acc);
  opacity: .7;
}

.ct-ttl {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 12px;
  transition: color .4s;
}

.ct-ttl em {
  font-style: italic;
  color: var(--acc);
}

.ct-body {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--dim);
  line-height: 1.72;
  transition: color .4s;
}

.ct-r {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.cemail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  color: var(--ink);
  transition: color .2s;
}

.cemail svg {
  color: var(--acc);
  flex-shrink: 0;
}

.cform {
  background: var(--dim3);
  border: 1px solid var(--br);
  border-radius: 5px;
  overflow: hidden;
  transition: border-color .2s, background .2s, transform .2s;
}

.cform:hover {
  border-color: var(--acc-br);
  background: var(--acc-bg);
  transform: translateY(-1px);
}

.cform.expanded {
  border-color: var(--acc-br);
}

.cform-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  cursor: pointer;
}

.cform-ind {
  font-family: "IBM Plex Mono", monospace;
  font-size: 16px;
  line-height: 1;
  color: var(--acc);
  transition: transform .2s ease, opacity .2s ease;
}

.cform.expanded .cform-ind {
  transform: rotate(45deg);
}

.cform-body {
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 18px;
  border-top: 1px solid transparent;
  transition: max-height .32s cubic-bezier(.16,1,.3,1), padding .32s cubic-bezier(.16,1,.3,1), border-color .2s ease;
}

.cform.expanded .cform-body {
  max-height: 320px;
  padding: 16px 18px 18px;
  border-top-color: var(--br);
}

.cform-body input,
.cform-body textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--br);
  border-radius: 4px;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  line-height: 1.6;
  padding: 12px 14px;
  outline: none;
  transition: border-color .18s, background .18s;
}

.cform-body input::placeholder,
.cform-body textarea::placeholder {
  color: var(--dim2);
}

.cform-body input:focus,
.cform-body textarea:focus {
  border-color: var(--acc-br);
  background: rgba(255,255,255,0.01);
}

.cform-body textarea {
  min-height: 112px;
  resize: vertical;
}

.cform-submit {
  align-self: flex-start;
  border: 1px solid var(--acc-br);
  background: var(--acc);
  color: var(--bg);
  border-radius: 4px;
  padding: 11px 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: opacity .18s, transform .15s;
}

.cform-submit:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.socs {
  display: flex;
  gap: 7px;
}

.soc {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dim3);
  border: 1px solid var(--br);
  border-radius: 4px;
  color: var(--dim);
  text-decoration: none;
  transition: all .18s;
}

.soc:hover {
  background: var(--acc-bg);
  border-color: var(--acc-br);
  color: var(--acc);
  transform: translateY(-1px);
}

footer {
  border-top: 1px solid var(--br);
  padding: 20px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  letter-spacing: .13em;
  color: var(--dim2);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  transition: border-color .4s, color .4s;
}

.fdot {
  width: 4px;
  height: 4px;
  background: var(--acc);
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  animation: blink 2s infinite;
}

.rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1);
}

.rv.vis {
  opacity: 1;
  transform: none;
}

.d1 { transition-delay: .07s; }
.d2 { transition-delay: .13s; }
.d3 { transition-delay: .19s; }

.stagger-item {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .32s cubic-bezier(.16,1,.3,1), transform .32s cubic-bezier(.16,1,.3,1);
}

.stagger-item.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  nav {
    padding: 0 18px;
  }

  .nav-links,
  .desktop-toggle {
    display: none;
  }

  .nav-r {
    margin-left: auto;
    gap: 10px;
  }

  .menu-btn {
    display: inline-flex;
  }

  #hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 72px 18px 40px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .si {
    padding: 16px 18px;
  }

  .si:nth-child(2) {
    border-right: none;
  }

  .si:nth-child(3),
  .si:nth-child(4) {
    border-top: 1px solid var(--br);
  }

  .sec {
    padding: 52px 18px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .ab-l {
    border-right: none;
    border-bottom: 1px solid var(--br);
  }

  .ab-l,
  .ab-r {
    padding: 28px 22px;
  }

  .ccard {
    flex: 0 0 calc(100vw - 58px);
  }

  .content-track .wc {
    flex: 0 0 calc(100vw - 58px);
    min-width: calc(100vw - 58px);
  }

  .exp {
    grid-template-columns: 1fr;
  }

  .exp-nav {
    display: flex;
    overflow-x: auto;
    padding: 0;
    border-bottom: 1px solid var(--br);
  }

  .eni {
    border-left: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    padding: 12px 16px;
  }

  .eni.active {
    border-left: none;
    border-bottom-color: var(--acc);
  }

  .ep {
    padding: 26px 22px;
  }

  .wg {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    border: none;
    background: transparent;
    padding: 0;
    scrollbar-width: none;
  }

  .wg::-webkit-scrollbar {
    display: none;
  }

  .carousel-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
  }

  .carousel-arrow {
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    background: var(--bg1);
    border: 1px solid var(--br);
    border-radius: 4px;
    color: var(--dim2);
    cursor: pointer;
    transition: opacity .18s, color .18s, border-color .18s, background .18s;
  }

  .carousel-arrow:hover {
    color: var(--acc);
    border-color: var(--acc-br);
    background: var(--acc-bg);
  }

  .carousel-arrow.is-disabled {
    opacity: .28;
  }

  .certificates-carousel .wc {
    min-width: calc(100vw - 122px);
    scroll-snap-align: center;
    border: 1px solid var(--br);
    border-radius: 8px;
    padding: 26px 22px;
  }

  .ct {
    grid-template-columns: 1fr;
  }

  .ct-l {
    border-right: none;
    border-bottom: 1px solid var(--br);
    padding: 32px 22px;
  }

  .ct-r {
    padding: 32px 22px;
  }

  footer {
    padding: 16px 18px;
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-hed { font-size: 32px; }
  .sec-title { font-size: 26px; }
  .ct-ttl { font-size: 26px; }
}


