:root {
  color-scheme: dark;
  --bg: #0b0d10;
  --surface: #11161b;
  --surface-strong: #151d23;
  --ink: #edf7f5;
  --muted: #a5a4ba;
  --line: #34304a;
  --accent: #9c8cff;
  --accent-dark: #7c6df2;
  --warm: #f2b35d;
  --violet: #9c8cff;
  --cyan-edge: #35c7d0;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(156, 140, 255, 0.048) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 140, 255, 0.04) 1px, transparent 1px),
    linear-gradient(120deg, rgba(156, 140, 255, 0.14), transparent 30%, rgba(89, 102, 255, 0.08) 58%, transparent 78%),
    var(--bg);
  background-size: 42px 42px, 42px 42px, auto, auto;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(11, 13, 16, 0.82);
  border-bottom: 1px solid rgba(156, 140, 255, 0.18);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 780;
  text-decoration: none;
}

.brand span:first-child {
  color: var(--accent);
}

.brand span:first-child::before {
  content: "~/";
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
}

.nav a {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(149, 166, 170, 0.2);
  border-radius: 6px;
  background: rgba(17, 22, 27, 0.72);
  text-decoration: none;
}

.nav a:hover,
.brand:hover {
  border-color: rgba(156, 140, 255, 0.58);
  color: var(--accent);
}

.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(149, 166, 170, 0.2);
  border-radius: 6px;
  background: rgba(17, 22, 27, 0.72);
}

.language-switch button {
  min-width: 42px;
  min-height: 30px;
  padding: 6px 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 780;
}

.language-switch button[aria-pressed="true"] {
  background: var(--accent);
  color: #07100e;
}

.language-switch button:focus-visible {
  outline: 2px solid var(--cyan-edge);
  outline-offset: 2px;
}

main {
  overflow: visible;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(32px, 6vw, 86px) clamp(20px, 5vw, 72px) clamp(52px, 7vw, 96px);
}

.hero__system {
  position: relative;
  align-self: stretch;
  min-height: 520px;
  display: grid;
  align-items: center;
  padding: clamp(18px, 3vw, 34px);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(156, 140, 255, 0.22);
  background:
    linear-gradient(120deg, rgba(156, 140, 255, 0), rgba(156, 140, 255, 0.14), rgba(156, 140, 255, 0)),
    linear-gradient(135deg, rgba(156, 140, 255, 0.12), transparent 36%),
    linear-gradient(rgba(237, 247, 245, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 247, 245, 0.04) 1px, transparent 1px),
    var(--surface);
  background-size: 220% 100%, auto, 28px 28px, 28px 28px, auto;
  box-shadow: var(--shadow);
  animation: board-sweep 9s ease-in-out infinite;
}

.hero__system::after {
  position: absolute;
  inset: 0;
  content: "";
  background: repeating-linear-gradient(0deg, rgba(237, 247, 245, 0.035), rgba(237, 247, 245, 0.035) 1px, transparent 1px, transparent 5px);
  pointer-events: none;
}

.hero__system::before {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(156, 140, 255, 0.46);
  border-radius: 8px;
  opacity: 0.6;
  pointer-events: none;
  clip-path: polygon(0 0, 34% 0, 34% 2px, 2px 2px, 2px 34%, 0 34%, 0 0, 100% 66%, calc(100% - 2px) 66%, calc(100% - 2px) calc(100% - 2px), 66% calc(100% - 2px), 66% 100%, 100% 100%);
}

.system-board {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.terminal {
  position: relative;
  border: 1px solid rgba(156, 140, 255, 0.28);
  border-radius: 8px;
  background: rgba(11, 13, 16, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(237, 247, 245, 0.08),
    0 18px 60px rgba(156, 140, 255, 0.08);
}

.terminal__bar {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid rgba(156, 140, 255, 0.18);
}

.terminal__bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--muted);
}

.terminal__bar span:nth-child(1) {
  background: #ef6dff;
}

.terminal__bar span:nth-child(2) {
  background: #6e8bff;
}

.terminal__bar span:nth-child(3) {
  background: var(--cyan-edge);
}

.terminal__body {
  display: grid;
  gap: 10px;
  padding: clamp(20px, 3.4vw, 34px);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.terminal__body p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: clamp(0.82rem, 1vw, 0.95rem);
}

.terminal__body p:first-child {
  margin-top: 0;
}

.terminal__body p span {
  color: var(--accent);
}

.terminal__body strong {
  color: var(--ink);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  font-weight: 760;
}

.terminal__body strong:last-child::after {
  content: "_";
  color: var(--accent);
  animation: cursor-blink 1s steps(2, end) infinite;
}

