:root {
  --ink: #0b0f0e;
  --paper: #f2f0e9;
  --paper-deep: #e6e2d8;
  --muted: #696d68;
  --line: rgba(11, 15, 14, 0.18);
  --signal: #c7ff32;
  --signal-dark: #25420b;
  --blue: #2448ff;
  --white: #fffef9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(11, 15, 14, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 15, 14, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
  align-items: center;
  background: rgba(242, 240, 233, 0.88);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 4vw;
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  z-index: 20;
}

.wordmark {
  align-items: center;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 800;
  gap: 0.72rem;
  letter-spacing: -0.02em;
}

.wordmark-mark {
  align-items: center;
  background: var(--ink);
  color: var(--signal);
  display: inline-flex;
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  height: 34px;
  justify-content: center;
  letter-spacing: -0.08em;
  width: 34px;
}

nav {
  display: flex;
  font-size: 0.76rem;
  font-weight: 700;
  gap: 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

nav a,
.text-link,
footer a {
  transition: color 160ms ease;
}

nav a:hover,
.text-link:hover,
footer a:hover {
  color: var(--blue);
}

.hero {
  display: grid;
  gap: clamp(3rem, 7vw, 8rem);
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  margin: 0 auto;
  max-width: 1500px;
  min-height: calc(100vh - 76px);
  padding: clamp(5rem, 9vw, 9rem) 4vw 5rem;
}

.hero-copy {
  align-self: center;
}

.eyebrow,
.section-kicker,
.micro-label,
.project-meta,
.operator-topline {
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  align-items: center;
  display: flex;
  gap: 0.65rem;
  margin: 0 0 2rem;
}

.status-dot {
  background: var(--signal);
  border: 4px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--signal);
  height: 12px;
  width: 12px;
}

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

