:root {
  --ink: #0b0b0a;
  --ink-soft: #151513;
  --paper: #f1eee6;
  --paper-bright: #faf8f2;
  --paper-muted: #d8d3c8;
  --signal: #ff4d2d;
  --signal-deep: #e23b20;
  --line-dark: rgba(246, 241, 230, 0.17);
  --line-light: rgba(11, 11, 10, 0.16);
  --muted-dark: #9d9b95;
  --header-height: 78px;
  --page-gutter: clamp(22px, 5vw, 82px);
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: var(--paper-bright);
  background: var(--signal);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper-bright);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.grain {
  position: fixed;
  z-index: 90;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    radial-gradient(circle at 12% 34%, #fff 0 0.7px, transparent 0.8px),
    radial-gradient(circle at 72% 66%, #fff 0 0.7px, transparent 0.8px),
    radial-gradient(circle at 46% 12%, #000 0 0.65px, transparent 0.75px);
  background-size: 7px 7px, 9px 9px, 11px 11px;
  mix-blend-mode: soft-light;
}

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 13px var(--page-gutter);
  color: var(--paper-bright);
  background: rgba(11, 11, 10, 0.92);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--paper-bright);
  background: var(--signal);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted-dark);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}

.site-header nav a {
  position: relative;
  color: #cfcbc2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--paper-bright);
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  justify-self: end;
  padding: 11px 0 9px;
  border-bottom: 1px solid var(--signal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.header-cta span {
  display: inline-block;
  margin-left: 8px;
  color: var(--signal);
  transition: transform 180ms ease;
}

.header-cta:hover span {
  transform: translate(3px, -3px);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(350px, 0.88fr) minmax(500px, 1.12fr);
  align-items: center;
  gap: clamp(40px, 5vw, 90px);
  overflow: hidden;
  padding: clamp(64px, 8vh, 110px) var(--page-gutter);
  color: var(--paper-bright);
  background: var(--ink);
}

.hero::before {
  position: absolute;
  top: 4%;
  right: 4%;
  width: min(42vw, 720px);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(255, 77, 45, 0.23);
  border-radius: 50%;
  transform: translate(22%, -35%);
}

.hero::after {
  position: absolute;
  right: -8vw;
  bottom: -26vw;
  width: 54vw;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(241, 238, 230, 0.13);
  border-radius: 50%;
}

.hero-copy {
  position: relative;
  z-index: 5;
  max-width: 670px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--signal);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-eyebrow {
  opacity: 0;
  animation: hero-up 700ms 100ms cubic-bezier(.2,.75,.2,1) forwards;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(68px, 8.9vw, 144px);
  font-weight: 700;
  letter-spacing: -0.078em;
  line-height: 0.82;
  opacity: 0;
  animation: hero-up 800ms 170ms cubic-bezier(.2,.75,.2,1) forwards;
}

.hero h1 em {
  color: var(--signal);
  font-style: normal;
  font-weight: 500;
}

.hero-deck {
  max-width: 610px;
  margin: 36px 0 0;
  color: #c7c3ba;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.55;
  opacity: 0;
  animation: hero-up 750ms 290ms cubic-bezier(.2,.75,.2,1) forwards;
}

.hero-actions,
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.hero-actions {
  opacity: 0;
  animation: hero-up 750ms 380ms cubic-bezier(.2,.75,.2,1) forwards;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 19px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.button-primary {
  color: var(--paper-bright);
  background: var(--signal);
}

.button-primary:hover {
  background: var(--signal-deep);
  transform: translateY(-2px);
}

.button-quiet {
  color: var(--paper-bright);
  border: 1px solid rgba(250, 248, 242, 0.35);
}

.button-quiet:hover {
  color: var(--ink);
  background: var(--paper-bright);
  transform: translateY(-2px);
}

.hero-key {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  color: #888780;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.035em;
  opacity: 0;
  animation: hero-up 700ms 470ms cubic-bezier(.2,.75,.2,1) forwards;
}

.hero-key span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--signal);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255, 77, 45, 0.12);
}

