@font-face {
  font-family: Kalam;
  src: url("assets/fonts/kalam-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Patrick;
  src: url("assets/fonts/patrick-hand-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Sketchbook tokens: one paper palette, reusable imperfect shapes, no blurred shadows. */
:root {
  --paper: #fdfbf7;
  --ink: #2d2d2d;
  --muted: #625e58;
  --old-paper: #e5e0d8;
  --red: #ff4d4d;
  --red-ink: #b72e32;
  --blue: #2d5da1;
  --blue-soft: #eaf0f7;
  --yellow: #fff9c4;
  --white: #fff;
  --wobbly: 255px 15px 225px 15px / 15px 225px 15px 255px;
  --wobbly-md: 18px 8px 22px 9px / 8px 19px 8px 23px;
  --wobbly-round: 45% 55% 49% 51% / 54% 44% 56% 46%;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-strong: 8px 8px 0 var(--ink);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 125px;
  overflow-x: clip;
}
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(var(--old-paper) 0.8px, transparent 0.8px);
  background-size: 24px 24px;
  font:
    400 21px/1.55 Patrick,
    "Comic Sans MS",
    cursive;
  -webkit-font-smoothing: antialiased;
}
body.modal-open {
  overflow: hidden;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
}
button:disabled {
  cursor: default;
}
a:focus-visible,
button:focus-visible {
  outline: 3px dashed var(--blue);
  outline-offset: 6px;
}
::selection {
  background: var(--yellow);
  color: var(--ink);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Kalam, "Comic Sans MS", cursive;
  font-weight: 700;
  line-height: 1.2;
}
h1,
h2 {
  letter-spacing: -0.045em;
}
h1 em,
h2 em {
  font-style: normal;
  color: var(--blue);
}
svg {
  display: block;
}
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.shell {
  width: min(1024px, calc(100% - 80px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--wobbly);
  box-shadow: var(--shadow);
}
.skip-link:focus {
  top: 15px;
}
.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 60;
  pointer-events: none;
}
/* A loose sheet pinned to the top of the notebook. */
.site-header {
  position: sticky;
  top: 18px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 22px;
  min-height: 83px;
  padding: 13px 24px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--wobbly-md);
  box-shadow: 3px 3px 0 var(--ink);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  line-height: 1.05;
  font-family: Kalam, cursive;
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
}
.brand-symbol {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--wobbly);
  font-size: 35px;
  line-height: 1;
  rotate: -6deg;
}
.brand-caption {
  display: block;
  font:
    400 14px/1.2 Patrick,
    cursive;
  margin-top: 4px;
  color: var(--muted);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-header nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  font-size: 20px;
}
.site-header nav a:not(:last-child):after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 5px;
  border-bottom: 2px solid var(--blue);
  border-radius: 40% 10% 50% 5%;
  transform: scaleX(0) rotate(-2deg);
  transform-origin: left;
  transition: transform 0.15s;
}
.site-header nav a:hover:after,
.site-header nav a[aria-current]:after {
  transform: scaleX(1) rotate(-2deg);
}
.site-header nav a:last-child {
  padding: 7px 15px;
  border: 2px solid var(--ink);
  border-radius: var(--wobbly);
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--ink);
}
.site-header nav a:last-child:hover {
  background: var(--red);
}
.site-header nav .icon {
  width: 18px;
  height: 18px;
}
.menu-toggle {
  display: none;
}
/* Cover: large marker lettering, a taped portrait, and small margin notes. */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.28fr 1fr;
  gap: 34px;
  padding-top: 84px;
  view-timeline-name: --hero;
  view-timeline-axis: block;
}
.margin-note {
  position: absolute;
  top: 29px;
  right: 8px;
  font-size: 16px;
  rotate: 2deg;
  color: var(--muted);
}
.eyebrow {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.035em;
  margin-bottom: 21px;
  color: var(--muted);
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 450px;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.status-dot {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  background: var(--red);
  border: 2px solid var(--ink);
  border-radius: var(--wobbly-round);
}
.hero h1 {
  font-size: clamp(48px, 5.2vw, 73px);
  line-height: 1.16;
  letter-spacing: -0.05em;
}
.title-line {
  display: block;
}
.title-word {
  display: inline-block;
}
.title-italic {
  color: var(--blue);
  position: relative;
  white-space: nowrap;
}
.title-scribble {
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 97%;
  height: 21px;
  fill: none;
  stroke: var(--red);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 0;
  pointer-events: none;
}
.hero-description {
  max-width: 500px;
  font-size: 22px;
  line-height: 1.55;
  margin-top: 31px;
  color: var(--muted);
}
.hero-actions {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 55px;
  padding: 10px 22px;
  background: white;
  border: 3px solid var(--ink);
  border-radius: var(--wobbly);
  box-shadow: var(--shadow);
  font-size: 24px;
  line-height: 1.3;
  transition:
    translate 0.12s,
    box-shadow 0.12s,
    background 0.12s;
  position: relative;
}
.button-blue {
  background: var(--red);
}
.button-dark {
  background: var(--yellow);
}
.button:hover {
  translate: 2px 2px;
  box-shadow: 2px 2px 0 var(--ink);
  background: var(--yellow);
}
.button:active {
  translate: 4px 4px;
  box-shadow: 0 0 0 var(--ink);
}
.quiet-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  font-size: 21px;
  color: var(--blue);
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
}
.quiet-link .icon,
.text-link .icon {
  width: 17px;
  height: 17px;
}
.hero-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
  font-size: 17px;
  color: var(--muted);
}
.hero-platforms span:first-child {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}
.hero-platforms span + span:before {
  content: "·";
  margin-right: 16px;
}
.hero-stage {
  position: relative;
  height: 505px;
  isolation: isolate;
  margin-top: 26px;
}
.stage-disc {
  position: absolute;
  inset: 0 5px 48px 10px;
  border: 2px solid var(--ink);
  border-radius: var(--wobbly);
  background: var(--yellow);
  box-shadow: 5px 6px 0 var(--ink);
  rotate: 2deg;
  z-index: -1;
}
.stage-disc:after {
  content: "";
  position: absolute;
  inset: 15px;
  border: 1.5px dashed #a69b68;
  border-radius: var(--wobbly);
}
.paper-tape {
  position: absolute;
  top: -14px;
  left: calc(50% - 46px);
  width: 92px;
  height: 30px;
  background: repeating-linear-gradient(
    100deg,
    #ddd8cb99 0 4px,
    #eee8dcbb 4px 7px
  );
  border-left: 2px dashed #c2bcb1;
  border-right: 2px dashed #c2bcb1;
  rotate: -4deg;
  z-index: 4;
  pointer-events: none;
}
.stage-tape {
  left: 38%;
  top: -17px;
  rotate: 5deg;
  width: 108px;
}
.stage-note {
  position: absolute;
  left: 32px;
  top: 21px;
  color: var(--blue);
  font-size: 29px;
  rotate: -6deg;
  z-index: 3;
}
.stage-spark {
  position: absolute;
  top: 46px;
  right: -18px;
  width: 68px;
  height: 68px;
  fill: var(--paper);
  stroke: var(--red);
  stroke-width: 2.5;
  rotate: 9deg;
  z-index: 3;
}
.stage-annotation {
  position: absolute;
  right: -24px;
  bottom: 60px;
  color: var(--blue);
  font-size: 19px;
  rotate: 7deg;
  z-index: 3;
  pointer-events: none;
}
.stage-annotation svg {
  position: absolute;
  right: 16px;
  bottom: 18px;
  width: 92px;
  height: 65px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  rotate: 15deg;
}
.stage-bottom {
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 3;
}
.stage-bottom > span {
  font-size: 16px;
  color: var(--muted);
}
.wave-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 7px 15px;
  font-size: 20px;
  border: 2px solid var(--ink);
  border-radius: var(--wobbly);
  background: white;
  box-shadow: 2px 2px 0 var(--ink);
  transition:
    rotate 0.1s,
    background 0.1s;
}
.wave-button:hover {
  background: var(--yellow);
  rotate: -2deg;
}
.wave-button .icon {
  width: 20px;
  height: 20px;
}
.wave-button-wrap {
  position: relative;
  display: inline-flex;
}
.wave-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  width: 178px;
  transform: translate(-50%, 5px);
  opacity: 0;
  pointer-events: none;
  padding: 11px 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--wobbly-md);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
  text-align: center;
  transition:
    transform 0.18s,
    opacity 0.18s;
  z-index: 8;
}
.wave-button:hover + .wave-tooltip,
.wave-button:focus-visible + .wave-tooltip {
  transform: translate(-50%, 0);
  opacity: 1;
}
.avatar-guide {
  position: absolute;
  inset: 43px 0 57px;
  z-index: 2;
  pointer-events: none;
  transform-origin: bottom right;
}
.avatar-guide canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.avatar-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
html[data-avatar="ready"] .avatar-fallback {
  display: none;
}
html[data-avatar="ready"] .avatar-guide canvas {
  opacity: 1;
}
.hero-footer {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  padding: 22px 0 0;
  border-top: 2px dashed #b8afa1;
  color: var(--muted);
  font-size: 17px;
}
.hero-footer > a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  letter-spacing: 0.04em;
  font-size: 14px;
}
.hero-footer .icon {
  width: 18px;
  height: 18px;
}
/* Project sheets: original conceptual art framed as pages, with honest scope notes. */
.work-section {
  padding-block: 93px 45px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 55px;
  margin-bottom: 47px;
}
.section-heading h2 {
  font-size: clamp(43px, 4.3vw, 59px);
}
.section-heading > p {
  max-width: 280px;
  font-size: 21px;
  color: var(--muted);
  padding-bottom: 4px;
}
.section-heading em,
.about-heading em {
  display: inline-block;
  position: relative;
}
.section-heading em:after,
.about-heading em:after {
  content: "";
  position: absolute;
  inset: auto 0 2px;
  height: 10px;
  border-bottom: 2px solid currentColor;
  border-radius: 40% 15% 30% 10%;
  rotate: -1deg;
}