h1 {
  font-size: clamp(3.8rem, 8.3vw, 8.7rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.83;
  margin-bottom: 2.4rem;
  max-width: 1020px;
}

h1 span {
  color: var(--blue);
  display: block;
}

.hero-summary {
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.62;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.5rem;
}

.button {
  align-items: center;
  border: 1px solid var(--ink);
  display: inline-flex;
  font-size: 0.83rem;
  font-weight: 800;
  gap: 1rem;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.25rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  box-shadow: 5px 5px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.button-primary {
  background: var(--ink);
  color: var(--white);
}

.button-secondary {
  background: transparent;
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
}

.capability-list li,
.project-stack span {
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.62rem 0.78rem;
  text-transform: uppercase;
}

.operator-card {
  align-self: center;
  background: var(--ink);
  box-shadow: 16px 16px 0 var(--signal);
  color: var(--white);
  min-height: 560px;
  padding: 1.6rem;
  transform: rotate(1.5deg);
}

.operator-topline {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  justify-content: space-between;
  padding-bottom: 1.2rem;
}

.live-label {
  color: var(--signal);
}

.operator-card dl {
  margin: 3.8rem 0 0;
}

.operator-card dl > div {
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  padding: 0 0 1.35rem;
  margin-bottom: 1.35rem;
}

.operator-card dt {
  color: #a8aaa6;
  font-family: "Courier New", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.operator-card dd {
  font-size: 1.03rem;
  font-weight: 700;
  margin: 0;
}

.operator-card .subvalue {
  color: #a8aaa6;
  font-size: 0.77rem;
  font-weight: 400;
  margin-top: 0.35rem;
}

.operator-footer {
  align-items: center;
  color: var(--signal);
  display: flex;
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  gap: 0.65rem;
  letter-spacing: 0.13em;
  margin-top: 3rem;
}

.scan-line {
  background: rgba(199, 255, 50, 0.45);
  height: 1px;
  flex: 1;
}

.proof-strip {
  background: var(--signal);
  border-bottom: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-strip div {
  border-right: 1px solid var(--ink);
  padding: 1.5rem 4vw;
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.proof-strip span {
  font-size: 0.73rem;
  line-height: 1.4;
}

.section {
  margin: 0 auto;
  max-width: 1500px;
  padding: clamp(6rem, 10vw, 10rem) 4vw;
}

.section-heading {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 0.55fr 1.5fr 0.95fr;
  margin-bottom: 4rem;
}

.section-kicker {
  color: var(--blue);
  padding-top: 0.8rem;
}

.section-heading h2 {
  font-size: clamp(2.8rem, 6vw, 6.4rem);
  letter-spacing: -0.065em;
  line-height: 0.94;
  margin: 0;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  padding-top: 0.55rem;
}

.live-work-section {
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.live-work-heading {
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.live-project-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.live-project-card {
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.live-project-card:hover,
.live-project-card:focus-visible {
  box-shadow: 14px 14px 0 var(--ink);
  outline: 0;
  transform: translate(-4px, -4px);
}

.live-project-topline {
  align-items: center;
  border-bottom: 1px solid var(--ink);
  display: flex;
  font-family: "Courier New", monospace;
  font-size: 0.65rem;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0.1em;
  min-height: 52px;
  padding: 0.8rem 1rem;
  text-transform: uppercase;
}

.live-project-status {
  background: var(--signal);
  border: 1px solid var(--ink);
  border-radius: 999px;
  letter-spacing: 0.04em;
  padding: 0.42rem 0.58rem;
  white-space: nowrap;
}

.project-poster {
  border-bottom: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  height: clamp(330px, 38vw, 520px);
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  position: relative;
}

.poster-brand {
  font-family: "Courier New", monospace;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  position: relative;
  text-transform: uppercase;
  z-index: 2;
}

.poster-display {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.poster-display strong {
  font-size: clamp(3.2rem, 7.7vw, 8rem);
  letter-spacing: -0.09em;
  line-height: 0.78;
}

.poster-display span {
  font-family: "Courier New", monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  margin-top: 1rem;
  text-transform: uppercase;
}

.poster-chip {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid currentColor;
  color: var(--ink);
  font-family: "Courier New", monospace;
  font-size: 0.67rem;
  font-weight: 800;
  padding: 0.65rem 0.8rem;
  position: relative;
  z-index: 2;
}

.live-project-lelle .project-poster {
  background: #3b63ff;
  color: var(--white);
}

.lelle-sun {
  background: #ffc532;
  border: 1px solid var(--ink);
  border-radius: 50%;
  height: clamp(190px, 26vw, 360px);
  position: absolute;
  right: -3%;
  top: 13%;
  width: clamp(190px, 26vw, 360px);
}

.live-project-blush .project-poster {
  background: #ff3fa4;
  color: #14040f;
}

.live-project-blush .project-poster::before,
.live-project-blush .project-poster::after {
  border: 1px solid #14040f;
  border-radius: 50%;
  content: "";
  height: 72%;
  position: absolute;
  right: -18%;
  top: 14%;
  width: 54%;
}

.live-project-blush .project-poster::after {
  height: 50%;
  right: -2%;
  top: 26%;
  width: 37%;
}

.blush-display > span {
  background: #14040f;
  color: #ff71b9;
  margin: 0 0 0.8rem;
  padding: 0.35rem 0.5rem;
}

.live-project-arma .project-poster {
  background: #17271c;
  color: #eef0df;
}

.arma-grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 2;
}

.arma-grid span {
  border: 1px solid rgba(238, 240, 223, 0.52);
  font-family: "Courier New", monospace;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.7rem 0.5rem;
  text-align: center;
}

.arma-display {
  align-items: flex-end;
  flex-direction: row;
  justify-content: space-between;
}

.arma-display strong {
  color: #d7ff4b;
}

.arma-display span {
  border-bottom: 1px solid #eef0df;
  margin-bottom: 0.3rem;
  padding-bottom: 0.35rem;
}

.live-project-calculastic .project-poster {
  background: #eef0f8;
  color: #172151;
}

.calculator-result {
  background: var(--white);
  border: 1px solid #172151;
  box-shadow: 12px 12px 0 #99aeff;
  display: flex;
  flex-direction: column;
  margin: auto 0;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  position: relative;
  z-index: 2;
}

.calculator-result span,
.calculator-result small {
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.calculator-result strong {
  font-size: clamp(3.2rem, 7vw, 7rem);
  letter-spacing: -0.075em;
  line-height: 1;
  margin: 0.75rem 0 1rem;
}

.calculator-result small {
  color: #68709a;
  letter-spacing: 0.03em;
  text-transform: none;
}

.live-project-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.live-project-copy h3 {
  font-size: clamp(2.2rem, 4.2vw, 4.5rem);
  letter-spacing: -0.065em;
  line-height: 0.92;
  margin-bottom: 1rem;
}

.live-project-copy p {
  color: var(--muted);
  line-height: 1.65;
  max-width: 640px;
}

.live-project-footer {
  align-items: flex-end;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.2rem;
}

.live-project-footer span {
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.4;
  max-width: 58%;
  text-transform: uppercase;
}

.live-project-footer strong {
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  padding-bottom: 0.25rem;
  white-space: nowrap;
}

.flagship-card {
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
}

.project-meta {
  align-items: center;
  border-bottom: 1px solid var(--ink);
  display: flex;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.project-number {
  background: var(--ink);
  color: var(--white);
  margin: -1rem 0 -1rem -1.25rem;
  padding: 1.06rem 1.25rem;
}

.project-status {
  border-radius: 999px;
  padding: 0.45rem 0.65rem;
}

.project-status.live {
  background: var(--signal);
  color: var(--signal-dark);
}

.flagship-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}

.flagship-copy,
.system-map {
  padding: clamp(2.5rem, 5vw, 5rem);
}

.flagship-copy {
  border-right: 1px solid var(--ink);
}

.micro-label {
  color: var(--blue);
  margin-bottom: 1.5rem;
}

.flagship-copy h3 {
  font-size: clamp(3rem, 6.5vw, 7rem);
  letter-spacing: -0.07em;
  line-height: 0.9;
  margin-bottom: 2rem;
}

.flagship-copy > p:not(.micro-label) {
  color: var(--muted);
  line-height: 1.7;
  max-width: 700px;
}

.flagship-copy .project-lead {
  color: var(--ink) !important;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.45 !important;
}

.text-link {
  border-bottom: 1px solid currentColor;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 800;
  gap: 0.7rem;
  margin-top: 1rem;
  padding-bottom: 0.25rem;
}

.card-link {
  border-bottom: 1px solid currentColor;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 800;
  gap: 0.65rem;
  margin-top: 0.7rem;
  padding-bottom: 0.22rem;
}

.system-map {
  background: var(--paper-deep);
}

.system-map ol {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
}

.system-map li {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 34px 1fr;
  padding: 1.35rem 0;
}

.system-map li > span {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: var(--signal);
  display: flex;
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  height: 34px;
  justify-content: center;
}

.system-map strong,
.system-map small {
  display: block;
}

.system-map strong {
  font-size: 0.88rem;
}

.system-map small {
  color: var(--muted);
  font-size: 0.72rem;
  margin-top: 0.35rem;
}

.project-stack {
  border-top: 1px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.25rem;
}

.secondary-work {
  padding-top: 0;
}

.project-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  border: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 530px;
  overflow: hidden;
}

.tone-blue {
  background: var(--blue);
  color: var(--white);
}

.tone-lime {
  background: var(--signal);
}

.tone-ink {
  background: var(--ink);
  color: var(--white);
}

.tone-paper {
  background: var(--white);
}

.card-topline {
  align-items: center;
  border-bottom: 1px solid currentColor;
  display: flex;
  font-family: "Courier New", monospace;
  font-size: 0.66rem;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0.12em;
  padding: 1.1rem 1.25rem;
  text-transform: uppercase;
}

.card-body {
  flex: 1;
  padding: clamp(2rem, 4vw, 4rem);
}

.card-body h3,
.lab-card h3 {
  font-size: clamp(2.4rem, 4.5vw, 5rem);
  letter-spacing: -0.065em;
  line-height: 0.92;
  margin-bottom: 2.4rem;
}

.card-summary {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 700;
  line-height: 1.5;
  max-width: 660px;
}

.card-outcome {
  line-height: 1.7;
  max-width: 660px;
  opacity: 0.72;
}

.project-evidence {
  align-items: stretch;
  border: 1px solid currentColor;
  color: inherit;
  display: grid;
  grid-template-columns: minmax(105px, 0.8fr) 1.2fr;
  margin-top: 1.5rem;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.project-evidence img {
  border-right: 1px solid currentColor;
  display: block;
  height: 96px;
  object-fit: cover;
  object-position: top left;
  width: 100%;
}

.project-evidence span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.75rem 0.9rem;
}

.project-evidence strong {
  font-family: "Courier New", monospace;
  font-size: 0.69rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project-evidence small {
  font-size: 0.75rem;
  line-height: 1.35;
  margin-top: 0.25rem;
  opacity: 0.72;
}

.project-evidence:hover,
.project-evidence:focus-visible {
  background: var(--signal);
  color: var(--ink);
}

.card-stack {
  border-top: 1px solid currentColor;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 1.2rem;
}

.card-stack li {
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.5rem 0.65rem;
  text-transform: uppercase;
}

.operations-section {
  background: var(--ink);
  color: var(--white);
  padding: clamp(6rem, 10vw, 10rem) 4vw;
}

.operations-inner {
  display: grid;
  gap: clamp(3rem, 7vw, 8rem);
  grid-template-columns: 0.65fr 1.35fr;
  margin: 0 auto;
  max-width: 1500px;
}

.operations-copy h2 {
  font-size: clamp(3rem, 6vw, 6.5rem);
  letter-spacing: -0.07em;
  line-height: 0.9;
  margin: 2rem 0;
}

.operations-copy > p:last-child {
  color: #aeb2ad;
  line-height: 1.75;
  max-width: 520px;
}

.lab-card {
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 10px 10px 0 var(--signal);
}

.lab-card h3 {
  margin: 0;
  padding: clamp(2rem, 4vw, 4rem);
}

.lab-evidence {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.lab-evidence li {
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 34px 1fr;
  padding: 1.35rem 1.5rem;
}

.lab-evidence li > span {
  color: var(--signal);
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  font-weight: 700;
}

.lab-evidence p {
  color: #d4d7d2;
  line-height: 1.55;
  margin: 0;
}

.dark-stack {
  border-top: 0;
}

.dark-stack span {
  border-color: rgba(255, 255, 255, 0.3);
}

.experience-heading {
  margin-bottom: 5rem;
}

.timeline {
  border-top: 1px solid var(--ink);
}

.timeline-item {
  align-items: start;
  border-bottom: 1px solid var(--ink);
  display: grid;
  gap: 2rem;
  grid-template-columns: 56px minmax(170px, 0.45fr) 1.55fr;
  padding: 2.2rem 0;
}

.timeline-index {
  align-items: center;
  background: var(--ink);
  color: var(--signal);
  display: flex;
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.timeline-item time {
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding-top: 0.8rem;
  text-transform: uppercase;
}

.timeline-item h3 {
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 0.55rem;
}

.timeline-company {
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.timeline-detail {
  color: var(--muted);
  line-height: 1.7;
  max-width: 820px;
}

.contact-section {
  background: var(--blue);
  color: var(--white);
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.4fr 1.6fr;
  padding: clamp(6rem, 10vw, 10rem) 4vw;
}

.contact-section .section-kicker {
  color: var(--signal);
}

.contact-section > div {
  max-width: 1120px;
}

.contact-section h2 {
  font-size: clamp(3rem, 7.5vw, 8rem);
  letter-spacing: -0.075em;
  line-height: 0.88;
  margin-bottom: 2.5rem;
}

.contact-section p {
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.65;
  max-width: 720px;
}

.contact-link {
  align-items: center;
  background: var(--signal);
  border: 1px solid var(--ink);
  color: var(--ink);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 900;
  gap: 2rem;
  margin-top: 1.5rem;
  min-height: 58px;
  padding: 0 1.5rem;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.contact-link:hover {
  box-shadow: 6px 6px 0 var(--ink);
  transform: translate(-2px, -2px);
}

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

footer {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: flex;
  font-size: 0.8rem;
  justify-content: space-between;
  padding: 2rem 4vw;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--signal);
  font-weight: 700;
}

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

  .operator-card {
    min-height: auto;
    transform: none;
  }

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

  .proof-strip div:nth-child(2) {
    border-right: 0;
  }

  .proof-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--ink);
  }

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

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

  .project-poster {
    height: clamp(360px, 75vw, 560px);
  }

  .section-kicker,
  .section-heading > p:last-child {
    padding-top: 0;
  }

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

  .flagship-copy {
    border-bottom: 1px solid var(--ink);
    border-right: 0;
  }

  .operations-inner {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    flex-wrap: wrap;
    min-height: 64px;
    padding-top: 0.75rem;
  }

  nav {
    -webkit-overflow-scrolling: touch;
    font-size: 0.68rem;
    gap: 1rem;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 0.75rem 0 0.9rem;
    scrollbar-width: none;
    width: 100%;
  }

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

  nav a {
    flex: 0 0 auto;
    padding: 0.35rem 0;
  }

  #experience,
  #systems,
  #live-work,
  #work,
  #contact {
    scroll-margin-top: 132px;
  }

  .hero {
    min-height: auto;
    padding-top: 4.5rem;
  }

  h1 {
    font-size: clamp(3.25rem, 17vw, 5.4rem);
  }

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

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    border-bottom: 1px solid var(--ink);
    border-right: 0;
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .project-meta {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .project-meta > span:last-child {
    width: 100%;
  }

  .flagship-copy,
  .system-map {
    padding: 2rem 1.25rem;
  }

  .flagship-card {
    box-shadow: 6px 6px 0 var(--ink);
  }

  .live-project-card {
    box-shadow: 5px 5px 0 var(--ink);
  }

  .live-project-card:hover,
  .live-project-card:focus-visible {
    box-shadow: 8px 8px 0 var(--ink);
    transform: translate(-2px, -2px);
  }

  .project-poster {
    height: 390px;
  }

  .live-project-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

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

  .live-project-footer span {
    max-width: none;
  }

  .lelle-sun {
    height: 230px;
    width: 230px;
  }

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

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

  .project-card {
    min-height: 470px;
  }

  .lab-card {
    box-shadow: 6px 6px 0 var(--signal);
  }

  .timeline-item {
    gap: 1rem;
    grid-template-columns: 44px 1fr;
  }

  .timeline-item time {
    padding-top: 0.75rem;
  }

  .timeline-item > div {
    grid-column: 1 / -1;
    padding-left: 60px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
