/* Tender Tectonics: drafted volumes, paper, and a human yellow go. */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body-md), sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-tertiary);
  outline-offset: 6px;
}
img,
video {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}
.label {
  text-transform: uppercase;
  font:
    700 12px/1.2 var(--font-label),
    sans-serif;
  letter-spacing: 0.24em;
}
.meta,
.coordinates,
.title-block dd {
  font:
    400 14px/1.4 var(--font-data-md),
    monospace;
  color: var(--color-text-muted);
}
.small {
  font-size: 14px;
}
.muted {
  color: var(--color-text-muted);
}
.brand {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 16px 28px;
  border: 2px solid var(--color-text);
  border-radius: 12px;
  background: var(--color-primary);
  color: var(--color-on-primary);
  box-shadow: 6px 6px 0 var(--color-shadow);
  text-align: center;
}
.primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--color-shadow);
}
.blueprint {
  position: relative;
  isolation: isolate;
  background: var(--color-background);
  color: var(--color-text);
}
.blueprint-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(
      to right,
      color-mix(in srgb, var(--color-grid) 40%, transparent) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      color-mix(in srgb, var(--color-grid) 40%, transparent) 1px,
      transparent 1px
    ),
    linear-gradient(
      to right,
      color-mix(in srgb, var(--color-grid) 65%, transparent) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      color-mix(in srgb, var(--color-grid) 65%, transparent) 1px,
      transparent 1px
    );
  background-size:
    40px 40px,
    40px 40px,
    200px 200px,
    200px 200px;
}
.hollow {
  font-family: var(--font-display), serif;
  color: transparent;
  -webkit-text-stroke: 3px var(--color-text);
  line-height: 0.92;
  transform: scaleY(1.3);
  transform-origin: top left;
  text-shadow: 10px 10px 0 var(--color-shadow);
  letter-spacing: -0.045em;
}
.hero {
  min-height: 1160px;
  padding: 0 80px 80px;
}
.hero-top {
  height: 114px;
  display: flex;
  gap: 40px;
  align-items: center;
  border-bottom: 2px solid var(--color-text);
}
.hero-top nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.hero-top nav a {
  font:
    700 12px/1.2 var(--font-label),
    sans-serif;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.hero-top .primary {
  margin-left: 48px;
}
.hero-body {
  padding-top: 56px;
}
.hero h1 {
  font-size: clamp(4.5rem, 1rem + 16.25vw, 15.625rem);
  margin-left: -10px;
  margin-bottom: 0.78em;
}
.hero-statement {
  font:
    400 clamp(50px, 6.67vw, 96px) / 1.15 var(--font-display),
    serif;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.hero-statement span {
  font:
    400 clamp(44px, 7.22vw, 104px) / 1 var(--font-display-digital),
    sans-serif;
  letter-spacing: 0.02em;
  color: var(--color-tertiary);
  margin-left: 16px;
}
.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 56px;
  margin-top: 36px;
}
.hero-licence {
  flex: 1;
}
.hero-licence p {
  color: var(--color-text-muted);
}
.hero-licence .primary {
  display: none;
}
.dimension {
  position: relative;
  height: 14px;
  border-top: 1px solid var(--color-text-muted);
  margin-top: 20px;
}
.dimension:before,
.dimension:after {
  content: "";
  position: absolute;
  top: -7px;
  height: 14px;
  border-left: 1px solid var(--color-text-muted);
}
.dimension:before {
  left: 0;
}
.dimension:after {
  right: 0;
}
.title-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 380px;
  flex-shrink: 0;
  border: 2px solid var(--color-text);
}
.title-block > div {
  padding: 12px 16px;
  min-width: 0;
}
.title-block > div:nth-child(odd) {
  border-right: 2px solid var(--color-text);
}
.title-block > div:nth-child(n + 3) {
  border-top: 2px solid var(--color-text);
}
.title-block dt {
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.title-block dd {
  color: var(--color-text);
  font-size: 12px;
}
.body-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
}
.rail {
  background: var(--color-surface);
  border-right: 2px solid var(--color-text);
  min-width: 0;
}
.rail-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 720px;
  padding: 64px 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.rail-name {
  font:
    400 40px/1.05 var(--font-headline),
    serif;
}
.role {
  color: var(--color-secondary-text);
}
.rail .role {
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 0.18em;
}
.rail .small {
  font-size: 12px;
  margin-top: 12px;
}
.rail nav {
  width: 100%;
  border-top: 2px solid var(--color-text);
  padding-top: 24px;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.rail nav a {
  display: flex;
  gap: 18px;
  align-items: baseline;
  color: var(--color-text-muted);
  font:
    700 12px/1.2 var(--font-label),
    sans-serif;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.nav-number {
  font:
    400 12px/1.4 var(--font-data-md),
    monospace;
  letter-spacing: 0;
  color: var(--color-text-muted);
}
.nav-text {
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}
.rail nav a[aria-current="true"] {
  color: var(--color-text);
}
.rail nav a[aria-current="true"] .nav-text {
  border-bottom-color: currentColor;
}
.status {
  display: flex;
  gap: 8px;
  align-items: center;
  text-transform: uppercase;
  color: var(--color-tertiary);
  font:
    700 11px/1.5 var(--font-label),
    sans-serif;
  letter-spacing: 0.16em;
}
.status:before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  background: var(--color-tertiary);
}
.rail .status {
  margin-top: 28px;
}
.coordinates {
  font-size: 12px;
  margin-top: 12px;
}
.rail .primary {
  margin-top: 28px;
  padding: 16px 22px;
}
.cv {
  font-size: 12px;
  color: var(--color-secondary-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.rail .cv {
  margin-top: 20px;
}
.elsewhere {
  border-top: 2px solid var(--color-text);
  padding-top: 24px;
  margin-top: 32px;
  width: 100%;
}
.elsewhere .label {
  font-size: 11px;
  color: var(--color-secondary-text);
}
.socials {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
}
.socials a {
  display: flex;
  gap: 10px;
  align-items: center;
}
.socials img {
  width: 20px;
  height: 20px;
}
.section {
  padding: 0 80px;
}
.section > h2,
.section-top h2 {
  color: var(--color-secondary-text);
}
main {
  min-width: 0;
}
.story {
  padding-top: 80px;
  padding-bottom: 120px;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 64px;
  position: relative;
}
.timeline:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 62px;
  border-top: 2px solid var(--color-text-muted);
}
.timeline li {
  position: relative;
  min-width: 0;
}
.timeline li:before {
  content: "";
  position: absolute;
  top: 56px;
  left: 0;
  height: 14px;
  border-left: 2px solid var(--color-text-muted);
}
.year {
  font: 400 40px/1 var(--font-display-digital);
  letter-spacing: 0.02em;
}
.timeline li:last-child .year {
  color: var(--color-tertiary);
}
.timeline li > div {
  padding-top: 44px;
}
.timeline h3 {
  font:
    600 17px/1.3 var(--font-title),
    sans-serif;
}
.timeline p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-top: 8px;
}
.section-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
}
.section-top .meta {
  font-size: 12px;
}
.work {
  padding-bottom: 120px;
}
.project {
  padding: 24px;
  border: 2px solid var(--color-text);
  border-radius: 12px;
  background: var(--color-surface);
  box-shadow: 6px 6px 0 var(--color-shadow);
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.project-media {
  border: 2px solid var(--color-text);
  border-radius: 6px;
  background: var(--color-background);
  aspect-ratio: 1.54;
  overflow: hidden;
  flex-shrink: 0;
}
.project-media > img,
.project-media > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-content {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
}
.project .meta {
  font-size: 12px;
}
.project h3 {
  font:
    400 32px/1.05 var(--font-headline),
    serif;
  margin: 8px 0 12px;
  overflow-wrap: anywhere;
}
.description {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}
.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
  margin-bottom: 20px;
}
.chips li {
  font:
    400 12px/1.4 var(--font-data-md),
    monospace;
  padding: 4px 9px;
  border: 1.5px solid var(--color-text);
  border-radius: 9999px;
  background: var(--color-background);
}
.project-links {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
  padding-top: 20px;
}
.link-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--color-tile);
  box-shadow: 4px 4px 0 var(--color-shadow);
  flex-shrink: 0;
}
.link-tile img {
  width: 24px;
  height: 24px;
}
.link-tile:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--color-shadow);
}
.featured {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 24px;
}
.featured .project-media {
  height: 100%;
  aspect-ratio: auto;
  min-height: 364px;
}
.featured .project-content {
  padding-top: 0;
}
.featured h3 {
  font-size: 36px;
}
.featured .description {
  margin-bottom: 20px;
}
.featured .project-links {
  padding-top: 12px;
}
.delivery {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  gap: 6px;
}
.delivery strong {
  font: 400 44px/1 var(--font-display-digital);
  color: var(--color-tertiary);
}
.delivery .label {
  font-size: 11px;
}
.project-row {
  display: grid;
  gap: 24px;
  margin-top: 40px;
  align-items: stretch;
}
.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.three .project h3 {
  font-size: 28px;
}
.three .project {
  padding: 20px;
}
.three .chips {
  gap: 4px;
}
.three .chips li {
  font-size: 11px;
  padding: 4px 6px;
}
.how-i-work {
  padding: 64px;
  min-width: 0;
}
.how-i-work .section-top {
  margin-bottom: 40px;
}
.how-i-work h2 {
  font-size: clamp(48px, 6.39vw, 92px);
  -webkit-text-stroke-width: 2.5px;
  text-shadow: 6px 6px 0 var(--color-shadow);
  margin-bottom: 0.55em;
  white-space: nowrap;
}
.how-statement {
  font:
    400 56px/1.2 var(--font-display),
    serif;
  letter-spacing: -0.025em;
}
.how-statement span {
  font: 400 60px/1 var(--font-display-digital);
  letter-spacing: 0.02em;
  color: var(--color-tertiary);
  margin-left: 12px;
}
.workflow-desktop {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 60px;
  overflow: visible;
}
.lane {
  fill: none;
  stroke: var(--color-grid);
  stroke-width: 2;
}
.lane-name,
.phase {
  font: 700 12px var(--font-label);
  letter-spacing: 0.24em;
  fill: var(--color-text-muted);
}
.workflow-path {
  stroke: var(--color-text-muted);
  stroke-width: 2;
  fill: none;
}
.node-shadow {
  fill: var(--color-shadow);
}
.node {
  fill: var(--color-surface);
  stroke: var(--color-text);
  stroke-width: 2;
}
.node.me {
  fill: var(--color-secondary);
}
.node.gate {
  fill: var(--color-primary);
}
.node.loop {
  fill: var(--color-tertiary);
}
.node-number {
  font: 14px var(--font-data-md);
  fill: var(--color-text);
  text-anchor: middle;
}
.gate-text {
  fill: var(--color-on-primary);
}
.loop-text {
  fill: var(--color-on-tertiary);
}
.step-label {
  font: 12px var(--font-body-sm);
  fill: var(--color-text);
  text-anchor: middle;
}
.phase-sub {
  font: 14px var(--font-body-md);
  fill: var(--color-text-muted);
}
.workflow-stats {
  display: flex;
  gap: 48px;
  align-items: center;
  margin: 48px 0 24px;
}
.workflow-stats p {
  display: flex;
  align-items: center;
  gap: 16px;
}
.workflow-stats strong {
  font: 400 40px/1 var(--font-display-digital);
  color: var(--color-tertiary);
}
.workflow-stats .label {
  font-size: 11px;
  color: var(--color-text-muted);
}
.workflow-mobile {
  display: none;
}
.toolbelt {
  padding-top: 120px;
  padding-bottom: 160px;
}
.toolbelt > h2 {
  margin-bottom: 48px;
}
.tool-group {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 48px;
}
.tool-group h3 {
  font:
    600 18px/1.3 var(--font-title),
    sans-serif;
  padding-top: 34px;
}
.tool-group ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}
.tool-group li {
  min-width: 0;
  text-align: center;
}
.tech-tile {
  width: 96px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--color-tile);
  box-shadow: 6px 6px 0 var(--color-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}
