:root {
  color-scheme: light;
  --paper: #f6f7f2;
  --paper-2: #ffffff;
  --ink: #15171b;
  --muted: #62676f;
  --line: rgba(21, 23, 27, 0.16);
  --line-strong: rgba(21, 23, 27, 0.34);
  --black: #0d1014;
  --red: #ef4e32;
  --blue: #2764e8;
  --green: #1f9f78;
  --yellow: #d9df42;
  --violet: #6f63d6;
  --shell: 1200px;
  --max: var(--shell);
  --pad: 28px;
  --edge: max(var(--pad), calc((100vw - var(--shell)) / 2));
  --radius: 8px;
  --shadow: 0 28px 70px rgba(15, 18, 24, 0.12);
  --cursor-x: 50%;
  --cursor-y: 50%;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--paper);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(90deg, rgba(21, 23, 27, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(21, 23, 27, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 84px 84px;
}

body.menu-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(116deg, rgba(239, 78, 50, 0.11), transparent 32%),
    linear-gradient(244deg, rgba(39, 100, 232, 0.1), transparent 34%),
    linear-gradient(0deg, transparent 0 64%, rgba(217, 223, 66, 0.13) 64% 66%, transparent 66%);
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

::selection {
  color: var(--paper-2);
  background: var(--red);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 12px;
  color: var(--paper-2);
  background: var(--black);
  transform: translateY(-150%);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px var(--edge);
  color: var(--ink);
  background: rgba(246, 247, 242, 0.82);
  border-bottom: 1px solid rgba(21, 23, 27, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--paper-2);
  background: var(--black);
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.button,
.menu-toggle {
  border-radius: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(21, 23, 27, 0.07);
}

.site-nav .nav-old {
  color: var(--ink);
  border: 1px solid var(--line);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.section {
  position: relative;
  padding: 112px var(--edge);
}

.hero {
  display: grid;
  min-height: 92svh;
  padding-top: 132px;
  overflow: hidden;
  isolation: isolate;
}

.kinetic-stage {
  --stage-x: 68%;
  --stage-y: 42%;
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  perspective: 1400px;
  background:
    linear-gradient(116deg, rgba(239, 78, 50, 0.16), transparent 34%),
    linear-gradient(244deg, rgba(39, 100, 232, 0.13), transparent 37%),
    linear-gradient(0deg, rgba(31, 159, 120, 0.11), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), transparent 58%);
}

.kinetic-stage::before,
.kinetic-stage::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.kinetic-stage::before {
  background:
    linear-gradient(90deg, rgba(21, 23, 27, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(21, 23, 27, 0.05) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, transparent, #000 14% 88%, transparent);
}

.kinetic-stage::after {
  background:
    linear-gradient(90deg, transparent calc(var(--stage-x) - 1px), rgba(13, 16, 20, 0.22) var(--stage-x), transparent calc(var(--stage-x) + 1px)),
    linear-gradient(180deg, transparent calc(var(--stage-y) - 1px), rgba(13, 16, 20, 0.16) var(--stage-y), transparent calc(var(--stage-y) + 1px));
  opacity: 0.42;
}

.layer-threads,
.layer-stack,
.depth-layer {
  position: absolute;
}

.layer-threads {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.68;
  filter: drop-shadow(0 18px 26px rgba(15, 18, 24, 0.12));
}

.layer-thread {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
  stroke-dasharray: 34 22;
  opacity: 0.8;
}

.thread-red {
  stroke: var(--red);
}

.thread-blue {
  stroke: var(--blue);
  stroke-dasharray: 44 24;
}

.thread-green {
  stroke: var(--green);
}

.layer-stack {
  top: 12%;
  right: var(--edge);
  width: min(54vw, 760px);
  height: min(72svh, 660px);
  transform-style: preserve-3d;
  will-change: transform;
}

.depth-layer {
  overflow: hidden;
  color: var(--ink);
  border: 1px solid rgba(13, 16, 20, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 22px 50px rgba(15, 18, 24, 0.16);
  transform-style: preserve-3d;
  will-change: transform;
  backdrop-filter: blur(20px) saturate(140%);
}

.depth-layer::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13, 16, 20, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(13, 16, 20, 0.065) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.45;
}

.depth-layer::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: inherit;
}

.layer-interface {
  top: 8%;
  left: 9%;
  z-index: 4;
  width: 72%;
  height: 34%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.58)),
    linear-gradient(90deg, rgba(239, 78, 50, 0.16), transparent 46%);
  transform: translate3d(0, 0, 110px) rotate(-4deg);
}

.layer-prototype {
  top: 27%;
  right: 4%;
  z-index: 3;
  width: 66%;
  height: 38%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(246, 247, 242, 0.54)),
    linear-gradient(270deg, rgba(39, 100, 232, 0.18), transparent 52%);
  transform: translate3d(0, 0, 42px) rotate(5deg);
}

.layer-fabrication {
  bottom: 12%;
  left: 14%;
  z-index: 2;
  width: 68%;
  height: 33%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(246, 247, 242, 0.56)),
    linear-gradient(90deg, rgba(31, 159, 120, 0.18), transparent 50%);
  transform: translate3d(0, 0, -26px) rotate(-7deg);
}