.paper-card {
  position: relative;
  background: white;
  border: 2px solid var(--ink);
  border-radius: var(--wobbly-md);
  box-shadow: var(--shadow);
}
.project-card {
  --tilt: -0.65deg;
  min-width: 0;
  padding: 17px 17px 22px;
  rotate: var(--tilt);
  view-timeline-name: --project;
  view-timeline-axis: block;
  transition:
    rotate 0.15s,
    box-shadow 0.15s;
}
.project-card:before {
  content: "";
  position: absolute;
  top: -13px;
  left: calc(50% - 37px);
  width: 74px;
  height: 27px;
  background: #e4ded0bb;
  border-inline: 2px dashed #bdb3a288;
  rotate: -3deg;
  z-index: 5;
  pointer-events: none;
}
.project-card:nth-of-type(even) {
  --tilt: 0.7deg;
}
.project-card:hover {
  rotate: 0deg;
  box-shadow: 6px 6px 0 var(--ink);
}
.project-open {
  display: block;
  background: none;
  width: 100%;
  padding: 0;
  text-align: left;
  border-radius: var(--wobbly-md);
}
.project-art {
  position: relative;
  aspect-ratio: 1.43;
  border: 2px solid var(--ink);
  border-radius: var(--wobbly-md);
  overflow: hidden;
  background: var(--blue-soft);
  isolation: isolate;
}
.image-plane {
  width: 100%;
  height: 100%;
  transform-origin: center;
}
.image-plane > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-index {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 2px 10px;
  font-size: 15px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--wobbly);
  rotate: -2deg;
  z-index: 2;
}
.project-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #2d2d2d16;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}
.project-overlay > span {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 22px;
  border: 2px solid var(--ink);
  border-radius: var(--wobbly);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: var(--shadow);
  padding: 11px 19px;
  rotate: -2deg;
}
.project-overlay .icon {
  width: 20px;
  height: 20px;
}
.project-open:focus-visible .project-overlay {
  opacity: 1 !important;
  transform: none !important;
}
.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}
.project-type {
  font-size: 16px;
  color: var(--muted);
}
.project-meta h3 {
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: -0.04em;
  margin-top: 6px;
}
.project-arrow {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 2px solid var(--ink);
  border-radius: var(--wobbly-round);
  flex-shrink: 0;
  background: var(--yellow);
  transition:
    rotate 0.15s,
    background 0.15s;
}
.project-arrow .icon {
  width: 20px;
  height: 20px;
}
.project-open:hover .project-arrow {
  rotate: 12deg;
  background: var(--red);
}
.project-summary {
  font-size: 20px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.5;
}
.project-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tags > span {
  font-size: 16px;
  line-height: 1.3;
  color: var(--muted);
  border-bottom: 1.5px dashed #b6afa3;
  padding-bottom: 2px;
}
.tags > span + span:before {
  content: "/";
  margin-right: 8px;
  color: #a39b90;
}
.project-status {
  font-size: 15px;
  line-height: 1.3;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  border-radius: var(--wobbly);
  padding: 4px 8px;
  color: var(--ink);
}