.tech-tile img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  max-width: 65%;
}
.tech-tile .wordmark {
  width: 76px;
  max-width: 80%;
}
.tool-group li > span {
  font:
    400 12px/1.4 var(--font-data-md),
    monospace;
  color: var(--color-text-muted);
  display: block;
  margin-top: 16px;
  overflow-wrap: anywhere;
}
.footer {
  padding: 80px;
  min-height: 560px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-end;
}
.footer-copy {
  min-width: 0;
  flex: 1;
}
.footer h2 {
  font-size: 140px;
  margin: 32px 0 0.8em;
  white-space: nowrap;
}
.footer-copy > .muted {
  font-size: 16px;
}
.footer-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 24px;
}
.footer-actions > a:not(.primary) {
  font: 700 11px/1.2 var(--font-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.footer .title-block {
  width: 460px;
  margin-bottom: 4px;
}
.footer .title-block > div {
  padding: 20px;
}
.footer .title-block dd {
  font-size: 14px;
}
.mobile-header,
.mobile-menu {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--color-primary);
  color: var(--color-on-primary);
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
@supports not (-webkit-text-stroke: 1px black) {
  .hollow {
    color: var(--color-text);
  }
}
@media (min-width: 1024px) and (max-height: 850px) {
  .rail-inner {
    padding: 28px 32px 20px;
    min-height: 0;
  }
  .rail-name {
    font-size: 32px;
  }
  .rail .role {
    margin-top: 12px;
  }
  .rail nav {
    margin-top: 18px;
    padding-top: 18px;
    gap: 12px;
  }
  .rail .status {
    margin-top: 18px;
  }
  .rail .primary {
    margin-top: 18px;
  }
  .rail .elsewhere {
    margin-top: 20px;
    padding-top: 16px;
  }
  .rail .socials {
    gap: 6px;
    margin-top: 12px;
  }
}
@media (min-width: 1024px) and (max-width: 1399px) {
  .hero {
    padding-left: 56px;
    padding-right: 56px;
    min-height: 1080px;
  }
  .hero-top {
    gap: 24px;
  }
  .hero-top nav {
    gap: 18px;
  }
  .hero-top .primary {
    margin-left: 12px;
  }
  .body-layout {
    grid-template-columns: 280px minmax(0, 1fr);
  }
  .section {
    padding-left: 48px;
    padding-right: 48px;
  }
  .rail-inner {
    padding-left: 28px;
    padding-right: 28px;
  }
  .year {
    font-size: 30px;
  }
  .timeline h3 {
    font-size: 15px;
  }
  .timeline p {
    font-size: 12px;
  }
  .project {
    padding: 18px;
  }
  .featured {
    gap: 18px;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }
  .featured h3 {
    font-size: 30px;
  }
  .three {
    gap: 20px;
  }
  .three .project {
    padding: 14px;
  }
  .project-row h3,
  .three .project h3 {
    font-size: 26px;
  }
  .three .chips li {
    font-size: 11px;
  }
  .how-i-work {
    padding: 56px 48px;
  }
  .how-i-work h2 {
    font-size: clamp(48px, 6.1vw, 84px);
  }
  .workflow-stats {
    gap: 24px;
  }
  .workflow-stats p {
    gap: 8px;
  }
  .workflow-stats .label {
    font-size: 11px;
  }
  .tool-group {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 24px;
  }
  .tool-group ul {
    gap: 18px;
  }
  .tool-group h3 {
    font-size: 16px;
  }
  .footer {
    padding: 64px 56px;
  }
  .footer h2 {
    font-size: 120px;
  }
  .footer .title-block {
    width: 380px;
  }
  .footer-actions {
    gap: 20px;
  }
}
@media (min-width: 1024px) and (max-width: 1150px) {
  .hero-top .brand {
    font-size: 18px;
  }
  .hero-top nav a {
    font-size: 11px;
    letter-spacing: 0.16em;
  }
  .hero-top .primary {
    font-size: 11px;
    padding: 14px 18px;
  }
  .hero {
    min-height: 960px;
  }
  .hero h1 {
    font-size: 180px;
  }
  .hero-statement {
    font-size: 62px;
  }
  .hero-statement span {
    font-size: 66px;
  }
  .hero-bottom {
    gap: 32px;
  }
  .hero-licence .label {
    font-size: 11px;
  }
  .title-block {
    width: 330px;
  }
  .section {
    padding-left: 32px;
    padding-right: 32px;
  }
  .timeline {
    gap: 10px;
  }
  .year {
    font-size: 24px;
  }
  .timeline h3 {
    font-size: 13px;
  }
  .featured {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .featured .project-media {
    min-height: 320px;
  }
  .three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tool-group {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 20px;
  }
  .tool-group ul {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .how-i-work {
    padding: 48px 32px;
  }
  .how-i-work h2 {
    font-size: 60px;
  }
  .how-statement {
    font-size: 44px;
  }
  .how-statement span {
    font-size: 48px;
  }
  .footer {
    gap: 24px;
    padding: 64px 40px;
  }
  .footer h2 {
    font-size: 100px;
  }
  .footer .title-block {
    width: 340px;
  }
  .footer-actions {
    gap: 16px;
  }
  .footer-actions .primary {
    padding: 16px 20px;
  }
}
@media (max-width: 1023px) {
  html {
    scroll-padding-top: 84px;
  }
  .mobile-header {
    display: flex;
    position: sticky;
    top: 0;
    height: 64px;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 50;
    background: var(--color-background);
    color: var(--color-text);
    border-bottom: 2px solid var(--color-text);
  }
  .mobile-header .brand {
    font-size: 20px;
  }
  .mobile-header button,
  .menu-heading button {
    width: 44px;
    height: 44px;
    background: transparent;
    border: 2px solid var(--color-text);
    border-radius: 6px;
    font-size: 24px;
    line-height: 1;
    display: grid;
    place-items: center;
  }
  .mobile-header button {
    font-size: 20px;
  }
  .mobile-menu {
    padding: 0 20px 32px;
    border: 0;
    margin: 0;
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: none;
    background: var(--color-surface);
    color: var(--color-text);
    overflow-y: auto;
  }
  .mobile-menu[open] {
    display: block;
  }
  .mobile-menu::backdrop {
    background: var(--color-surface);
  }
  body.menu-open {
    overflow: hidden;
  }
  .menu-heading {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--color-text);
    margin-bottom: 32px;
  }
  .mobile-menu .role {
    font-weight: 600;
    font-size: 16px;
  }
  .mobile-menu .small {
    margin-top: 8px;
  }
  .mobile-menu nav {
    margin: 28px 0;
    display: flex;
    flex-direction: column;
  }
  .mobile-menu nav a {
    display: flex;
    align-items: baseline;
    gap: 24px;
    border-top: 1px solid var(--color-grid);
    padding: 12px 0;
  }
  .mobile-menu nav a:last-child {
    border-bottom: 1px solid var(--color-grid);
  }
  .mobile-menu nav .nav-text {
    font:
      400 28px/1.2 var(--font-headline),
      serif;
    padding: 0;
    border: 0;
  }
  .mobile-menu .primary {
    width: 100%;
    margin: 20px 0;
  }
  .mobile-menu .cv {
    display: block;
    text-align: center;
  }
  .mobile-menu .socials {
    flex-direction: row;
    gap: 24px;
  }
  .mobile-menu .elsewhere {
    margin-top: 24px;
    padding-top: 20px;
  }
  .hero-top {
    display: none;
  }
  .hero {
    padding: 0 40px 64px;
    min-height: auto;
  }
  .hero-body {
    padding-top: 56px;
  }
  .hero h1 {
    font-size: clamp(120px, 18vw, 180px);
    margin-bottom: 0.75em;
  }
  .hero-statement {
    font-size: 62px;
  }
  .hero-statement span {
    font-size: 64px;
  }
  .hero-bottom {
    margin-top: 40px;
  }
  .hero-licence .label {
    font-size: 11px;
    line-height: 1.5;
  }
  .body-layout {
    display: block;
  }
  .rail {
    display: none;
  }
  .section {
    padding-left: 40px;
    padding-right: 40px;
  }
  .timeline {
    gap: 24px;
  }
  .year {
    font-size: 32px;
  }
  .timeline h3 {
    font-size: 15px;
  }
  .story {
    padding-top: 64px;
    padding-bottom: 100px;
  }
  .work {
    padding-bottom: 100px;
  }
  .how-i-work {
    padding: 64px 40px;
  }
  .how-i-work h2 {
    font-size: 70px;
  }
  .how-statement {
    font-size: 48px;
  }
  .how-statement span {
    font-size: 52px;
  }
  .toolbelt {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .tool-group {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 24px;
  }
  .tool-group ul {
    gap: 20px;
  }
  .tool-group h3 {
    font-size: 16px;
  }
  .footer {
    padding: 64px 40px;
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 64px;
  }
  .footer h2 {
    font-size: 120px;
  }
  .footer .title-block {
    width: 100%;
    max-width: 600px;
  }
  .footer-actions {
    gap: 24px;
  }
}
@media (max-width: 767px) {
  .hero {
    padding: 0 20px 32px;
  }
  .hero-body {
    padding-top: 44px;
  }
  .hero h1 {
    font-size: clamp(72px, 21.55vw, 104px);
    margin-left: -3px;
    margin-bottom: 0.8em;
    -webkit-text-stroke-width: 1.5px;
    text-shadow: 5px 5px 0 var(--color-shadow);
  }
  .hero-statement {
    font-size: 44px;
    line-height: 1.2;
    white-space: normal;
    letter-spacing: -0.04em;
  }
  .hero-statement span {
    display: block;
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: 0.07em;
    margin: 4px 0 0;
  }
  .hero-bottom {
    display: block;
    margin-top: 32px;
  }
  .hero-licence .label {
    max-width: 320px;
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: 0.2em;
  }
  .hero-licence .primary {
    display: flex;
    width: 100%;
    margin-top: 24px;
  }
  .dimension {
    display: none;
  }
  .title-block {
    width: 100%;
    margin-top: 72px;
  }
  .title-block > div {
    padding: 10px;
  }
  .title-block dt {
    font-size: 11px;
    margin-bottom: 6px;
  }
  .title-block dd {
    font-size: 11px;
  }
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .story {
    padding-top: 56px;
    padding-bottom: 64px;
  }
  .timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
    padding-left: 28px;
  }
  .timeline:before {
    top: 0;
    bottom: 12px;
    left: 4px;
    right: auto;
    border-top: 0;
    border-left: 2px solid var(--color-text-muted);
  }
  .timeline li {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }
  .timeline li:before {
    top: 12px;
    left: -24px;
    height: 0;
    width: 12px;
    border-left: 0;
    border-top: 2px solid var(--color-text-muted);
  }
  .year {
    font-size: 26px;
  }
  .timeline li > div {
    padding-top: 0;
  }
  .timeline h3 {
    font-size: 15px;
    line-height: 1.3;
  }
  .timeline p {
    font-size: 13px;
    margin-top: 4px;
  }
  .section-top {
    margin-bottom: 24px;
  }
  .work .section-top .meta {
    display: none;
  }
  .work {
    padding-bottom: 64px;
  }
  .project {
    padding: 16px;
  }
  .featured {
    display: flex;
    gap: 0;
  }
  .featured .project-media {
    aspect-ratio: 1.54;
    min-height: 0;
    height: auto;
  }
  .project-content,
  .featured .project-content {
    padding-top: 20px;
  }
  .project h3,
  .featured h3,
  .three .project h3 {
    font-size: 28px;
    line-height: 1.05;
    margin: 8px 0 12px;
  }
  .description {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .project .meta {
    font-size: 12px;
  }
  .delivery {
    order: 0;
    margin-bottom: 20px;
  }
  .delivery strong {
    font-size: 40px;
  }
  .chips {
    margin-top: 0;
    margin-bottom: 20px;
    gap: 6px;
  }
  .chips li,
  .three .chips li {
    font-size: 11px;
    padding: 4px 9px;
  }
  .project-links {
    justify-content: flex-start;
    padding-top: 20px;
  }
  .featured .project-links {
    padding-top: 20px;
  }
  .project-row {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
  }
  .three .project {
    padding: 16px;
  }
  .how-i-work {
    padding: 40px 20px 48px;
  }
  .how-i-work .section-top {
    margin-bottom: 32px;
    gap: 12px;
  }
  .how-i-work .section-top .meta {
    font-size: 11px;
  }
  .how-i-work h2 {
    font-size: 48px;
    white-space: normal;
    max-width: 350px;
    -webkit-text-stroke-width: 1.3px;
    text-shadow: 4px 4px 0 var(--color-shadow);
    margin-bottom: 0.75em;
  }
  .how-statement {
    font-size: 30px;
    white-space: nowrap;
  }
  .how-statement span {
    font-size: 32px;
    margin-left: 4px;
  }
  .workflow-desktop {
    display: none;
  }
  .workflow-mobile {
    display: flex;
    position: relative;
    flex-direction: column;
    margin-top: 40px;
  }
  .workflow-mobile:before {
    position: absolute;
    content: "";
    top: 12px;
    bottom: 30px;
    left: 50%;
    border-left: 2px solid var(--color-text-muted);
  }
  .mobile-phase {
    position: relative;
    align-self: center;
    background: var(--color-background);
    color: var(--color-text-muted);
    padding: 12px 16px;
    margin-bottom: 8px;
    font-size: 11px;
  }
  .mobile-step {
    position: relative;
    min-height: 96px;
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .mobile-step:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 48px;
    border-top: 2px solid var(--color-text-muted);
    width: calc(50% - 24px);
  }
  .mobile-step.human:before {
    left: 24px;
  }
  .mobile-step.machine:before {
    right: 24px;
  }
  .step-circle {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--color-surface);
    border: 2px solid var(--color-text);
    border-radius: 50%;
    box-shadow: 4px 4px 0 var(--color-shadow);
    font: 14px/1 var(--font-data-md);
  }
  .mobile-step.me .step-circle {
    background: var(--color-secondary);
    color: var(--color-on-secondary);
  }
  .mobile-step.gate .step-circle {
    background: var(--color-primary);
    color: var(--color-on-primary);
  }
  .mobile-step.loop .step-circle {
    background: var(--color-tertiary);
    color: var(--color-on-tertiary);
  }
  .step-copy {
    font-size: 13px;
    line-height: 1.4;
    max-width: 160px;
    background: var(--color-background);
    padding: 8px;
    position: relative;
  }
  .step-copy .label {
    display: block;
    font-size: 11px;
    color: var(--color-text-muted);
    margin-bottom: 4px;
  }
  .mobile-step.machine {
    flex-direction: row-reverse;
    text-align: right;
  }
  .mobile-step.shared {
    padding-left: calc(50% - 24px);
    gap: 12px;
  }
  .mobile-step.shared .step-copy {
    max-width: 130px;
  }
  .workflow-stats {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    margin: 32px 0 0;
  }
  .workflow-stats p {
    gap: 16px;
  }
  .workflow-stats strong {
    min-width: 64px;
    font-size: 32px;
  }
  .workflow-stats .label {
    font-size: 11px;
  }
  .toolbelt {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .toolbelt > h2 {
    margin-bottom: 32px;
  }
  .tool-group {
    display: block;
    margin-top: 32px;
  }
  .tool-group h3 {
    font-size: 16px;
    padding: 0;
    margin-bottom: 24px;
  }
  .tool-group ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 24px;
  }
  .tech-tile {
    width: 72px;
    border-radius: 12px;
  }
  .tech-tile img {
    width: 40px;
    height: 40px;
    max-width: 70%;
  }
  .tech-tile .wordmark {
    max-width: 80%;
    width: 60px;
  }
  .tool-group li > span {
    font-size: 11px;
    line-height: 1.4;
    margin-top: 12px;
  }
  .footer {
    padding: 40px 20px;
    gap: 0;
  }
  .footer h2 {
    font-size: 72px;
    -webkit-text-stroke-width: 1.5px;
    text-shadow: 5px 5px 0 var(--color-shadow);
    margin-top: 28px;
    margin-bottom: 0.9em;
  }
  .footer-copy {
    width: 100%;
  }
  .footer-copy > .muted {
    font-size: 14px;
    max-width: 300px;
  }
  .footer-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 16px;
    margin-top: 24px;
  }
  .footer-actions .primary {
    grid-column: 1/-1;
  }
  .footer-actions > a:not(.primary) {
    text-align: center;
    font-size: 11px;
  }
  .footer .title-block {
    margin-top: 40px;
  }
  .footer .title-block > div {
    padding: 14px 12px;
  }
  .footer .title-block dd {
    font-size: 11px;
  }
  .footer .title-block dt {
    font-size: 11px;
  }
  .mobile-header .brand {
    font-size: 18px;
  }
}
/* Desktop card footers share a baseline; phones keep links on their own row. */
.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.project-footer .status {
  min-width: 0;
}
.project-footer .project-links {
  width: auto;
  padding-top: 0;
}
.featured .project-footer .project-links {
  padding-top: 0;
}
.loop-text {
  fill: var(--color-on-primary);
}
@media (min-width: 768px) {
  .hero h1 {
    letter-spacing: 0;
    margin-bottom: 0.68em;
  }
  .hero-statement {
    letter-spacing: -0.02em;
  }
  .timeline {
    margin-top: 40px;
  }
  .story {
    padding-bottom: 96px;
  }
  .toolbelt {
    padding-bottom: 120px;
  }
}
@media (max-width: 767px) {
  .project-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .project-footer .project-links,
  .featured .project-footer .project-links {
    width: 100%;
    padding-top: 20px;
  }
  .mobile-step.loop .step-circle {
    color: var(--color-on-primary);
  }
  .hero-statement span {
    font-size: 44px;
  }
}
/* Final optical alignment against the approved phone and drafting sheets. */
.workflow-lane-labels {
  display: none;
}
.how-i-work h2 {
  letter-spacing: 0;
}
.footer h2 {
  letter-spacing: 0;
}
@media (max-width: 767px) {
  .story {
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .timeline {
    gap: 20px;
    margin-top: 28px;
  }
  .project .description {
    order: 2;
    margin-bottom: 16px;
  }
  .project .delivery {
    order: 1;
    margin-bottom: 16px;
  }
  .project .delivery .label {
    display: none;
  }
  .project .chips {
    order: 3;
    margin-bottom: 16px;
  }
  .project-footer {
    order: 4;
  }
  .project h3,
  .featured h3,
  .three .project h3 {
    margin-bottom: 10px;
  }
  .project-content,
  .featured .project-content {
    padding-top: 16px;
  }
  .how-i-work h2 {
    font-size: 64px;
    letter-spacing: -0.025em;
  }
  .how-i-work .section-top .meta {
    display: none;
  }
  .workflow-lane-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 36px;
    color: var(--color-text-muted);
  }
  .workflow-mobile {
    margin-top: 8px;
  }
  .mobile-step {
    min-height: 64px;
    gap: 12px;
  }
  .mobile-step:before {
    display: none;
  }
  .step-copy .label {
    display: none;
  }
  .step-copy {
    padding: 4px;
    max-width: 180px;
  }
  .mobile-step:not(.shared) .step-copy {
    max-width: calc(50% - 60px);
  }
  .footer {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .footer h2 {
    margin-bottom: 0.7em;
  }
  .footer-copy > .muted {
    max-width: none;
  }
  .footer .title-block {
    margin-top: 32px;
  }
}
@media (max-width: 380px) {
  .footer h2 {
    font-size: 64px;
  }
  .how-i-work h2 {
    font-size: 58px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .primary:hover,
  .link-tile:hover {
    transform: none;
  }
}