.hero-stage {
  position: relative;
  z-index: 4;
  min-height: clamp(480px, 63vh, 770px);
  perspective: 1400px;
  opacity: 0;
  transform: translateX(55px);
  animation: stage-in 1100ms 240ms cubic-bezier(.15,.75,.16,1) forwards;
}

.hero-screen {
  position: absolute;
  overflow: hidden;
  margin: 0;
  background: #171715;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.45);
  transition: transform 400ms cubic-bezier(.2,.7,.2,1), filter 300ms ease;
}

.hero-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-screen-back {
  top: 3%;
  left: 7%;
  width: 74%;
  aspect-ratio: 1.6;
  filter: saturate(0.65) brightness(0.8);
  transform: rotate(-5deg) translate3d(calc(var(--mx, 0) * -7px), calc(var(--my, 0) * -5px), -80px);
}

.hero-screen-middle {
  top: 30%;
  right: -1%;
  width: 70%;
  aspect-ratio: 1.6;
  transform: rotate(5deg) translate3d(calc(var(--mx, 0) * 9px), calc(var(--my, 0) * 6px), -20px);
}

.hero-screen-front {
  bottom: 1%;
  left: -3%;
  width: 78%;
  aspect-ratio: 1.6;
  transform: rotate(-1.5deg) translate3d(calc(var(--mx, 0) * -13px), calc(var(--my, 0) * -9px), 40px);
}

.hero-stage:hover .hero-screen-back {
  filter: saturate(0.85) brightness(0.9);
  transform: rotate(-7deg) translate3d(-12px, -12px, -40px);
}

.hero-stage:hover .hero-screen-middle {
  transform: rotate(7deg) translate3d(14px, -6px, 10px);
}

.hero-stage:hover .hero-screen-front {
  transform: rotate(-2deg) translate3d(-15px, 12px, 70px);
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  display: block;
  border: 1px solid rgba(255, 77, 45, 0.38);
  border-radius: 50%;
}

.hero-orbit-one {
  top: 18%;
  right: 7%;
  width: 90px;
  height: 90px;
}

.hero-orbit-two {
  bottom: 7%;
  left: 7%;
  width: 42px;
  height: 42px;
  background: var(--signal);
  border: 0;
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(250px, 0.42fr) 1fr;
  gap: clamp(50px, 8vw, 150px);
  align-items: end;
  padding: clamp(100px, 12vw, 190px) var(--page-gutter);
  background: var(--paper-bright);
  border-bottom: 1px solid var(--line-light);
}