.architecture-map {
  position: relative;
  min-height: 210px;
  border: 1px solid rgba(149, 166, 170, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(rgba(156, 140, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 140, 255, 0.055) 1px, transparent 1px),
    rgba(11, 13, 16, 0.62);
  background-size: 22px 22px;
  overflow: hidden;
}

.architecture-map::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(156, 140, 255, 0.1), transparent);
  transform: translateX(-100%);
  animation: map-scan 5s ease-in-out infinite;
}

.map-node {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 74px;
  height: 42px;
  border: 1px solid rgba(156, 140, 255, 0.42);
  border-radius: 6px;
  background: rgba(17, 22, 27, 0.92);
  color: #d8fbf4;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 760;
  box-shadow: 0 0 28px rgba(156, 140, 255, 0.08);
}

.map-node--primary {
  border-color: rgba(156, 140, 255, 0.76);
  color: var(--accent);
}

.map-node:nth-child(1) {
  left: 8%;
  top: 20%;
}

.map-node:nth-child(2) {
  left: 35%;
  top: 12%;
}

.map-node:nth-child(3) {
  right: 9%;
  top: 20%;
}

.map-node:nth-child(4) {
  left: 20%;
  bottom: 18%;
}

.map-node:nth-child(5) {
  left: 49%;
  bottom: 12%;
}

.map-node:nth-child(6) {
  right: 7%;
  bottom: 25%;
}

.map-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(156, 140, 255, 0.76), transparent);
  transform-origin: left center;
  opacity: 0.9;
}

.map-line::after {
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--accent);
  content: "";
  animation: packet 3.5s linear infinite;
}

.map-line--one {
  left: 23%;
  top: 32%;
  width: 30%;
  transform: rotate(-8deg);
}

.map-line--two {
  left: 51%;
  top: 30%;
  width: 35%;
  transform: rotate(10deg);
}

.map-line--three {
  left: 30%;
  bottom: 35%;
  width: 30%;
  transform: rotate(-10deg);
}

.map-line--four {
  left: 63%;
  bottom: 30%;
  width: 27%;
  transform: rotate(-8deg);
}

.map-line--two::after {
  animation-delay: 0.7s;
}

.map-line--three::after {
  animation-delay: 1.2s;
}

.map-line--four::after {
  animation-delay: 1.8s;
}

.hero__content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-shadow: 0 0 42px rgba(156, 140, 255, 0.12);
}

.role {
  margin-bottom: 26px;
  color: var(--accent);
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  font-weight: 720;
  text-shadow: 0 0 24px rgba(156, 140, 255, 0.18);
}

.summary {
  max-width: 680px;
  margin-bottom: 34px;
  color: #c4d2d4;
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #07100e;
  font-weight: 740;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.button--ghost {
  background: transparent;
  color: var(--ink);
}

.button--ghost:hover {
  color: white;
}

.section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 44px);
  padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  overflow: visible;
}

.section::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(112deg, rgba(156, 140, 255, 0.11), transparent 24%, rgba(58, 72, 170, 0.08) 62%, transparent 82%),
    linear-gradient(90deg, rgba(156, 140, 255, 0.045), transparent 32%),
    linear-gradient(rgba(237, 247, 245, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 247, 245, 0.02) 1px, transparent 1px);
  background-size: auto, auto, 100% 34px, 34px 100%;
  opacity: 0.9;
  pointer-events: none;
}

.section::after {
  position: absolute;
  top: clamp(28px, 6vw, 82px);
  right: clamp(18px, 5vw, 72px);
  z-index: 0;
  max-width: 62vw;
  color: rgba(156, 140, 255, 0.045);
  content: attr(data-section);
  font-size: clamp(4.2rem, 11vw, 11rem);
  font-weight: 900;
  line-height: 0.82;
  pointer-events: none;
  text-align: right;
  text-transform: uppercase;
}

.section > * {
  position: relative;
  z-index: 1;
}

.section--about {
  background: rgba(17, 22, 27, 0.86);
}

.section--projects {
  background:
    linear-gradient(135deg, rgba(156, 140, 255, 0.09), transparent 38%),
    rgba(11, 13, 16, 0.48);
}

.section__label {
  position: sticky;
  top: 96px;
  align-self: start;
  height: fit-content;
  max-height: calc(100vh - 116px);
  overflow: auto;
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(156, 140, 255, 0.4) transparent;
}

.section__label::before {
  display: block;
  width: 1px;
  height: 92px;
  margin: 0 0 22px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 20px rgba(156, 140, 255, 0.38);
  content: "";
}

