:root {
  --paper: #f3f0e8;
  --paper-deep: #e8e2d5;
  --paper-bright: #fffdf6;
  --ink: #17150f;
  --ink-soft: #4b473e;
  --muted: #756f63;
  --line: rgba(23, 21, 15, 0.2);
  --line-strong: rgba(23, 21, 15, 0.48);
  --orange: #ef542f;
  --orange-dark: #b83217;
  --acid: #d9ff43;
  --max-width: 88rem;
  --page-pad: clamp(1.25rem, 4vw, 4.75rem);
  --section-pad: clamp(5.5rem, 10vw, 10rem);
  --header-height: 5.25rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.2, 0.8, 0.2, 1);
  --z-grain: 1;
  --z-content: 2;
  --z-header: 10;
  --z-progress: 20;
  color-scheme: light;
  font-family: "Public Sans", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

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

svg {
  display: block;
}

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

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

.skip-link {
  position: fixed;
  z-index: calc(var(--z-progress) + 1);
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.85rem;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.page-grain {
  position: fixed;
  z-index: var(--z-grain);
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(23, 21, 15, 0.2) 0 0.6px, transparent 0.8px),
    radial-gradient(circle at 73% 64%, rgba(23, 21, 15, 0.14) 0 0.55px, transparent 0.75px);
  background-position: 0 0, 7px 11px;
  background-size: 13px 13px, 17px 17px;
  mix-blend-mode: multiply;
}

.scroll-progress {
  position: fixed;
  z-index: var(--z-progress);
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: var(--z-content);
}

.site-header {
  position: sticky;
  z-index: var(--z-header);
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-height);
  padding: 0 var(--page-pad);
  border-bottom: 1px solid transparent;
  background: rgba(243, 240, 232, 0.97);
  transition:
    border-color 180ms ease,
    min-height 220ms var(--ease-out);
}

.site-header.is-scrolled {
  min-height: 4.5rem;
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.75rem;
  min-height: 2.75rem;
}

.brand-mark,
.footer-brand svg {
  width: 2.9rem;
  height: auto;
  overflow: visible;
}

.brand-mark .mark-layer,
.footer-brand path,
.section-mark path {
  fill: currentColor;
}

.brand-mark .mark-mame,
.footer-brand ellipse,
.section-mark ellipse {
  fill: var(--orange);
}

.brand-mark .mark-layer {
  transform-origin: center;
  transition: transform 240ms var(--ease-out);
}

.brand:hover .mark-layer-top {
  transform: translateX(4px);
}

.brand:hover .mark-layer-middle {
  transform: translateX(-3px);
}

.brand-type {
  display: grid;
  line-height: 0.95;
}

.brand-type strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.035em;
}

.brand-type small {
  color: var(--muted);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1.4rem, 3vw, 3rem);
}

.site-nav a,
.header-contact {
  position: relative;
  min-height: 2.75rem;
  align-content: center;
  font-size: 0.76rem;
  font-weight: 650;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.45rem;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms var(--ease-out);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 0.55rem;
  border-bottom: 1px solid var(--ink);
}

.header-contact svg,
.button svg,
.project-link svg {
  width: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 1.6;
  transition: transform 180ms var(--ease-out);
}

.header-contact:hover svg,
.button:hover svg {
  transform: translateX(0.22rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(20rem, 0.9fr) minmax(28rem, 1.1fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
  width: min(100%, calc(var(--max-width) + var(--page-pad) * 2));
  min-height: calc(100svh - var(--header-height));
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 7rem) var(--page-pad) clamp(5rem, 9vw, 8rem);
}

.hero-copy {
  min-width: 0;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 4vw, 3.4rem);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-status span {
  width: 0.58rem;
  height: 0.58rem;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(239, 84, 47, 0.12);
}

.hero h1,
.section-heading h2,
.principle h2,
.about h2,
.contact h2,
.not-found h1 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero h1 {
  max-width: 7.3ch;
  font-size: clamp(4.8rem, 8vw, 8.2rem);
  line-height: 0.8;
  text-transform: uppercase;
}

.hero h1 em {
  display: block;
  color: var(--orange);
  font-style: normal;
}

.hero-intro {
  max-width: 35rem;
  margin: clamp(2rem, 4vw, 3.25rem) 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.8rem;
  margin-top: 2.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  min-height: 3.3rem;
  padding: 0.85rem 1.05rem 0.85rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  transition:
    transform 180ms var(--ease-snap),
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 6px 6px 0 var(--orange);
}

.button-primary:hover {
  background: var(--orange);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
  transform: translate(3px, 3px);
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  border-bottom: 1px solid currentColor;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 650;
}

.text-link span {
  color: var(--orange);
  transition: transform 220ms var(--ease-out);
}

.text-link:hover span {
  transform: translateY(0.24rem);
}

.name-note {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  max-width: 36rem;
  margin-top: clamp(3.2rem, 6vw, 6rem);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.name-note > span {
  color: var(--orange-dark);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.name-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.58;
}

.stack-instrument {
  --stack-x: 0px;
  --stack-y: 0px;
  --stack-rotate: -6deg;
  --token-x: 0px;
  --token-y: 0px;
  position: relative;
  min-width: 0;
  border: 2px solid var(--ink);
  background: var(--paper-bright);
  box-shadow: 14px 14px 0 var(--orange);
  cursor: crosshair;
  isolation: isolate;
}

.stack-instrument::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 76% 24%, rgba(217, 255, 67, 0.23), transparent 31%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.48), transparent 42%);
  content: "";
}