.manifesto-count {
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.manifesto-count > span {
  color: var(--signal);
  font-size: clamp(80px, 10vw, 160px);
  font-weight: 500;
  letter-spacing: -0.085em;
  line-height: 0.75;
}

.manifesto-count small {
  padding-bottom: 4px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manifesto-copy {
  max-width: 870px;
}

.manifesto-copy h2,
.section-heading h2,
.closing h2 {
  margin: 0;
  font-size: clamp(44px, 6.2vw, 92px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.97;
}

.manifesto-copy > p:last-child {
  max-width: 720px;
  margin: 34px 0 0;
  color: #4e4c47;
  font-size: clamp(16px, 1.35vw, 20px);
}

.section {
  padding: clamp(100px, 11vw, 180px) var(--page-gutter);
}

.section-saas,
.section-tools {
  background: var(--paper);
}

.section-heading {
  max-width: var(--max);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 470px);
  align-items: end;
  gap: 70px;
  margin: 0 auto clamp(80px, 9vw, 140px);
}

.section-heading > p {
  margin: 0;
  color: #5a5751;
  font-size: 17px;
  line-height: 1.65;
}

.feature-stack {
  max-width: var(--max);
  margin: 0 auto;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: clamp(50px, 8vw, 130px);
  padding: clamp(72px, 8vw, 126px) 0;
  border-top: 1px solid var(--line-light);
}

.feature:last-child {
  border-bottom: 1px solid var(--line-light);
}

.feature-reverse {
  grid-template-columns: minmax(340px, 0.72fr) minmax(0, 1.12fr);
}

.feature-reverse .feature-media {
  order: 2;
}

.feature-reverse .feature-copy {
  order: 1;
}

.feature-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.6;
  background: #d5d0c6;
  border: 1px solid rgba(11, 11, 10, 0.16);
}

.feature-media::after {
  position: absolute;
  inset: 0;
  content: "";
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
  pointer-events: none;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}

.feature:hover .feature-media img {
  transform: scale(1.025);
}

.feature-number {
  margin: 0 0 19px;
  color: var(--signal);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-copy h3 {
  margin: 0;
  font-size: clamp(41px, 4.2vw, 70px);
  font-weight: 600;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.feature-copy > p:not(.feature-number) {
  margin: 28px 0 0;
  color: #514f49;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.7;
}

.demo-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-label i {
  width: 8px;
  height: 8px;
  display: block;
  background: var(--signal);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255, 77, 45, 0.12);
}

.feature-media-system {
  display: grid;
  place-items: center;
  padding: 8%;
  background: var(--ink-soft);
}

.system-shell {
  width: 94%;
  height: 86%;
  display: grid;
  grid-template-columns: 17% 1fr;
  overflow: hidden;
  background: #242421;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 34px 36px 0 rgba(255, 77, 45, 0.88);
  transform: rotate(-2deg);
  transition: transform 550ms cubic-bezier(.2,.7,.2,1), box-shadow 550ms ease;
}

.feature:hover .system-shell {
  box-shadow: 24px 28px 0 rgba(255, 77, 45, 0.95);
  transform: rotate(0deg) translateY(-5px);
}

.system-rail {
  display: flex;
  flex-direction: column;
  gap: 12%;
  padding: 32% 23%;
  background: #10100f;
}

.system-rail span {
  height: 6px;
  background: #464640;
}

.system-rail span:first-child {
  background: var(--signal);
}

.system-workspace {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  grid-template-rows: 16% 1fr;
  gap: 5%;
  padding: 5%;
}

.system-topline {
  grid-column: 1 / -1;
  width: 46%;
  align-self: center;
  border-top: 7px solid #5e5e57;
}

.system-video {
  position: relative;
  display: grid;
  place-items: center;
  background: #090909;
  border: 1px solid #3c3c39;
}

.system-video b {
  color: #8d8c85;
  font-family: "DM Mono", monospace;
  font-size: clamp(10px, 1.2vw, 18px);
}

.system-video i {
  position: absolute;
  right: 10%;
  bottom: 10%;
  left: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--signal) 0 46%, #4e4d48 46% 100%);
}

.system-comments {
  display: grid;
  gap: 7%;
}

.system-comments span {
  background: #393936;
  border-left: 3px solid #66665e;
}

.system-comments span:first-child {
  border-left-color: var(--signal);
}

.section-portfolio {
  color: var(--paper-bright);
  background: var(--ink);
}

.section-heading-dark > p {
  color: #aaa79f;
}

.filter-bar {
  position: sticky;
  z-index: 30;
  top: var(--header-height);
  max-width: var(--max);
  display: flex;
  gap: 0;
  margin: 0 auto 74px;
  overflow-x: auto;
  background: rgba(11, 11, 10, 0.92);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(16px);
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-button {
  position: relative;
  flex: 0 0 auto;
  padding: 20px 24px 18px;
  color: #96938c;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.filter-button + .filter-button {
  border-left: 1px solid var(--line-dark);
}

.filter-button::after {
  position: absolute;
  right: 22px;
  bottom: -1px;
  left: 22px;
  height: 2px;
  content: "";
  background: var(--signal);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--paper-bright);
  background: rgba(255, 255, 255, 0.035);
}

.filter-button.is-active::after {
  transform: scaleX(1);
}

.filter-button span {
  display: inline-block;
  min-width: 18px;
  margin-left: 8px;
  color: var(--signal);
}

.project-grid {
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(34px, 4vw, 72px);
  margin: 0 auto;
  border-top: 1px solid var(--line-dark);
}

.project-card {
  min-width: 0;
  padding: clamp(35px, 4.4vw, 66px) 0;
  border-bottom: 1px solid var(--line-dark);
  transition: opacity 230ms ease, transform 230ms ease;
}

.project-card[hidden] {
  display: none;
}

.project-card-inner {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
}

a.project-card-inner {
  cursor: pointer;
}

.project-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.6;
  margin: 0 0 27px;
  background: #1b1b19;
  border: 1px solid var(--line-dark);
}