.layer-launch {
  top: 17%;
  left: 0;
  z-index: 1;
  width: 60%;
  height: 58%;
  color: var(--paper-2);
  background:
    linear-gradient(135deg, rgba(13, 16, 20, 0.92), rgba(13, 16, 20, 0.68)),
    linear-gradient(115deg, rgba(111, 99, 214, 0.28), transparent 54%);
  border-color: rgba(13, 16, 20, 0.62);
  transform: translate3d(0, 0, -110px) rotate(7deg);
}

.layer-topline,
.interface-lines,
.contour-map,
.cut-path,
.launch-grid {
  position: relative;
  z-index: 1;
}

.layer-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px 0;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.layer-topline i {
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.24;
}

.interface-lines {
  display: grid;
  gap: 13px;
  padding: 34px 20px 0;
}

.interface-lines span,
.cut-path span,
.launch-grid span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.18;
}

.interface-lines span:nth-child(1) {
  width: 78%;
  color: var(--black);
  opacity: 0.24;
}

.interface-lines span:nth-child(2) {
  width: 52%;
  color: var(--red);
  opacity: 0.7;
}

.interface-lines span:nth-child(3) {
  width: 88%;
  color: var(--blue);
  opacity: 0.32;
}

.interface-wave {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  height: 54px;
  border-bottom: 2px solid rgba(39, 100, 232, 0.7);
  border-radius: 0 0 50% 50%;
  transform: skewY(-5deg);
}

.contour-map {
  position: absolute;
  inset: 54px 26px 22px;
}

.contour-map span {
  position: absolute;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.contour-map span:nth-child(1) {
  inset: 0 16% 10% 5%;
  color: var(--blue);
  opacity: 0.58;
}

.contour-map span:nth-child(2) {
  inset: 16% 28% 23% 22%;
  color: var(--green);
  opacity: 0.5;
}

.contour-map span:nth-child(3) {
  inset: 34% 42% 38% 40%;
  color: var(--red);
  opacity: 0.62;
}

.cut-path {
  display: grid;
  gap: 18px;
  padding: 44px 24px 0;
  transform: rotate(-2deg);
}

.cut-path span:nth-child(1) {
  width: 86%;
  color: var(--green);
  opacity: 0.62;
}

.cut-path span:nth-child(2) {
  width: 62%;
  margin-left: auto;
  color: var(--black);
  opacity: 0.3;
}

.cut-path span:nth-child(3) {
  width: 78%;
  color: var(--red);
  opacity: 0.5;
}

.launch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 64px 24px 0;
}

.launch-grid span {
  height: 12px;
  background: var(--paper-2);
}

.launch-grid span:nth-child(2) {
  width: 72%;
}

.launch-grid span:nth-child(3) {
  width: 48%;
  background: var(--yellow);
  opacity: 0.82;
}

.launch-grid span:nth-child(4) {
  width: 84%;
  background: var(--green);
  opacity: 0.72;
}

.hero-copy {
  align-self: center;
  width: min(100%, var(--shell));
  max-width: var(--shell);
  margin: 0 auto;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  max-width: 960px;
  font-size: 6rem;
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  font-size: 3.6rem;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 1.4rem;
  line-height: 1.16;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.hero-lede {
  max-width: 600px;
  margin-top: 28px;
  color: #343940;
  font-size: 1.35rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--black);
  font-weight: 800;
}

.button-primary {
  color: var(--paper-2);
  background: var(--black);
}

.button-secondary {
  background: var(--paper-2);
}

.hero-readout {
  position: absolute;
  right: var(--edge);
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 8px;
  max-width: calc(100vw - var(--edge) * 2);
}

.hero-readout span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  color: var(--black);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(21, 23, 27, 0.18);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
}