.instrument-topline,
.instrument-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.1rem;
  padding: 0.8rem 1rem;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.instrument-topline {
  border-bottom: 1px solid var(--line);
}

.instrument-topline span:last-child {
  color: var(--muted);
}

.stack-field {
  position: relative;
  min-height: clamp(29rem, 46vw, 38rem);
  overflow: hidden;
}

.field-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 3rem 3rem;
  opacity: 0.3;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 94%);
  mask-image: linear-gradient(to bottom, #000, transparent 94%);
}

.stack-axis {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.stack-axis i {
  display: block;
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}

.axis-x {
  right: 1.3rem;
  bottom: 1rem;
  left: 1.3rem;
}

.axis-x::after {
  width: 0;
  height: 0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 5px solid var(--muted);
  content: "";
}

.axis-y {
  top: 1.2rem;
  bottom: 3.1rem;
  left: 1rem;
  flex-direction: column-reverse;
}

.axis-y i {
  width: 1px;
  height: auto;
}

.axis-y span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.working-stack {
  position: absolute;
  top: 15%;
  right: 10%;
  bottom: 14%;
  left: 13%;
  transform: translate3d(var(--stack-x), var(--stack-y), 0) rotate(var(--stack-rotate));
  transform-origin: 54% 55%;
  transition: transform 420ms var(--ease-out);
}

.stack-instrument:hover .working-stack {
  transition-duration: 90ms;
}

.stack-layer {
  position: absolute;
  right: 3%;
  left: 3%;
  display: grid;
  grid-template-columns: 2.7rem 1fr auto;
  align-items: center;
  min-height: 5.2rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--ink);
  box-shadow: 6px 7px 0 rgba(23, 21, 15, 0.14);
  transition:
    left 420ms var(--ease-out),
    right 420ms var(--ease-out),
    transform 420ms var(--ease-out);
}

.stack-layer > span {
  color: currentColor;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.55;
}

.stack-layer strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.45rem, 2.7vw, 2.35rem);
  letter-spacing: 0.025em;
}

.stack-layer small {
  font-size: clamp(0.55rem, 0.8vw, 0.68rem);
  font-weight: 600;
}

.layer-five {
  top: 0;
  z-index: 5;
  background: var(--acid);
}

.layer-four {
  top: 16%;
  z-index: 4;
  right: 1.5%;
  left: 4.5%;
  background: var(--paper);
}

.layer-three {
  top: 32%;
  z-index: 3;
  right: 0;
  left: 6%;
  background: var(--orange);
}

.layer-two {
  top: 48%;
  z-index: 2;
  right: -1.5%;
  left: 7.5%;
  background: var(--paper-deep);
}

.layer-one {
  top: 64%;
  z-index: 1;
  right: -3%;
  left: 9%;
  background: var(--ink);
  color: var(--paper);
}

.stack-instrument:hover .layer-five { transform: translate(-1.6%, -3px); }
.stack-instrument:hover .layer-four { transform: translate(-0.8%, -1px); }
.stack-instrument:hover .layer-two { transform: translate(0.8%, 1px); }
.stack-instrument:hover .layer-one { transform: translate(1.6%, 3px); }

