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

:root {
  --ink: #0a0a0d;
  --ink-soft: #15151b;
  --paper: #f4f1e8;
  --paper-soft: #ddd9cf;
  --acid: #d9ff43;
  --violet: #7857ff;
  --orange: #ff6038;
  --cyan: #55e6d1;
  --muted: #c4c2bc;
  --line-dark: rgba(10, 10, 13, 0.2);
  --line-light: rgba(244, 241, 232, 0.2);
  --sans: Inter, Arial, Helvetica, sans-serif;
  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "Courier New", Courier, monospace;
  --rail: 118px;
  --top-header: 76px;
  --shell: 1500px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
  background: var(--ink);
}

body {
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 300;
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 0.55px, transparent 0.55px);
  background-size: 5px 5px;
  content: "";
  opacity: 0.07;
  pointer-events: none;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

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

::selection {
  background: var(--acid);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

main,
.footer {
  margin-left: var(--rail);
}

.shell {
  width: min(calc(100% - clamp(36px, 7vw, 112px)), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 500;
  padding: 12px 16px;
  transform: translateY(-160%);
  border: 2px solid var(--ink);
  background: var(--acid);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 200;
  width: var(--rail);
  border-right: 1px solid var(--line-light);
  background: rgba(10, 10, 13, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 100%;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 300ms ease;
}

.brand:hover .brand-logo {
  transform: rotate(-8deg);
  box-shadow: 6px 6px 0 var(--acid);
}

.brand-name {
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.76rem;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.desktop-nav {
  width: 100%;
  margin-block: auto;
  border-top: 1px solid var(--line-light);
}

.desktop-nav a {
  position: relative;
  min-height: 68px;
  padding: 12px 8px;
  display: grid;
  place-content: center;
  gap: 2px;
  border-bottom: 1px solid var(--line-light);
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease;
}

.desktop-nav a::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  transform: scaleY(0);
  background: var(--acid);
  content: "";
  transition: transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  background: var(--paper);
  color: var(--ink);
}

.desktop-nav a:hover::before,
.desktop-nav a.is-active::before {
  transform: scaleY(1);
}

.desktop-nav a span {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.header-social {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--line-light);
  background: var(--acid);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 900;
  white-space: nowrap;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease;
}

.header-social:hover {
  background: var(--violet);
  color: white;
}

.menu-button,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: radial-gradient(circle at 84% 20%, rgba(120, 87, 255, 0.32), transparent 29%), radial-gradient(circle at 55% 100%, rgba(85, 230, 209, 0.12), transparent 26%), var(--ink);
}

.hero::after {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  padding-block: clamp(42px, 6vw, 88px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  gap: clamp(22px, 3vw, 46px);
  align-items: center;
}

.hero-kicker {
  grid-column: 1 / 7;
  grid-row: 1;
  color: var(--acid);
  font-family: var(--mono);
  font-size: clamp(0.8rem, 0.9vw, 0.94rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  position: relative;
  z-index: 3;
  grid-column: 1 / 11;
  grid-row: 2;
  align-self: center;
  font-family: var(--display);
  font-size: clamp(5rem, 10.2vw, 11rem);
  font-weight: 900;
  line-height: 0.76;
  letter-spacing: -0.085em;
  text-transform: uppercase;
}

.hero-title span,
.hero-title em {
  display: block;
  width: max-content;
  max-width: 100%;
}

.hero-title span:first-child {
  margin-bottom: 0.2em;
  color: var(--paper-soft);
  font-size: 0.48em;
  letter-spacing: -0.055em;
}

.hero-title span:nth-child(2) {
  color: transparent;
  -webkit-text-stroke: clamp(1px, 0.025em, 4px) var(--paper);
}

.hero-title em {
  margin-top: 0.08em;
  margin-left: clamp(32px, 10vw, 170px);
  padding: 0.02em 0.15em 0.09em 0.06em;
  transform: rotate(-2deg);
  background: var(--acid);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.64em;
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.9;
  text-transform: none;
  box-shadow: 12px 12px 0 var(--violet);
}

.hero-visual {
  position: relative;
  z-index: 2;
  grid-column: 8 / 13;
  grid-row: 1 / 4;
  width: min(100%, 610px);
  justify-self: end;
  transform: rotate(1.5deg);
}

.hero-photo-wrap {
  position: relative;
  aspect-ratio: 0.82;
  overflow: hidden;
  background: var(--ink-soft);
  clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 48px, 100% 100%, 0 100%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.hero-photo-wrap::before {
  position: absolute;
  inset: 14px;
  z-index: 2;
  border: 1px solid rgba(217, 255, 67, 0.62);
  content: "";
  pointer-events: none;
}

.hero-photo-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(120, 87, 255, 0.08), rgba(10, 10, 13, 0.68));
  content: "";
  pointer-events: none;
}

.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
  filter: saturate(0.86) contrast(1.12) brightness(0.82);
  transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1), filter 500ms ease;
}

.hero-visual:hover .hero-photo-wrap img {
  transform: scale(1.05);
  filter: saturate(1.05) contrast(1.12) brightness(0.92);
}

.hero-visual figcaption {
  position: absolute;
  right: -14px;
  bottom: 34px;
  z-index: 4;
  max-width: 210px;
  padding: 12px 16px;
  transform: rotate(-3deg);
  background: var(--orange);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.3;
}

.hero-intro {
  position: relative;
  z-index: 4;
  grid-column: 1 / 6;
  grid-row: 3;
  max-width: 600px;
  padding: clamp(20px, 2.4vw, 34px);
  border: 1px solid var(--line-light);
  background: rgba(21, 21, 27, 0.88);
  backdrop-filter: blur(18px);
}

.hero-intro > p {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.8vw, 1.72rem);
  line-height: 1.35;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.button {
  min-height: 52px;
  padding-inline: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 2px solid currentColor;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button-dark {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--violet);
}

.button:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--violet);
}