.intro-band {
  background: var(--black);
}

.intro-grid,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  max-width: var(--max);
  margin: 0 auto;
}

.intro-band h2,
.intro-band p {
  color: var(--paper-2);
}

.intro-copy {
  display: grid;
  gap: 20px;
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto 44px;
}

.section-heading p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 20px;
}

.work .section-heading {
  padding: 0;
}

.work-pin {
  max-width: var(--max);
  margin: 0 auto;
  overflow: visible;
}

.work-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: auto;
  padding: 0;
}

.work-card {
  display: grid;
  align-content: space-between;
  width: auto;
  min-height: 300px;
  padding: 24px;
  color: var(--paper-2);
  background: var(--black);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.work-card:nth-child(2) {
  background: #263f91;
}

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

.work-card:nth-child(4) {
  background: #146850;
}

.github-status-card {
  align-content: start;
  gap: 16px;
  grid-column: span 2;
  min-height: 300px;
  color: #e6edf3;
  background:
    linear-gradient(135deg, rgba(47, 129, 247, 0.18), transparent 48%),
    #0d1117;
  border: 1px solid #30363d;
  box-shadow: 0 28px 70px rgba(1, 4, 9, 0.22);
}

.work-index {
  font-size: 0.9rem;
  font-weight: 900;
}

.work-card p,
.work-card li {
  color: inherit;
}

.work-card p {
  margin-top: 18px;
}

.work-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.work-card li {
  padding: 8px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.github-status-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.github-status-head a {
  padding: 7px 10px;
  color: #7d8590;
  border: 1px solid #30363d;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
}

.github-status-head a:hover,
.github-status-head a:focus-visible {
  color: #0d1117;
  background: #e6edf3;
  outline: 0;
}

.github-status-summary {
  display: grid;
  gap: 6px;
}

.github-status-summary strong {
  color: #e6edf3;
  font-size: 1.08rem;
  line-height: 1.2;
}

.github-status-card p {
  color: #7d8590;
  font-size: 0.88rem;
  line-height: 1.45;
}

.github-calendar-scroll {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scrollbar-color: #30363d transparent;
  scrollbar-width: thin;
}

.github-calendar-scroll::-webkit-scrollbar {
  height: 8px;
}

.github-calendar-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #30363d;
}

.github-calendar-grid {
  display: grid;
  grid-template-columns: 28px repeat(var(--weeks), 10px);
  grid-template-rows: 13px repeat(7, 10px);
  gap: 4px;
  width: max-content;
  color: #7d8590;
  font-size: 11px;
  line-height: 1;
}

.github-calendar-month {
  grid-row: 1;
  height: 13px;
  color: #7d8590;
  font-weight: 500;
  white-space: nowrap;
}

.github-calendar-weekday {
  grid-column: 1;
  width: 28px;
  color: #7d8590;
  font-weight: 500;
}

.ContributionCalendar-day {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background-color: #161b22;
  box-shadow: inset 0 0 0 1px rgba(240, 246, 252, 0.04);
}

.ContributionCalendar-day[data-level="1"] {
  background-color: #0e4429;
}

.ContributionCalendar-day[data-level="2"] {
  background-color: #006d32;
}

.ContributionCalendar-day[data-level="3"] {
  background-color: #26a641;
}

.ContributionCalendar-day[data-level="4"] {
  background-color: #39d353;
}

.ContributionCalendar-day.is-empty {
  background: transparent;
  box-shadow: none;
}

.github-calendar-placeholder {
  display: grid;
  grid-template-columns: repeat(26, 10px);
  grid-auto-rows: 10px;
  gap: 4px;
  width: max-content;
}

.github-calendar-placeholder span {
  display: block;
  border-radius: 2px;
  background: #161b22;
}

.github-calendar-placeholder span:nth-child(4n + 1) {
  background: #0e4429;
}

.github-calendar-placeholder span:nth-child(4n + 2) {
  background: #006d32;
}

.github-calendar-placeholder span:nth-child(4n + 3) {
  background: #26a641;
}

.github-calendar-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: #7d8590;
  font-size: 0.75rem;
  line-height: 1;
}

.github-calendar-footer i {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #161b22;
}

.github-calendar-footer i[data-level="1"] {
  background: #0e4429;
}

.github-calendar-footer i[data-level="2"] {
  background: #006d32;
}

.github-calendar-footer i[data-level="3"] {
  background: #26a641;
}

.github-calendar-footer i[data-level="4"] {
  background: #39d353;
}