.mame-token {
  position: absolute;
  z-index: 7;
  top: 8%;
  right: 5%;
  display: grid;
  place-items: center;
  width: clamp(3.8rem, 7vw, 5.7rem);
  aspect-ratio: 1.45;
  border: 2px solid var(--ink);
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 5px 5px 0 var(--ink);
  transform: translate3d(var(--token-x), var(--token-y), 0) rotate(-17deg);
  transition: transform 420ms var(--ease-out);
}

.stack-instrument:hover .mame-token {
  transition-duration: 90ms;
}

.mame-token span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 700;
  transform: rotate(17deg);
}

.cursor-coordinate {
  position: absolute;
  top: 1rem;
  left: 2.7rem;
  color: var(--muted);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.instrument-footer {
  gap: 0.8rem;
  border-top: 1px solid var(--line);
}

.instrument-rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.section-light,
.section-dark,
.questions,
.contact {
  padding: var(--section-pad) var(--page-pad);
}

.section-light {
  background: var(--paper);
}

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

.principle {
  display: grid;
  grid-template-columns: minmax(10rem, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.principle-index {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5rem;
  color: rgba(243, 240, 232, 0.7);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.principle-index svg {
  width: 5.5rem;
  color: var(--paper);
}

.principle-copy {
  max-width: 77rem;
}

.principle h2 {
  font-size: clamp(3.4rem, 6.5vw, 7rem);
  line-height: 0.91;
}

.principle h2 em {
  color: var(--acid);
  font-style: normal;
}

.principle-copy > p {
  max-width: 47rem;
  margin: clamp(2.5rem, 5vw, 5rem) 0 0 auto;
  color: rgba(243, 240, 232, 0.75);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.capabilities,
.about {
  max-width: none;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(9rem, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(2rem, 8vw, 9rem);
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto clamp(4rem, 7vw, 7rem);
}

.section-heading > p,
.about-label,
.contact-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-heading h2 {
  max-width: 16ch;
  font-size: clamp(3rem, 5.5vw, 6rem);
  line-height: 0.92;
}

.capability-list {
  max-width: var(--max-width);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.capability-row {
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) minmax(19rem, 1.45fr) minmax(8rem, 0.55fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  min-height: 9.3rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
  transition:
    padding 240ms var(--ease-out),
    background 240ms ease;
}

.capability-row:hover {
  padding-right: 1.1rem;
  padding-left: 1.1rem;
  background: var(--paper-bright);
}

.capability-name {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.capability-symbol {
  color: var(--orange);
  font-size: 1.35rem;
}

.capability-row h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1;
}

.capability-row > p {
  max-width: 42rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.68;
}

.capability-output {
  justify-self: end;
  color: var(--orange-dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-align: right;
}

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

.questions-heading {
  margin-bottom: clamp(3.5rem, 6vw, 6rem);
}

.question-list {
  max-width: var(--max-width);
  margin: 0 auto;
  border-bottom: 2px solid var(--ink);
}

.question-row {
  display: grid;
  grid-template-columns: minmax(8rem, 0.36fr) minmax(18rem, 1.1fr) minmax(16rem, 0.72fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: start;
  padding: clamp(2rem, 4vw, 3.6rem) 0;
  border-top: 2px solid var(--ink);
}

.question-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 0.35rem;
  color: var(--orange-dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.question-meta span {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid var(--orange-dark);
  border-radius: 50%;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
}

.question-meta small {
  font: inherit;
}

.question-row h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.65rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  text-wrap: balance;
}

.question-row > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.68;
  text-wrap: pretty;
}

.workbench-note {
  display: grid;
  grid-template-columns: minmax(10rem, 0.38fr) minmax(0, 1.62fr);
  gap: clamp(2rem, 7vw, 8rem);
  max-width: var(--max-width);
  margin: clamp(3rem, 6vw, 5.5rem) auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-strong);
}

.workbench-note span {
  color: var(--orange-dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.workbench-note p {
  max-width: 49rem;
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.55;
}

.approach {
  position: relative;
  overflow: clip;
}

.approach::after {
  position: absolute;
  right: -8rem;
  bottom: -9rem;
  width: 28rem;
  height: 18rem;
  border: 2px solid rgba(243, 240, 232, 0.15);
  content: "";
  transform: rotate(-8deg);
}

.approach-heading > p {
  color: rgba(243, 240, 232, 0.58);
}

.approach-heading h2 {
  color: var(--paper);
}

.approach-steps {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
  border-bottom: 1px solid rgba(243, 240, 232, 0.22);
  list-style: none;
}

.approach-steps li {
  display: grid;
  grid-template-columns: minmax(8rem, 0.4fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 8vw, 9rem);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-top: 1px solid rgba(243, 240, 232, 0.22);
}

.approach-steps li > span {
  color: var(--orange);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.approach-steps h3 {
  margin: 0;
  color: var(--paper);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.approach-steps p {
  max-width: 43rem;
  margin: 0.9rem 0 0;
  color: rgba(243, 240, 232, 0.68);
  font-size: 0.91rem;
  line-height: 1.68;
}

.about {
  display: grid;
  grid-template-columns: minmax(18rem, 0.48fr) minmax(0, 1.52fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: center;
}

.about-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 29rem);
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  background: var(--paper-deep);
  box-shadow: 12px 12px 0 var(--orange);
  transform: rotate(-3deg);
}

.about-mark::before {
  position: absolute;
  inset: 8%;
  border: 1px solid var(--line);
  content: "";
}

.about-stack {
  position: absolute;
  inset: 21% 18%;
}

.about-stack span {
  position: absolute;
  right: 0;
  left: 0;
  height: 13%;
  border: 2px solid var(--ink);
  background: var(--paper-bright);
  box-shadow: 4px 4px 0 rgba(23, 21, 15, 0.13);
}

.about-stack span:nth-child(1) { top: 0; left: 0; background: var(--acid); }
.about-stack span:nth-child(2) { top: 20%; left: 5%; background: var(--paper); }
.about-stack span:nth-child(3) { top: 40%; left: 10%; background: var(--orange); }
.about-stack span:nth-child(4) { top: 60%; left: 15%; background: var(--ink); }

.about-mark b {
  position: relative;
  z-index: 2;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: 1;
}

.about-mark small {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-align: right;
}

.about-copy {
  max-width: 58rem;
}

.about h2 {
  margin-top: 1.8rem;
  font-size: clamp(4rem, 7vw, 7rem);
  line-height: 0.9;
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.about-columns p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.about-columns strong {
  color: var(--ink);
}

.relationship {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.relationship span:first-child {
  color: var(--orange-dark);
}

.relationship svg {
  width: 100%;
  height: 1.4rem;
  overflow: visible;
}

.relationship path,
.relationship circle {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1.2;
}

.contact {
  display: grid;
  grid-template-columns: minmax(20rem, 0.85fr) minmax(20rem, 1.15fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: end;
  background: var(--orange);
}

.contact-copy > p {
  color: rgba(23, 21, 15, 0.68);
}

.contact h2 {
  margin-top: 1.5rem;
  font-size: clamp(4rem, 7vw, 7.5rem);
  line-height: 0.85;
}

.contact-action {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem 1rem;
  align-items: center;
  padding: 1.4rem 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transition: padding 220ms var(--ease-out);
}

.contact-action:hover {
  padding-right: 1rem;
  padding-left: 1rem;
}

.contact-action span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.contact-action small {
  grid-row: 2;
  color: rgba(23, 21, 15, 0.7);
  font-size: 0.74rem;
}

.contact-action svg {
  grid-row: 1 / span 2;
  grid-column: 2;
  width: clamp(3rem, 6vw, 5.3rem);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 220ms var(--ease-out);
}

.contact-action:hover svg {
  transform: translateX(0.5rem);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem 3rem;
  align-items: center;
  padding: 2.2rem var(--page-pad);
  background: var(--ink);
  color: var(--paper);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.site-footer p {
  margin: 0;
  color: rgba(243, 240, 232, 0.64);
  font-size: 0.66rem;
  line-height: 1.5;
}

.site-footer > p:nth-of-type(1) {
  justify-self: end;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer > p:nth-of-type(2),
.site-footer .disclaimer {
  grid-column: 1 / -1;
}

.site-footer .disclaimer {
  padding-top: 1rem;
  border-top: 1px solid rgba(243, 240, 232, 0.16);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 720ms ease,
    transform 720ms var(--ease-out);
}

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

.not-found {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: var(--page-pad);
  background: var(--ink);
  color: var(--paper);
}

.not-found main {
  width: min(100%, 62rem);
}

.not-found .brand {
  color: var(--paper);
}

.not-found .brand-type small {
  color: rgba(243, 240, 232, 0.6);
}

.lost-stack {
  position: relative;
  width: min(100%, 22rem);
  height: 8rem;
  margin: clamp(4rem, 10vw, 8rem) 0 2rem;
}

.lost-stack span {
  position: absolute;
  right: 0;
  left: 0;
  height: 1.4rem;
  border: 2px solid var(--paper);
  background: var(--ink);
  transform: rotate(-5deg);
}

.lost-stack span:nth-child(1) { top: 0; left: 0; background: var(--acid); }
.lost-stack span:nth-child(2) { top: 2.1rem; left: 1.3rem; background: var(--orange); }
.lost-stack span:nth-child(3) { top: 4.2rem; left: 2.6rem; }

.not-found main > p {
  color: rgba(243, 240, 232, 0.62);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.not-found h1 {
  max-width: 10ch;
  margin: 1rem 0 2.5rem;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.86;
}

@media (max-width: 68rem) {
  .hero {
    grid-template-columns: minmax(18rem, 0.84fr) minmax(24rem, 1.16fr);
    gap: 3rem;
  }

  .stack-layer {
    grid-template-columns: 2.1rem 1fr;
  }

  .stack-layer small {
    display: none;
  }

  .capability-row {
    grid-template-columns: minmax(14rem, 0.8fr) minmax(18rem, 1.2fr);
  }

  .capability-output {
    display: none;
  }

  .question-row {
    grid-template-columns: minmax(7rem, 0.3fr) minmax(17rem, 1.1fr) minmax(14rem, 0.7fr);
  }
}

@media (max-width: 52rem) {
  :root {
    --header-height: 4.65rem;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 4.5rem;
  }

  .hero h1 {
    max-width: 8ch;
    font-size: clamp(4.5rem, 16vw, 7rem);
  }

  .stack-instrument {
    margin-right: 0.75rem;
  }

  .principle,
  .section-heading,
  .workbench-note,
  .approach-steps li {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .principle-index {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  .principle-index svg {
    width: 4rem;
  }

  .principle-copy > p {
    margin-left: 0;
  }

  .question-row {
    grid-template-columns: minmax(6.5rem, 0.3fr) 1fr;
  }

  .question-row > p {
    grid-column: 2;
  }

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

  .about-mark {
    width: min(78vw, 25rem);
  }

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

@media (max-width: 38rem) {
  :root {
    --page-pad: 1.15rem;
    --section-pad: 5.2rem;
  }

  .brand-mark {
    width: 2.55rem;
  }

  .brand-type strong {
    font-size: 1.25rem;
  }

  .header-contact {
    font-size: 0.72rem;
  }

  .hero {
    gap: 4.2rem;
    padding-top: 3.6rem;
  }

  .hero-status {
    margin-bottom: 1.8rem;
  }

  .hero h1 {
    font-size: clamp(4.15rem, 20vw, 5.7rem);
  }

  .hero-intro {
    font-size: 1rem;
  }

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

  .button,
  .text-link {
    width: 100%;
  }

  .text-link {
    justify-content: space-between;
  }

  .name-note {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .stack-field {
    min-height: 26rem;
  }

  .working-stack {
    top: 17%;
    right: 8%;
    left: 13%;
  }

  .stack-layer {
    grid-template-columns: 1.8rem 1fr;
    min-height: 4.5rem;
    padding: 0.65rem 0.75rem;
  }

  .stack-layer strong {
    font-size: 1.45rem;
  }

  .mame-token {
    top: 7%;
    right: 4%;
  }

  .instrument-topline span:last-child {
    display: none;
  }

  .principle h2,
  .section-heading h2 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .capability-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: 0;
    padding: 1.8rem 0;
  }

  .capability-row:hover {
    padding-right: 0;
    padding-left: 0;
    background: transparent;
  }

  .capability-row > p {
    padding-left: 2.35rem;
  }

  .question-row {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .question-row > p {
    grid-column: auto;
  }

  .question-meta {
    padding-top: 0;
  }

  .workbench-note {
    gap: 0.8rem;
  }

  .approach-steps li {
    gap: 1rem;
  }

  .about-mark {
    width: calc(100% - 0.75rem);
  }

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

  .relationship {
    gap: 0.6rem;
  }

  .contact h2 {
    font-size: clamp(4rem, 18vw, 6rem);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer > p:nth-of-type(1) {
    justify-self: start;
  }
}

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

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .scroll-progress,
  .page-grain {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .section-dark,
  .contact,
  .site-footer {
    background: #fff;
    color: #000;
  }
}