.section__label p {
  color: var(--accent-dark);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-panel {
  position: relative;
  display: grid;
  gap: 9px;
  width: min(100%, 210px);
  margin-top: 22px;
  padding: 14px;
  border: 1px solid rgba(156, 140, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(156, 140, 255, 0.12), transparent 55%),
    rgba(11, 13, 16, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(237, 247, 245, 0.06),
    0 18px 55px rgba(0, 0, 0, 0.22);
}

.section-panel::before {
  position: absolute;
  top: -6px;
  left: 14px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(156, 140, 255, 0.72);
  content: "";
}

.section-panel::after {
  position: absolute;
  inset: auto 12px 10px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(156, 140, 255, 0.74), transparent);
  animation: panel-pulse 4.5s ease-in-out infinite;
}

.section-panel span,
.section-panel small {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.section-panel strong {
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.94rem, 1.25vw, 1.08rem);
  line-height: 1.18;
}

.section-panel small {
  color: #c4d2d4;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  line-height: 1.35;
  text-transform: none;
}

.section__body {
  position: relative;
  max-width: 940px;
  padding-top: 6px;
}

.section__body::before {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 82px;
  height: 82px;
  border-top: 1px solid rgba(156, 140, 255, 0.42);
  border-left: 1px solid rgba(156, 140, 255, 0.42);
  content: "";
  pointer-events: none;
}

.section__body::after {
  position: absolute;
  right: 0;
  bottom: -24px;
  width: min(360px, 45%);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(156, 140, 255, 0.8));
  pointer-events: none;
}

.section__body > h2 {
  max-width: 980px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--ink), #d9d5ff 58%, rgba(156, 140, 255, 0.78));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(1.8rem, 3vw, 3.3rem);
  line-height: 1.05;
}

.section__body > p,
.education__item > p {
  color: #c4d2d4;
  font-size: 1.08rem;
}

.section-intro {
  max-width: 820px;
  margin-bottom: 28px;
  padding-left: 18px;
  border-left: 2px solid rgba(156, 140, 255, 0.56);
  color: #c4d2d4;
  font-size: 1.08rem;
}

.enablement-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
}

.enablement-panel div {
  position: relative;
  min-height: 180px;
  padding: 18px;
  border: 1px solid rgba(156, 140, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(156, 140, 255, 0.14), transparent 48%),
    rgba(11, 13, 16, 0.66);
  box-shadow:
    inset 0 1px 0 rgba(237, 247, 245, 0.06),
    0 18px 60px rgba(0, 0, 0, 0.18);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.enablement-panel span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
}

.enablement-panel strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.enablement-panel p {
  margin: 0;
  color: #c4d2d4;
  font-size: 0.95rem;
}

.enablement-panel div:hover,
.education__item:hover {
  transform: translateY(-2px);
  border-color: rgba(156, 140, 255, 0.44);
  box-shadow:
    inset 0 1px 0 rgba(237, 247, 245, 0.08),
    0 22px 70px rgba(0, 0, 0, 0.24),
    0 0 54px rgba(156, 140, 255, 0.09);
}

.timeline {
  position: relative;
  display: grid;
  gap: 20px;
}

.timeline::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(156, 140, 255, 0.72), transparent);
  box-shadow: 0 0 18px rgba(156, 140, 255, 0.24);
}