.work-note {
  font-size: 16px;
  color: var(--muted);
  margin-top: 29px;
  max-width: 690px;
}
/* One project per page; the original markup remains a reading list without JavaScript. */
[hidden] {
  display: none !important;
}
.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;
}
.project-pager {
  position: relative;
}
.project-pager-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 4px 23px;
}
.pager-note {
  font-size: 21px;
  color: var(--blue);
  rotate: -1deg;
}
.project-page-count {
  font-size: 21px;
  color: var(--muted);
  white-space: nowrap;
}
.project-page-count strong {
  font:
    700 31px/1 Kalam,
    cursive;
  color: var(--ink);
}
.project-pages {
  position: relative;
  touch-action: pan-y pinch-zoom;
}
.project-pages .project-card {
  margin-bottom: 35px;
  rotate: 0deg;
  padding: 22px;
}
.project-pages .project-open {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 33px;
  min-height: 420px;
  height: 100%;
}
.project-pager .project-art {
  aspect-ratio: auto;
  min-height: 420px;
}
.project-pager .image-plane {
  position: absolute;
  inset: 0;
}
.project-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 24px 8px 20px 0;
}
.project-copy .project-meta {
  display: block;
  margin: 0;
}
.project-copy .project-type {
  font-size: 17px;
}
.project-copy .project-meta h3 {
  font-size: 34px;
  margin-top: 14px;
  line-height: 1.25;
}
.project-copy .project-summary {
  font-size: 22px;
  line-height: 1.5;
  margin-top: 22px;
}
.project-copy .project-bottom {
  margin-top: 23px;
  margin-bottom: 27px;
}
.project-read-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  min-height: 48px;
  font-size: 23px;
  color: var(--blue);
  text-decoration: underline;
  text-decoration-style: wavy;
  text-underline-offset: 6px;
}
.project-read-link .icon {
  width: 20px;
  height: 20px;
  transition: translate 0.15s;
}
.project-open:hover .project-read-link .icon {
  translate: 2px -2px;
}
.project-pager[data-enhanced] .project-pages {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  isolation: isolate;
}
.project-pager[data-enhanced] .project-pages:before,
.project-pager[data-enhanced] .project-pages:after {
  content: "";
  position: absolute;
  inset: 7px 4px -8px;
  border: 2px solid var(--ink);
  border-radius: var(--wobbly-md);
  background: #eee9df;
  rotate: 1deg;
  z-index: -2;
  pointer-events: none;
}
.project-pager[data-enhanced] .project-pages:after {
  inset: 4px 2px -4px;
  background: var(--paper);
  rotate: -0.8deg;
  z-index: -1;
}
.project-pager[data-enhanced] .project-card {
  grid-area: 1/1;
  margin: 0;
  z-index: 1;
  box-shadow: var(--shadow);
}
.project-pager[data-enhanced] .project-card:not([aria-hidden]) {
  z-index: 2;
}
.project-pager[data-transitioning] .project-card {
  pointer-events: none;
}
.project-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 25px;
  align-items: center;
  margin-top: 35px;
}
.project-page-buttons {
  display: flex;
  justify-content: center;
  gap: 9px;
}
.project-page-buttons button {
  position: relative;
  min-width: 48px;
  min-height: 48px;
  padding: 5px 9px;
  background: var(--paper);
  border: 2px solid transparent;
  border-radius: var(--wobbly-round);
  font-size: 21px;
  transition:
    background 0.15s,
    rotate 0.15s;
}
.project-page-buttons button:hover {
  background: var(--yellow);
  rotate: -4deg;
}
.project-page-buttons button[aria-current] {
  background: var(--yellow);
  border-color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  rotate: -4deg;
}
.project-page-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  justify-self: start;
  min-height: 48px;
  padding: 8px 13px;
  border: 2px solid var(--ink);
  border-radius: var(--wobbly);
  background: white;
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 21px;
  transition:
    translate 0.12s,
    box-shadow 0.12s,
    background 0.12s;
}
#project-next {
  justify-self: end;
}
.project-page-arrow:hover:not(:disabled) {
  background: var(--yellow);
  translate: 1px 1px;
  box-shadow: 1px 1px 0 var(--ink);
}
.project-page-arrow:active:not(:disabled) {
  translate: 2px 2px;
  box-shadow: none;
}
.project-page-arrow:disabled {
  color: var(--muted);
  border-color: #c3baad;
  background: none;
  box-shadow: none;
}
.project-page-arrow .icon {
  width: 21px;
  height: 21px;
}
.project-page-hint {
  font-size: 17px;
  color: var(--muted);
  text-align: center;
  margin-top: 18px;
}
.project-page-hint span {
  display: none;
}
@media (pointer: coarse) {
  .project-page-hint span {
    display: inline;
  }
}
@media (max-width: 900px) {
  .project-pages .project-open {
    grid-template-columns: 1.05fr 1fr;
    gap: 25px;
    min-height: 430px;
  }
  .project-pages .project-card {
    padding: 18px;
  }
  .project-pager .project-art {
    min-height: 430px;
  }
  .project-copy {
    padding: 20px 0 15px;
  }
  .project-copy .project-meta h3 {
    font-size: 30px;
  }
  .project-copy .project-type {
    font-size: 16px;
  }
  .project-copy .project-summary {
    font-size: 21px;
    margin-top: 18px;
  }
  .project-copy .project-bottom {
    margin-top: 18px;
    margin-bottom: 20px;
  }
  .project-read-link {
    font-size: 21px;
  }
  .project-pagination {
    gap: 15px;
  }
}
@media (max-width: 700px) {
  .project-pager-heading {
    margin-bottom: 23px;
    gap: 10px;
  }
  .pager-note {
    font-size: 19px;
  }
  .project-page-count {
    font-size: 19px;
  }
  .project-page-count strong {
    font-size: 29px;
  }
  .project-pages .project-card {
    padding: 15px;
  }
  .project-pages .project-open {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }
  .project-pager .project-art {
    aspect-ratio: 1.45;
    min-height: 0;
  }
  .project-copy {
    padding: 24px 7px 13px;
  }
  .project-copy .project-meta h3 {
    font-size: 31px;
    margin-top: 10px;
  }
  .project-copy .project-type {
    font-size: 17px;
  }
  .project-copy .project-summary {
    font-size: 22px;
    margin-top: 18px;
  }
  .project-copy .project-bottom {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .project-copy .project-status {
    font-size: 16px;
  }
  .project-read-link {
    font-size: 23px;
  }
  .project-pagination {
    grid-template-columns: 1fr 1fr;
    gap: 19px 15px;
    margin-top: 30px;
  }
  .project-page-buttons {
    grid-column: 1/-1;
    grid-row: 1;
    gap: 6px;
  }
  .project-page-arrow {
    grid-row: 2;
    font-size: 20px;
    padding: 7px 12px;
  }
  .project-page-hint {
    font-size: 17px;
  }
}
@media (max-width: 380px) {
  .pager-note {
    font-size: 17px;
  }
  .project-page-count {
    font-size: 18px;
  }
  .project-pages .project-card {
    padding: 12px;
  }
  .project-copy {
    padding: 22px 6px 10px;
  }
  .project-copy .project-meta h3 {
    font-size: 28px;
  }
  .project-copy .project-summary {
    font-size: 21px;
  }
  .project-copy .project-type {
    font-size: 16px;
  }
  .project-read-link {
    font-size: 22px;
  }
}
@media print {
  .project-pagination,
  .project-pager-heading,
  .project-page-hint,
  .project-pages:before,
  .project-pages:after,
  .project-read-link {
    display: none !important;
  }
  .project-pager[data-enhanced] .project-pages,
  .project-pages .project-open {
    display: block !important;
    min-height: 0 !important;
  }
  .project-pager .project-card[hidden],
  .project-pager .project-card {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .project-copy {
    padding: 0;
  }
}

/* A finite native scroll chapter; no wheel/touch interception or scroll-position loop. */
.project-scroll-track {
  position: relative;
}
.project-scroll-step {
  display: none;
  position: absolute;
  left: 0;
  width: 1px;
  pointer-events: none;
}
.project-scroll-active .project-scroll-step {
  display: block;
}
.project-scroll-active .project-pager {
  position: sticky;
  top: var(--project-sticky-top, 120px);
}
.project-scroll-active .project-pages .project-open {
  min-height: 350px;
}
.project-scroll-active .project-art {
  min-height: 350px;
}
.project-scroll-active .project-pager-heading {
  margin-bottom: 18px;
}
.project-scroll-active .project-copy {
  padding-block: 18px 12px;
}
.project-scroll-active .project-copy .project-summary {
  font-size: 21px;
  margin-top: 18px;
}
.project-scroll-active .project-copy .project-bottom {
  margin-block: 19px 23px;
}
.project-scroll-active .project-pagination {
  margin-top: 25px;
}
.project-scroll-active .project-page-hint {
  display: none;
}
@media (max-width: 700px) {
  .project-scroll-active .project-pager-heading {
    margin-bottom: 15px;
  }
  .project-scroll-active .pager-note {
    font-size: 18px;
  }
  .project-scroll-active .project-page-count strong {
    font-size: 28px;
  }
  .project-scroll-active .project-pages .project-card {
    padding: 12px;
  }
  .project-scroll-active .project-pages .project-open {
    min-height: 0;
  }
  .project-scroll-active .project-art {
    min-height: 0;
    height: clamp(84px, 17svh, 145px);
    aspect-ratio: auto;
  }
  .project-scroll-active .project-copy {
    padding: 14px 5px 4px;
  }
  .project-scroll-active .project-type,
  .project-scroll-active .project-bottom {
    display: none;
  }
  .project-scroll-active .project-copy .project-meta h3 {
    font-size: 26px;
    line-height: 1.2;
    margin: 0;
  }
  .project-scroll-active .project-copy .project-summary {
    font-size: 19px;
    line-height: 1.35;
    margin-top: 12px;
  }
  .project-scroll-active .project-read-link {
    font-size: 21px;
    min-height: 44px;
    margin-top: 12px;
  }
  .project-scroll-active .project-pagination {
    display: block;
    margin-top: 18px;
  }
  .project-scroll-active .project-page-arrow {
    display: none;
  }
}
@media print {
  .project-scroll-track {
    height: auto !important;
  }
  .project-scroll-track .project-pager {
    position: static !important;
  }
  .project-scroll-step {
    display: none !important;
  }
  .project-scroll-active .project-type,
  .project-scroll-active .project-bottom {
    display: block;
  }
}

/* Small original diagrams use the same ink and paper primitives. */
.paywall-concept,
.media-concept {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--ink);
}
.paywall-concept {
  background: var(--yellow);
  background-image: radial-gradient(#dbd49e 1px, transparent 1px);
  background-size: 18px 18px;
}
.concept-eyebrow {
  display: none;
}
.paywall-window {
  width: 205px;
  padding: 17px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--wobbly-md);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-5deg) scale(0.86);
  text-align: center;
}
.mini-star {
  display: block;
  margin-bottom: 7px;
  color: var(--red-ink);
}
.mini-star svg {
  width: 28px;
  height: 28px;
  margin: auto;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
}
.paywall-window strong {
  display: block;
  font:
    700 27px/1.15 Kalam,
    cursive;
  letter-spacing: -1px;
}
.mini-label {
  font-size: 14px;
  color: var(--muted);
}
.price-choice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1.5px solid var(--ink);
  border-radius: var(--wobbly);
  padding: 7px 10px;
  margin-top: 9px;
  font-size: 16px;
  text-align: left;
  line-height: 1.15;
}
.price-choice small {
  display: block;
  font-size: 12px;
  margin-top: 4px;
}
.price-choice i {
  font-style: normal;
}
.price-choice.selected {
  background: var(--yellow);
  border-color: var(--blue);
}
.mini-cta {
  display: block;
  background: var(--red);
  border: 1.5px solid var(--ink);
  color: var(--ink);
  padding: 6px;
  font-size: 17px;
  border-radius: var(--wobbly);
  margin-top: 10px;
}
.config-chip {
  position: absolute;
  padding: 6px 10px;
  border-radius: var(--wobbly);
  border: 1.5px solid var(--ink);
  background: var(--paper);
  font-size: 15px;
  line-height: 1.3;
  box-shadow: 2px 2px 0 var(--ink);
}
.chip-a {
  left: 3%;
  top: 37%;
  transform: rotate(-7deg);
}
.chip-b {
  right: 3%;
  bottom: 16%;
  transform: rotate(6deg);
}
.media-concept {
  background: #eaf0f7;
  background-image: linear-gradient(#b8c9e344 1px, transparent 1px);
  background-size: 100% 24px;
}
.media-window {
  width: 77%;
  padding: 13px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--wobbly-md);
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-4deg);
}
.media-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 9px;
}
.media-toolbar > span:first-child {
  color: var(--red-ink);
  font-size: 9px;
}
.media-preview {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
  height: 125px;
  background: var(--blue);
  color: var(--paper);
  border-radius: var(--wobbly-md);
}
.media-preview > span:last-child {
  font:
    700 27px/1.2 Kalam,
    cursive;
  letter-spacing: -1px;
}
.play-orbit {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px dashed var(--paper);
  border-radius: var(--wobbly-round);
  font-size: 34px;
}
.download-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.2;
}
.download-row > div {
  flex: 1;
}
.download-symbol {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: var(--wobbly-md);
  font-size: 20px;
}
.download-track {
  display: block;
  height: 4px;
  background: linear-gradient(to right, var(--red) 75%, var(--old-paper) 75%);
  margin-top: 5px;
  border-radius: var(--wobbly);
}
.media-concept .chip-b {
  bottom: 12%;
}
/* The index is deliberately quieter than the project gallery. */
.archive-section {
  padding-block: 47px 85px;
}
.archive-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 25px;
}
.archive-heading .eyebrow {
  margin-bottom: 15px;
}
.archive-heading h2 {
  font-size: 42px;
  max-width: 600px;
}
.archive-heading > span {
  font-size: 18px;
  color: var(--muted);
  white-space: nowrap;
}
.archive-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 23px;
}
.archive-filters button {
  padding: 6px 13px;
  min-height: 48px;
  font-size: 18px;
  background: var(--paper);
  border: 2px solid #a39b90;
  border-radius: var(--wobbly);
  transition:
    background 0.12s,
    rotate 0.12s;
}
.archive-filters button:hover {
  rotate: -1deg;
  background: var(--yellow);
}
.archive-filters button[aria-pressed="true"] {
  background: var(--yellow);
  border-color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}
