@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Orbitron:wght@500;600;700&display=swap");

:root {
  --ink: #f4fff9;
  --muted: rgba(226, 245, 235, 0.58);
  --accent: #39ff9d;
  --cyan: #57d5ff;
  --pink: #ff77d0;
  --panel: rgba(8, 6, 10, 0.45);
  --line: rgba(255, 255, 255, 0.11);
  --pointer-x: 50vw;
  --pointer-y: 50vh;
}

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

html {
  min-height: 100%;
  color-scheme: dark;
  background: #07050a;
}

body {
  min-height: 100%;
  color: var(--ink);
  background: #07050a;
  font-family: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

::selection {
  color: #06110b;
  background: var(--accent);
}

.particle-canvas {
  position: fixed;
  z-index: -3;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  pointer-events: none;
}

.grain {
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  pointer-events: none;
}

.notice {
  position: fixed;
  z-index: 20;
  bottom: 24px;
  left: 50%;
  padding: 11px 17px;
  border: 1px solid rgba(57, 255, 157, 0.28);
  border-radius: 999px;
  background: rgba(5, 13, 9, 0.9);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  color: rgba(231, 255, 243, 0.9);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity 220ms ease, transform 220ms ease;
  backdrop-filter: blur(14px);
}

.notice.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Home */

.home-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  min-height: 100dvh;
  place-items: center;
  overflow-x: hidden;
  overflow-y: auto;
  padding: clamp(20px, 4vw, 56px);
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 8%, rgba(102, 57, 127, 0.28), transparent 38%),
    radial-gradient(circle at 86% 92%, rgba(16, 79, 57, 0.2), transparent 42%),
    linear-gradient(140deg, #160e1c 0%, #0c0911 52%, #020303 100%);
}

.home-shell::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.52));
  content: "";
  pointer-events: none;
}

.ambient-light {
  position: fixed;
  z-index: -1;
  top: var(--pointer-y);
  left: var(--pointer-x);
  width: min(720px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 255, 155, 0.075), transparent 62%);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.hero-panel {
  position: relative;
  width: min(940px, 100%);
  overflow: hidden;
  padding: clamp(24px, 4.5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025)),
    var(--panel);
  box-shadow:
    0 36px 100px rgba(0, 0, 0, 0.62),
    inset 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px) saturate(125%);
  animation: panel-in 800ms both cubic-bezier(0.18, 0.8, 0.2, 1);
}

.hero-panel::before {
  position: absolute;
  top: -120px;
  left: 16%;
  width: 62%;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  content: "";
  filter: blur(52px);
}

.panel-header,
.panel-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.eyebrow,
.index-mark,
.interaction-hint {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(57, 255, 157, 0.85);
  animation: pulse 2.4s ease-in-out infinite;
}

.home-intro {
  margin: clamp(52px, 8vh, 84px) 0 clamp(34px, 5vw, 52px);
}