.project-media::after {
  position: absolute;
  inset: 0;
  content: "";
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.82);
  transition: transform 550ms cubic-bezier(.2,.7,.2,1), filter 350ms ease;
}

a.project-card-inner:hover .project-media img {
  filter: saturate(1);
  transform: scale(1.035);
}

.project-fallback {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  align-content: end;
  padding: clamp(22px, 3vw, 42px);
  overflow: hidden;
  color: var(--paper-bright);
  background: var(--ink-soft);
}

.project-fallback::before {
  position: absolute;
  top: -32%;
  right: -8%;
  width: 62%;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(255, 77, 45, 0.48);
  border-radius: 50%;
}

.project-fallback::after {
  position: absolute;
  right: 8%;
  bottom: 12%;
  width: 52px;
  height: 52px;
  content: "";
  background: var(--signal);
  transform: rotate(45deg);
  transition: transform 500ms cubic-bezier(.2,.7,.2,1);
}

a.project-card-inner:hover .project-fallback::after {
  transform: rotate(135deg) scale(1.1);
}

.project-fallback small {
  position: relative;
  z-index: 2;
  margin-bottom: 10px;
  color: #aaa79e;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-fallback strong {
  position: relative;
  z-index: 2;
  max-width: 82%;
  font-size: clamp(28px, 3vw, 49px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.project-meta {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-type {
  margin: 0 0 13px;
  color: var(--signal);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project-title-row {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.project-title-row h3 {
  margin: 0;
  font-size: clamp(26px, 2.35vw, 38px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.project-arrow {
  flex: 0 0 auto;
  color: var(--signal);
  font-size: 25px;
  line-height: 1;
  transition: transform 180ms ease;
}

a.project-card-inner:hover .project-arrow {
  transform: translate(4px, -4px);
}

.project-meta > p:not(.project-type) {
  margin: 17px 0 0;
  color: #aaa79f;
  line-height: 1.65;
}

.project-demo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 24px;
  color: #d9d5cc;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-demo::before {
  width: 6px;
  height: 6px;
  content: "";
  background: var(--signal);
  border-radius: 50%;
}

.project-card-logo .project-media {
  display: grid;
  place-items: center;
  padding: 12%;
  background: #f0ede5;
}

.project-card-logo .project-media img {
  width: 74%;
  height: 74%;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.empty-state {
  max-width: var(--max);
  margin: 60px auto 0;
  color: var(--muted-dark);
}

.section-tools {
  border-top: 1px solid var(--line-light);
}

.tool-list {
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  border-top: 1px solid var(--line-light);
}

.tool-item {
  min-height: 160px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 22px;
  padding: 28px 26px 28px 0;
  border-bottom: 1px solid var(--line-light);
  transition: background 180ms ease, padding 180ms ease;
}

.tool-item:nth-child(odd) {
  padding-right: clamp(28px, 4vw, 64px);
  border-right: 1px solid var(--line-light);
}

.tool-item:nth-child(even) {
  padding-left: clamp(28px, 4vw, 64px);
}

.tool-item:hover {
  background: rgba(255, 255, 255, 0.4);
}

.tool-number {
  color: var(--signal);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.tool-copy h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.tool-copy p {
  margin: 9px 0 0;
  color: #615e57;
  font-size: 14px;
  line-height: 1.55;
}

.tool-arrow {
  color: var(--signal);
  font-size: 18px;
  transition: transform 180ms ease;
}

.tool-item:hover .tool-arrow {
  transform: translate(4px, -4px);
}

.closing {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(110px, 14vw, 220px) var(--page-gutter);
  color: var(--paper-bright);
  background: var(--signal);
}

.closing-copy {
  position: relative;
  z-index: 3;
  max-width: 900px;
}

.closing .eyebrow {
  color: var(--ink);
}

.closing h2 {
  max-width: 850px;
  font-size: clamp(62px, 8vw, 120px);
  color: var(--ink);
}

.closing-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 32px 0 0;
  color: rgba(11, 11, 10, 0.72);
  font-size: clamp(17px, 1.5vw, 22px);
}

.closing .button-primary {
  color: var(--paper-bright);
  background: var(--ink);
}

.closing .button-primary:hover {
  background: #252522;
}

.closing .button-quiet {
  color: var(--ink);
  border-color: rgba(11, 11, 10, 0.45);
}

.closing .button-quiet:hover {
  color: var(--paper-bright);
  background: var(--ink);
}

.closing-word {
  position: absolute;
  right: -0.08em;
  bottom: -0.39em;
  margin: 0;
  color: rgba(11, 11, 10, 0.11);
  font-size: clamp(140px, 24vw, 410px);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 28px var(--page-gutter);
  color: #9f9b93;
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--paper-bright);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 720ms cubic-bezier(.2,.7,.2,1), transform 720ms cubic-bezier(.2,.7,.2,1);
}

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

@keyframes hero-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes stage-in {
  from { opacity: 0; transform: translateX(55px) scale(0.96); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    grid-template-columns: 0.88fr 1.12fr;
  }

  .hero h1 {
    font-size: clamp(66px, 9vw, 104px);
  }

  .hero-stage {
    min-height: 560px;
  }

  .feature,
  .feature-reverse {
    grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.75fr);
    gap: 50px;
  }

  .feature-reverse .feature-media {
    order: 2;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    min-height: var(--header-height);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .header-cta {
    font-size: 10px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 72px;
    padding-bottom: 60px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero h1 {
    font-size: clamp(68px, 15vw, 116px);
  }

  .hero-stage {
    width: min(760px, 100%);
    min-height: clamp(430px, 72vw, 590px);
    margin: 0 auto;
  }

  .manifesto,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .manifesto-count {
    align-items: end;
  }

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

  .feature,
  .feature-reverse {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .feature-reverse .feature-media,
  .feature-reverse .feature-copy {
    order: initial;
  }

  .feature-copy {
    max-width: 660px;
  }

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

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

  .tool-item:nth-child(odd),
  .tool-item:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
  }
}

@media (max-width: 560px) {
  :root {
    --page-gutter: 20px;
  }

  .site-header {
    gap: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand-copy small {
    display: none;
  }

  .header-cta {
    max-width: 132px;
    padding: 7px 0;
    text-align: right;
    line-height: 1.3;
  }

  .hero {
    padding-top: 54px;
  }

  .hero h1 {
    font-size: clamp(64px, 22vw, 92px);
    line-height: 0.84;
  }

  .hero-deck {
    margin-top: 30px;
  }

  .hero-actions,
  .closing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-key {
    align-items: flex-start;
    line-height: 1.5;
  }

  .hero-stage {
    min-height: 350px;
  }

  .hero-screen-back {
    left: 3%;
    width: 84%;
  }

  .hero-screen-middle {
    top: 31%;
    width: 78%;
  }

  .hero-screen-front {
    left: 0;
    width: 86%;
  }

  .manifesto {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .manifesto-count {
    gap: 14px;
  }

  .manifesto-count > span {
    font-size: 88px;
  }

  .manifesto-copy h2,
  .section-heading h2 {
    font-size: clamp(43px, 14vw, 66px);
  }

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

  .section-heading {
    gap: 32px;
    margin-bottom: 72px;
  }

  .feature {
    padding: 60px 0;
  }

  .feature-media {
    aspect-ratio: 1.34;
  }

  .feature-media img {
    object-position: 50% top;
  }

  .feature-copy h3 {
    font-size: 45px;
  }

  .system-shell {
    box-shadow: 18px 20px 0 rgba(255, 77, 45, 0.88);
  }

  .filter-bar {
    margin-right: -20px;
    margin-left: -20px;
    padding-left: 0;
  }

  .filter-button {
    padding-right: 19px;
    padding-left: 19px;
  }

  .project-card {
    padding: 42px 0;
  }

  .project-media {
    aspect-ratio: 1.35;
  }

  .project-meta {
    min-height: 0;
  }

  .project-demo {
    margin-top: 8px;
  }

  .tool-item {
    min-height: 142px;
    gap: 16px;
  }

  .closing {
    min-height: 80vh;
  }

  .closing h2 {
    font-size: clamp(58px, 17vw, 78px);
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