.archive-item {
  border-bottom: 2px dashed #c3baad;
}
.archive-item:first-child {
  border-top: 2px dashed #c3baad;
}
.archive-item[hidden] {
  display: none;
}
.archive-item button {
  display: flex;
  align-items: center;
  gap: 23px;
  width: 100%;
  text-align: left;
  padding: 23px 8px;
  background: none;
  border-radius: var(--wobbly-md);
  transition: background 0.12s;
}
.archive-item button:hover {
  background: #fff9c488;
}
.archive-number {
  font-size: 18px;
  color: var(--red-ink);
  width: 25px;
  align-self: start;
  padding-top: 5px;
  flex-shrink: 0;
}
.archive-description {
  flex: 1;
}
.archive-description strong {
  display: block;
  font:
    700 23px/1.3 Kalam,
    cursive;
  letter-spacing: -0.03em;
}
.archive-description > span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 19px;
}
.archive-category {
  font-size: 17px;
  color: var(--muted);
  margin-right: 12px;
}
.archive-item .icon {
  width: 21px;
  height: 21px;
}
/* Notes about the person and the tools, rather than another wall of badges. */
.about-section {
  position: relative;
  background: #f4f0e8;
  border-block: 2px dashed #c3baad;
  padding-block: 85px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-heading h2 {
  font-size: 56px;
  line-height: 1.25;
}
.about-signature {
  font:
    700 33px/1.3 Kalam,
    cursive;
  color: var(--red-ink);
  margin-top: 30px;
  rotate: -3deg;
}
.about-signature > span {
  display: block;
  font:
    400 18px/1.4 Patrick,
    cursive;
  color: var(--muted);
  margin-top: 10px;
}
.about-copy {
  padding: 29px;
  rotate: 1deg;
}
.about-copy > p {
  font-size: 21px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 20px;
}
.about-copy > .about-lead {
  font-size: 25px;
  color: var(--ink);
  line-height: 1.45;
}
.about-lead:first-letter {
  float: left;
  font:
    700 57px/0.95 Kalam,
    cursive;
  margin: 5px 5px 0 0;
  color: var(--blue);
}
.about-copy .text-link {
  font-size: 20px;
}
.capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 55px;
}
.capabilities article {
  padding: 25px 22px 27px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--wobbly-md);
  box-shadow: 3px 3px 0 var(--ink);
  rotate: -1deg;
}
.capabilities article:nth-child(2) {
  background: var(--paper);
  rotate: 1deg;
}
.capabilities article:nth-child(3) {
  background: #eaf0f7;
  rotate: -0.5deg;
}
.capability-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--ink);
  border-radius: var(--wobbly-round);
  color: var(--blue);
  margin-bottom: 17px;
}
.capability-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.capabilities h3 {
  font-size: 24px;
  letter-spacing: -0.035em;
}
.capabilities p {
  font-size: 20px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 13px;
}
.journey-section {
  padding-block: 90px;
}
.timeline {
  position: relative;
  padding-left: 30px;
  view-timeline-name: --timeline;
  view-timeline-axis: block;
}
.timeline-trace {
  position: absolute;
  left: 5px;
  top: 13px;
  bottom: 30px;
  width: 3px;
  background: var(--old-paper);
  border-radius: var(--wobbly);
}
.timeline-trace > span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--blue);
  transform-origin: top;
  border-radius: var(--wobbly);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr 1.2fr;
  gap: 30px;
  padding: 27px 0;
  border-bottom: 2px dashed #c3baad;
}
.timeline-item:first-of-type {
  padding-top: 8px;
}
.timeline-item:last-child {
  border: 0;
}
.timeline-when {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 12px;
  color: var(--muted);
  font-size: 16px;
}
.timeline-dot {
  position: absolute;
  left: -32px;
  top: 7px;
  width: 17px;
  height: 17px;
  border: 2px solid var(--ink);
  background: var(--paper);
  border-radius: var(--wobbly-round);
}
.timeline-item:first-of-type .timeline-dot {
  background: var(--red);
}
.current-badge {
  font-size: 16px;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  border-radius: var(--wobbly);
  padding: 3px 9px;
  color: var(--ink);
  rotate: -2deg;
}
.timeline-item h3 {
  font-size: 24px;
  letter-spacing: -0.035em;
}
.company {
  display: block;
  font-size: 20px;
  color: var(--blue);
  margin-top: 9px;
}
.timeline-item > p {
  font-size: 20px;
  color: var(--muted);
  line-height: 1.5;
}
/* Final page: a yellow note with an invitation, not a form to fill in. */
.contact-panel {
  background: var(--yellow);
  padding: 55px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  rotate: -0.7deg;
  box-shadow: var(--shadow-strong);
}
.contact-panel h2 {
  font-size: clamp(42px, 4.1vw, 58px);
}
.contact-panel .eyebrow {
  font-size: 15px;
}
.contact-copy > p:not(.eyebrow) {
  font-size: 22px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 24px;
}
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 27px;
}
.copy-email {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  padding: 9px 0;
  min-height: 48px;
  font-size: 20px;
  color: var(--blue);
  text-decoration: underline;
  text-decoration-style: wavy;
  text-underline-offset: 6px;
}
.copy-email .icon {
  width: 18px;
  height: 18px;
}
.contact-email {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 21px;
  margin-top: 15px;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}