.text-link {
  padding-block: 6px;
  border-bottom: 2px solid var(--paper);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.text-link span {
  display: inline-block;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(4px, -4px);
}

.section {
  position: relative;
  padding-block: clamp(96px, 10vw, 168px);
}

.section-heading {
  margin-bottom: clamp(54px, 7vw, 106px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 32px);
  align-items: end;
}

.section-label {
  grid-column: 1 / 3;
  align-self: start;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.section-label span {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.75rem;
}

.section-heading h2 {
  grid-column: 3 / 10;
  font-family: var(--display);
  font-size: clamp(4rem, 7.5vw, 8rem);
  font-weight: 900;
  line-height: 0.83;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.section-heading h2 em {
  color: var(--acid);
  font-family: var(--serif);
  font-weight: 400;
  text-transform: none;
}

.section-note {
  grid-column: 10 / 13;
  padding-left: 20px;
  border-left: 3px solid var(--orange);
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.4;
}

.about {
  overflow: hidden;
  background: var(--acid);
  color: var(--ink);
}

.about::after {
  position: absolute;
  top: -9vw;
  right: -9vw;
  width: 30vw;
  aspect-ratio: 1;
  border: 2px solid rgba(10, 10, 13, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(10, 10, 13, 0.04), 0 0 0 76px rgba(10, 10, 13, 0.04);
  content: "";
}

.about .section-heading h2 em {
  color: var(--violet);
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.42fr);
  gap: clamp(42px, 8vw, 140px);
  align-items: center;
}

.avatar-card {
  width: min(100%, 520px);
  transform: rotate(-2.5deg);
}

.avatar-frame {
  position: relative;
  aspect-ratio: 0.88;
  padding: clamp(36px, 5vw, 76px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--ink);
  box-shadow: 18px 18px 0 var(--violet);
}

.avatar-frame::before,
.avatar-frame::after {
  position: absolute;
  width: 78px;
  height: 78px;
  border-color: var(--acid);
  content: "";
}

.avatar-frame::before {
  top: 18px;
  left: 18px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.avatar-frame::after {
  right: 18px;
  bottom: 18px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.avatar-card:hover .avatar-frame img {
  transform: scale(1.06) rotate(2.5deg);
}

.avatar-card figcaption {
  padding: 18px 2px 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about-copy {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
}

.about-lead {
  max-width: 900px;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.4vw, 5rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.about-columns {
  max-width: 850px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.25vw, 1.28rem);
  line-height: 1.5;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 2px solid var(--ink);
}

.quick-facts div {
  min-height: 126px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(10, 10, 13, 0.28);
}

.quick-facts div:last-child {
  border-right: 0;
}

.quick-facts dt {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quick-facts dd {
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.55vw, 1.48rem);
  line-height: 1;
  text-transform: uppercase;
}

.current-snapshot {
  padding: clamp(22px, 3vw, 34px);
  border: 2px solid var(--ink);
  background: var(--paper-soft);
}

.current-snapshot h3 {
  margin-bottom: 20px;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
}

.current-snapshot dl {
  border-top: 1px solid var(--line-dark);
}

.current-snapshot dl div {
  padding-block: 14px;
  display: grid;
  grid-template-columns: minmax(110px, 0.45fr) 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line-dark);
}

.current-snapshot dt {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.current-snapshot dd {
  font-family: var(--serif);
}

.education-path {
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(24px, 3vw, 38px);
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 12px 12px 0 var(--violet);
}

.education-path-heading {
  padding-bottom: 22px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line-light);
}

.education-path-heading span {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.education-path-heading strong {
  font-family: var(--display);
  font-size: clamp(1rem, 1.55vw, 1.4rem);
  line-height: 1;
  text-align: right;
  text-transform: uppercase;
}

.education-milestones {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
}

.education-milestones li {
  position: relative;
  min-height: 190px;
  padding: 34px 28px 0 0;
  border-top: 2px solid var(--paper);
}

.education-milestones li + li {
  padding-right: 0;
  padding-left: 28px;
}

.education-milestones li::before {
  position: absolute;
  top: -9px;
  left: 0;
  width: 16px;
  height: 16px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 2px var(--paper);
  content: "";
}

.education-milestones li.is-current::before {
  background: var(--orange);
  box-shadow: 0 0 0 2px var(--orange), 0 0 0 8px rgba(255, 96, 56, 0.16);
}

.education-milestones time,
.education-milestones small {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.education-milestones time {
  color: var(--acid);
}

.education-milestones small {
  margin-top: 22px;
  color: var(--muted);
}

.education-milestones h3 {
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}

.education-milestones p {
  margin-top: 10px;
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 1rem;
}

.milestone-status {
  width: 85%;
  margin-top: 22px;
  padding: 8px 12px;
  display: block;
  border: 1px solid var(--acid);
  background: rgba(217, 255, 67, 0.08);
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.is-complete small {
  margin-top: 14px;
}

.education-year {
  margin-top: 10px;
  display: block;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.projects {
  overflow: hidden;
  background: var(--ink);
}

.projects .section-heading h2 em {
  color: var(--cyan);
}

.section-heading-light .section-label {
  color: var(--paper);
}

.section-heading-light .section-note {
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
  align-items: start;
}

.project-card {
  grid-column: span 6;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: 28px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 350ms ease;
}

.project-card.project-flint {
  background: var(--acid);
}

.project-card.project-student {
  background: var(--violet);
  color: white;
}

.project-card.project-lazyvim {
  background: var(--paper);
}

.project-card.project-hyprland {
  background: var(--orange);
}

.project-card:hover,
.project-card:focus-within {
  transform: translateY(-10px);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.38);
}

.project-link {
  min-height: 620px;
  display: grid;
  grid-template-rows: minmax(330px, 1fr) auto;
}

.project-art {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-bottom: 1px solid rgba(10, 10, 13, 0.28);
  background: #0f1015;
}

.image-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), filter 500ms ease;
}

.project-card:hover .image-art img,
.project-card:focus-within .image-art img {
  transform: scale(1.045);
  filter: saturate(1.1) contrast(1.08);
}

.lazyvim-art {
  padding: 24px;
  background: #fff;
}

.lazyvim-art img {
  object-fit: contain;
  filter: none;
}

.project-card:hover .lazyvim-art img,
.project-card:focus-within .lazyvim-art img {
  transform: none;
}

.project-copy {
  min-height: 255px;
  padding: clamp(24px, 3vw, 42px);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-copy h3 {
  margin-top: 25px;
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 4rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.project-copy > p {
  max-width: 500px;
  margin-top: 17px;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.4;
}

.project-bottom {
  margin-top: 30px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid currentColor;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-bottom b {
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.project-card:hover .project-bottom b,
.project-card:focus-within .project-bottom b {
  transform: translate(5px, -5px);
}

.flint-art {
  padding: 24px;
  display: grid;
  place-items: center;
  background: #15191f;
}

.flint-art img {
  width: min(100%, 700px);
  height: auto;
  object-fit: contain;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .flint-art img,
.project-card:focus-within .flint-art img {
  transform: scale(1.04);
}

.data-art {
  display: grid;
  place-items: center;
  background: #151b2b;
}

.data-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .data-art img,
.project-card:focus-within .data-art img {
  transform: scale(1.035);
}

.project-student .data-art {
  min-height: 330px;
}

.video-editing {
  background: var(--ink);
  color: var(--paper);
}

.video-editing .section-heading h2 em {
  color: var(--acid);
}

.editing-banner {
  margin-bottom: clamp(40px, 5vw, 64px);
  padding: clamp(24px, 3.2vw, 42px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid var(--line-light);
  border-radius: 24px;
  background: var(--ink-soft);
}

.editing-banner p {
  max-width: 900px;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 2.1rem);
  line-height: 1.35;
  color: var(--paper);
}

.editing-status {
  align-self: flex-start;
  padding: 8px 14px;
  border: 1px solid var(--acid);
  border-radius: 999px;
  background: rgba(217, 255, 67, 0.08);
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.editing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
}

.editing-card {
  padding: clamp(28px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  border: 1px solid var(--line-light);
  border-radius: 24px;
  background: var(--ink-soft);
  color: var(--paper);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms ease;
}

.editing-card:nth-child(1) {
  background: var(--ink-soft);
}

.editing-card:nth-child(2) {
  background: var(--violet);
  color: white;
}

.editing-card:nth-child(3) {
  background: var(--acid);
  color: var(--ink);
}

.editing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.editing-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.editing-card-top span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.editing-card-top small {
  font-size: 0.75rem;
  opacity: 0.8;
}

.editing-card h3 {
  margin-top: 36px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.editing-card p {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.45;
  opacity: 0.9;
}

.editing-footer {
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(24px, 3.2vw, 42px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line-light);
  border-radius: 24px;
  background: rgba(21, 21, 27, 0.6);
}

.editing-footer p {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.editing-inquiry-copy {
  max-width: 700px;
  display: grid;
  gap: 14px;
}

.editing-inquiry-copy .editing-inquiry-details {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.setup {
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.setup .section-heading h2 em {
  color: var(--violet);
}

.setup .section-note {
  color: #404047;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
}

.tool-card {
  min-height: 530px;
  padding: clamp(22px, 3vw, 38px);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 34px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 24px;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 320ms ease;
}

.tool-card:nth-child(1) { grid-column: 1 / 8; }
.tool-card:nth-child(2) { grid-column: 8 / 13; }
.tool-card:nth-child(3) { grid-column: 1 / 6; }
.tool-card:nth-child(4) { grid-column: 6 / 13; }

.tool-card:hover,
.tool-card:focus-visible {
  transform: translateY(-8px);
  box-shadow: 10px 10px 0 var(--ink);
}

.tool-windows { background: #3973ff; color: white; }
.tool-vscode { background: var(--ink-soft); color: white; }
.tool-helium { background: var(--orange); }
.tool-opencode { background: var(--acid); }

.tool-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
}

.tool-heading span {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tool-heading b {
  max-width: 68%;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.3vw, 2.3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-align: right;
  text-transform: uppercase;
}

.tool-image {
  position: relative;
  height: clamp(330px, 27vw, 430px);
  min-height: 0;
  overflow: hidden;
  align-self: end;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: #0d0e12;
}

.tool-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), filter 500ms ease;
}

.tool-windows .tool-image img {
  object-position: center bottom;
}

.tool-helium .tool-image img {
  object-position: center top;
}

.tool-opencode .tool-image img {
  object-position: center;
  transform: scale(1.08);
}

.tool-card:hover .tool-image img,
.tool-card:focus-visible .tool-image img {
  transform: scale(1.07);
}

.tool-opencode:hover .tool-image img,
.tool-opencode:focus-visible .tool-image img {
  transform: scale(1.14);
}

.tool-image figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 11px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gear {
  overflow: hidden;
  background: radial-gradient(circle at 10% 10%, rgba(120, 87, 255, 0.34), transparent 24%), var(--ink-soft);
}

.gear .section-heading h2 em {
  color: var(--orange);
}

.gear-showcase {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  perspective: 1200px;
}

.gear-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --shift-x: 0px;
  --shift-y: 0px;
  position: relative;
  grid-column: span 4;
  min-width: 0;
  min-height: 520px;
  padding: clamp(18px, 2vw, 28px);
  display: grid;
  grid-template-rows: auto 300px auto;
  gap: 16px;
  overflow: hidden;
  border: 1px solid rgba(10, 10, 13, 0.18);
  border-radius: 26px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.2);
  transform: translateZ(0);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 280ms ease;
}

.gear-card:nth-child(1)::before { background: #3973ff; }
.gear-card:nth-child(2)::before { background: purple; }
.gear-card:nth-child(3)::before { background: var(--orange); }
.gear-card:nth-child(4)::before { background: var(--cyan); }
.gear-card:nth-child(5)::before { background: var(--violet); }
.gear-card:nth-child(6)::before { background: var(--acid); }

.gear-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  content: "";
}

.gear-card:hover,
.gear-card:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
}

.gear-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gear-card-meta span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.gear-card-meta small {
  font-size: 0.75rem;
}

.model-stage {
  position: relative;
  width: 100%;
  height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(10, 10, 13, 0.14);
  border-radius: 18px;
  background: linear-gradient(rgba(10, 10, 13, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 10, 13, 0.05) 1px, transparent 1px), #ebe9e2;
  background-size: 28px 28px;
  perspective: 900px;
}

.model-stage::after {
  position: absolute;
  right: 10%;
  bottom: 9%;
  left: 10%;
  height: 14%;
  border-radius: 50%;
  background: rgba(10, 10, 13, 0.18);
  filter: blur(18px);
  content: "";
}

.gear-product {
  position: relative;
  z-index: 2;
  width: 94%;
  height: 92%;
  display: grid;
  place-items: center;
  transform: translate3d(var(--shift-x), var(--shift-y), 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 120ms ease-out;
}

.gear-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 13px rgba(0, 0, 0, 0.25));
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), filter 300ms ease;
}

.gear-card:hover .gear-product img,
.gear-card:focus-visible .gear-product img {
  transform: translateZ(34px) scale(1.04);
  filter: drop-shadow(0 24px 16px rgba(0, 0, 0, 0.31));
}

.gear-product-monitor { width: 72%; height: 68%; }
.gear-product-laptop { width: 72%; height: 72%; }
.gear-product-keyboard { width: 74%; height: 62%; }
.gear-product-mouse { width: 42%; height: 62%; }
.gear-product-headset { width: 58%; height: 66%; }
.gear-product-controller { width: 58%; height: 66%; }

.spin-label {
  position: absolute;
  right: 10px;
  bottom: 9px;
  z-index: 3;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gear-card-copy {
  min-height: 104px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: end;
  column-gap: 18px;
}

.gear-card-copy h3 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.gear-card-copy p {
  grid-column: 1;
  margin-top: 9px;
  color: #3f3f45;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.gear-card-copy b {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  font-size: 1.35rem;
  transition: transform 180ms ease;
}

.gear-card:hover .gear-card-copy b,
.gear-card:focus-visible .gear-card-copy b {
  transform: translate(5px, -5px);
}

.gear-explorer {
  height: 650px;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(250px, 0.92fr) minmax(380px, 1.36fr);
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: #111116;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.gear-categories,
.gear-items {
  min-width: 0;
  min-height: 0;
  padding: clamp(18px, 2vw, 30px);
}

.gear-categories {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.gear-category,
.gear-item {
  width: 100%;
  flex-shrink: 0;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.gear-category {
  position: relative;
  min-height: 92px;
  padding: 16px 8px 16px 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  transition: color 180ms ease, padding-left 220ms ease, background 180ms ease;
}

.gear-category span {
  position: absolute;
  top: 18px;
  left: 8px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0;
}

.gear-category:hover,
.gear-category:focus-visible,
.gear-category.is-active {
  padding-left: 48px;
  background: rgba(255, 255, 255, 0.045);
  color: white;
}

.gear-category.is-active::after {
  position: absolute;
  top: 50%;
  right: -31px;
  width: 32px;
  height: 3px;
  background: var(--orange);
  content: "";
}

.gear-items {
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-content: safe center;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.gear-item {
  position: relative;
  flex: 0 0 auto;
  min-height: 88px;
  padding: 17px 42px 17px 0;
  display: grid;
  align-content: center;
  gap: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  transition: color 180ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gear-item[hidden] {
  display: none;
}

.gear-item::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
  opacity: 0;
  transform: translate(-10px, -50%) rotate(45deg);
  transition: opacity 180ms ease, transform 180ms ease;
  content: "";
}

.gear-item span {
  min-width: 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.gear-item small {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gear-item:hover,
.gear-item:focus-visible,
.gear-item.is-active {
  color: white;
  transform: translateX(8px);
}

.gear-item:hover::after,
.gear-item:focus-visible::after,
.gear-item.is-active::after {
  opacity: 1;
  transform: translate(0, -50%) rotate(45deg);
}

.gear-preview {
  min-width: 0;
  min-height: 0;
  padding: clamp(20px, 2.6vw, 38px);
  display: grid;
  grid-template-rows: 2rem minmax(0, 1fr) 13.5rem;
  gap: 22px;
  background: var(--paper);
  color: var(--ink);
}

.gear-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gear-preview-top span {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--orange);
}

.gear-preview-top small {
  color: #55555c;
  font-size: inherit;
}

.gear-preview-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(10, 10, 13, 0.12);
  border-radius: 20px;
  background: linear-gradient(rgba(10, 10, 13, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 10, 13, 0.045) 1px, transparent 1px), #e8e6df;
  background-size: 28px 28px;
  isolation: isolate;
}

.gear-preview-stage::after {
  position: absolute;
  right: 16%;
  bottom: 8%;
  left: 16%;
  z-index: -1;
  height: 12%;
  border-radius: 50%;
  background: rgba(10, 10, 13, 0.2);
  filter: blur(18px);
  content: "";
}

.gear-preview-stage img {
  position: absolute;
  inset: 8%;
  z-index: 2;
  width: 84%;
  height: 84%;
  max-height: 84%;
  object-fit: contain;
  filter: drop-shadow(0 20px 14px rgba(0, 0, 0, 0.28));
  transform: scale(1);
  transition: opacity 160ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gear-preview-stage img.is-switching {
  opacity: 0;
  transform: scale(0.88) rotate(-2deg);
}

.gear-preview-orbit {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid rgba(10, 10, 13, 0.15);
  border-radius: 50%;
  transform: rotateX(70deg) rotateZ(-12deg);
}

.gear-preview-copy {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 20px;
  align-content: start;
  align-items: end;
  overflow-y: auto;
  scrollbar-width: thin;
}

.gear-preview-copy > p:first-child {
  grid-column: 1 / -1;
  color: #4a4a50;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gear-preview-copy h3 {
  grid-column: 1 / -1;
  font-family: var(--display);
  font-size: clamp(2rem, 3.2vw, 3.8rem);
  line-height: 0.86;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

#gear-preview-description {
  max-width: 54ch;
  color: #323238;
  font-size: 0.88rem;
  line-height: 1.55;
}

#gear-preview-link {
  align-self: end;
  white-space: nowrap;
  border-bottom: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact {
  background: var(--acid);
  color: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 46px);
  align-items: start;
}

.contact-label { grid-column: 1 / 3; }
.contact-copy { grid-column: 3 / 9; }

.contact-copy h2 {
  font-family: var(--display);
  font-size: clamp(4rem, 8vw, 8.5rem);
  line-height: 0.78;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.contact-copy h2 em {
  color: var(--violet);
  font-family: var(--serif);
  font-weight: 400;
  text-transform: none;
}

.contact-copy > p {
  margin-top: 34px;
  font-family: var(--serif);
  font-size: 1.28rem;
}

.email-link {
  width: fit-content;
  max-width: 100%;
  margin-top: 24px;
  padding: 15px 19px;
  display: flex;
  align-items: center;
  gap: 24px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: clamp(0.84rem, 1.15vw, 1.05rem);
  font-weight: 800;
  overflow-wrap: anywhere;
  box-shadow: 7px 7px 0 var(--violet);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.email-link:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--violet);
}

.social-list {
  grid-column: 9 / 13;
  border-top: 2px solid var(--ink);
}

.social-list a {
  min-height: 112px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  column-gap: 18px;
  border-bottom: 2px solid var(--ink);
  transition: padding 200ms ease, background-color 200ms ease;
}

.social-list a:hover {
  padding-inline: 18px;
  background: rgba(10, 10, 13, 0.08);
}

.social-list span {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.15vw, 2.1rem);
  line-height: 1;
  text-transform: uppercase;
}

.social-list small {
  grid-column: 1;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.social-list b {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  font-size: 1.25rem;
  transition: transform 180ms ease;
}

.social-list a:hover b {
  transform: translate(5px, -5px);
}

.footer {
  border-top: 1px solid var(--line-light);
  background: var(--ink);
}

.footer-inner {
  min-height: 132px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-brand {
  width: 58px;
  height: 58px;
}

.footer-brand img {
  width: 100%;
  height: 100%;
}

.footer p {
  color: var(--muted);
}

.footer-links {
  justify-self: end;
  display: flex;
  gap: 24px;
}

.footer-links a {
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.privacy-main {
  min-height: calc(100svh - 132px);
  background: var(--paper);
  color: var(--ink);
}

.privacy-hero {
  min-height: 68svh;
  padding-block: clamp(68px, 9vw, 140px);
  display: flex;
  align-items: end;
  overflow: hidden;
  background: radial-gradient(circle at 82% 22%, rgba(120, 87, 255, 0.28), transparent 25%), var(--acid);
}

.privacy-eyebrow {
  margin-bottom: 30px;
  font-family: var(--mono);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.privacy-hero h1 {
  font-family: var(--display);
  font-size: clamp(5rem, 12vw, 13rem);
  line-height: 0.72;
  letter-spacing: -0.09em;
  text-transform: uppercase;
}

.privacy-hero h1 em {
  color: var(--violet);
  font-family: var(--serif);
  font-weight: 400;
  text-transform: none;
}

.privacy-content {
  padding-block: clamp(74px, 9vw, 130px);
}

.privacy-intro {
  max-width: 900px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.1vw, 3.6rem);
  line-height: 1.2;
}

.privacy-list {
  margin-top: 68px;
  border-top: 2px solid var(--ink);
}

.privacy-item {
  min-height: 112px;
  padding-block: 24px;
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) 1fr;
  gap: 30px;
  align-items: center;
  border-bottom: 2px solid var(--ink);
}

.privacy-item strong {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.privacy-item p {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 2rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.privacy-back {
  margin-top: 58px;
}

.privacy-body .button-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.motion-item {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.motion-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1280px) {
  .hero-title { font-size: clamp(4.6rem, 9.7vw, 9rem); }
  .hero-visual { grid-column: 7 / 13; width: min(100%, 540px); }
  .hero-intro { grid-column: 1 / 7; }
  .section-heading h2 { grid-column: 3 / 11; }
  .section-note { grid-column: 10 / 13; }
  .about-grid { gap: 70px; }
  .gear-card { grid-template-rows: auto 270px auto; min-height: 490px; }
  .model-stage { height: 270px; }
}

@media (max-width: 1080px) {
  :root { --rail: 0px; }
  html { scroll-padding-top: var(--top-header); }
  main, .footer { margin-left: 0; }

  .site-header {
    inset: 0 0 auto;
    width: 100%;
    height: var(--top-header);
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .header-inner {
    width: min(100% - 28px, var(--shell));
    height: 100%;
    margin-inline: auto;
    padding: 0;
    flex-direction: row;
    justify-content: space-between;
  }

  .brand { width: auto; display: flex; justify-items: initial; }
  .brand-logo { width: 48px; height: 48px; }
  .brand-name { text-align: left; }
  .desktop-nav, .header-social { display: none; }

  .menu-button {
    min-height: 44px;
    padding-inline: 15px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line-light);
    background: transparent;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
  }

  .menu-lines { width: 24px; display: grid; gap: 6px; }
  .menu-lines i { width: 100%; height: 2px; display: block; background: var(--paper); transition: transform 200ms ease; }
  .menu-button[aria-expanded="true"] .menu-lines i:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-lines i:last-child { transform: translateY(-4px) rotate(-45deg); }

  .mobile-menu {
    position: fixed;
    inset: var(--top-header) 0 0;
    z-index: 190;
    padding: clamp(24px, 7vw, 72px);
    display: grid;
    align-content: center;
    background: var(--violet);
    color: white;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease;
  }

  .mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }

  .mobile-menu a {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.34);
    font-family: var(--display);
    font-size: clamp(2.1rem, 7vw, 4.8rem);
    line-height: 1;
    letter-spacing: -0.05em;
    text-transform: uppercase;
  }

  .mobile-menu a span { color: var(--acid); font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0; }
  .hero { padding-top: var(--top-header); }
  .hero-grid { min-height: calc(100svh - var(--top-header)); }
  .hero-title { font-size: clamp(4.6rem, 12vw, 8rem); }
  .hero-visual { grid-column: 7 / 13; width: min(100%, 500px); }
  .hero-intro { grid-column: 1 / 7; }
  .section-heading { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .section-label { grid-column: 1 / 2; }
  .section-heading h2 { grid-column: 2 / 7; }
  .section-note { grid-column: 4 / 7; margin-top: 18px; }
  .about-grid { grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr); gap: 50px; }
  .about-columns { grid-template-columns: 1fr; gap: 12px; }
  .quick-facts { grid-template-columns: 1fr; }
  .quick-facts div { min-height: 94px; border-right: 0; border-bottom: 1px solid rgba(10, 10, 13, 0.28); }
  .quick-facts div:last-child { border-bottom: 0; }
  .education-path-heading { align-items: flex-start; flex-direction: column; }
  .education-path-heading strong { text-align: left; }

  .project-link { min-height: 570px; }

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

  .editing-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .tool-card:nth-child(1),
  .tool-card:nth-child(2),
  .tool-card:nth-child(3),
  .tool-card:nth-child(4) {
    grid-column: span 6;
  }

  .gear-card { grid-column: span 6; }
  .gear-card:nth-child(4) { grid-column: 7 / 13; }

  .gear-card:nth-child(5) {
    grid-column: 1 / 13;
    min-height: 390px;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    grid-template-rows: auto 1fr;
    column-gap: 28px;
  }

  .gear-card:nth-child(5) .gear-card-meta { grid-column: 1 / -1; }
  .gear-card:nth-child(5) .model-stage { grid-column: 1; grid-row: 2; }
  .gear-card:nth-child(5) .gear-card-copy { grid-column: 2; grid-row: 2; align-self: stretch; }
  .contact-label { grid-column: 1 / 3; }
  .contact-copy { grid-column: 3 / 13; }
  .social-list { grid-column: 3 / 13; margin-top: 50px; }
  .privacy-hero { padding-top: calc(var(--top-header) + 50px); }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .gear-explorer {
    height: auto;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
  }

  .gear-categories {
    padding: 14px;
    flex-flow: row wrap;
    gap: 8px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    scrollbar-width: none;
  }

  .gear-categories::-webkit-scrollbar,
  .gear-items::-webkit-scrollbar {
    display: none;
  }

  .gear-category {
    width: auto;
    min-width: 0;
    min-height: 52px;
    flex: 1 0 calc(33.333% - 8px);
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    font-size: clamp(0.86rem, 1.5vw, 1.05rem);
    text-align: center;
  }

  .gear-category span,
  .gear-category.is-active::after {
    display: none;
  }

  .gear-category:hover,
  .gear-category:focus-visible,
  .gear-category.is-active {
    padding-inline: 14px;
    background: var(--orange);
    color: var(--ink);
  }

  .gear-items {
    padding: 14px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    scrollbar-width: none;
  }

  .gear-item {
    flex: 0 0 auto;
    width: min(250px, 38vw);
    min-height: 100px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
  }

  .gear-item:hover,
  .gear-item:focus-visible,
  .gear-item.is-active {
    transform: translateY(-2px);
  }

  .gear-preview {
    grid-column: 1 / -1;
    min-height: 390px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 2rem minmax(300px, 1fr);
  }

  .gear-preview-top {
    grid-column: 1 / -1;
  }

  .gear-preview-stage {
    grid-column: 1;
    grid-row: 2;
  }

  .gear-preview-copy {
    grid-column: 2;
    grid-row: 2;
    align-content: center;
    overflow: visible;
  }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }

  .hero-grid {
    padding-block: 32px 64px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .hero-kicker { order: 1; }
  .hero-title { order: 2; font-size: clamp(4.1rem, 19vw, 7.3rem); }
  .hero-title span:nth-child(2) { font-size: 0.82em; }
  .hero-title em { margin-left: 18px; font-size: 0.68em; box-shadow: 8px 8px 0 var(--violet); }
  .hero-visual { order: 3; width: calc(100% - 16px); max-width: none; margin-left: auto; }
  .hero-photo-wrap { aspect-ratio: 1.05; }
  .hero-visual figcaption { right: -2px; bottom: 20px; }
  .hero-intro { order: 4; max-width: none; }
  .section { padding-block: 82px; }
  .section-heading { margin-bottom: 48px; display: block; }
  .section-heading h2 { margin-top: 28px; font-size: clamp(3.5rem, 16vw, 6rem); }
  .section-note { margin-top: 28px; padding-left: 16px; }
  .about-grid { grid-template-columns: 1fr; gap: 62px; }
  .avatar-card { width: calc(100% - 18px); }
  .avatar-frame { aspect-ratio: 1; box-shadow: 12px 12px 0 var(--violet); }
  .about-lead { font-size: clamp(2rem, 10vw, 3.4rem); }
  .quick-facts div { padding-inline: 0; }
  .current-snapshot dl div { grid-template-columns: 1fr; gap: 5px; }
  .education-path { box-shadow: 10px 10px 0 var(--violet); }
  .education-milestones { grid-template-columns: 1fr; }

  .education-milestones li,
  .education-milestones li + li {
    min-height: 0;
    padding: 26px 0 34px 34px;
    border-top: 0;
    border-left: 2px solid var(--paper);
  }

  .education-milestones li::before { top: 28px; left: -9px; }
  .education-milestones small { margin-top: 14px; }
  .project-grid, .tool-grid { display: grid; grid-template-columns: 1fr; }

  .project-card,
  .tool-card:nth-child(1),
  .tool-card:nth-child(2),
  .tool-card:nth-child(3),
  .tool-card:nth-child(4) {
    grid-column: 1 / -1;
  }

  .project-link { min-height: 0; grid-template-rows: 290px auto; }
  .project-art { min-height: 290px; }
  .project-copy { min-height: 250px; }
  .tool-card { min-height: 470px; }
  .tool-heading { display: grid; gap: 12px; }
  .tool-heading b { max-width: none; text-align: left; }
  .tool-image { height: 300px; min-height: 0; }
  .gear-explorer {
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    overflow: hidden;
    border-radius: 20px;
  }

  .gear-categories {
    padding: 12px;
    flex-flow: row wrap;
    gap: 8px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    scrollbar-width: none;
  }

  .gear-category {
    width: auto;
    min-width: 0;
    min-height: 46px;
    flex: 1 0 calc(50% - 8px);
    padding: 11px 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    font-size: 0.86rem;
    text-align: center;
  }

  .gear-category span,
  .gear-category.is-active::after {
    display: none;
  }

  .gear-category:hover,
  .gear-category:focus-visible,
  .gear-category.is-active {
    padding-inline: 8px;
    background: var(--orange);
    color: var(--ink);
  }

  .gear-items {
    min-height: 0;
    padding: 14px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    scrollbar-width: none;
  }

  .gear-item {
    flex: 0 0 auto;
    width: min(78vw, 290px);
    min-height: 92px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
  }

  .gear-item:hover,
  .gear-item:focus-visible,
  .gear-item.is-active {
    transform: translateY(-2px);
  }

  .gear-preview {
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 2rem auto auto;
    gap: 16px;
    border-radius: 0 0 19px 19px;
  }

  html {
    scrollbar-width: none;
  }

  html::-webkit-scrollbar {
    display: none;
  }

  .gear-preview-top,
  .gear-preview-stage,
  .gear-preview-copy {
    grid-column: 1;
  }

  .gear-preview-top { grid-row: 1; }
  .gear-preview-stage {
    grid-row: 2;
    min-height: 0;
    aspect-ratio: 1.25;
  }
  .gear-preview-copy {
    grid-row: 3;
    align-content: start;
    overflow: visible;
  }

  .gear-card,
  .gear-card:nth-child(4),
  .gear-card:nth-child(5) {
    grid-column: 1;
    min-height: 500px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 280px auto;
    column-gap: 0;
  }

  .gear-card:nth-child(5) .gear-card-meta,
  .gear-card:nth-child(5) .model-stage,
  .gear-card:nth-child(5) .gear-card-copy {
    grid-column: 1;
  }

  .gear-card:nth-child(5) .gear-card-meta { grid-row: 1; }
  .gear-card:nth-child(5) .model-stage { grid-row: 2; }
  .gear-card:nth-child(5) .gear-card-copy { grid-row: 3; }
  .model-stage { height: 280px; }
  .contact-grid { display: block; }
  .contact-copy { margin-top: 36px; }
  .contact-copy h2 { font-size: clamp(3.8rem, 17vw, 6.5rem); }
  .social-list { margin-top: 62px; }

  .footer-inner {
    min-height: 180px;
    padding-block: 30px;
    grid-template-columns: 1fr auto;
  }

  .footer p { grid-column: 1 / -1; grid-row: 2; }
  .footer-links { gap: 15px; }
  .privacy-hero { min-height: 64svh; }
  .privacy-hero h1 { font-size: clamp(4.7rem, 23vw, 8rem); }
  .privacy-item { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 420px) {
  .brand-name { display: none; }
  .hero-title { font-size: clamp(3.7rem, 18vw, 5.2rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button, .text-link { width: 100%; }
  .text-link { text-align: center; }
  .project-meta, .tool-heading { font-size: 0.75rem; }
  .gear-card, .gear-card:nth-child(4), .gear-card:nth-child(5) { grid-template-rows: auto 245px auto; }
  .model-stage { height: 245px; }
  .gear-preview-copy { grid-template-columns: 1fr; }
  #gear-preview-link { justify-self: start; margin-top: 4px; }
  .email-link { font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .motion-item {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 761px) and (max-width: 1080px) {
  .desktop-nav {
    width: auto;
    height: 100%;
    margin: 0 0 0 auto;
    display: flex;
    align-items: stretch;
    border-top: 0;
  }

  .desktop-nav a {
    min-width: 0;
    min-height: 0;
    padding-inline: clamp(10px, 1.5vw, 18px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    border-right: 1px solid var(--line-light);
    border-bottom: 0;
  }

  .desktop-nav a:first-child {
    border-left: 1px solid var(--line-light);
  }

  .desktop-nav a::before {
    inset: auto 10px 0;
    width: auto;
    height: 4px;
    transform: scaleX(0);
    transform-origin: left;
  }

  .desktop-nav a:hover::before,
  .desktop-nav a.is-active::before {
    transform: scaleX(1);
  }

  .header-social {
    width: auto;
    min-height: 42px;
    margin-left: 12px;
    padding-inline: 13px;
    display: inline-flex;
  }

  .menu-button,
  .mobile-menu {
    display: none;
  }
}

@media (max-width: 760px) {
  .menu-button {
    border-color: var(--acid);
    background: var(--acid);
    color: var(--ink);
  }

  .menu-button[aria-expanded="true"] {
    border-color: var(--orange);
    background: var(--orange);
  }

  .menu-lines i {
    background: currentColor;
  }

  .mobile-menu {
    min-height: calc(100dvh - var(--top-header));
    border-top: 6px solid var(--acid);
    background-color: var(--ink);
    background-image: radial-gradient(circle at 90% 12%, rgba(120, 87, 255, 0.52), transparent 30%), 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: auto, 42px 42px, 42px 42px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
    isolation: isolate;
  }

  .mobile-menu a {
    color: var(--paper);
  }
}


@media (hover: hover) and (pointer: fine) {
  html.madiv-ghost-cursor-enabled,
  html.madiv-ghost-cursor-enabled * {
    cursor: none !important;
  }

  .madiv-ghost-cursor {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    opacity: 0;
    pointer-events: none;
    transition: opacity 100ms ease;
  }

  .madiv-ghost-core,
  .madiv-ghost-echo,
  .madiv-ghost-frame {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    will-change: transform;
  }

  .madiv-ghost-core {
    width: 9px;
    height: 9px;
    border: 1px solid rgba(242, 246, 255, 0.95);
    background: rgba(8, 10, 14, 0.7);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 0 14px rgba(163, 190, 255, 0.24);
    transition: width 150ms cubic-bezier(0.16, 1, 0.3, 1), height 150ms cubic-bezier(0.16, 1, 0.3, 1), border-color 150ms ease, background 150ms ease;
  }

  .madiv-ghost-echo {
    width: 8px;
    height: 8px;
    border: 1px solid rgba(177, 197, 235, 0.32);
    background: transparent;
  }

  .madiv-ghost-echo.echo-1 {
    opacity: 0.48;
  }

  .madiv-ghost-echo.echo-2 {
    opacity: 0.25;
  }

  .madiv-ghost-echo.echo-3 {
    opacity: 0.12;
  }

  .madiv-ghost-frame {
    width: 36px;
    height: 36px;
    opacity: 0;
    border-radius: 3px;
    background:
      linear-gradient(currentColor, currentColor) 0 0 / 8px 1px no-repeat,
      linear-gradient(currentColor, currentColor) 0 0 / 1px 8px no-repeat,
      linear-gradient(currentColor, currentColor) 100% 0 / 8px 1px no-repeat,
      linear-gradient(currentColor, currentColor) 100% 0 / 1px 8px no-repeat,
      linear-gradient(currentColor, currentColor) 0 100% / 8px 1px no-repeat,
      linear-gradient(currentColor, currentColor) 0 100% / 1px 8px no-repeat,
      linear-gradient(currentColor, currentColor) 100% 100% / 8px 1px no-repeat,
      linear-gradient(currentColor, currentColor) 100% 100% / 1px 8px no-repeat;
    color: rgba(225, 233, 250, 0.72);
    transition: opacity 160ms ease, width 180ms cubic-bezier(0.16, 1, 0.3, 1), height 180ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .madiv-ghost-cursor.is-interactive .madiv-ghost-frame {
    opacity: 1;
  }

  .madiv-ghost-cursor.is-interactive .madiv-ghost-core {
    width: 11px;
    height: 11px;
    border-color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.07);
  }

  .madiv-ghost-cursor.is-idle .madiv-ghost-echo {
    opacity: 0.08;
  }

  .madiv-ghost-cursor.is-pressed .madiv-ghost-core {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.95);
  }

  @media (prefers-reduced-motion: reduce) {
    .madiv-ghost-echo {
      display: none;
    }
  }
}

@media (max-width: 1180px) {
  html.madiv-ghost-cursor-enabled,
  html.madiv-ghost-cursor-enabled * {
    cursor: auto !important;
  }

  .madiv-ghost-cursor {
    display: none;
  }
}

.ui-press {
  transform: scale(0.975) !important;
}

.gear-category,
.gear-item,
#gear-preview-link,
.site-header a,
.hero-actions a,
.project-link,
.tool-card,
.social-list a,
.footer-links a,
.menu-button {
  transition-property: transform, color, background-color, border-color, box-shadow, opacity;
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.gear-explorer {
  max-width: 100%;
}

.gear-preview-stage img {
  max-width: 100%;
}

@media (min-width: 1181px) {
  .gear-explorer {
    height: 620px;
    grid-template-columns: minmax(170px, 0.66fr) minmax(230px, 0.88fr) minmax(360px, 1.46fr);
  }

  .gear-category {
    min-height: 84px;
    font-size: clamp(1.12rem, 1.55vw, 1.72rem);
  }

  .gear-item {
    min-height: 78px;
  }

  .gear-item span {
    font-size: clamp(1.08rem, 1.55vw, 1.65rem);
  }

  .gear-preview {
    grid-template-rows: 2rem minmax(0, 1fr) 12.4rem;
  }
}

.stack-board {
  border-top: 2px solid var(--ink);
}

.stack-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.6fr);
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(24px, 3vw, 38px) 0;
  border-bottom: 2px solid var(--ink);
}

.stack-category {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  align-items: start;
}

.stack-category > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 800;
}

.stack-category h3 {
  margin: 0 0 7px;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.2vw, 2.3rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.stack-category p {
  max-width: 250px;
  margin: 0;
  color: #4b4b52;
  font-size: 0.9rem;
  line-height: 1.5;
}

.stack-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.stack-items-ai {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.stack-item {
  min-height: 108px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(10, 10, 13, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.stack-row:not(:first-child) .stack-items {
  grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(0, 1fr));
}

.stack-row:not(:first-child) .stack-item {
  grid-column: 1;
}

.stack-row:not(:first-child) .stack-items-ai .stack-item {
  grid-column: auto;
}

.stack-item:hover,
.stack-item:focus-visible {
  transform: translateY(-4px);
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 18px 28px rgba(10, 10, 13, 0.08);
}

.stack-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--ink);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
}

.stack-icon {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.stack-icon-opencode {
  filter: invert(1);
}

.stack-mark-vscode { background: linear-gradient(135deg, #26b0ff 0%, #1268d4 100%); }
.stack-mark-git { background: linear-gradient(135deg, #ff7a1c 0%, #e4472f 100%); }
.stack-mark-github { background: linear-gradient(135deg, #171717 0%, #2d2d31 100%); }
.stack-mark-vercel { background: linear-gradient(135deg, #000 0%, #242424 100%); }
.stack-mark-chatgpt { background: linear-gradient(135deg, #14b88a 0%, #0f8f71 100%); }
.stack-mark-opencode { background: linear-gradient(135deg, #d97706 0%, #b45309 100%); }
.stack-mark-firefox { background: linear-gradient(135deg, #ff7139 0%, #c623c6 100%); }
.stack-mark-discord { background: linear-gradient(135deg, #6f7cff 0%, #5865f2 100%); }
.stack-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.stack-copy b {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.stack-copy small {
  color: #4b4b52;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.stack-arrow {
  align-self: start;
  font-size: 1rem;
  transition: transform 220ms ease;
}

.stack-item:hover .stack-arrow,
.stack-item:focus-visible .stack-arrow {
  transform: translate(3px, -3px);
}

@media (max-width: 980px) {
  .stack-row {
    grid-template-columns: 1fr;
  }

  .stack-items,
  .stack-row:not(:first-child) .stack-items,
  .stack-items-ai {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stack-row:not(:first-child) .stack-item {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .stack-items,
  .stack-row:not(:first-child) .stack-items,
  .stack-items-ai {
    grid-template-columns: 1fr;
  }

  .stack-row {
    gap: 22px;
  }

  .stack-item {
    min-height: 92px;
  }
}


.footer {
  position: relative;
  overflow: hidden;
  padding: 2rem 0 1.25rem;
  background: #0b0b0b;
  border-top: 1px solid #292929;
}

.footer-inner {
  display: flex;
  flex-direction: column;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid #292929;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.footer-brand:hover {
  opacity: 0.75;
  transform: translateY(-2px);
}

.footer-brand img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-note,
.footer-eyebrow {
  color: #929292;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.footer-support {
  max-width: 620px;
  padding: clamp(3.5rem, 9vw, 7rem) 0;
}

.footer-eyebrow {
  margin: 0 0 1.5rem;
  color: #c5ff4a;
}

.footer-support h2 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
  font-weight: 600;
}

.footer-support h2 em {
  color: #c5ff4a;
  font-style: normal;
}

.footer-description {
  max-width: 410px;
  margin: 1.5rem 0 1.75rem;
  color: #a1a1a1;
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-donate {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  min-height: 52px;
  padding: 0 1.25rem;
  background: #c5ff4a;
  color: #0b0b0b;
  border: 1px solid #c5ff4a;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.footer-donate span {
  font-size: 1.1rem;
  transition: transform 180ms ease;
}

.footer-donate:hover {
  background: transparent;
  color: #c5ff4a;
  transform: translateY(-2px);
}

.footer-donate:hover span {
  transform: translate(2px, -2px);
}

.footer-payment-note {
  margin: 0.85rem 0 0;
  color: #777;
  font-size: 0.72rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #292929;
}

.footer-bottom p {
  margin: 0;
  color: #777;
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-links a {
  color: #999;
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: #c5ff4a;
}

@media (max-width: 600px) {
  .footer-top {
    padding-bottom: 1.5rem;
  }

  .footer-brand img {
    width: 40px;
    height: 40px;
  }

  .footer-support {
    padding: 4rem 0;
  }

  .footer-support h2 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .footer-links {
    gap: 1.25rem;
  }
}


.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #080808;
  color: #f4f1e8;
  opacity: 1;
  visibility: visible;
  transition: opacity 500ms ease, visibility 500ms ease;
}

.preloader-inner {
  width: min(100%, 340px);
  transform: translateY(0);
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader-brand {
  display: block;
  margin-bottom: 44px;
  font-family: var(--display);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.075em;
}

.preloader-status {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: #aaa;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

#preloader-percent {
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.preloader-track {
  height: 2px;
  overflow: hidden;
  background: #303030;
}

#preloader-progress {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: #fff;
  transition: transform 120ms linear;
}

.site-preloader.is-loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-preloader.is-loaded .preloader-inner {
  transform: translateY(-12px);
}

@media (prefers-reduced-motion: reduce) {
  .site-preloader,
  .preloader-inner,
  #preloader-progress {
    transition: none;
  }
}

.madiv-page-transition {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #080808;
  color: #f4f1e8;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  pointer-events: none;
  transition: clip-path 620ms cubic-bezier(0.76, 0, 0.24, 1), visibility 0s linear 620ms;
}

.madiv-page-transition.is-covering,
.madiv-page-transition.is-revealing {
  visibility: visible;
  transition: clip-path 620ms cubic-bezier(0.76, 0, 0.24, 1), visibility 0s;
}

.madiv-page-transition.is-covering {
  clip-path: inset(0);
}

.madiv-page-transition.is-revealing {
  clip-path: inset(100% 0 0 0);
}

.madiv-transition-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  opacity: 0;
  transform: translateY(18px) scale(0.94);
  transition: opacity 300ms ease, transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.madiv-page-transition.is-covering .madiv-transition-brand {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 180ms;
}

.madiv-page-transition.is-revealing .madiv-transition-brand {
  opacity: 0;
  transform: translateY(-12px) scale(1.04);
  transition-delay: 0ms;
}

.madiv-transition-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.madiv-transition-brand span {
  font-family: var(--display);
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.075em;
}

@media (prefers-reduced-motion: reduce) {
  .madiv-page-transition,
  .madiv-transition-brand {
    transition: none !important;
  }
}


.motion-item {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.motion-item.reveal-left {
  transform: translate3d(-40px, 0, 0);
}

.motion-item.reveal-right {
  transform: translate3d(40px, 0, 0);
}

.motion-item.reveal-up {
  transform: translate3d(0, 30px, 0);
}

.motion-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.project-grid .project-card:nth-child(2) {
  transition-delay: 100ms;
}

.project-grid .project-card:nth-child(3) {
  transition-delay: 200ms;
}

.project-grid .project-card:nth-child(4) {
  transition-delay: 300ms;
}

.editing-grid .editing-card:nth-child(2) {
  transition-delay: 100ms;
}

.editing-grid .editing-card:nth-child(3) {
  transition-delay: 200ms;
}

@media (prefers-reduced-motion: reduce) {
  .motion-item,
  .motion-item.reveal-left,
  .motion-item.reveal-right,
  .motion-item.reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

.footer-links a.footer-easter-egg {
  color: #777;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  opacity: 0.62;
  transition: color 180ms ease, opacity 180ms ease, text-shadow 180ms ease;
}

.footer-links a.footer-easter-egg:hover {
  color: var(--acid);
  opacity: 1;
  text-shadow: 0 0 12px rgba(217, 255, 67, 0.35);
}

.not-found-page {
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(120, 87, 255, 0.1), transparent 39%),
    var(--ink);
}

.not-found-main {
  position: relative;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
}

.not-found-main::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(80vw, 900px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(244, 241, 232, 0.06);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.not-found-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 1440px);
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-block: 28px 24px;
}

.not-found-top,
.not-found-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.not-found-brand {
  font-family: var(--display);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
}

.not-found-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #8d8b91;
}

.not-found-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(217, 255, 67, 0.5);
}

.not-found-content {
  width: 100%;
  padding-block: 38px 48px;
  text-align: center;
}

.not-found-label {
  position: relative;
  z-index: 1;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.not-found-art {
  position: relative;
  width: min(100%, 820px);
  height: clamp(180px, 28vw, 330px);
  margin: 0 auto -8px;
  display: grid;
  place-items: center;
}

.not-found-number {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #f4f1e8 12%, #827b91 58%, #d9ff43 96%);
  background-clip: text;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(12rem, 34vw, 28rem);
  line-height: 0.72;
  letter-spacing: -0.12em;
  -webkit-background-clip: text;
  animation: not-found-drift 8s ease-in-out infinite;
}

.not-found-orbit {
  position: absolute;
  width: 68%;
  height: 44%;
  border: 1px solid rgba(217, 255, 67, 0.2);
  border-radius: 50%;
  transform: rotate(-17deg);
}

.not-found-orbit::after {
  position: absolute;
  top: 9%;
  right: 12%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 18px rgba(217, 255, 67, 0.7);
  content: "";
}

.not-found-content h1 {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.not-found-content h1 em {
  color: var(--paper-soft);
  font-family: var(--serif);
  font-weight: 400;
}

.not-found-description {
  max-width: 440px;
  margin: 18px auto 0;
  color: #aaa8ad;
  font-size: 0.98rem;
}

.not-found-home {
  min-height: 54px;
  margin-top: 28px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border: 1px solid rgba(244, 241, 232, 0.36);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.not-found-home:hover {
  transform: translateY(-2px);
  border-color: var(--acid);
  background: var(--acid);
}

.not-found-explore {
  margin-top: 22px;
  color: #77757c;
  font-size: 0.78rem;
}

.not-found-explore a,
.not-found-footer a {
  border-bottom: 1px solid rgba(244, 241, 232, 0.25);
  color: var(--paper-soft);
  transition: border-color 180ms ease, color 180ms ease;
}

.not-found-explore a:hover,
.not-found-footer a:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.not-found-footer {
  color: #77757c;
  font-size: 0.64rem;
}

.not-found-footer nav {
  display: flex;
  gap: 20px;
}

@keyframes not-found-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 600px) {
  .not-found-shell {
    width: min(calc(100% - 36px), 1440px);
    padding-block: 20px;
  }

  .not-found-top {
    align-items: flex-start;
  }

  .not-found-status {
    font-size: 0.6rem;
  }

  .not-found-content {
    padding-block: 24px;
  }

  .not-found-art {
    height: clamp(170px, 53vw, 240px);
  }

  .not-found-number {
    font-size: clamp(11rem, 48vw, 18rem);
  }

  .not-found-content h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .not-found-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .not-found-number,
  .not-found-home,
  .not-found-explore a,
  .not-found-footer a {
    animation: none;
    transition: none;
  }
}