.typing-title {
  min-height: 1.25em;
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: clamp(28px, 5.5vw, 58px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.typing-title [data-typing] {
  background: linear-gradient(100deg, #fff 10%, #dffcec 58%, #91f9c4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 0.88em;
  margin-left: 9px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(57, 255, 157, 0.75);
  vertical-align: -0.05em;
  animation: cursor-blink 900ms steps(1) infinite;
}

.intro-copy {
  margin-top: 18px;
  color: rgba(225, 241, 232, 0.58);
  font-size: clamp(12px, 1.5vw, 14px);
  line-height: 1.7;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.project-link {
  position: relative;
  display: grid;
  min-height: 104px;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  padding: 18px 19px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 17px;
  background: rgba(2, 3, 3, 0.34);
  text-decoration: none;
  transition: border-color 240ms ease, background 240ms ease, transform 240ms ease;
}

.project-link:hover,
.project-link:focus-visible {
  border-color: rgba(76, 255, 169, 0.34);
  outline: none;
  background: rgba(17, 38, 27, 0.42);
  transform: translateY(-3px);
}

.project-number {
  align-self: start;
  margin-right: 13px;
  color: var(--accent);
  font-size: 9px;
}

.project-name {
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
}

.project-note {
  grid-column: 2 / 3;
  align-self: end;
  color: rgba(225, 241, 232, 0.45);
  font-size: 10px;
  text-transform: uppercase;
}

.project-arrow {
  grid-column: 3;
  grid-row: 1 / 3;
  color: rgba(255, 255, 255, 0.46);
  font-size: 18px;
}

.project-link--wide {
  min-height: 82px;
  grid-column: 1 / -1;
}

.panel-footer {
  margin-top: clamp(30px, 4vw, 42px);
}

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

.socials a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  text-decoration: none;
  transition: color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.socials a:hover,
.socials a:focus-visible {
  border-color: rgba(57, 255, 157, 0.5);
  outline: none;
  color: var(--accent);
  transform: translateY(-2px);
}

.interaction-hint {
  animation: soft-blink 2.4s ease-in-out infinite;
}

.interaction-hint span {
  margin-right: 8px;
  color: var(--accent);
}

/* About */

.about-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  min-height: 100dvh;
  place-items: center;
  overflow-x: hidden;
  padding: clamp(18px, 4vw, 54px);
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 12%, rgba(57, 255, 157, 0.12), transparent 31%),
    radial-gradient(circle at 10% 86%, rgba(91, 60, 118, 0.22), transparent 36%),
    linear-gradient(148deg, #160e1b 0%, #09080b 48%, #020504 100%);
}

.about-panel {
  width: min(1080px, 100%);
  padding: clamp(24px, 4.5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)),
    rgba(5, 5, 7, 0.58);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(24px);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: clamp(30px, 7vw, 86px);
  align-items: end;
  margin: clamp(48px, 8vh, 86px) 0 43px;
}

.about-kicker,
.about-section-label,
.education-status {
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.about-title {
  max-width: 820px;
  margin-top: 15px;
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: clamp(42px, 7.4vw, 82px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.about-title span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(133, 255, 194, 0.7);
}

.about-monogram {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(57, 255, 157, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle, rgba(57, 255, 157, 0.12), transparent 62%),
    rgba(5, 16, 10, 0.46);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 0 58px rgba(57, 255, 157, 0.055);
  color: rgba(226, 255, 240, 0.9);
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: 48px;
  letter-spacing: -0.08em;
}

.about-copy {
  display: grid;
  max-width: 890px;
  gap: 17px;
  color: rgba(220, 244, 232, 0.62);
  font-size: clamp(12px, 1.35vw, 14px);
  line-height: 1.85;
}

.about-copy strong {
  color: rgba(244, 255, 249, 0.92);
  font-weight: 500;
}

.about-section {
  margin-top: 43px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 17px;
}

.education-card {
  position: relative;
  padding: 21px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 15px;
  background: rgba(1, 4, 2, 0.25);
}

.education-number {
  display: inline-block;
  margin-bottom: 30px;
  color: rgba(57, 255, 157, 0.45);
  font-size: 9px;
}

.education-card h2 {
  max-width: 420px;
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: clamp(14px, 2vw, 19px);
  line-height: 1.35;
}

.education-card p {
  margin-top: 10px;
  color: rgba(221, 244, 232, 0.5);
  font-size: 10px;
  line-height: 1.7;
}

.education-status {
  position: absolute;
  top: 21px;
  right: 21px;
  color: rgba(221, 244, 232, 0.36);
  font-size: 7px;
}

.focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
  list-style: none;
}

.focus-list li {
  padding: 9px 11px;
  border: 1px solid rgba(57, 255, 157, 0.13);
  border-radius: 999px;
  background: rgba(57, 255, 157, 0.025);
  color: rgba(218, 249, 233, 0.58);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.about-actions a {
  padding: 12px 15px;
  border: 1px solid rgba(57, 255, 157, 0.28);
  border-radius: 8px;
  background: rgba(57, 255, 157, 0.035);
  color: rgba(225, 255, 239, 0.76);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.about-actions a:hover,
.about-actions a:focus-visible {
  border-color: rgba(57, 255, 157, 0.55);
  outline: none;
  background: rgba(57, 255, 157, 0.08);
  color: var(--accent);
}

.about-actions .about-contact-link {
  border-color: rgba(57, 255, 157, 0.4);
  background: rgba(57, 255, 157, 0.075);
  color: var(--accent);
}

/* Projects */

.projects-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  min-height: 100dvh;
  place-items: center;
  overflow: hidden;
  padding: clamp(18px, 4vw, 54px);
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 10%, rgba(113, 61, 135, 0.24), transparent 38%),
    radial-gradient(circle at 82% 88%, rgba(21, 90, 63, 0.18), transparent 38%),
    linear-gradient(152deg, #1b0f20 0%, #0b080e 55%, #020303 100%);
}

.subpage-panel {
  width: min(960px, 100%);
  padding: clamp(23px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)), rgba(5, 4, 7, 0.44);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(23px);
}

.subpage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-link {
  color: rgba(233, 250, 241, 0.63);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.back-link span {
  margin-right: 7px;
  color: var(--accent);
}

.subpage-index,
.subpage-kicker,
.subpage-hint {
  color: rgba(225, 241, 232, 0.48);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.subpage-intro {
  margin: clamp(46px, 7vh, 76px) 0 34px;
}

.subpage-kicker {
  margin-bottom: 12px;
  color: var(--accent);
}

.subpage-intro h1 {
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: clamp(40px, 8vw, 80px);
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.subpage-intro > p:last-child {
  margin-top: 17px;
  color: var(--muted);
  font-size: 12px;
}

.projects-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.projects-row {
  display: grid;
  width: 100%;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  padding: 17px 4px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: padding 230ms ease, background 230ms ease;
}

.projects-row:hover,
.projects-row:focus-visible {
  padding-right: 14px;
  padding-left: 14px;
  outline: none;
  background: rgba(59, 255, 160, 0.045);
}

.projects-row-number {
  color: var(--accent);
  font-size: 9px;
}

.projects-row strong {
  display: block;
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: clamp(13px, 2vw, 17px);
  text-transform: uppercase;
}

.projects-row small {
  display: block;
  margin-top: 5px;
  color: rgba(225, 241, 232, 0.45);
  font-size: 9px;
  text-transform: uppercase;
}

.projects-row-arrow {
  color: rgba(255, 255, 255, 0.48);
  font-size: 18px;
}

.projects-row-status {
  padding: 5px 8px;
  border: 1px solid rgba(57, 255, 157, 0.2);
  border-radius: 999px;
  color: rgba(126, 255, 192, 0.62);
  font-size: 8px;
  text-transform: uppercase;
}

.subpage-hint {
  margin-top: 28px;
  text-align: center;
  animation: soft-blink 2.4s ease-in-out infinite;
}

/* Project case studies */

.projects-shell--case-studies {
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
}

.projects-panel {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.projects-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 36px;
  align-items: end;
}

.projects-intro > p:last-child {
  margin: 0 0 4px;
  font-size: 11px;
  line-height: 1.8;
}

.case-study-layout {
  display: grid;
  grid-template-columns: minmax(245px, 300px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.case-study-list {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 17px;
  background: rgba(0, 0, 0, 0.22);
}

.case-study-trigger {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 77px;
  grid-template-columns: 31px 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 13px 13px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: color 180ms ease, background 180ms ease, padding 180ms ease;
}

.case-study-trigger:last-child {
  border-bottom: 0;
}

.case-study-trigger::before {
  position: absolute;
  width: 2px;
  background: var(--accent);
  content: "";
  inset: 12px auto 12px 0;
  opacity: 0;
  transform: scaleY(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.case-study-trigger:hover,
.case-study-trigger:focus-visible,
.case-study-trigger.is-active {
  outline: none;
  background: linear-gradient(90deg, rgba(57, 255, 157, 0.09), rgba(57, 255, 157, 0.018));
}

.case-study-trigger.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.case-trigger-number {
  color: rgba(57, 255, 157, 0.52);
  font-size: 8px;
}

.case-study-trigger strong {
  display: block;
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  text-transform: uppercase;
}

.case-study-trigger small {
  display: block;
  margin-top: 4px;
  color: rgba(225, 241, 232, 0.4);
  font-size: 7px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-trigger-arrow {
  color: rgba(255, 255, 255, 0.35);
  font-size: 15px;
  transition: color 180ms ease, transform 180ms ease;
}

.case-study-trigger.is-active .case-trigger-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

.case-trigger-status {
  padding: 4px 6px;
  border: 1px solid rgba(57, 255, 157, 0.23);
  border-radius: 999px;
  color: rgba(126, 255, 192, 0.64);
  font-size: 7px;
  text-transform: uppercase;
}

.case-study-stage {
  min-width: 0;
}

.case-study-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.055), transparent 35%),
    rgba(1, 4, 3, 0.43);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.25);
  animation: case-enter 240ms ease both;
}

.case-visual {
  position: relative;
  aspect-ratio: 16 / 8.55;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #030605;
}

.case-visual--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.case-study-card:hover .case-visual--image img {
  transform: scale(1.025);
}

.case-visual--image::after {
  position: absolute;
  background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.88));
  content: "";
  inset: 0;
  pointer-events: none;
}

.case-visual--light::after {
  background: linear-gradient(180deg, transparent 67%, rgba(2, 6, 4, 0.84));
}

.case-visual figcaption,
.generated-caption {
  position: absolute;
  z-index: 1;
  right: 17px;
  bottom: 13px;
  left: 17px;
  display: flex;
  justify-content: space-between;
  color: rgba(234, 255, 244, 0.62);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-study-content {
  padding: clamp(21px, 3vw, 31px);
}

.case-study-heading {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
}

.case-study-heading p,
.case-problem span,
.case-detail-grid h3 {
  color: var(--accent);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-study-heading h2 {
  max-width: 75%;
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: clamp(21px, 3vw, 35px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  text-align: right;
  text-transform: uppercase;
}

.case-problem {
  display: grid;
  grid-template-columns: 91px 1fr;
  gap: 12px;
  margin-top: 23px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(225, 245, 235, 0.7);
  font-size: 10px;
  line-height: 1.65;
}

.case-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.case-detail-grid section {
  min-width: 0;
}

.case-detail-grid h3 {
  margin-bottom: 8px;
  color: rgba(128, 255, 192, 0.72);
  font-size: 7px;
}

.case-detail-grid p {
  color: rgba(218, 241, 229, 0.51);
  font-size: 8px;
  line-height: 1.7;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
  list-style: none;
}

.case-tags li {
  padding: 6px 8px;
  border: 1px solid rgba(57, 255, 157, 0.14);
  border-radius: 999px;
  background: rgba(57, 255, 157, 0.025);
  color: rgba(202, 246, 223, 0.53);
  font-size: 7px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-launch {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: 21px;
  padding: 12px 14px;
  border: 1px solid rgba(57, 255, 157, 0.3);
  border-radius: 9px;
  background: rgba(57, 255, 157, 0.045);
  color: rgba(224, 255, 239, 0.8);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.case-launch:hover,
.case-launch:focus-visible {
  border-color: var(--accent);
  outline: none;
  background: rgba(57, 255, 157, 0.1);
  color: var(--accent);
}

.case-launch--disabled {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.018);
  color: rgba(225, 241, 232, 0.35);
}

.projects-interaction-hint {
  margin-top: 18px;
  color: rgba(225, 241, 232, 0.37);
  font-size: 7px;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.projects-quant-teaser {
  display: grid;
  width: min(1240px, 100%);
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin: 18px auto 0;
  padding: clamp(22px, 3.4vw, 36px);
  border: 1px solid rgba(57, 255, 157, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 50%, rgba(57, 255, 157, 0.09), transparent 32%),
    rgba(4, 9, 6, 0.66);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
}

.projects-quant-teaser h2 {
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: clamp(25px, 4vw, 42px);
  letter-spacing: -0.05em;
}

.projects-quant-teaser p:last-child {
  max-width: 650px;
  margin-top: 7px;
  color: rgba(220, 244, 232, 0.52);
  font-size: 9px;
  line-height: 1.7;
}

.projects-quant-teaser > a {
  padding: 12px 14px;
  border: 1px solid rgba(57, 255, 157, 0.28);
  border-radius: 8px;
  color: var(--accent);
  font-size: 8px;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.case-visual--blackjack {
  background:
    radial-gradient(circle at 79% 28%, rgba(255, 189, 70, 0.1), transparent 28%),
    linear-gradient(145deg, #130e09, #040606 58%, #05130d);
}

.blackjack-preview,
.simufi-preview {
  position: absolute;
  padding: clamp(24px, 4vw, 48px);
  inset: 0;
}

.blackjack-preview > p,
.simufi-preview > p {
  color: rgba(235, 255, 245, 0.44);
  font-size: 7px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.blackjack-preview h3 {
  position: relative;
  z-index: 1;
  margin-top: 11px;
  color: #fff7e9;
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: clamp(29px, 5vw, 60px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.86;
}

.blackjack-preview h3 span {
  color: var(--accent);
}

.blackjack-metrics {
  position: absolute;
  z-index: 1;
  top: clamp(24px, 4vw, 48px);
  right: clamp(24px, 4vw, 48px);
  display: flex;
  gap: 8px;
}

.blackjack-metrics span {
  min-width: 70px;
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(236, 255, 246, 0.42);
  font-size: 6px;
  text-transform: uppercase;
}

.blackjack-metrics strong {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 400;
}

.blackjack-chart {
  position: absolute;
  right: 5%;
  bottom: 18%;
  left: 5%;
  height: 43%;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 25%;
  transform: skewY(-1deg);
}

.blackjack-chart span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  border-top: 1px solid rgba(57, 255, 157, 0.35);
  opacity: 0.42;
  clip-path: polygon(0 82%, 9% 72%, 18% 75%, 27% 52%, 36% 60%, 45% 38%, 54% 45%, 63% 22%, 72% 34%, 81% 16%, 91% 20%, 100% 4%, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(57, 255, 157, 0.07), transparent 65%);
  transform: translateY(var(--chart-shift, 0));
}

.blackjack-chart span:nth-child(2) { --chart-shift: 7%; opacity: 0.25; }
.blackjack-chart span:nth-child(3) { --chart-shift: 14%; opacity: 0.18; }
.blackjack-chart span:nth-child(4) { --chart-shift: -8%; opacity: 0.2; }
.blackjack-chart span:nth-child(5) { --chart-shift: 21%; opacity: 0.14; }
.blackjack-chart span:nth-child(6) { --chart-shift: -15%; opacity: 0.12; }
.blackjack-chart span:nth-child(7) { --chart-shift: 29%; opacity: 0.1; }
.blackjack-chart span:nth-child(8) { --chart-shift: -22%; opacity: 0.08; }
.blackjack-chart span:nth-child(9) { --chart-shift: 36%; opacity: 0.07; }

.case-visual--simufi {
  background:
    radial-gradient(circle at 50% 55%, rgba(57, 255, 157, 0.1), transparent 36%),
    linear-gradient(150deg, #180c20, #060408 57%, #020805);
}

.simufi-preview h3 {
  position: relative;
  z-index: 2;
  margin-top: 14px;
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: clamp(40px, 8vw, 88px);
  font-weight: 500;
  letter-spacing: -0.09em;
}

.simufi-preview h3 span {
  color: var(--accent);
}

.simufi-preview > strong {
  position: absolute;
  right: 7%;
  bottom: 20%;
  padding: 8px 10px;
  border: 1px solid rgba(57, 255, 157, 0.18);
  border-radius: 999px;
  color: rgba(180, 255, 215, 0.52);
  font-size: 6px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.simufi-orbit {
  position: absolute;
  top: 12%;
  right: 9%;
  width: 34%;
  aspect-ratio: 1;
  border: 1px solid rgba(57, 255, 157, 0.17);
  border-radius: 50%;
}

.simufi-orbit::before,
.simufi-orbit::after {
  position: absolute;
  border: 1px solid rgba(57, 255, 157, 0.1);
  border-radius: 50%;
  content: "";
  inset: 15%;
}

.simufi-orbit::after {
  border-color: rgba(255, 255, 255, 0.09);
  inset: 34%;
}

.simufi-orbit span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 15px rgba(57, 255, 157, 0.9);
}

.simufi-orbit span:nth-child(1) { top: 8%; left: 28%; }
.simufi-orbit span:nth-child(2) { top: 53%; right: -2px; }
.simufi-orbit span:nth-child(3) { bottom: 2%; left: 33%; }

.simufi-paths {
  position: absolute;
  right: 6%;
  bottom: 23%;
  left: 6%;
  height: 26%;
  opacity: 0.45;
}

.simufi-paths i {
  position: absolute;
  border-top: 1px solid rgba(57, 255, 157, 0.38);
  inset: 20% 0 auto;
  transform: rotate(var(--path-angle, 0deg)) skewX(22deg);
}

.simufi-paths i:nth-child(2) { --path-angle: 3deg; top: 36%; }
.simufi-paths i:nth-child(3) { --path-angle: -4deg; top: 51%; }
.simufi-paths i:nth-child(4) { --path-angle: 7deg; top: 65%; }
.simufi-paths i:nth-child(5) { --path-angle: -8deg; top: 79%; }

/* Quant Lab */

.quant-lab-shell {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  padding: clamp(18px, 4vw, 54px);
  isolation: isolate;
  background:
    radial-gradient(circle at 77% 17%, rgba(57, 255, 157, 0.11), transparent 28%),
    radial-gradient(circle at 13% 76%, rgba(91, 44, 118, 0.27), transparent 34%),
    linear-gradient(148deg, #160d1b, #070908 55%, #020403);
}

.quant-grid-bg {
  position: fixed;
  z-index: -2;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(57, 255, 157, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 157, 0.12) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 80%, transparent);
}

.quant-lab-panel {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4.5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: rgba(4, 7, 5, 0.68);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(24px);
}

.quant-lab-hero {
  display: grid;
  grid-template-columns: minmax(310px, 0.82fr) minmax(390px, 1.18fr);
  gap: clamp(38px, 7vw, 84px);
  align-items: center;
  margin: clamp(48px, 8vh, 88px) 0 clamp(58px, 8vh, 90px);
}

.quant-status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(187, 255, 220, 0.58);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quant-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(57, 255, 157, 0.9);
  animation: pulse 2.4s ease-in-out infinite;
}

.quant-lab-copy h1 {
  margin-top: 19px;
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: clamp(58px, 9vw, 118px);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 0.78;
}

.quant-lab-copy h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(117, 255, 184, 0.7);
}

.quant-lab-copy > p:last-of-type {
  max-width: 520px;
  margin-top: 29px;
  color: rgba(220, 244, 232, 0.57);
  font-size: 11px;
  line-height: 1.85;
}

.quant-lab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 27px;
}

.quant-lab-actions a {
  padding: 11px 13px;
  border: 1px solid rgba(57, 255, 157, 0.27);
  border-radius: 8px;
  color: rgba(219, 255, 237, 0.72);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.quant-lab-actions a:last-child {
  border-color: rgba(255, 255, 255, 0.1);
}

.quant-instrument {
  overflow: hidden;
  border: 1px solid rgba(57, 255, 157, 0.22);
  border-radius: 19px;
  background:
    linear-gradient(135deg, rgba(57, 255, 157, 0.035), transparent 45%),
    rgba(0, 4, 2, 0.82);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 28px 75px rgba(0, 0, 0, 0.4);
}

.quant-instrument-bar {
  display: flex;
  justify-content: space-between;
  padding: 13px 15px;
  border-bottom: 1px solid rgba(57, 255, 157, 0.13);
  color: rgba(173, 247, 208, 0.4);
  font-size: 6px;
  letter-spacing: 0.12em;
}

.quant-chart {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 19px;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 20% 25%;
}

.quant-axis {
  position: absolute;
  color: rgba(194, 238, 215, 0.26);
  font-size: 6px;
  letter-spacing: 0.12em;
}

.quant-axis--y {
  top: 0;
  left: -8px;
  transform: rotate(-90deg) translateX(-100%);
  transform-origin: top left;
}

.quant-axis--x {
  right: 0;
  bottom: -14px;
}

.quant-paths {
  position: absolute;
  inset: 0;
}

.quant-paths i {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(57, 255, 157, 0.07), transparent 72%);
  clip-path: polygon(0 83%, 8% 79%, 18% 67%, 27% 71%, 38% 45%, 47% 52%, 57% 36%, 68% 40%, 78% 19%, 89% 25%, 100% 6%, 100% 100%, 0 100%);
  opacity: 0.53;
  transform: translateY(var(--quant-shift, 0));
}

.quant-paths i:nth-child(2) { --quant-shift: 8%; opacity: 0.33; }
.quant-paths i:nth-child(3) { --quant-shift: 16%; opacity: 0.22; }
.quant-paths i:nth-child(4) { --quant-shift: -9%; opacity: 0.2; }
.quant-paths i:nth-child(5) { --quant-shift: 26%; opacity: 0.14; }
.quant-paths i:nth-child(6) { --quant-shift: -18%; opacity: 0.12; }

.quant-crosshair {
  position: absolute;
  top: 37%;
  left: 67%;
  width: 12px;
  height: 12px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(57, 255, 157, 0.6);
}

.quant-crosshair::before,
.quant-crosshair::after {
  position: absolute;
  background: rgba(57, 255, 157, 0.18);
  content: "";
}

.quant-crosshair::before {
  top: 5px;
  right: -100vw;
  left: -100vw;
  height: 1px;
}

.quant-crosshair::after {
  top: -100vh;
  bottom: -100vh;
  left: 5px;
  width: 1px;
}

.quant-readouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(57, 255, 157, 0.13);
}

.quant-readouts p {
  padding: 13px 15px;
  border-right: 1px solid rgba(57, 255, 157, 0.1);
}

.quant-readouts p:last-child {
  border-right: 0;
}

.quant-readouts span,
.quant-readouts strong {
  display: block;
}

.quant-readouts span {
  color: rgba(184, 232, 206, 0.36);
  font-size: 6px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quant-readouts strong {
  margin-top: 6px;
  color: rgba(222, 255, 238, 0.72);
  font-size: 11px;
  font-weight: 400;
}

.quant-roadmap {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.quant-roadmap-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 380px);
  gap: 32px;
  align-items: end;
}

.quant-roadmap h2 {
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: clamp(21px, 3.4vw, 37px);
  letter-spacing: -0.045em;
}

.quant-roadmap-header > p {
  color: rgba(220, 244, 232, 0.48);
  font-size: 9px;
  line-height: 1.7;
}

.quant-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 24px;
  list-style: none;
}

.quant-roadmap-grid li {
  display: grid;
  min-height: 104px;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  gap: 7px 13px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.018);
}

.quant-roadmap-grid span {
  grid-row: 1 / 3;
  color: rgba(57, 255, 157, 0.46);
  font-size: 7px;
}

.quant-roadmap-grid strong {
  align-self: end;
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.quant-roadmap-grid small {
  color: rgba(220, 244, 232, 0.35);
  font-size: 7px;
  text-transform: uppercase;
}

.terminal-content h1 span {
  display: block;
  margin-bottom: 7px;
  color: rgba(199, 255, 225, 0.38);
  font-size: 0.36em;
  letter-spacing: 0.02em;
}

@keyframes case-enter {
  from {
    opacity: 0.35;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Build With Me demo */

.build-shell {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  padding: 0 clamp(18px, 4vw, 58px);
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 8%, rgba(57, 255, 157, 0.1), transparent 28%),
    radial-gradient(circle at 4% 36%, rgba(89, 45, 110, 0.2), transparent 30%),
    linear-gradient(145deg, #120b16 0%, #070908 42%, #020403 100%);
}

.build-grid-bg {
  position: fixed;
  z-index: -2;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(57, 255, 157, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 157, 0.12) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, transparent, #000 24%, #000 82%, transparent);
}

.build-nav,
.build-hero,
.build-capability-strip,
.build-section,
.build-fit,
.build-contact,
.build-footer {
  width: min(1240px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.build-nav {
  position: relative;
  z-index: 4;
  display: grid;
  min-height: 78px;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.build-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(232, 255, 243, 0.72);
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.build-brand span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(57, 255, 157, 0.36);
  border-radius: 8px;
  background: rgba(57, 255, 157, 0.04);
  color: var(--accent);
  font-size: 8px;
}

.build-nav > div {
  display: flex;
  gap: clamp(14px, 2.5vw, 32px);
}

.build-nav > div a,
.build-nav-contact {
  color: rgba(218, 244, 231, 0.48);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.build-nav > div a:hover,
.build-nav > div a:focus-visible {
  outline: none;
  color: var(--accent);
}

.build-nav-contact {
  justify-self: end;
  padding: 10px 12px;
  border: 1px solid rgba(57, 255, 157, 0.28);
  border-radius: 8px;
  background: rgba(57, 255, 157, 0.04);
  color: rgba(218, 255, 237, 0.78);
}

.build-hero {
  display: grid;
  min-height: min(790px, calc(100svh - 78px));
  grid-template-columns: minmax(0, 1.13fr) minmax(360px, 0.87fr);
  gap: clamp(40px, 7vw, 92px);
  align-items: center;
  padding: clamp(70px, 10vh, 118px) 0;
}

.build-status,
.build-kicker {
  color: rgba(158, 255, 205, 0.61);
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.build-status {
  display: flex;
  align-items: center;
  gap: 9px;
}

.build-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(57, 255, 157, 0.9);
  animation: pulse 2.4s ease-in-out infinite;
}

.build-hero h1 {
  max-width: 780px;
  margin-top: 23px;
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: clamp(47px, 6.5vw, 84px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.build-hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(120, 255, 187, 0.72);
}

.build-hero-copy > p:last-of-type {
  max-width: 720px;
  margin-top: 28px;
  color: rgba(219, 243, 231, 0.61);
  font-size: clamp(11px, 1.15vw, 13px);
  line-height: 1.85;
}

.build-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 29px;
}

.build-actions a {
  padding: 12px 14px;
  border: 1px solid rgba(57, 255, 157, 0.3);
  border-radius: 8px;
  background: rgba(57, 255, 157, 0.055);
  color: rgba(225, 255, 240, 0.82);
  font-size: 8px;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.build-actions a:last-child {
  border-color: rgba(255, 255, 255, 0.1);
  background: transparent;
  color: rgba(225, 242, 233, 0.54);
}

.build-actions a:hover,
.build-actions a:focus-visible {
  border-color: var(--accent);
  outline: none;
  background: rgba(57, 255, 157, 0.1);
  color: var(--accent);
}

.build-console {
  overflow: hidden;
  border: 1px solid rgba(57, 255, 157, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(57, 255, 157, 0.028), transparent 42%),
    rgba(1, 5, 3, 0.86);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46), 0 0 70px rgba(57, 255, 157, 0.045);
  transform: perspective(1200px) rotateY(-2.5deg) rotateX(1deg);
}

.build-console-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(57, 255, 157, 0.13);
  background: rgba(255, 255, 255, 0.02);
}

.build-console-bar > span {
  display: flex;
  gap: 5px;
}

.build-console-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(57, 255, 157, 0.24);
}

.build-console-bar p,
.build-console-bar b {
  color: rgba(201, 246, 222, 0.35);
  font-size: 6px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.build-console-bar b {
  justify-self: end;
  color: rgba(57, 255, 157, 0.58);
}

.build-console-body {
  padding: clamp(24px, 3vw, 38px);
}

.build-console-body > p {
  margin: 8px 0;
  color: rgba(215, 244, 229, 0.6);
  font-size: clamp(8px, 0.9vw, 10px);
  line-height: 1.5;
  white-space: nowrap;
}

.build-console-body > p > span {
  display: inline-block;
  width: 28px;
  color: rgba(211, 242, 226, 0.18);
}

.build-console-body b {
  color: #83e8ff;
  font-weight: 400;
}

.build-console-body strong {
  color: var(--accent);
  font-weight: 400;
}

.build-console-body em {
  color: #e0aeff;
  font-style: normal;
}

.build-console-run {
  margin-top: 18px !important;
}

.build-console-output {
  margin-top: 22px;
  padding: 15px;
  border: 1px solid rgba(57, 255, 157, 0.12);
  border-radius: 9px;
  background: rgba(57, 255, 157, 0.025);
}

.build-console-output p {
  margin: 6px 0;
  color: rgba(202, 244, 222, 0.46);
  font-size: 7px;
  letter-spacing: 0.06em;
}

.build-console-output span {
  margin-right: 8px;
  color: var(--accent);
}

.build-console footer {
  display: flex;
  justify-content: space-between;
  padding: 12px 15px;
  border-top: 1px solid rgba(57, 255, 157, 0.11);
  color: rgba(198, 239, 218, 0.3);
  font-size: 6px;
  letter-spacing: 0.1em;
}

.build-console footer strong {
  color: rgba(57, 255, 157, 0.65);
  font-weight: 400;
}

.build-capability-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.build-capability-strip p {
  padding: 17px 13px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(220, 244, 232, 0.48);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.build-capability-strip p:last-child {
  border-right: 0;
}

.build-capability-strip span {
  margin-right: 9px;
  color: rgba(57, 255, 157, 0.55);
}

.build-section {
  padding: clamp(88px, 12vw, 154px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.build-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 370px);
  gap: 34px;
  align-items: end;
  margin-bottom: 42px;
}

.build-section-heading h2 {
  margin-top: 12px;
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: clamp(31px, 5vw, 59px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.build-section-heading > p {
  color: rgba(217, 241, 229, 0.45);
  font-size: 9px;
  line-height: 1.8;
}

.build-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.build-service-grid article {
  position: relative;
  min-height: 315px;
  padding: clamp(23px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 17px;
  background:
    radial-gradient(circle at 100% 0, rgba(57, 255, 157, 0.055), transparent 31%),
    rgba(2, 5, 3, 0.42);
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.build-service-grid article:hover {
  border-color: rgba(57, 255, 157, 0.3);
  background:
    radial-gradient(circle at 100% 0, rgba(57, 255, 157, 0.1), transparent 34%),
    rgba(4, 10, 7, 0.62);
  transform: translateY(-3px);
}

.build-service-grid article > span {
  color: rgba(57, 255, 157, 0.53);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.build-service-grid h3 {
  margin-top: 34px;
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-transform: uppercase;
}

.build-service-grid article > p {
  max-width: 510px;
  margin-top: 18px;
  color: rgba(216, 241, 228, 0.49);
  font-size: 9px;
  line-height: 1.75;
}

.build-service-grid ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 25px;
  list-style: none;
}

.build-service-grid li {
  padding: 6px 8px;
  border: 1px solid rgba(57, 255, 157, 0.12);
  border-radius: 999px;
  color: rgba(200, 238, 219, 0.4);
  font-size: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.build-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.build-work-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 17px;
  background: rgba(2, 5, 3, 0.44);
  text-decoration: none;
  transition: border-color 220ms ease, transform 220ms ease;
}

.build-work-card--feature {
  grid-column: 1 / -1;
}

.build-work-card:hover,
.build-work-card:focus-visible {
  border-color: rgba(57, 255, 157, 0.36);
  outline: none;
  transform: translateY(-3px);
}

.build-work-card figure {
  position: relative;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: #050706;
}

.build-work-card--feature figure {
  aspect-ratio: 16 / 7.1;
}

.build-work-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.build-work-card:hover img {
  transform: scale(1.025);
}

.build-work-card figure::after {
  position: absolute;
  background: linear-gradient(180deg, transparent 60%, rgba(1, 4, 2, 0.92));
  content: "";
  inset: 0;
}

.build-work-card figcaption {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 12px;
  left: 14px;
  display: flex;
  justify-content: space-between;
  color: rgba(224, 250, 237, 0.6);
  font-size: 6px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.build-work-card > div {
  padding: clamp(19px, 2.5vw, 27px);
}

.build-work-card > div > p {
  color: rgba(57, 255, 157, 0.56);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.build-work-card h3 {
  margin-top: 9px;
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 500;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.build-work-card > div > span {
  display: block;
  max-width: 650px;
  margin-top: 12px;
  color: rgba(216, 241, 228, 0.44);
  font-size: 8px;
  line-height: 1.7;
}

.build-work-portfolio img {
  object-position: center;
}

.build-process {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}

.build-process li {
  display: grid;
  min-height: 126px;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.build-process li > span {
  color: rgba(57, 255, 157, 0.47);
  font-size: 8px;
}

.build-process li > div {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.build-process strong {
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: clamp(17px, 2.3vw, 27px);
  font-weight: 500;
  text-transform: uppercase;
}

.build-process p {
  max-width: 500px;
  color: rgba(216, 241, 228, 0.45);
  font-size: 9px;
  line-height: 1.75;
}

.build-fit {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  gap: clamp(40px, 7vw, 85px);
  align-items: center;
  padding: clamp(75px, 10vw, 118px) clamp(23px, 5vw, 66px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at 9% 50%, rgba(57, 255, 157, 0.08), transparent 35%),
    rgba(2, 7, 4, 0.43);
}

.build-fit h2 {
  max-width: 730px;
  margin-top: 13px;
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: clamp(28px, 4.4vw, 50px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.build-fit ul {
  list-style: none;
}

.build-fit li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(219, 244, 231, 0.56);
  font-size: 8px;
  line-height: 1.6;
}

.build-fit li span {
  color: var(--accent);
}

.build-contact {
  padding: clamp(100px, 15vw, 190px) 0;
  text-align: center;
}

.build-contact h2 {
  margin-top: 18px;
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: clamp(42px, 7.7vw, 93px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.91;
}

.build-contact h2 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(120, 255, 187, 0.72);
}

.build-contact > p:not(.build-kicker) {
  max-width: 650px;
  margin: 25px auto 0;
  color: rgba(219, 244, 231, 0.5);
  font-size: 10px;
  line-height: 1.8;
}

.build-contact > a {
  display: inline-flex;
  min-width: 220px;
  align-items: center;
  justify-content: space-between;
  margin-top: 31px;
  padding: 15px 17px;
  border: 1px solid rgba(57, 255, 157, 0.42);
  border-radius: 9px;
  background: rgba(57, 255, 157, 0.075);
  color: var(--accent);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
}

.build-contact > a:hover,
.build-contact > a:focus-visible {
  outline: none;
  background: rgba(57, 255, 157, 0.13);
  transform: translateY(-2px);
}

.build-contact small {
  display: block;
  margin-top: 13px;
  color: rgba(217, 241, 229, 0.3);
  font-size: 7px;
}

.build-footer {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(218, 244, 231, 0.35);
  font-size: 7px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.build-footer a {
  color: rgba(217, 255, 236, 0.6);
  text-decoration: none;
}

@media (max-width: 950px) {
  .build-nav {
    grid-template-columns: 1fr auto;
  }

  .build-nav > div {
    display: none;
  }

  .build-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .build-console {
    width: min(620px, 100%);
    transform: none;
  }

  .build-section-heading,
  .build-fit {
    grid-template-columns: 1fr;
  }

  .build-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .build-section-heading > p {
    max-width: 540px;
  }
}

@media (max-width: 700px) {
  .build-shell {
    padding:
      max(14px, env(safe-area-inset-top, 0px))
      max(18px, calc(env(safe-area-inset-right, 0px) + 12px))
      max(34px, calc(env(safe-area-inset-bottom, 0px) + 18px))
      max(18px, calc(env(safe-area-inset-left, 0px) + 12px));
  }

  .build-nav {
    min-height: 67px;
  }

  .build-brand {
    font-size: 0;
  }

  .build-nav-contact {
    padding: 9px 10px;
  }

  .build-hero {
    gap: 43px;
    padding: 70px 0 78px;
  }

  .build-hero h1 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .build-actions a {
    flex: 1 1 auto;
    text-align: center;
  }

  .build-console-body {
    padding: 22px 16px;
  }

  .build-console-body > p {
    font-size: 7px;
  }

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

  .build-capability-strip p:nth-child(2) {
    border-right: 0;
  }

  .build-capability-strip p:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .build-section {
    padding: 82px 0;
  }

  .build-section-heading {
    margin-bottom: 31px;
  }

  .build-section-heading h2 {
    font-size: clamp(29px, 10vw, 44px);
  }

  .build-service-grid,
  .build-work-grid {
    grid-template-columns: 1fr;
  }

  .build-service-grid article {
    min-height: 0;
  }

  .build-work-card--feature {
    grid-column: auto;
  }

  .build-work-card--feature figure,
  .build-work-card figure {
    aspect-ratio: 16 / 10;
  }

  .build-process li {
    min-height: 0;
    grid-template-columns: 42px 1fr;
    padding: 23px 0;
  }

  .build-process li > div {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .build-fit {
    padding: 72px 19px;
  }

  .build-contact {
    padding: 102px 0;
  }

  .build-contact h2 {
    font-size: clamp(39px, 12vw, 58px);
  }

  .build-footer {
    gap: 20px;
  }

  .build-footer p {
    text-align: right;
  }
}

/* Prompt landing */

.prompt-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  min-height: 100dvh;
  place-items: center;
  overflow: hidden;
  padding: clamp(16px, 4vw, 52px);
  isolation: isolate;
  background: radial-gradient(circle at 50% 45%, rgba(0, 255, 153, 0.07), transparent 42%), #080a09;
}

.prompt-grid-bg {
  position: fixed;
  z-index: -2;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(57, 255, 157, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 157, 0.13) 1px, transparent 1px);
  background-size: 42px 42px;
}

.code-rain {
  position: fixed;
  z-index: -3;
  inset: 0;
  overflow: hidden;
  color: rgba(57, 255, 157, 0.1);
  font-size: 9px;
  pointer-events: none;
}

.code-column {
  position: absolute;
  top: -100%;
  display: flex;
  width: 180px;
  flex-direction: column;
  gap: 9px;
  white-space: nowrap;
  animation: code-fall 18s linear infinite;
}

.terminal-panel {
  width: min(930px, 100%);
  overflow: hidden;
  border: 1px solid rgba(57, 255, 157, 0.25);
  border-radius: 15px;
  background: rgba(5, 9, 7, 0.87);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.7), 0 0 70px rgba(0, 255, 153, 0.05);
  backdrop-filter: blur(18px);
}

.terminal-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px 15px;
  border-bottom: 1px solid rgba(57, 255, 157, 0.14);
  background: rgba(255, 255, 255, 0.025);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(57, 255, 157, 0.34);
}

.terminal-bar p {
  color: rgba(199, 255, 225, 0.46);
  font-size: 9px;
}

.terminal-bar > a {
  justify-self: end;
  color: var(--muted);
  font-size: 18px;
  text-decoration: none;
}

.terminal-content {
  padding: clamp(28px, 6vw, 68px);
}

.terminal-path {
  margin-bottom: 18px;
  color: rgba(57, 255, 157, 0.48);
  font-size: 10px;
}

.terminal-path::before {
  margin-right: 9px;
  color: var(--accent);
  content: ">";
}

.terminal-content h1 {
  color: var(--accent);
  font-size: clamp(25px, 5.2vw, 52px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.15;
}

.terminal-copy {
  max-width: 610px;
  margin-top: 18px;
  color: rgba(198, 239, 218, 0.55);
  font-size: 11px;
  line-height: 1.7;
}

.endpoint-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
  margin: clamp(34px, 6vw, 58px) 0 34px;
}

.endpoint-menu a,
.endpoint-menu button {
  display: block;
  padding: 15px 17px;
  border: 1px solid rgba(57, 255, 157, 0.3);
  border-radius: 7px;
  background: rgba(0, 255, 153, 0.025);
  color: rgba(207, 255, 230, 0.78);
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-align: left;
  text-decoration: none;
}

.endpoint-menu span {
  margin-right: 10px;
  color: var(--accent);
}

.endpoint-menu a:hover,
.endpoint-menu button:hover,
.endpoint-menu a:focus-visible,
.endpoint-menu button:focus-visible {
  border-color: var(--accent);
  outline: none;
  background: rgba(0, 255, 153, 0.08);
}

.terminal-back {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

/* Prompt section pages */

.prompt-section-shell {
  display: grid;
  min-height: 100svh;
  min-height: 100dvh;
  grid-template-columns: 240px minmax(0, 1fr);
  background: radial-gradient(circle at 72% 18%, rgba(0, 255, 153, 0.045), transparent 34%), #090b0a;
  color: var(--accent);
}

.prompt-section-nav {
  position: sticky;
  top: 0;
  display: flex;
  height: 100svh;
  height: 100dvh;
  flex-direction: column;
  padding: 32px 25px;
  border-right: 1px solid rgba(57, 255, 157, 0.2);
  background: rgba(18, 22, 20, 0.88);
}

.prompt-nav-title {
  margin-bottom: 36px;
  color: var(--pink);
  text-decoration: none;
}

.prompt-section-nav nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prompt-section-nav nav a,
.prompt-section-nav nav span {
  padding: 9px 11px;
  border-left: 2px solid transparent;
  color: var(--cyan);
  font-size: 11px;
  text-decoration: none;
}

.prompt-section-nav nav a:hover,
.prompt-section-nav nav a.is-current {
  border-left-color: var(--accent);
  background: rgba(57, 255, 157, 0.06);
  color: var(--accent);
}

.prompt-section-nav nav span {
  color: rgba(87, 213, 255, 0.28);
}

.prompt-nav-back {
  margin-top: auto;
  color: rgba(197, 255, 226, 0.45);
  font-size: 9px;
  text-decoration: none;
  text-transform: uppercase;
}

.prompt-section-content {
  width: min(940px, 100%);
  padding: clamp(38px, 6vw, 76px);
}

.prompt-section-heading {
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(57, 255, 157, 0.14);
}

.prompt-section-heading h1 {
  font-size: clamp(25px, 4.5vw, 42px);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.prompt-section-heading > p:last-child {
  margin-top: 12px;
  color: rgba(57, 255, 157, 0.43);
  font-size: 11px;
}

.service-groups {
  display: grid;
  gap: 42px;
  padding-top: 42px;
}

.service-group h2 {
  color: var(--pink);
  font-size: clamp(16px, 2.4vw, 21px);
  font-weight: 500;
}

.service-subtitle {
  margin: 8px 0 18px;
  color: rgba(57, 255, 157, 0.62);
  font-size: 10px;
}

.service-subtitle::before {
  margin-right: 7px;
  content: ">";
}

.service-items {
  overflow: hidden;
  border: 1px solid rgba(57, 255, 157, 0.14);
  border-radius: 9px;
}

.service-item {
  display: block;
  width: 100%;
  padding: 15px 16px;
  border: 0;
  border-bottom: 1px solid rgba(57, 255, 157, 0.1);
  border-left: 3px solid transparent;
  background: rgba(0, 0, 0, 0.16);
  color: rgba(220, 255, 237, 0.8);
  cursor: pointer;
  font-size: 11px;
  text-align: left;
}

.service-item:last-child {
  border-bottom: 0;
}

.service-item:hover,
.service-item.is-open {
  border-left-color: var(--accent);
  background: rgba(57, 255, 157, 0.055);
}

.service-item-title {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
}

.service-toggle {
  color: var(--accent);
  font-size: 16px;
}

.service-description {
  display: block;
  max-height: 0;
  overflow: hidden;
  color: rgba(178, 245, 208, 0.65);
  font-size: 10px;
  line-height: 1.65;
  opacity: 0;
  transition: max-height 220ms ease, margin 220ms ease, opacity 220ms ease;
}

.service-item.is-open .service-description {
  max-height: 90px;
  margin-top: 10px;
  opacity: 1;
}

.section-cta {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
  padding: 17px 19px;
  border: 1px solid rgba(87, 213, 255, 0.24);
  border-radius: 8px;
  background: rgba(87, 213, 255, 0.035);
  color: var(--pink);
  cursor: pointer;
  font-size: 10px;
  text-align: left;
}

.section-cta span {
  color: var(--cyan);
}

.why-me-lead {
  max-width: 760px;
  margin: 46px 0 34px;
  color: rgba(215, 255, 235, 0.72);
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.75;
}

.strengths-list {
  overflow: hidden;
  border: 1px solid rgba(57, 255, 157, 0.14);
  border-radius: 10px;
  list-style: none;
}

.strengths-list li {
  display: grid;
  grid-template-columns: 32px 36px 1fr;
  align-items: center;
  padding: 17px 18px;
  border-bottom: 1px solid rgba(57, 255, 157, 0.1);
  color: rgba(220, 255, 237, 0.72);
  font-size: 11px;
  line-height: 1.6;
}

.strengths-list li:last-child {
  border-bottom: 0;
}

.strength-number {
  color: rgba(57, 255, 157, 0.38);
  font-size: 8px;
}

.strength-icon {
  font-size: 17px;
}

/* Blog */

.blog-body {
  min-height: 100%;
  background:
    radial-gradient(circle at 82% 2%, rgba(57, 255, 157, 0.09), transparent 28%),
    radial-gradient(circle at 4% 32%, rgba(119, 66, 142, 0.19), transparent 34%),
    #080709;
}

.blog-shell,
.article-shell {
  position: relative;
  z-index: 0;
  width: min(1160px, calc(100% - 44px));
  margin: 0 auto;
}

.blog-shell {
  padding-bottom: 36px;
}

.blog-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-nav > p,
.blog-nav > a:last-child {
  color: rgba(226, 245, 235, 0.42);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.blog-hero {
  display: grid;
  min-height: 640px;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(44px, 8vw, 116px);
  align-items: center;
  padding: clamp(70px, 10vw, 130px) 0;
}

.blog-kicker,
.article-series,
.featured-label,
.blog-index > header {
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.blog-hero h1 {
  margin-top: 17px;
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: clamp(48px, 8.5vw, 102px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.blog-hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(137, 255, 195, 0.7);
}

.blog-intro {
  max-width: 665px;
  margin-top: 31px;
  color: rgba(225, 245, 235, 0.58);
  font-size: clamp(12px, 1.4vw, 15px);
  line-height: 1.8;
}

.blog-art {
  position: relative;
  justify-self: end;
  width: min(100%, 335px);
  transform: rotate(1.5deg);
}

.blog-art::before {
  position: absolute;
  z-index: -1;
  inset: -16px;
  border: 1px solid rgba(57, 255, 157, 0.16);
  border-radius: 4px;
  content: "";
  transform: rotate(-3deg);
}

.blog-art img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  filter: saturate(0.82) contrast(1.04);
}

.blog-art figcaption,
.article-art figcaption {
  margin-top: 12px;
  color: rgba(226, 245, 235, 0.36);
  font-size: 8px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.featured-post {
  padding: 32px;
  border: 1px solid rgba(57, 255, 157, 0.17);
  border-radius: 20px;
  background:
    linear-gradient(115deg, rgba(57, 255, 157, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.025);
}

.featured-label,
.blog-index > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.featured-label span,
.blog-index > header > p:last-child {
  color: rgba(226, 245, 235, 0.36);
}

.featured-post > a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
  margin-top: 46px;
  text-decoration: none;
}

.post-meta {
  color: rgba(225, 245, 235, 0.42);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-post h2 {
  max-width: 880px;
  margin-top: 13px;
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: clamp(27px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  transition: color 180ms ease;
}

.featured-post > a p:last-child {
  max-width: 735px;
  margin-top: 17px;
  color: rgba(225, 245, 235, 0.53);
  font-size: 11px;
  line-height: 1.75;
}

.featured-arrow {
  color: var(--accent);
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: 32px;
  transition: transform 180ms ease;
}

.featured-post > a:hover h2,
.featured-post > a:focus-visible h2 {
  color: var(--accent);
}

.featured-post > a:hover .featured-arrow,
.featured-post > a:focus-visible .featured-arrow {
  transform: translateX(8px);
}

.featured-post > a:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 10px;
}

.blog-index {
  margin-top: 120px;
}

.blog-index > header {
  padding-bottom: 18px;
}

.blog-post-list {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.blog-post-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 90px 24px;
  gap: 16px;
  align-items: center;
  min-height: 112px;
  padding: 18px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: padding 200ms ease, background 200ms ease;
}

.blog-post-row:hover,
.blog-post-row:focus-visible {
  padding-right: 18px;
  padding-left: 18px;
  outline: none;
  background: rgba(57, 255, 157, 0.035);
}

.blog-post-number {
  color: rgba(57, 255, 157, 0.45);
  font-size: 9px;
}

.blog-post-title strong {
  display: block;
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: clamp(15px, 2.2vw, 22px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.blog-post-title small {
  display: block;
  margin-top: 7px;
  color: rgba(225, 245, 235, 0.38);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-post-row time,
.post-type {
  color: rgba(225, 245, 235, 0.38);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-post-row > span:last-child {
  color: var(--accent);
  font-size: 20px;
}

.blog-post-row--coming-soon {
  cursor: default;
}

.blog-post-row--coming-soon:hover {
  padding-right: 8px;
  padding-left: 8px;
  background: transparent;
}

.blog-post-row--coming-soon .post-type {
  color: rgba(57, 255, 157, 0.48);
}

.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 82px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(226, 245, 235, 0.4);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-footer a {
  color: rgba(224, 255, 238, 0.72);
  text-decoration: none;
}

.blog-footer a:hover,
.blog-footer a:focus-visible {
  outline: none;
  color: var(--accent);
}

/* Blog articles */

.article-page {
  background:
    radial-gradient(circle at 50% -8%, rgba(57, 255, 157, 0.09), transparent 26%),
    #09090a;
}

.reading-progress {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
}

.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(57, 255, 157, 0.65);
  transform: scaleX(0);
  transform-origin: left;
}

.article-shell {
  width: min(1080px, calc(100% - 44px));
  padding-bottom: 70px;
}

.article-header {
  max-width: 930px;
  margin: 0 auto;
  padding: clamp(88px, 12vw, 145px) 0 clamp(70px, 9vw, 110px);
  text-align: center;
}

.article-header h1 {
  margin: 18px auto 22px;
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: clamp(46px, 8.5vw, 96px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: rgba(225, 245, 235, 0.38);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-meta > * + *::before {
  margin-right: 18px;
  color: rgba(57, 255, 157, 0.45);
  content: "/";
}

.article-dek {
  max-width: 720px;
  margin: 38px auto 0;
  color: rgba(226, 245, 235, 0.62);
  font-size: clamp(14px, 2vw, 19px);
  line-height: 1.75;
}

.article-copy {
  width: min(720px, 100%);
  margin: 0 auto;
  color: rgba(236, 246, 240, 0.79);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.82;
}

.article-copy > p {
  margin-bottom: 1.35em;
}

.article-copy > p:first-child::first-letter {
  float: left;
  margin: 0.09em 0.11em 0 0;
  color: var(--accent);
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: 3.5em;
  line-height: 0.82;
}

.article-copy h2 {
  margin: 3.1em 0 0.9em;
  color: var(--ink);
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: clamp(24px, 4vw, 37px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.article-copy blockquote {
  margin: 2.7em 0;
  padding: 4px 0 4px 25px;
  border-left: 2px solid var(--accent);
  color: rgba(222, 255, 238, 0.92);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.86em;
  line-height: 1.75;
}

.argument-block {
  margin: 2.1em 0 2.4em;
  padding: 24px 26px;
  border: 1px solid rgba(57, 255, 157, 0.16);
  border-radius: 12px;
  background: rgba(57, 255, 157, 0.035);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.72em;
}

.argument-block p {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
}

.argument-block p + p {
  margin-top: 12px;
}

.argument-block strong {
  color: var(--accent);
  font-weight: 500;
}

.argument-block--statement p {
  display: block;
  color: rgba(225, 255, 239, 0.9);
  font-family: "Orbitron", "DM Mono", monospace;
  font-size: 1.1em;
  line-height: 1.5;
}

.article-continuation {
  margin-top: 3em;
  color: var(--accent);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.8em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-art {
  width: min(760px, 100%);
  margin: 90px auto 0;
}

.article-art img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.article-art figcaption {
  text-align: center;
}

.article-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 110px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.article-footer a {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  color: rgba(225, 245, 235, 0.58);
  font-size: 9px;
  line-height: 1.5;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.article-footer a:hover,
.article-footer a:focus-visible {
  border-color: rgba(57, 255, 157, 0.34);
  outline: none;
  background: rgba(57, 255, 157, 0.035);
  color: var(--accent);
}

@media (max-width: 980px) {
  .projects-intro,
  .quant-lab-hero,
  .quant-roadmap-header {
    grid-template-columns: 1fr;
  }

  .case-study-layout {
    grid-template-columns: 1fr;
  }

  .case-study-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-study-trigger {
    border-right: 1px solid rgba(255, 255, 255, 0.075);
  }

  .case-study-trigger:nth-child(2n) {
    border-right: 0;
  }

  .case-study-trigger:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .quant-lab-hero {
    gap: 38px;
  }

  .quant-instrument {
    width: min(720px, 100%);
  }
}

@media (max-width: 700px) {
  .home-shell {
    overflow-y: auto;
    padding:
      max(44px, calc(env(safe-area-inset-top, 0px) + 26px))
      max(40px, calc(env(safe-area-inset-right, 0px) + 28px))
      max(76px, calc(env(safe-area-inset-bottom, 0px) + 40px))
      max(40px, calc(env(safe-area-inset-left, 0px) + 28px));
  }

  .about-shell,
  .projects-shell,
  .prompt-shell,
  .quant-lab-shell {
    overflow-y: auto;
    padding:
      max(18px, calc(env(safe-area-inset-top, 0px) + 12px))
      max(18px, calc(env(safe-area-inset-right, 0px) + 12px))
      max(34px, calc(env(safe-area-inset-bottom, 0px) + 18px))
      max(18px, calc(env(safe-area-inset-left, 0px) + 12px));
  }

  .hero-panel,
  .about-panel,
  .subpage-panel,
  .quant-lab-panel {
    padding: 23px 18px;
    border-radius: 24px;
  }

  .index-mark,
  .subpage-index {
    display: none;
  }

  .home-intro {
    margin: 42px 0 30px;
  }

  .typing-title {
    min-height: 2.18em;
  }

  .project-grid,
  .endpoint-menu {
    grid-template-columns: 1fr;
  }

  .project-link {
    min-height: 76px;
    padding: 14px 15px;
  }

  .project-link--wide {
    grid-column: auto;
  }

  .about-hero {
    grid-template-columns: 1fr;
    margin: 44px 0 31px;
  }

  .about-monogram {
    display: none;
  }

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

  .education-card {
    padding: 18px;
  }

  .about-actions a {
    flex: 1 1 auto;
    text-align: center;
  }

  .interaction-hint {
    max-width: 145px;
    text-align: right;
    line-height: 1.5;
  }

  .terminal-bar {
    grid-template-columns: 1fr auto;
  }

  .terminal-bar p {
    display: none;
  }

  .prompt-section-shell {
    grid-template-columns: 1fr;
  }

  .prompt-section-nav {
    position: relative;
    height: auto;
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(57, 255, 157, 0.2);
  }

  .prompt-nav-title {
    margin-bottom: 15px;
  }

  .prompt-section-nav nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prompt-section-nav nav a,
  .prompt-section-nav nav span {
    padding: 8px;
    font-size: 9px;
  }

  .prompt-nav-back {
    margin-top: 16px;
  }

  .prompt-section-content {
    padding:
      34px
      max(18px, calc(env(safe-area-inset-right, 0px) + 12px))
      max(52px, calc(env(safe-area-inset-bottom, 0px) + 24px))
      max(18px, calc(env(safe-area-inset-left, 0px) + 12px));
  }

  .section-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-study-list {
    grid-template-columns: 1fr;
  }

  .case-study-trigger,
  .case-study-trigger:nth-child(2n) {
    min-height: 70px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  }

  .case-study-trigger:nth-last-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  }

  .case-study-trigger:last-child {
    border-bottom: 0;
  }

  .case-visual {
    aspect-ratio: 16 / 10;
  }

  .case-study-heading {
    display: block;
  }

  .case-study-heading h2 {
    max-width: none;
    margin-top: 8px;
    text-align: left;
  }

  .case-problem {
    grid-template-columns: 1fr;
  }

  .case-detail-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .case-detail-grid section + section {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .blackjack-metrics {
    display: none;
  }

  .projects-quant-teaser {
    grid-template-columns: 1fr;
    padding: 23px 19px;
  }

  .projects-quant-teaser > a {
    text-align: center;
  }

  .quant-lab-hero {
    margin: 48px 0 66px;
  }

  .quant-lab-copy h1 {
    font-size: clamp(58px, 22vw, 88px);
  }

  .quant-lab-actions a {
    flex: 1 1 auto;
    text-align: center;
  }

  .quant-instrument {
    border-radius: 14px;
  }

  .quant-chart {
    margin: 14px;
  }

  .quant-readouts p {
    padding: 11px 9px;
  }

  .quant-roadmap-grid {
    grid-template-columns: 1fr;
  }

  .quant-roadmap-grid li {
    min-height: 86px;
  }

  .strengths-list li {
    grid-template-columns: 26px 31px 1fr;
    padding: 15px 12px;
  }

  .blog-shell,
  .article-shell {
    width: calc(100% - 28px);
  }

  .blog-nav {
    min-height: 64px;
  }

  .blog-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 66px;
    padding: 65px 0 90px;
  }

  .blog-hero h1 {
    font-size: clamp(43px, 16vw, 67px);
  }

  .blog-art {
    width: min(88%, 330px);
    justify-self: center;
  }

  .featured-post {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .featured-post > a {
    gap: 16px;
    margin-top: 38px;
  }

  .featured-post h2 {
    font-size: clamp(25px, 8.5vw, 38px);
  }

  .blog-index {
    margin-top: 88px;
  }

  .blog-index > header > p:last-child {
    display: none;
  }

  .blog-post-row {
    grid-template-columns: 34px minmax(0, 1fr) 18px;
    min-height: 104px;
    gap: 10px;
  }

  .blog-post-row time,
  .blog-post-row .post-type {
    display: none;
  }

  .blog-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .article-header {
    padding: 76px 0 66px;
    text-align: left;
  }

  .article-header h1 {
    margin-right: 0;
    margin-left: 0;
    font-size: clamp(42px, 14vw, 65px);
  }

  .article-meta {
    justify-content: flex-start;
  }

  .article-dek {
    margin-right: 0;
    margin-left: 0;
  }

  .article-copy {
    font-size: 17px;
    line-height: 1.75;
  }

  .article-copy h2 {
    font-size: 25px;
  }

  .article-footer {
    grid-template-columns: 1fr;
    margin-top: 78px;
  }
}

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

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
}

@keyframes pulse {
  50% {
    opacity: 0.42;
    transform: scale(0.78);
  }
}

@keyframes cursor-blink {
  50% {
    opacity: 0;
  }
}

@keyframes soft-blink {
  50% {
    opacity: 0.48;
  }
}

@keyframes code-fall {
  to {
    transform: translateY(205vh);
  }
}