.contact-decoration {
  align-self: flex-start;
  margin-top: 45px;
  width: 130px;
  height: 130px;
  flex-shrink: 0;
  color: var(--red-ink);
  rotate: 5deg;
}
.contact-decoration svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  padding: 43px 0 120px;
}
.site-footer .wordmark {
  font-size: 21px;
}
.site-footer .brand-symbol {
  width: 36px;
  height: 36px;
  font-size: 29px;
}
.social-links {
  display: flex;
  gap: 22px;
}
.social-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  font-size: 19px;
  color: var(--muted);
}
.social-links .icon {
  width: 16px;
  height: 16px;
}
.social-links a:hover {
  color: var(--blue);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.copyright {
  font-size: 16px;
  color: var(--muted);
}
/* Optional guide and motion controls sit outside the reading flow. */
.experience-controls {
  position: fixed;
  left: 16px;
  bottom: 15px;
  display: flex;
  z-index: 30;
  border: 2px solid var(--ink);
  border-radius: var(--wobbly-md);
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
}
.experience-controls button {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  background: none;
  padding: 8px 13px;
  font-size: 16px;
}
.experience-controls button + button {
  border-left: 1.5px dashed #a39b90;
}
.experience-controls button:hover {
  background: var(--yellow);
}
.experience-controls .icon {
  width: 15px;
  height: 15px;
}
.experience-controls:focus-within {
  outline: 3px dashed var(--blue);
  outline-offset: 5px;
}
.experience-controls button:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 2px var(--blue);
}
.avatar-guide.docked {
  position: fixed;
  inset: auto 60px 158px auto;
  width: 93px;
  height: 135px;
  z-index: 25;
}
.guide-dock {
  position: fixed;
  right: 16px;
  bottom: 20px;
  width: 188px;
  z-index: 24;
}
.guide-dock[hidden] {
  display: none;
}
.guide-message {
  padding: 13px 16px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--wobbly-md);
  box-shadow: 3px 3px 0 var(--ink);
  width: 100%;
  text-align: left;
  font-size: 18px;
  line-height: 1.3;
}
.guide-message > #guide-chapter {
  display: block;
  font-size: 17px;
  color: var(--blue);
  margin-bottom: 6px;
}
.guide-message > #guide-line {
  display: block;
  font-size: 18px;
}
.guide-next-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--muted);
  margin-top: 9px;
}
.guide-next-label .icon {
  width: 15px;
  height: 15px;
}
.guide-hidden #avatar-guide,
.guide-hidden #guide-dock {
  display: none;
}
.dialog-open #avatar-guide {
  visibility: hidden;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  transform: translate(-50%, 15px);
  opacity: 0;
  pointer-events: none;
  z-index: 80;
  padding: 13px 20px;
  border: 2px solid var(--ink);
  border-radius: var(--wobbly-md);
  box-shadow: var(--shadow);
  font-size: 20px;
  background: var(--yellow);
  color: var(--ink);
  width: max-content;
  max-width: 90%;
  text-align: center;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  border: 3px solid var(--ink);
  border-radius: var(--wobbly-md);
  padding: 32px;
  width: min(740px, 90vw);
  max-height: 85dvh;
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}
dialog::backdrop {
  background: #2d2d2dbb;
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 20px;
}
.dialog-close {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 2px solid var(--ink);
  border-radius: var(--wobbly-round);
  background: var(--yellow);
}
.dialog-close:hover {
  background: var(--red);
}
dialog h2 {
  font-size: 41px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.dialog-intro {
  font-size: 23px;
  color: var(--muted);
  line-height: 1.55;
}
#dialog-content {
  margin: 25px 0 30px;
}
#dialog-content h3 {
  font-size: 26px;
  letter-spacing: -0.035em;
  margin: 25px 0 10px;
}
#dialog-content p,
#dialog-content li {
  font-size: 21px;
  color: var(--muted);
  line-height: 1.55;
}
#dialog-content ul {
  padding-left: 22px;
}
#dialog-content li + li {
  margin-top: 9px;
}
.noscript-note {
  padding-block: 30px;
  font-size: 18px;
}
/* Native timelines rewind the very same states when the visitor scrolls up. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .motion-enabled [data-watch] {
      animation: page-arrive linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
    .motion-enabled [data-parallax] {
      animation: paper-parallax linear both;
      animation-timeline: --project;
      animation-range: entry 0% exit 100%;
    }
    .motion-enabled .hero-copy {
      animation: cover-turn linear both;
      animation-timeline: --hero;
      animation-range: exit 0% exit 100%;
    }
    .motion-enabled .timeline-trace > span {
      animation: trace-grow linear both;
      animation-timeline: --timeline;
      animation-range: entry 10% exit 80%;
    }
    .motion-enabled .title-scribble {
      animation: ink-draw linear both;
      animation-timeline: --hero;
      animation-range: exit 0% exit 80%;
    }
    .motion-enabled .contact-decoration {
      animation: note-arrow linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
  }
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .motion-enabled .reading-progress {
      animation: reading linear both;
      animation-timeline: scroll(root);
    }
  }
}
@keyframes page-arrive {
  from {
    transform: translateY(20px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes paper-parallax {
  from {
    transform: translateY(-7px) scale(1.05);
  }
  to {
    transform: translateY(7px) scale(1.05);
  }
}
@keyframes cover-turn {
  to {
    transform: translateY(-16px);
  }
}
@keyframes trace-grow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}
@keyframes ink-draw {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: 1000;
  }
}
@keyframes note-arrow {
  from {
    transform: rotate(-9deg) translateY(12px);
  }
  to {
    transform: rotate(0) translateY(0);
  }
}
@keyframes reading {
  to {
    transform: scaleX(1);
  }
}
.motion-fallback [data-watch] {
  transition: transform 0.45s var(--ease);
}
.motion-fallback [data-watch][data-viewport="outside"] {
  transform: translateY(20px);
}
.motion-fallback [data-watch][data-viewport="inside"] {
  transform: translateY(0);
}
.motion-fallback [data-watch],
.motion-fallback [data-parallax] {
  animation: none !important;
}
@media (max-width: 1050px) {
  .shell {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 20px;
    padding-top: 72px;
    grid-template-columns: 1.25fr 1fr;
  }
  .hero h1 {
    font-size: 6vw;
  }
  .hero-description {
    font-size: 21px;
  }
  .hero-actions {
    gap: 17px;
  }
  .hero-actions .button {
    font-size: 21px;
    padding-inline: 17px;
    gap: 14px;
  }
  .hero-stage {
    height: 475px;
  }
  .stage-note {
    font-size: 25px;
  }
  .stage-annotation {
    right: -12px;
    font-size: 17px;
  }
  .stage-bottom > span {
    font-size: 14px;
  }
  .wave-button {
    font-size: 18px;
    padding-inline: 12px;
  }
  .about-grid {
    gap: 42px;
  }
  .about-heading h2 {
    font-size: 49px;
  }
  .about-copy {
    padding: 25px;
  }
  .capabilities {
    gap: 22px;
  }
  .capabilities article {
    padding: 22px 18px;
  }
  .capabilities h3 {
    font-size: 22px;
  }
  .contact-panel {
    padding: 44px;
  }
  .contact-decoration {
    width: 95px;
    height: 95px;
  }
}
@media (max-width: 800px) {
  .site-header {
    padding: 12px 18px;
  }
  .site-header nav {
    gap: 17px;
  }
  .site-header nav a {
    font-size: 18px;
  }
  .wordmark {
    font-size: 21px;
    gap: 10px;
  }
  .brand-caption {
    font-size: 13px;
  }
  .brand-symbol {
    width: 38px;
    height: 38px;
    font-size: 31px;
  }
  .hero {
    grid-template-columns: 1.15fr 1fr;
    gap: 16px;
  }
  .hero h1 {
    font-size: 6vw;
  }
  .hero .eyebrow {
    font-size: 12px;
    gap: 7px;
  }
  .hero-description {
    font-size: 19px;
  }
  .hero-actions {
    gap: 10px 18px;
  }
  .hero-actions .button {
    font-size: 21px;
  }
  .hero-platforms {
    font-size: 16px;
    gap: 10px;
  }
  .hero-platforms span + span:before {
    margin-right: 10px;
  }
  .hero-stage {
    height: 420px;
    margin-top: 30px;
  }
  .stage-spark {
    width: 51px;
    height: 51px;
    right: -12px;
  }
  .stage-annotation {
    right: -6px;
    bottom: 73px;
    font-size: 16px;
  }
  .stage-bottom {
    left: 5px;
    right: 0;
    gap: 7px;
  }
  .stage-bottom > span {
    font-size: 13px;
  }
  .wave-button {
    padding-inline: 10px;
    font-size: 17px;
    gap: 6px;
  }
  .wave-button .icon {
    width: 17px;
  }
  .hero-footer {
    font-size: 16px;
  }
  .hero-footer > a {
    font-size: 13px;
  }
  .section-heading {
    gap: 30px;
  }
  .section-heading > p {
    font-size: 20px;
    max-width: 240px;
  }

  .project-card {
    padding: 13px 13px 19px;
  }
  .project-meta h3 {
    font-size: 24px;
  }
  .project-type {
    font-size: 15px;
  }
  .project-arrow {
    width: 36px;
    height: 36px;
  }
  .project-summary {
    font-size: 19px;
  }
  .project-index {
    font-size: 13px;
    left: 9px;
    top: 9px;
  }

  .paywall-window {
    transform: rotate(-5deg) scale(0.7);
  }
  .config-chip {
    font-size: 12px;
    padding: 5px 7px;
  }
  .media-window {
    width: 81%;
    padding: 9px;
  }
  .media-preview {
    height: 98px;
  }
  .media-preview > span:last-child {
    font-size: 21px;
  }
  .play-orbit {
    width: 40px;
    height: 40px;
    font-size: 25px;
  }
  .media-toolbar {
    font-size: 12px;
  }
  .download-row {
    font-size: 12px;
  }
  .archive-description > span {
    font-size: 18px;
  }
  .archive-category {
    display: none;
  }
  .about-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 30px;
  }
  .about-heading h2 {
    font-size: 42px;
  }
  .about-copy {
    padding: 23px;
  }
  .about-copy > p {
    font-size: 20px;
  }
  .about-copy > .about-lead {
    font-size: 23px;
  }
  .capabilities {
    gap: 17px;
  }
  .capabilities h3 {
    font-size: 21px;
  }
  .capabilities p {
    font-size: 18px;
  }
  .timeline-item {
    grid-template-columns: 1fr 1.7fr;
    gap: 20px 30px;
  }
  .timeline-item > p {
    grid-column: 2;
    font-size: 20px;
  }
  .timeline-when {
    grid-row: span 2;
  }
  .contact-panel {
    padding: 38px;
  }
  .contact-decoration {
    width: 75px;
    height: 75px;
  }
  .contact-actions {
    gap: 18px;
  }
  .contact-actions .button {
    font-size: 22px;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 110px;
  }
  .shell {
    width: calc(100% - 44px);
  }
  .site-header {
    top: 12px;
    margin-top: 14px;
    min-height: 76px;
    padding: 10px 16px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    font-size: 19px;
    background: none;
    padding: 8px 0;
  }
  .menu-toggle svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: var(--paper);
    border: 2px solid var(--ink);
    border-radius: var(--wobbly-md);
    box-shadow: var(--shadow);
    padding: 12px 15px;
    gap: 10px;
  }
  .site-header nav.open {
    display: flex;
    justify-content: space-between;
  }
  .site-header nav a {
    font-size: 18px;
  }
  .site-header nav a:last-child {
    padding: 7px 11px;
  }
  .site-header nav .icon {
    width: 15px;
    height: 15px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 57px;
    gap: 30px;
  }
  .margin-note {
    font-size: 15px;
    top: 22px;
    right: 0;
  }
  .hero .eyebrow {
    font-size: 13px;
    max-width: 350px;
    margin-bottom: 22px;
  }
  .hero h1 {
    font-size: clamp(48px, 8.7vw, 65px);
    line-height: 1.16;
  }
  .hero-description {
    font-size: 22px;
    max-width: 490px;
    margin-top: 28px;
  }
  .hero-actions {
    gap: 22px;
    margin-top: 26px;
  }
  .hero-actions .button {
    font-size: 23px;
    padding: 11px 20px;
  }
  .quiet-link {
    font-size: 21px;
  }
  .hero-platforms {
    font-size: 18px;
    gap: 16px;
    margin-top: 25px;
  }
  .hero-platforms span + span:before {
    margin-right: 16px;
  }
  .hero-stage {
    height: 475px;
    width: min(390px, calc(100% - 10px));
    margin: 15px auto 0;
  }
  .stage-note {
    font-size: 28px;
    left: 27px;
  }
  .stage-spark {
    width: 58px;
    height: 58px;
    right: -10px;
  }
  .stage-annotation {
    font-size: 18px;
    right: -10px;
    bottom: 73px;
  }
  .stage-bottom {
    left: 12px;
    right: 5px;
    gap: 10px;
  }
  .stage-bottom > span {
    font-size: 15px;
  }
  .wave-button {
    font-size: 20px;
    padding: 7px 15px;
    gap: 9px;
  }
  .hero-footer {
    margin-top: 8px;
    align-items: flex-start;
    padding-top: 19px;
    font-size: 16px;
    gap: 20px;
  }
  .hero-footer > span {
    max-width: 190px;
  }
  .hero-footer > a {
    font-size: 12px;
    white-space: nowrap;
    gap: 6px;
    min-height: 44px;
  }
  .work-section {
    padding-block: 70px 30px;
  }
  .section-heading {
    display: block;
    margin-bottom: 39px;
  }
  .section-heading h2 {
    font-size: 48px;
  }
  .section-heading > p {
    max-width: 370px;
    margin-top: 22px;
    font-size: 21px;
  }
  .eyebrow {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .project-card:nth-of-type(even) {
    --tilt: 0.45deg;
  }
  .project-index {
    font-size: 14px;
    padding: 2px 8px;
    left: 10px;
    top: 10px;
  }
  .project-type {
    font-size: 16px;
  }
  .project-meta {
    gap: 14px;
    margin-top: 19px;
  }
  .project-arrow {
    width: 40px;
    height: 40px;
  }
  .project-summary {
    font-size: 21px;
    margin-top: 14px;
  }
  .project-bottom {
    margin-top: 16px;
  }
  .tags > span {
    font-size: 17px;
  }
  .project-status {
    font-size: 16px;
  }
  .work-note {
    font-size: 17px;
    margin-top: 24px;
  }
  .paywall-window {
    transform: rotate(-5deg) scale(0.83);
  }
  .config-chip {
    font-size: 14px;
    padding: 6px 8px;
  }
  .media-window {
    width: 78%;
    padding: 12px;
  }
  .media-preview {
    height: 120px;
  }
  .media-preview > span:last-child {
    font-size: 25px;
  }
  .media-toolbar {
    font-size: 14px;
  }
  .play-orbit {
    width: 48px;
    height: 48px;
    font-size: 30px;
  }
  .download-row {
    font-size: 14px;
  }
  .archive-section {
    padding-block: 35px 65px;
  }
  .archive-heading {
    gap: 16px;
    align-items: start;
  }
  .archive-heading h2 {
    font-size: 36px;
  }
  .archive-heading > span {
    font-size: 16px;
    margin-top: 40px;
  }
  .archive-filters {
    gap: 8px;
    margin-bottom: 20px;
  }
  .archive-filters button {
    font-size: 18px;
    padding: 6px 11px;
  }
  .archive-item button {
    gap: 14px;
    padding: 22px 2px;
  }
  .archive-number {
    font-size: 17px;
    width: 22px;
  }
  .archive-description strong {
    font-size: 23px;
  }
  .archive-description > span {
    font-size: 19px;
    line-height: 1.45;
    margin-top: 6px;
  }
  .archive-item .icon {
    width: 18px;
    height: 18px;
  }
  .about-section {
    padding-block: 65px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .about-heading h2 {
    font-size: 49px;
  }
  .about-signature {
    font-size: 32px;
    margin-top: 26px;
  }
  .about-signature > span {
    font-size: 19px;
  }
  .about-copy {
    padding: 27px;
    rotate: 0.6deg;
  }
  .about-copy > p {
    font-size: 22px;
    line-height: 1.55;
  }
  .about-copy > .about-lead {
    font-size: 26px;
  }
  .capabilities {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 38px;
  }
  .capabilities article {
    padding: 25px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 11px 18px;
    rotate: -0.5deg;
  }
  .capability-icon {
    grid-row: 1/3;
    margin: 0;
  }
  .capabilities h3 {
    font-size: 25px;
    margin-top: 1px;
  }
  .capabilities p {
    font-size: 21px;
    margin: 0;
  }
  .journey-section {
    padding-block: 67px;
  }
  .journey-section .text-link {
    margin-top: 23px;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 28px 0;
  }
  .timeline-when {
    grid-row: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 17px;
  }
  .timeline-item > p {
    grid-column: 1;
    font-size: 21px;
  }
  .timeline-item h3 {
    font-size: 27px;
  }
  .company {
    font-size: 21px;
    margin-top: 5px;
  }
  .timeline-dot {
    top: 6px;
  }
  .contact-panel {
    display: block;
    padding: 34px 26px;
    rotate: -0.4deg;
  }
  .contact-panel .eyebrow {
    font-size: 13px;
  }
  .contact-panel h2 {
    font-size: clamp(34px, 7.7vw, 48px);
  }
  .contact-copy > p:not(.eyebrow) {
    font-size: 21px;
  }
  .contact-actions {
    gap: 18px;
    margin-top: 24px;
  }
  .contact-actions .button {
    font-size: 23px;
    padding: 10px 18px;
    gap: 17px;
  }
  .copy-email {
    font-size: 21px;
  }
  .contact-email {
    font-size: 20px;
    margin-top: 14px;
  }
  .contact-decoration {
    display: none;
  }
  .site-footer {
    padding: 38px 0 180px;
    gap: 24px;
    align-items: start;
  }
  .site-footer .wordmark {
    width: 100%;
  }
  .social-links {
    gap: 25px;
  }
  .social-links a {
    font-size: 20px;
  }
  .copyright {
    font-size: 17px;
    width: 100%;
  }
  .experience-controls {
    left: 10px;
    bottom: 10px;
    box-shadow: 2px 2px 0 var(--ink);
  }
  .experience-controls button {
    font-size: 15px;
    padding: 8px 10px;
    gap: 5px;
  }
  .experience-controls .icon {
    width: 13px;
    height: 13px;
  }
  .avatar-guide.docked {
    width: 78px;
    height: 112px;
    right: 3px;
    bottom: 66px;
  }
  .guide-dock {
    right: 10px;
    bottom: 10px;
    width: 104px;
  }
  .guide-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    min-height: 48px;
    padding: 8px 10px;
    box-shadow: 2px 2px 0 var(--ink);
  }
  .guide-message > #guide-chapter {
    font-size: 13px;
    margin: 0;
    color: var(--ink);
    line-height: 1.15;
  }
  .guide-message > #guide-line {
    display: none;
  }
  .guide-next-label {
    font-size: 0;
    margin: 0;
  }
  .guide-next-label .icon {
    width: 13px;
    height: 13px;
    color: var(--blue);
  }
  .toast {
    font-size: 19px;
    bottom: 110px;
  }
  dialog {
    padding: 25px;
    max-height: 82dvh;
  }
  dialog h2 {
    font-size: 34px;
  }
  .dialog-top {
    font-size: 16px;
  }
  .dialog-intro {
    font-size: 22px;
  }
  #dialog-content p,
  #dialog-content li {
    font-size: 20px;
  }
  dialog .button {
    font-size: 22px;
    gap: 13px;
    padding-inline: 17px;
  }
}
@media (max-width: 380px) {
  .shell {
    width: calc(100% - 36px);
  }
  .site-header {
    padding-inline: 12px;
  }
  .wordmark {
    font-size: 21px;
    gap: 9px;
  }
  .brand-caption {
    font-size: 12px;
  }
  .site-header nav {
    gap: 8px;
    padding: 10px;
  }
  .site-header nav a {
    font-size: 16px;
  }
  .site-header nav a:last-child {
    padding-inline: 8px;
  }
  .site-header nav .icon {
    display: none;
  }
  .hero h1 {
    font-size: 12.2vw;
  }
  .hero .eyebrow {
    font-size: 12px;
  }
  .hero-description {
    font-size: 21px;
  }
  .hero-actions {
    gap: 17px;
  }
  .hero-actions .button {
    font-size: 22px;
    padding-inline: 16px;
    gap: 15px;
  }
  .hero-platforms {
    font-size: 17px;
    gap: 11px;
  }
  .hero-platforms span + span:before {
    margin-right: 11px;
  }
  .hero-stage {
    height: 420px;
    width: calc(100% - 8px);
  }
  .stage-note {
    font-size: 25px;
    left: 25px;
  }
  .stage-annotation {
    font-size: 16px;
    right: -8px;
  }
  .stage-bottom > span {
    font-size: 13px;
  }
  .wave-button {
    font-size: 18px;
    padding-inline: 12px;
  }
  .hero-footer {
    font-size: 15px;
    gap: 12px;
  }
  .hero-footer > a {
    font-size: 11px;
  }
  .section-heading h2 {
    font-size: 43px;
  }
  .project-card {
    padding: 12px 12px 18px;
  }
  .project-index {
    font-size: 12px;
    left: 7px;
    top: 8px;
  }
  .project-type {
    font-size: 15px;
  }
  .project-arrow {
    width: 34px;
    height: 34px;
  }
  .project-summary {
    font-size: 20px;
  }
  .paywall-window {
    transform: rotate(-5deg) scale(0.66);
  }
  .config-chip {
    font-size: 12px;
    padding: 5px 7px;
  }
  .media-window {
    width: 80%;
    padding: 9px;
  }
  .media-preview {
    height: 94px;
  }
  .media-preview > span:last-child {
    font-size: 21px;
  }
  .media-toolbar {
    font-size: 12px;
  }
  .download-row {
    font-size: 12px;
    gap: 7px;
  }
  .play-orbit {
    width: 39px;
    height: 39px;
    font-size: 25px;
  }
  .archive-heading h2 {
    font-size: 32px;
  }
  .archive-heading .eyebrow {
    font-size: 13px;
  }
  .archive-heading > span {
    font-size: 15px;
  }
  .about-heading h2 {
    font-size: 43px;
  }
  .about-copy {
    padding: 23px;
  }
  .capabilities article {
    padding: 22px 18px;
    gap: 10px 14px;
  }
  .capabilities h3 {
    font-size: 22px;
  }
  .contact-panel {
    padding: 31px 22px;
  }
  .contact-panel h2 {
    font-size: 33px;
  }
  .contact-panel .eyebrow {
    font-size: 12px;
  }
  .contact-actions .button {
    font-size: 22px;
    padding-inline: 14px;
    gap: 12px;
  }
  .contact-email {
    font-size: 19px;
  }
  .experience-controls button {
    font-size: 14px;
    padding-inline: 8px;
  }
  .guide-dock {
    width: 93px;
  }
  .guide-message {
    padding-inline: 8px;
  }
  .guide-message > #guide-chapter {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .reading-progress {
    display: none;
  }
}
html.motion-paused {
  scroll-behavior: auto;
}
.motion-paused *,
.motion-paused *:before,
.motion-paused *:after {
  animation: none !important;
  transition: none !important;
}
.motion-paused [data-watch],
.motion-paused [data-parallax] {
  transform: none !important;
  opacity: 1 !important;
}
.motion-paused .project-overlay {
  display: none !important;
}
@media print {
  body {
    background: white;
    color: var(--ink);
    font-size: 14pt;
  }
  .site-header,
  .hero-stage,
  .margin-note,
  .project-art,
  .project-card:before,
  .project-card:after,
  .paper-tape,
  .archive-filters,
  .experience-controls,
  .avatar-guide,
  .guide-dock,
  .reading-progress,
  .contact-actions,
  .contact-decoration,
  .timeline-trace,
  .title-scribble,
  .shell {
    width: 100%;
  }
  .hero,
  .about-grid,
  .capabilities,
  .timeline-item {
    display: block;
  }
  .hero {
    padding: 0;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-footer,
  .hero-platforms {
    display: none;
  }
  .section-heading h2,
  .about-heading h2,
  .contact-panel h2 {
    font-size: 30px;
  }
  .work-section,
  .archive-section,
  .about-section,
  .journey-section,
  .contact-panel {
    padding: 25px 0;
    background: white;
    border: 0;
    box-shadow: none;
  }
  .project-card,
  .timeline-item {
    break-inside: avoid;
    margin-bottom: 18px;
  }
  .project-card,
  .about-copy,
  .capabilities article {
    border: 0;
    box-shadow: none;
    rotate: none;
  }
  .capabilities article {
    padding: 12px 0;
    background: white;
  }
  .contact-panel {
    display: block;
  }
  .site-footer {
    padding-bottom: 0;
  }
  * {
    animation: none !important;
    transform: none !important;
    rotate: none !important;
    opacity: 1 !important;
  }
}