.method {
  background: var(--paper-2);
}

.sticky-heading {
  position: sticky;
  top: 118px;
  align-self: start;
  margin: 0;
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 72px;
  max-width: var(--max);
  margin: 0 auto;
}

.method-body {
  display: grid;
  gap: 18px;
}

.method-offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.method-offers article,
.method-steps li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.method-offers article {
  min-height: 230px;
  padding: 20px;
}

.method-offers span,
.method-steps span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.method-offers h3 {
  margin-top: 56px;
}

.method-offers p,
.method-steps p {
  margin-top: 14px;
}

.method-steps {
  display: grid;
  gap: 10px;
}

.method-steps li {
  display: grid;
  grid-template-columns: 48px minmax(0, 0.46fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px;
}

.method-steps span {
  color: var(--blue);
}

.contact {
  padding-bottom: 82px;
  color: var(--paper-2);
  background: var(--black);
}

.contact h2,
.contact p,
.contact .eyebrow {
  color: var(--paper-2);
}

.request-form {
  display: grid;
  gap: 16px;
}

.request-form label {
  display: grid;
  gap: 8px;
  color: var(--paper-2);
  font-weight: 800;
}

.request-form input,
.request-form textarea {
  width: 100%;
  border: 1px solid rgba(246, 247, 242, 0.28);
  border-radius: 8px;
  padding: 14px 14px;
  color: var(--paper-2);
  background: rgba(246, 247, 242, 0.08);
  outline: 0;
}

.request-form input:focus,
.request-form textarea:focus {
  border-color: var(--yellow);
}

.request-form .button {
  width: fit-content;
  color: var(--black);
  background: var(--yellow);
  border-color: var(--yellow);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px var(--edge);
  border-top: 1px solid var(--line);
}

.site-footer > div,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.footer-links a,
.footer-links span {
  color: var(--muted);
}

.version-pill {
  display: inline-grid;
  grid-template-columns: auto 0fr;
  align-items: center;
  width: 96px;
  min-height: 38px;
  padding: 2px;
  overflow: hidden;
  color: var(--paper-2);
  background: var(--black);
  border: 1px solid var(--black);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(15, 18, 24, 0.12);
  transition:
    width 280ms ease,
    grid-template-columns 280ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.version-pill:hover,
.version-pill:focus-within,
.version-pill.is-open {
  grid-template-columns: auto 1fr;
  width: 268px;
  box-shadow: 0 14px 34px rgba(15, 18, 24, 0.16);
}

.version-trigger {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  height: 34px;
  min-width: 90px;
  padding: 0 12px;
  color: var(--paper-2);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.version-trigger::after {
  display: block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  opacity: 0.78;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.version-pill:hover .version-trigger::after,
.version-pill:focus-within .version-trigger::after,
.version-pill.is-open .version-trigger::after {
  transform: rotate(-135deg) translateY(-1px);
}

.version-trigger:focus-visible,
.version-menu a:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.version-menu {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  overflow: hidden;
  padding-right: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition:
    opacity 180ms ease,
    visibility 180ms ease,
    transform 220ms ease;
}

.version-pill:hover .version-menu,
.version-pill:focus-within .version-menu,
.version-pill.is-open .version-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.version-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
}

.version-menu a:hover {
  color: var(--black);
  background: var(--paper-2);
}

[data-reveal],
[data-split] .word {
  visibility: hidden;
}

@media (max-width: 1100px) {
  h1 {
    font-size: 4.8rem;
  }

  h2 {
    font-size: 3rem;
  }

  .layer-stack {
    right: -2%;
    width: min(64vw, 720px);
  }

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

  .github-status-card {
    grid-column: span 2;
  }

}

@media (max-width: 760px) {
  :root {
    --pad: 20px;
  }

  body {
    background-size: 58px 58px;
  }

  .site-header {
    min-height: 64px;
    background: rgba(246, 247, 242, 0.96);
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px;
    background: rgba(246, 247, 242, 0.96);
    border-bottom: 1px solid var(--line);
  }

  body.menu-open .site-nav {
    display: grid;
  }

  .site-nav a {
    justify-content: flex-start;
    min-height: 48px;
  }

  .section {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-top: 102px;
    padding-bottom: 42px;
    background: var(--paper-2);
  }

  h1 {
    font-size: 3.35rem;
    line-height: 0.98;
  }

  h2 {
    font-size: 2.35rem;
    line-height: 1.06;
  }

  h3 {
    font-size: 1.28rem;
  }

  p {
    font-size: 1rem;
    line-height: 1.58;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .hero-copy {
    order: 1;
    align-self: start;
    max-width: 100%;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .button {
    min-height: 46px;
    padding: 0 14px;
    font-size: 0.95rem;
  }

  .hero-lede {
    max-width: 30rem;
    margin-top: 18px;
    color: #252a30;
    font-size: 1.08rem;
    line-height: 1.55;
  }

  .kinetic-stage {
    position: relative;
    order: 2;
    z-index: 0;
    height: 278px;
    margin: 34px calc(var(--pad) * -1) 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
      linear-gradient(122deg, rgba(239, 78, 50, 0.14), transparent 42%),
      linear-gradient(246deg, rgba(39, 100, 232, 0.12), transparent 44%),
      linear-gradient(0deg, rgba(31, 159, 120, 0.11), transparent 50%),
      var(--paper);
  }

  .kinetic-stage::before {
    background-size: 48px 48px;
    opacity: 0.7;
  }

  .kinetic-stage::after {
    opacity: 0.38;
  }

  .layer-thread {
    stroke-width: 1.8;
    stroke-dasharray: 28 22;
  }

  .layer-stack {
    top: 18px;
    right: 16px;
    bottom: 18px;
    left: 16px;
    width: auto;
    height: auto;
  }

  .depth-layer {
    box-shadow: 0 16px 34px rgba(15, 18, 24, 0.14);
    backdrop-filter: blur(12px) saturate(130%);
  }

  .depth-layer::before {
    background-size: 26px 26px;
  }

  .layer-interface {
    top: 2%;
    left: 8%;
    width: 78%;
    height: 31%;
  }

  .layer-prototype {
    top: 24%;
    right: 2%;
    width: 74%;
    height: 36%;
  }

  .layer-fabrication {
    bottom: 7%;
    left: 9%;
    width: 78%;
    height: 31%;
  }

  .layer-launch {
    top: 15%;
    left: 0;
    width: 56%;
    height: 54%;
  }

  .layer-topline {
    padding: 12px 14px 0;
    font-size: 0.66rem;
  }

  .interface-lines {
    gap: 8px;
    padding: 20px 14px 0;
  }

  .interface-lines span,
  .cut-path span,
  .launch-grid span {
    height: 7px;
  }

  .interface-wave {
    right: 14px;
    bottom: 10px;
    left: 14px;
    height: 30px;
  }

  .contour-map {
    inset: 34px 16px 14px;
  }

  .cut-path {
    gap: 10px;
    padding: 28px 16px 0;
  }

  .launch-grid {
    gap: 10px;
    padding: 44px 16px 0;
  }

  .launch-grid span {
    height: 8px;
  }

  .hero-readout {
    position: static;
    order: 3;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: none;
    margin-top: 18px;
  }

  .hero-readout span {
    justify-content: center;
    min-height: 38px;
    background: var(--paper-2);
    font-size: 0.8rem;
    text-align: center;
  }

  .intro-grid,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading p:not(.eyebrow) {
    margin-top: 14px;
  }

  .sticky-heading {
    position: static;
  }

  .work.section {
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .work .section-heading {
    margin-bottom: 22px;
  }

  .work .eyebrow {
    margin-bottom: 10px;
  }

  .work h2 {
    font-size: 2rem;
    line-height: 1.08;
  }

  .work-track {
    gap: 12px;
    grid-template-columns: 1fr;
    padding-right: 0;
  }

  .github-status-card {
    grid-column: auto;
  }

  .work-card {
    min-height: 240px;
    padding: 20px;
  }

  .work-card p {
    margin-top: 10px;
    font-size: 0.94rem;
    line-height: 1.48;
  }

  .work-card ul {
    gap: 6px;
    margin-top: 18px;
  }

  .work-card li {
    padding: 7px 9px;
    font-size: 0.76rem;
  }

  .method-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .method-body {
    gap: 14px;
  }

  .method-offers {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .method-offers article {
    min-height: auto;
    padding: 20px;
  }

  .method-offers h3 {
    margin-top: 28px;
  }

  .method-steps li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px;
  }

  .method-steps p {
    margin-top: 2px;
  }

  .request-form .button {
    width: 100%;
  }

  .site-footer {
    display: grid;
    gap: 12px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.05rem;
  }
}

@media (max-width: 360px) {
  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  [data-reveal],
  [data-split] .word {
    visibility: visible;
  }
}
