@font-face {
  font-family: Anton;
  src: url("./home/fonts/anton.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url("./home/fonts/dm-sans-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url("./home/fonts/dm-sans-medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url("./home/fonts/dm-sans-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  --paper: #f2f0e4;
  --ink: #172548;
  --blue: #2447b2;
  --orange: #da4c26;
  --orange-text: #b13d1e;
  --muted: #5c625f;
  --line: #cfcfc0;
  --gutter: clamp(24px, 4.2vw, 80px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    DM Sans,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
body[data-motion="off"] {
  scroll-behavior: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  color: inherit;
}
a,
button,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  display: block;
}
figure,
p,
h1,
h2,
h3 {
  margin: 0;
}
button {
  border: 0;
}
button:disabled {
  cursor: default;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 7px;
}
::selection {
  background: var(--orange);
  color: var(--paper);
}
[hidden] {
  display: none !important;
}
.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  filter: invert(12%) sepia(40%) saturate(1800%) hue-rotate(193deg);
}
.orange {
  color: var(--orange);
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--paper);
  padding: 16px;
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  margin: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 38px;
  position: relative;
  z-index: 5;
}
.wordmark {
  font-family: Anton, sans-serif;
  font-size: 34px;
  letter-spacing: -0.065em;
  line-height: 1;
}
.wordmark span {
  color: var(--orange);
}
.site-header nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 13px;
}
.site-header nav > a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  position: relative;
}
.site-header nav > a::after,
.footer nav a::after {
  position: absolute;
  content: "";
  height: 1px;
  left: 0;
  right: 0;
  bottom: 7px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-header nav > a:hover::after,
.footer nav a:hover::after {
  transform: scaleX(1);
}
.contact-link {
  color: var(--orange-text);
}
.contact-link .icon {
  filter: invert(35%) sepia(99%) saturate(1829%) hue-rotate(347deg);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  min-height: 44px;
  border-bottom: 1px solid currentColor;
}
.text-link .icon {
  transition: transform 0.3s var(--ease);
}
.text-link:hover .icon {
  transform: translate(4px, -4px);
}
.project-overview {
  display: grid;
  grid-template-columns: 1.14fr 1fr 1.12fr;
  gap: 12px;
  padding: 0 16px;
  align-items: stretch;
  position: relative;
  z-index: 5;
}
.project-tile {
  position: relative;
  overflow: hidden;
  min-height: 235px;
  isolation: isolate;
  transition: clip-path 0.45s var(--ease);
}
.project-tile:nth-child(1) {
  clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 97%);
}
.project-tile:nth-child(2) {
  clip-path: polygon(0 5%, 100% 0, 100% 96%, 0 100%);
}
.project-tile:nth-child(3) {
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
}
.tile-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
  z-index: -1;
}
.project-tile:hover .tile-art {
  transform: scale(1.055);
}
.project-tile:focus-visible {
  outline-offset: -8px;
}
.tile-label {
  position: absolute;
  top: 11%;
  left: 7%;
}
.tile-label h3 {
  font-family: Anton, sans-serif;
  font-size: clamp(30px, 3.15vw, 58px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 5px 0 9px;
}
.tile-label p {
  font-size: 12px;
  line-height: 1.55;
}
.tile-action {
  position: absolute;
  left: 7%;
  bottom: 11%;
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 15px;
}
.tile-action .icon {
  width: 18px;
  height: 18px;
}
.opening-foot {
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
}
.opening-foot > span {
  color: var(--muted);
}
.scenic-link {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 44px;
  font-size: 11px;
}
.scenic-link .icon {
  height: 15px;
  width: 15px;
}
.motion-toggle {
  padding: 8px 0;
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  background: transparent;
  font-size: 10px;
  min-width: 84px;
}
.motion-toggle .icon {
  height: 13px;
  width: 13px;
}
.journey {
  position: relative;
  background: #e9e9d9;
}
.journey-sticky {
  position: relative;
  isolation: isolate;
}
.journey-toolbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  gap: 25px;
  color: var(--ink);
}
.chapter-nav {
  display: flex;
  gap: 28px;
}
.chapter-nav a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-size: 11px;
  opacity: 0.65;
  border-bottom: 1px solid transparent;
}
.chapter-nav a[aria-current="true"] {
  opacity: 1;
  border-color: currentColor;
}
.skip-tour {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 11px;
}
.skip-tour .icon {
  width: 14px;
  height: 14px;
}
.scene {
  position: relative;
  isolation: isolate;
  min-height: max(760px, 100svh);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.scene-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.sketch-art {
  clip-path: inset(0 100% 0 0);
}
.scene-copy {
  margin-left: var(--gutter);
  padding: 108px 0 125px;
  width: 43%;
  max-width: 670px;
  position: relative;
  z-index: 2;
}
.scene-copy h2 {
  font-family: Anton, sans-serif;
  font-size: clamp(80px, 10.3vw, 172px);
  font-weight: 400;
  letter-spacing: -0.028em;
  line-height: 1.02;
  margin-left: -4px;
}
.scene-copy h2 span {
  color: var(--orange);
}
.scene-copy > p:not(.project-name) {
  font-size: clamp(13px, 1.1vw, 17px);
  line-height: 1.7;
  margin: 30px 0 24px;
  max-width: 350px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 15px 20px;
  background: var(--blue);
  color: var(--paper);
  font-size: 12px;
  font-weight: 500;
  min-height: 50px;
  transition:
    background 0.25s,
    transform 0.35s var(--ease);
}
.button .icon {
  filter: invert(96%) sepia(8%) saturate(344%) hue-rotate(353deg);
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}
.button:hover {
  background: var(--ink);
}
.button:hover .icon {
  transform: translate(3px, -3px);
}
.scene-bottom {
  position: absolute;
  bottom: 36px;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  z-index: 3;
}
.art-caption {
  font-size: 10px;
  line-height: 1.7;
  text-align: right;
  margin-left: auto;
  padding: 8px 12px;
  background: rgba(242, 240, 228, 0.86);
  color: var(--ink);
}
.art-control {
  display: grid;
  grid-template-columns: auto 140px;
  gap: 8px 16px;
  align-items: center;
  background: rgba(242, 240, 228, 0.94);
  padding: 16px 18px;
  font-size: 10px;
}
.art-control input {
  width: 140px;
  height: 44px;
  accent-color: var(--orange);
  cursor: ew-resize;
}
.chapter-aside {
  font-size: 11px;
  line-height: 1.7;
}
.scene-loaf {
  color: #264b3f;
  background: #dfe5c9;
}
.scene-loaf .button {
  background: #294d3d;
}
.scene-loaf h2 span {
  color: #b84827;
}
.scene-note-link {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  min-height: 44px;
}
.scene-note-link .icon {
  filter: invert(96%);
  width: 16px;
  height: 16px;
}
.journey-progress {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(242, 240, 228, 0.2);
  z-index: 11;
}
.journey-progress span {
  height: 100%;
  background: var(--orange);
  transform-origin: left;
  display: block;
  transform: scaleX(0);
}
.world-canvas {
  display: none;
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.world-canvas canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.journey.cinematic {
  height: 420svh;
}
.cinematic .journey-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}
.cinematic .scene {
  position: absolute;
  inset: 0;
  min-height: 0;
  background: transparent;
}
.cinematic .scene:not(:first-of-type) {
  opacity: 0;
  visibility: hidden;
}
.cinematic .scene-art {
  z-index: -1;
}
.cinematic .journey-progress {
  display: block;
}
.cinematic.webgl-ready .world-canvas {
  display: block;
}
.cinematic.webgl-ready .scene-art {
  visibility: hidden;
}
.cinematic .journey-toolbar {
  transition: color 0.25s;
}
.section-wrap {
  padding: 100px var(--gutter);
}
.about {
  background: #e4e8d8;
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 12%;
  position: relative;
  overflow: hidden;
}
.about-identity > img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 27px;
  background: #d3dac2;
  border-radius: 50%;
}
.about-identity h2 {
  font-family: Anton, sans-serif;
  font-size: clamp(65px, 8vw, 125px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.about-identity h2 span {
  color: var(--orange);
}
.about-lede {
  font-size: clamp(34px, 4vw, 63px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.14;
  margin-bottom: 45px;
}
.about-lede em {
  color: var(--orange);
  font-style: normal;
}
.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  max-width: 680px;
}
.about-columns p {
  font-size: 13px;
  line-height: 1.8;
}
.about-copy .text-link {
  margin-top: 0;
}
.experiments {
  padding-top: 90px;
  padding-bottom: 80px;
}
.archive-intro {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-end;
  margin-bottom: 32px;
}
.archive-intro h2 {
  font-family: Anton, sans-serif;
  font-size: clamp(34px, 4vw, 65px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-top: 14px;
}
.archive-intro > p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.small-projects > a {
  display: grid;
  grid-template-columns: 1fr 1fr 20px;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 21px 0;
  min-height: 70px;
}
.small-projects > a:last-child {
  border-bottom: 1px solid var(--line);
}
.small-projects > a > span:first-child {
  font-size: 17px;
  letter-spacing: -0.02em;
}
.small-projects > a > span:nth-child(2) {
  font-size: 12px;
  color: var(--muted);
}
.small-projects > a:hover {
  color: var(--orange-text);
}
.archive {
  margin-top: 28px;
}
.archive summary {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  cursor: pointer;
  font-size: 12px;
  min-height: 54px;
  padding: 12px 0;
}
.archive summary::-webkit-details-marker {
  display: none;
}
.archive-count {
  font-size: 10px;
  color: var(--muted);
  margin-left: auto;
}
.archive summary .icon {
  width: 17px;
  height: 17px;
  transition: transform 0.3s var(--ease);
}
.archive[open] summary .icon {
  transform: rotate(45deg);
}
.archive-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 7%;
  padding-top: 15px;
}
.archive-list > div {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.archive-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.archive-list p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 490px;
}
.footer {
  background: var(--blue);
  color: var(--paper);
  padding-top: 70px;
  padding-bottom: 24px;
}
.big-contact {
  font-family: Anton, sans-serif;
  font-size: clamp(80px, 14.5vw, 230px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
  display: block;
  position: relative;
  margin-top: 35px;
  margin-bottom: 66px;
  max-width: 1240px;
}
.big-contact > span {
  color: #f7b473;
}
.big-contact > img {
  position: absolute;
  right: 0;
  top: 20%;
  height: clamp(70px, 14vw, 210px);
  width: auto;
  filter: invert(94%) sepia(19%) saturate(409%) hue-rotate(338deg);
  transition: transform 0.5s var(--ease);
}
.big-contact:hover > img {
  transform: translate(16px, -16px);
}
.footer-bottom {
  border-top: 1px solid #8c9ac380;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  font-size: 10px;
}
.footer nav {
  display: flex;
  gap: 28px;
}
.footer nav a {
  position: relative;
  display: flex;
  min-height: 44px;
  align-items: center;
}
.footer-bottom > a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.footer .icon {
  filter: invert(96%);
  width: 15px;
  height: 15px;
}
@media (min-width: 1800px) {
  .scene-copy {
    max-width: 800px;
  }
}
@media (max-width: 1100px) {
  .site-header nav {
    gap: 24px;
  }
  .tile-label p {
    font-size: 11px;
  }
  .tile-action {
    font-size: 10px;
    gap: 9px;
  }
  .project-overview {
    gap: 8px;
    padding: 0 12px;
  }
  .section-wrap {
    padding: 80px var(--gutter);
  }
  .chapter-nav {
    gap: 20px;
  }
  .scene-copy {
    width: 48%;
  }
  .scene-copy h2 {
    font-size: 11vw;
  }
  .about {
    gap: 8%;
  }
  .about-columns {
    gap: 22px;
  }
  .about-columns p {
    font-size: 12px;
  }
}
@media (max-width: 760px) {
  :root {
    --gutter: 24px;
  }
  .site-header nav {
    gap: 19px;
    font-size: 11px;
  }
  .site-header nav > a:nth-child(2) {
    display: none;
  }
  .wordmark {
    font-size: 29px;
  }
  .project-overview {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    padding: 0 10px;
    height: 230px;
  }
  .project-tile {
    min-height: 0;
  }
  .tile-label {
    left: 12%;
    top: 9%;
  }
  .tile-label h3 {
    font-size: 26px;
    margin: 7px 0;
  }
  .tile-label p {
    display: none;
  }
  .tile-action {
    left: 12%;
    right: 12%;
    bottom: 8%;
    font-size: 0;
    justify-content: flex-end;
  }
  .tile-action .icon {
    width: 20px;
    height: 20px;
  }
  .tile-art {
    object-position: 62%;
  }
  .opening-foot {
    font-size: 9px;
    gap: 8px;
  }
  .opening-foot > span {
    display: none;
  }
  .scenic-link {
    font-size: 10px;
    gap: 9px;
  }
  .motion-toggle {
    font-size: 9px;
    min-width: 75px;
  }
  .scene {
    min-height: 800px;
    min-height: 100svh;
    align-items: flex-start;
  }
  .scene-art {
    object-position: 67% center;
  }
  .scene-copy {
    padding-top: 120px;
    width: 90%;
    margin-right: var(--gutter);
    max-width: 500px;
  }
  .scene-copy h2 {
    font-size: clamp(72px, 16vw, 120px);
    max-width: 350px;
  }
  .scene-copy > p:not(.project-name) {
    font-size: 13px;
    background: rgba(242, 240, 228, 0.9);
    padding: 12px 15px;
    margin-top: 20px;
    max-width: 320px;
  }
  .scene-copy .button {
    font-size: 11px;
    gap: 22px;
    min-height: 48px;
    padding: 13px 16px;
  }
  .scene-bottom {
    bottom: 23px;
    flex-wrap: wrap;
    left: 24px;
    right: 24px;
    gap: 10px;
  }
  .art-caption {
    font-size: 8px;
    line-height: 1.6;
    padding: 5px 8px;
  }
  .art-control {
    grid-template-columns: auto 100px;
    padding: 10px 12px;
    gap: 4px 10px;
    font-size: 9px;
  }
  .art-control input {
    width: 100px;
  }
  .scene-loaf .scene-copy > p:not(.project-name) {
    background: rgba(223, 229, 201, 0.91);
  }
  .scene-loaf .scene-art {
    object-position: 73% center;
  }
  .journey-toolbar {
    padding: 12px 24px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .skip-tour {
    font-size: 9px;
    order: 1;
    margin-left: auto;
  }
  .chapter-nav {
    order: 2;
    width: 100%;
    justify-content: flex-start;
    gap: 24px;
  }
  .chapter-nav a {
    font-size: 10px;
    min-height: 36px;
  }
  .journey.cinematic {
    height: 370svh;
  }
  .scene-note-link {
    font-size: 9px;
    gap: 8px;
  }
  .chapter-aside {
    font-size: 10px;
    background: rgba(223, 229, 201, 0.85);
    padding: 5px;
  }
  .section-wrap {
    padding: 65px 24px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-identity {
    display: grid;
    grid-template-columns: 1fr 110px;
    column-gap: 20px;
    align-items: start;
  }
  .about-identity > img {
    grid-column: 2;
    grid-row: 1/3;
    width: 110px;
    height: 110px;
    margin: 0;
  }
  .about-identity h2 {
    grid-column: 1;
    grid-row: 2;
    font-size: 66px;
  }
  .about-identity h2 br {
    display: none;
  }
  .about-lede {
    font-size: 43px;
    margin-bottom: 25px;
  }
  .about-columns {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .about-columns p {
    font-size: 13px;
  }
  .about-copy .text-link {
    font-size: 11px;
    gap: 12px;
  }
  .archive-intro {
    align-items: flex-start;
  }
  .archive-intro h2 {
    font-size: 37px;
  }
  .archive-intro > p {
    display: none;
  }
  .small-projects > a {
    grid-template-columns: 1fr 20px;
    row-gap: 7px;
    padding: 20px 0;
  }
  .small-projects > a > span:first-child {
    font-size: 16px;
  }
  .small-projects > a > span:nth-child(2) {
    grid-row: 2;
    font-size: 11px;
  }
  .small-projects > a > .icon {
    grid-column: 2;
    grid-row: 1/3;
  }
  .archive summary {
    font-size: 11px;
  }
  .archive-count {
    font-size: 9px;
  }
  .archive-list {
    grid-template-columns: 1fr;
  }
  .big-contact {
    font-size: 22vw;
    margin-top: 25px;
    margin-bottom: 45px;
  }
  .big-contact > img {
    width: 18vw;
    top: 20%;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 9px;
  }
  .footer nav {
    gap: 19px;
    order: 2;
    width: 100%;
  }
  .footer-bottom > a {
    margin-left: auto;
  }
  .footer {
    padding-bottom: 15px;
  }
}
@media (max-width: 400px) {
  .project-overview {
    height: 205px;
  }
  .tile-label h3 {
    font-size: 23px;
  }
  .scene-copy h2 {
    font-size: 77px;
  }
  .scene-copy > p:not(.project-name) {
    font-size: 12px;
  }
  .art-control {
    grid-template-columns: auto 80px;
  }
  .art-control input {
    width: 80px;
  }
  .scene-bottom {
    gap: 7px;
  }
  .art-caption {
    font-size: 7px;
  }
  .chapter-nav {
    gap: 20px;
  }
  .about-lede {
    font-size: 38px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .project-tile:hover .tile-art,
  .big-contact:hover > img {
    transform: none;
  }
}
html:has(body[data-motion="off"]) {
  scroll-behavior: auto;
}
#work {
  scroll-margin-top: -24px;
}
.journey-tools {
  display: flex;
  align-items: center;
  gap: 24px;
}
.journey-toolbar {
  background: rgba(242, 240, 228, 0.94);
}
.scene-chargen .scene-copy > p:not(.project-name) {
  background: rgba(242, 240, 228, 0.94);
  padding: 12px 16px;
  max-width: 355px;
}
.tile-chargen .tile-label p {
  max-width: 170px;
}
.tile-chargen .tile-action {
  background: rgba(242, 240, 228, 0.93);
  padding: 8px 10px;
  left: 5%;
}
@media (max-width: 760px) {
  .journey-tools {
    gap: 14px;
    order: 1;
    margin-left: auto;
  }
  .journey-tools .motion-toggle {
    min-width: 65px;
    font-size: 8px;
  }
  .journey-toolbar .chapter-nav {
    order: 2;
  }
}
@media (max-width: 760px) {
  .project-tile {
    background: #e6e6d7;
  }
  .tile-loaf {
    background: #dce1c9;
  }
  .tile-label {
    top: 7%;
    left: 10%;
    right: 8%;
  }
  .tile-label h3 {
    font-size: 25px;
    margin-top: 3px;
  }
  .tile-art {
    top: 70px;
    height: calc(100% - 70px);
    object-position: 65% 43%;
  }
  .tile-action {
    bottom: 7%;
    left: auto;
    right: 8%;
    padding: 5px;
    background: rgba(242, 240, 228, 0.93);
    color: var(--ink);
  }
  .tile-action .icon {
    filter: invert(12%) sepia(40%) saturate(1800%) hue-rotate(193deg);
  }
  .tile-chargen .tile-action {
    left: auto;
    padding: 5px;
  }
}
@media (max-width: 760px) {
  .scene {
    min-height: max(780px, 100svh);
  }
  .scene-chargen {
    background: var(--paper);
  }
  .scene-art {
    top: 330px;
    height: calc(100% - 330px);
    object-position: 67% 48%;
  }
  .scene-loaf .scene-art {
    object-position: 71% 48%;
  }
}
/* Two featured products. React Bits TiltedCard is applied to this inner plane. */
.project-overview {
  grid-template-columns: 1.15fr 1fr;
}
.project-tile {
  perspective: 1000px;
}
.tile-surface {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.tile-label,
.tile-action {
  transform: translateZ(24px);
}
.project-tile:hover .tile-art {
  transform: none;
}
.journey.cinematic {
  height: 340svh;
}
@media (max-width: 760px) {
  .project-overview {
    grid-template-columns: 1.1fr 1fr;
  }
  .tile-label h3 {
    font-size: 28px;
  }
  .tile-label,
  .tile-action {
    transform: none;
  }
  .tile-art {
    object-position: 60% 43%;
  }
  .tile-chargen .tile-art {
    object-position: 72% 43%;
  }
}
@media (min-width: 761px) and (max-height: 850px) {
  .project-tile {
    min-height: 0;
  }
}
body[data-motion="off"] *,
body[data-motion="off"] *::before,
body[data-motion="off"] *::after {
  transition: none !important;
}
@media (max-width: 760px) {
  .tile-loaf .tile-art {
    object-position: 85% 43%;
  }
}
/* Editorial simplification: names, imagery and deliberate space carry hierarchy. */
.site-header {
  justify-content: space-between;
}
.project-overview {
  gap: 20px;
  padding-left: 24px;
  padding-right: 24px;
}
.tile-label {
  top: 12%;
  left: 6%;
}
.tile-label h3 {
  margin-top: 0;
  margin-bottom: 12px;
}
.tile-label p {
  font-size: 13px;
  line-height: 1.5;
}
.tile-action {
  left: 6%;
}
.opening-foot {
  justify-content: flex-end;
  gap: 40px;
}
.scenic-link {
  margin-right: auto;
}
.journey-toolbar {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(242, 240, 228, 0.93);
}
.chapter-nav {
  gap: 30px;
}
.chapter-nav a {
  font-size: 13px;
}
.scene-copy .project-name {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
  margin: 0 0 22px;
  background: transparent;
  padding: 0;
}
.scene-chargen .scene-copy .project-name {
  background: transparent;
  padding: 0;
}
.scene-chargen h2 {
  font-size: clamp(76px, 8.6vw, 146px);
}
.scene-copy > p:not(.project-name) {
  font-size: 15px;
  line-height: 1.75;
}
.scene-chargen .scene-copy > p:not(.project-name),
.scene-zookworks .scene-copy > p:not(.project-name) {
  max-width: 420px;
  padding: 16px 20px;
  background: rgba(242, 240, 228, 0.94);
}
.art-control {
  padding: 12px 16px;
  font-size: 11px;
}
.art-caption {
  font-size: 10px;
}
.about {
  padding-top: 110px;
  padding-bottom: 110px;
}
.about-identity > img {
  margin-bottom: 36px;
}
.about-lede {
  margin-bottom: 40px;
}
.archive-intro {
  margin-bottom: 36px;
}
.archive-intro h2 {
  margin: 0;
}
.footer {
  padding-top: 65px;
}
.big-contact {
  margin-top: 0;
}
@media (max-width: 760px) {
  .project-overview {
    padding: 0 16px;
    gap: 12px;
    height: 300px;
  }
  .tile-label {
    top: 9%;
    left: 10%;
    right: 7%;
  }
  .tile-label h3 {
    font-size: 29px;
    margin: 0 0 8px;
  }
  .tile-label p {
    display: block;
    font-size: 14px;
    line-height: 1.45;
  }
  .tile-art {
    top: 98px;
    height: calc(100% - 98px);
  }
  .tile-loaf .tile-art {
    object-position: 85% 43%;
  }
  .opening-foot {
    gap: 20px;
  }
  .journey-toolbar {
    flex-wrap: nowrap;
    padding: 10px 24px;
  }
  .chapter-nav {
    width: auto;
    order: 0;
    gap: 20px;
  }
  .chapter-nav a {
    font-size: 12px;
    min-height: 44px;
  }
  .journey-tools {
    gap: 16px;
    order: 1;
  }
  .journey-tools .motion-toggle {
    font-size: 0;
    min-width: 44px;
    width: 44px;
    justify-content: center;
    padding: 8px;
  }
  .journey-tools .motion-toggle .icon {
    width: 14px;
    height: 14px;
  }
  .journey-tools .motion-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .skip-tour {
    font-size: 10px;
  }
  .scene-copy {
    padding-top: 98px;
  }
  .scene-copy .project-name {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .scene-chargen h2 {
    font-size: clamp(65px, 15.8vw, 95px);
  }
  .scene-copy > p:not(.project-name) {
    font-size: 13px;
    line-height: 1.65;
  }
  .scene-chargen .scene-copy > p:not(.project-name),
  .scene-zookworks .scene-copy > p:not(.project-name) {
    padding: 14px 16px;
    max-width: 330px;
  }
  .scene-art {
    top: 300px;
    height: calc(100% - 300px);
  }
  .art-caption {
    font-size: 8px;
  }
  .about {
    padding: 80px 24px;
  }
  .about-identity > img {
    grid-row: 1;
    margin: 0;
  }
  .about-identity h2 {
    grid-row: 1;
  }
  .about-lede {
    margin-bottom: 30px;
  }
  .experiments {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .big-contact {
    margin-top: 0;
  }
}
.tile-chargen .tile-label p {
  max-width: 270px;
}
@media (max-width: 760px) {
  .tile-art {
    top: 158px;
    height: calc(100% - 158px);
  }
  .tile-action {
    left: auto;
    right: 9%;
  }
}
@media (max-width: 760px) {
  .journey-toolbar .chapter-nav {
    order: 0;
  }
}
/* The portrait and text occupy separate tracks. Content determines minimum height. */
.opening {
  min-height: 100svh;
  display: grid;
  grid-template-rows:
    76px minmax(min-content, 1fr) clamp(235px, 30svh, 350px)
    54px;
}
.masthead {
  margin: 0 var(--gutter);
  padding: 40px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 2.5vw, 48px);
  align-items: center;
}
.name-block {
  min-width: 0;
  container-type: inline-size;
}
.name-block h1 {
  font-family: Anton, sans-serif;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.025em;
}
.first-name,
.last-name {
  display: block;
  white-space: nowrap;
}
.first-name {
  color: var(--blue);
  font-size: 38cqw;
}
.last-name {
  color: var(--orange);
  font-size: 23.8cqw;
  letter-spacing: -0.035em;
}
.name-stop {
  font-size: 0.85em;
}
.name-caption {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 30ch;
}
.hero-portrait {
  min-width: 0;
  width: 100%;
  align-self: center;
}
.hero-portrait img {
  width: 100%;
  height: auto;
  display: block;
}
.portrait-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  perspective: 900px;
}
.portrait-rig {
  position: absolute;
  inset: 5% 9% 7% 3%;
  transform-style: preserve-3d;
  border-radius: 48% 48% 36% 36%;
}
.portrait-backing,
.portrait-shell,
.portrait-window,
.portrait-rim {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.portrait-backing {
  background: var(--orange);
  transform: translate3d(12px, 14px, -14px) rotate(6deg);
}
.portrait-shell {
  background: var(--blue);
}
.portrait-window {
  overflow: hidden;
  background: var(--blue);
  transform: translateZ(20px);
}
.portrait-window img {
  position: absolute;
  width: 108%;
  max-width: none;
  height: 108%;
  left: -4%;
  top: 4%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
.portrait-rim {
  border: 5px solid var(--blue);
  transform: translateZ(25px);
  pointer-events: none;
}
@media (max-width: 480px) {
  .portrait-backing {
    transform: translate3d(5px, 7px, -10px) rotate(6deg);
  }
  .portrait-rim {
    border-width: 3px;
  }
}
.intro-copy {
  min-width: 0;
}
.intro-copy h2 {
  font-family: Anton, sans-serif;
  font-size: clamp(32px, 3.1vw, 56px);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--blue);
}
.intro-copy h2 span {
  color: var(--orange);
}
.intro-copy > p {
  font-size: 14px;
  line-height: 1.7;
  margin: 24px 0;
  max-width: 32ch;
}
.intro-copy .text-link {
  font-size: 14px;
}
.profile-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 32px;
}
.profile-links .text-link {
  font-size: 14px;
}
@media (min-width: 1001px) and (max-height: 800px) {
  .opening {
    grid-template-rows: 64px minmax(min-content, 1fr) 235px 54px;
  }
  .masthead {
    padding: 20px 0;
  }
  .first-name {
    font-size: min(38cqw, 22svh);
  }
  .last-name {
    font-size: min(23.8cqw, 13.8svh);
  }
  .intro-copy > p {
    margin: 16px 0;
  }
}
@media (max-width: 1000px) {
  .opening {
    grid-template-rows: 68px minmax(min-content, 1fr) 260px 54px;
  }
  .masthead {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 32px;
    padding: 28px 0 36px;
  }
  .hero-portrait {
    max-width: 300px;
    justify-self: end;
  }
  .intro-copy {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    column-gap: 32px;
  }
  .intro-copy h2 {
    grid-row: 1 / 3;
    font-size: clamp(32px, 4.5vw, 46px);
  }
  .intro-copy h2 br:nth-child(2) {
    display: none;
  }
  .intro-copy > p {
    margin: 0 0 12px;
    max-width: none;
  }
  .intro-copy .text-link {
    grid-column: 2;
    justify-self: start;
  }
}
@media (max-width: 760px) {
  .opening {
    grid-template-rows: 68px minmax(min-content, 1fr) auto 54px;
  }
  .masthead {
    gap: 24px 16px;
    padding: 28px 0 32px;
  }
  .name-caption {
    font-size: 14px;
    margin-top: 16px;
  }
  .intro-copy {
    grid-template-columns: 1.25fr 1fr;
    column-gap: 24px;
  }
  .intro-copy h2 {
    font-size: clamp(29px, 5.2vw, 38px);
  }
  .intro-copy h2 span {
    display: block;
  }
  .site-header nav {
    font-size: 14px;
    gap: 20px;
  }
  .site-header nav .icon {
    width: 20px;
    height: 20px;
  }
  .text-link,
  .chapter-nav a,
  .skip-tour,
  .scenic-link,
  .motion-toggle {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .masthead {
    grid-template-columns: minmax(0, 1fr) 104px;
  }
  .name-block {
    grid-column: 1 / -1;
  }
  .first-name {
    font-size: 31cqw;
  }
  .last-name {
    font-size: 19.5cqw;
  }
  .name-caption {
    max-width: none;
  }
  .hero-portrait {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
  }
  .intro-copy {
    display: block;
    grid-column: 1;
    grid-row: 2;
  }
  .intro-copy h2 {
    font-size: clamp(27px, 6.7vw, 32px);
  }
  .intro-copy h2 br:nth-child(2) {
    display: initial;
  }
  .intro-copy > p {
    margin: 16px 0 8px;
  }
  .site-header nav {
    gap: 14px;
  }
  .contact-link .icon {
    display: none;
  }
  .profile-links {
    gap: 12px 24px;
  }
}

/* Readable supporting copy and practical touch targets complete the mobile layout. */
@media (max-width: 760px) {
  .about-columns p,
  .about-copy .text-link,
  .small-projects > a > span:nth-child(2),
  .archive summary,
  .archive-count,
  .archive-list p,
  .footer-bottom,
  .scene-copy > p:not(.project-name),
  .scene-copy .button,
  .art-control,
  .art-caption {
    font-size: 14px;
  }
  .journey-tools {
    gap: 8px;
  }
  .journey-toolbar .chapter-nav {
    gap: 16px;
  }
  .journey-tools .motion-toggle {
    flex: 0 0 44px;
  }
  .skip-tour {
    white-space: nowrap;
  }
  .skip-tour .icon {
    display: none;
  }
  .chapter-nav a,
  .site-header nav > a,
  .footer nav a {
    min-width: 44px;
  }
  .scene-bottom {
    align-items: flex-start;
  }
  .art-caption {
    text-align: left;
    margin: 0;
  }
  .scene {
    min-height: max(920px, 100svh);
  }
  .archive summary {
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  .archive-count {
    margin-left: 0;
  }
  .archive summary > .icon {
    margin-left: auto;
  }
  .footer nav {
    flex-wrap: wrap;
  }
}
/* ZOOKWORKS joins the work (2026-09-28, docs/superpowers/specs/2026-09-28-zookworks-on-homepage.md).
   CharGen spans two rows; LOAF and ZOOKWORKS stack beside it with their words in a panel beside the art.
   The opening's third grid track holds the tiles, so it grows with them (the tiles must not overflow it). */
.opening {
  grid-template-rows: 76px minmax(min-content, 1fr) clamp(420px, 50svh, 520px) 54px;
}
@media (min-width: 1001px) and (max-height: 800px) {
  .opening {
    grid-template-rows: 64px minmax(min-content, 1fr) 400px 54px;
  }
}
@media (max-width: 1000px) {
  .opening {
    grid-template-rows: 68px minmax(min-content, 1fr) 400px 54px;
  }
}
.project-overview {
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.project-tile {
  min-height: 0;
}
.tile-chargen {
  grid-row: 1 / span 2;
}
.project-tile:nth-child(2),
.project-tile:nth-child(3) {
  clip-path: none;
}
/* The tile's own outline paints under its 3D surface, so the ring goes on the surface. */
.project-tile:focus-visible .tile-surface {
  outline: 3px solid var(--ink);
  outline-offset: -8px;
}
.tile-loaf .tile-art,
.tile-zookworks .tile-art {
  left: 38%;
  width: 62%;
}
.tile-zookworks .tile-art {
  object-position: 62% 50%;
}
.tile-loaf .tile-label,
.tile-zookworks .tile-label {
  top: 0;
  bottom: 0;
  left: 0;
  right: auto;
  width: 38%;
  padding: 20px 24px 60px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  /* Top-aligned, like CharGen's label: on a desktop first screen the lower tile's name stays above the fold. */
  justify-content: flex-start;
  container-type: inline-size;
}
/* ZOOKWORKS is a long word: never wider than its panel. */
.tile-zookworks .tile-label h3 {
  font-size: min(clamp(30px, 3.15vw, 58px), 18cqi);
}
.tile-loaf .tile-label {
  background: #e4e8d8;
}
.tile-loaf .tile-action,
.tile-zookworks .tile-action {
  left: 24px;
  right: auto;
  bottom: 18%;
  background: none;
  padding: 0;
}
/* The tour's length follows its chapter count (home.mjs sets --chapters). */
.journey.cinematic {
  height: calc(var(--chapters, 3) * 160svh);
}
.scene-zookworks {
  color: var(--ink);
  background: #e6e3da;
}
/* The robot sits just left of centre in the frame: this keeps it right of the copy on tall screens. */
.scene-zookworks .scene-art {
  object-position: 40% 50%;
}
/* A paper wash under the copy keeps the ink title clear of the hall's dark post.
   z-index 0 keeps it above the artwork in every mode (the still image sits at -1 or -2). */
.scene-zookworks::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(233, 230, 221, 0.94) 0%, rgba(233, 230, 221, 0.78) 30%, rgba(233, 230, 221, 0) 56%);
}
.scene-zookworks .button {
  background: #16181c;
}
@media (max-width: 760px) {
  /* Phones size the tile track to its content (the rule above is for tablets). */
  .opening {
    grid-template-rows: 68px minmax(min-content, 1fr) auto 54px;
  }
  .project-overview {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 240px 170px 170px;
  }
  .tile-chargen {
    grid-row: auto;
  }
  .tile-loaf .tile-art,
  .tile-zookworks .tile-art {
    top: 0;
    height: 100%;
    left: 44%;
    width: 56%;
  }
  .tile-loaf .tile-label,
  .tile-zookworks .tile-label {
    width: 44%;
    padding: 16px 14px 48px;
  }
  .tile-loaf .tile-action,
  .tile-zookworks .tile-action {
    left: 14px;
    bottom: 16px;
  }
  .scene-zookworks::before {
    display: none;
  }
  .scene-zookworks .scene-art {
    object-position: 52% 50%;
  }
}
/* Three chapter links: tighten the phone toolbar so it never scrolls the page sideways. */
@media (max-width: 420px) {
  .journey-toolbar {
    padding: 10px 14px;
    gap: 10px;
  }
  .chapter-nav {
    gap: 12px;
  }
  .chapter-nav a {
    font-size: 11px;
  }
  .journey-tools {
    gap: 8px;
  }
  .skip-tour {
    gap: 6px;
    font-size: 11px;
  }
}
@media (max-width: 360px) {
  .tile-loaf .tile-art,
  .tile-zookworks .tile-art {
    left: 50%;
    width: 50%;
  }
  .tile-loaf .tile-label,
  .tile-zookworks .tile-label {
    width: 50%;
    padding: 14px 10px 44px 12px;
  }
  .tile-loaf .tile-action,
  .tile-zookworks .tile-action {
    left: 12px;
  }
}