.role-card {
  position: relative;
  padding: clamp(22px, 3.2vw, 34px);
  margin-left: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(156, 140, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(17, 22, 27, 0.78);
  box-shadow: inset 0 1px 0 rgba(237, 247, 245, 0.045);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.role-card::before {
  position: absolute;
  top: 30px;
  left: -25px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--bg);
  box-shadow: 0 0 18px rgba(156, 140, 255, 0.56);
  content: "";
}

.role-card::after {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  content: "";
  background: linear-gradient(120deg, transparent 24%, rgba(156, 140, 255, 0.08), transparent 42%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.role-card:hover {
  transform: translateY(-2px);
  border-color: rgba(156, 140, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(237, 247, 245, 0.06),
    0 22px 70px rgba(0, 0, 0, 0.28),
    0 0 48px rgba(156, 140, 255, 0.08);
}

.role-card:hover::after {
  opacity: 1;
}

.role-card__heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.role-card h3 {
  margin-bottom: 4px;
  font-size: clamp(1.25rem, 2vw, 1.72rem);
  color: #f5f2ff;
}

.role-card__heading p,
.role-card time,
.education__row time {
  color: var(--muted);
  font-weight: 700;
}

.role-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
  font-weight: 720;
  text-decoration: none;
}

.role-link:hover {
  text-decoration: underline;
}

.role-card time,
.education__row time {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
}

.role-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.2rem;
  color: #c4d2d4;
}

.role-card li::marker {
  color: var(--accent);
}

.capability-grid {
  display: grid;
  gap: 16px;
}

.capability-grid article {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(156, 140, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(156, 140, 255, 0.12), transparent 42%),
    rgba(11, 13, 16, 0.62);
  overflow: hidden;
}

.capability-grid article::after {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-70%);
  animation: card-signal 6s ease-in-out infinite;
}

.capability-grid h3 {
  margin-bottom: 14px;
  color: #f5f2ff;
  font-size: 1.16rem;
}

.skill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-grid span {
  padding: 9px 12px;
  border: 1px solid rgba(156, 140, 255, 0.24);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(156, 140, 255, 0.16), transparent 64%),
    rgba(11, 13, 16, 0.56);
  color: #e4e0ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.95rem;
  font-weight: 720;
  box-shadow: inset 0 1px 0 rgba(237, 247, 245, 0.04);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.skill-grid span:hover {
  transform: translateY(-1px);
  border-color: rgba(156, 140, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(237, 247, 245, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.18);
}

.education {
  background:
    linear-gradient(135deg, rgba(156, 140, 255, 0.12), transparent 44%),
    rgba(17, 22, 27, 0.86);
}

.education-list {
  display: grid;
  gap: 26px;
}

.education__item {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(156, 140, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(156, 140, 255, 0.12), transparent 44%),
    rgba(11, 13, 16, 0.62);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.education__item::after {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-70%);
  animation: card-signal 6s ease-in-out infinite;
}

.education__item:last-child {
  border-bottom: 1px solid rgba(156, 140, 255, 0.22);
}

.education__row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.education__row p {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 760;
}

.market-panel {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 18px;
  align-items: stretch;
  margin: 0 0 28px;
}

.market-panel__statement {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(156, 140, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(156, 140, 255, 0.2), transparent 54%),
    rgba(11, 13, 16, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(237, 247, 245, 0.06),
    0 18px 60px rgba(0, 0, 0, 0.18);
}

.logo-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ulaval-shield {
  width: clamp(38px, 5vw, 58px);
  height: auto;
  flex: 0 0 auto;
}

.market-panel__statement span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.market-panel__statement strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  line-height: 1.08;
}

.market-panel__loop {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.market-panel__loop span {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 12px;
  border: 1px solid rgba(156, 140, 255, 0.2);
  border-radius: 8px;
  background: rgba(11, 13, 16, 0.52);
  color: #dcd8ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.76rem;
  font-weight: 760;
  text-align: center;
  text-transform: uppercase;
}

.contact {
  padding: clamp(64px, 9vw, 132px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(156, 140, 255, 0.12), transparent 34%),
    #101820;
  color: #f7fbfb;
}

.contact h2 {
  max-width: 920px;
  margin-bottom: 28px;
  font-size: clamp(2.1rem, 5vw, 5.4rem);
  line-height: 1;
}

.contact .eyebrow {
  color: #b9b1ff;
}

.contact .button--ghost {
  border-color: rgba(247, 251, 251, 0.45);
  color: #f7fbfb;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  background: #0b0d10;
  color: rgba(247, 251, 251, 0.68);
  border-top: 1px solid rgba(247, 251, 251, 0.12);
}

.footer p,
.footer a {
  margin: 0;
  color: inherit;
  text-decoration: none;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@keyframes board-sweep {
  0%,
  100% {
    background-position: -40% 0, 0 0, 0 0, 0 0, 0 0;
  }

  50% {
    background-position: 140% 0, 0 0, 0 0, 0 0, 0 0;
  }
}

@keyframes cursor-blink {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

@keyframes map-scan {
  0%,
  35% {
    transform: translateX(-100%);
  }

  70%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes packet {
  0% {
    transform: translateX(0);
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  86% {
    opacity: 1;
  }

  100% {
    transform: translateX(100px);
    opacity: 0;
  }
}

@keyframes card-signal {
  0%,
  42% {
    transform: translateX(-70%);
    opacity: 0;
  }

  54% {
    opacity: 1;
  }

  84%,
  100% {
    transform: translateX(70%);
    opacity: 0;
  }
}

@keyframes panel-pulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scaleX(0.72);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .language-switch {
    align-self: flex-start;
  }

  .hero,
  .section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__system {
    min-height: auto;
    max-height: none;
  }

  .section__label {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .section::after {
    max-width: 100%;
    font-size: clamp(3.2rem, 16vw, 6.5rem);
    opacity: 0.7;
  }

  .section__label::before {
    display: none;
  }

  .section__label p {
    margin-bottom: 0;
  }

  .section-panel {
    width: 100%;
    margin-top: 14px;
  }

  .section__body::before,
  .section__body::after {
    display: none;
  }

  .enablement-panel {
    grid-template-columns: 1fr;
  }

  .market-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .hero__system {
    padding: 14px;
  }

  .architecture-map {
    min-height: 180px;
  }

  .map-node {
    width: 62px;
    height: 36px;
    font-size: 0.68rem;
  }

  .role-card__heading,
  .education__row {
    flex-direction: column;
    gap: 6px;
  }

  .timeline::before {
    display: none;
  }

  .role-card {
    margin-left: 0;
  }

  .role-card::before {
    display: none;
  }

  .market-panel__loop {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }
}
