:root {
  --black: #080808;
  --black-soft: #111111;
  --white: #f6f5ef;
  --grey: #a6a6a0;
  --grey-dark: #555650;
  --line-dark: rgba(255, 255, 255, 0.19);
  --line-light: rgba(8, 8, 8, 0.2);
  --lime: #cbff3b;
  --violet: #8d7dff;
  --orange: #ff7c55;
  --blue: #5a9dff;
  --sans: "Manrope", sans-serif;
  --mono: "DM Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background: var(--black);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.035;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

img {
  display: block;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  color: var(--black);
  background: var(--lime);
  transform: translateY(-110%);
}

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

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  min-height: 96px;
  padding: 0 3.5vw;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-dark);
}

.wordmark {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.wordmark img {
  border-radius: 50%;
}

.site-nav {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.6rem);
  align-items: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-nav > a:not(.nav-cta) {
  color: var(--grey);
  transition: color 180ms ease;
}

.site-nav > a:not(.nav-cta):hover {
  color: var(--white);
}

.nav-cta,
.pill-link {
  display: inline-flex;
  gap: 1rem;
  min-height: 46px;
  padding: 0.75rem 1.2rem;
  align-items: center;
  justify-content: center;
  color: var(--black);
  background: var(--white);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.nav-cta:hover,
.pill-link:hover {
  background: var(--lime);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
  grid-template-rows: auto 1fr auto;
  gap: 2rem 5vw;
  min-height: calc(100svh - 96px);
  padding: 2.3rem 3.5vw 3.5vw;
  overflow: hidden;
}

.hero-meta {
  display: flex;
  grid-column: 1 / -1;
  gap: 2rem;
  align-items: center;
  color: var(--grey);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-meta span:first-child {
  color: var(--lime);
}

.hero h1 {
  position: relative;
  z-index: 2;
  display: flex;
  grid-column: 1 / -1;
  margin: auto 0;
  flex-direction: column;
  font-size: clamp(5rem, 12.3vw, 13.3rem);
  font-weight: 600;
  line-height: 0.72;
  letter-spacing: -0.09em;
}

.hero h1 span:last-child {
  align-self: flex-end;
  padding-right: 2vw;
}

.hero h1 span:first-child {
  word-spacing: 0.22em;
}

.hero-lower {
  position: relative;
  z-index: 3;
  display: grid;
  grid-column: 1;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  align-self: end;
}

.hero-intro {
  max-width: 34rem;
  margin: 0 0 0.5rem;
  color: var(--grey);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.55;
}

.round-link {
  display: flex;
  width: 112px;
  aspect-ratio: 1;
  padding: 1.2rem;
  align-items: center;
  justify-content: space-between;
  color: var(--black);
  background: var(--lime);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.59rem;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 250ms ease;
}

.round-link:hover {
  transform: rotate(-8deg) scale(1.04);
}

.round-link b {
  align-self: flex-end;
  font-size: 1.2rem;
}

.hero-canvas {
  position: absolute;
  right: 4.2vw;
  bottom: 2.2vw;
  z-index: 1;
  width: min(37vw, 650px);
  height: min(57vh, 620px);
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.52), transparent 17%),
    linear-gradient(145deg, #ffb44d 0%, var(--orange) 35%, #b767e3 68%, var(--violet) 100%);
  border-radius: 4rem;
}

.hero-canvas::after {
  position: absolute;
  inset: 0;
  content: "";
  background: repeating-linear-gradient(
    105deg,
    transparent 0,
    transparent 30px,
    rgba(255, 255, 255, 0.07) 31px,
    transparent 32px
  );
}

.canvas-label {
  position: relative;
  z-index: 4;
  display: flex;
  padding: 1.3rem 1.5rem;
  justify-content: space-between;
  color: rgba(0, 0, 0, 0.68);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.device {
  position: absolute;
  z-index: 2;
  width: 38%;
  height: 70%;
  padding: 1.2rem;
  overflow: hidden;
  background: #efefeb;
  border: 6px solid #111;
  border-radius: 2.7rem;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
}

.device-back {
  top: 20%;
  left: 17%;
  transform: rotate(-10deg);
}

.device-front {
  right: 15%;
  bottom: -5%;
  color: white;
  background: #111;
  transform: rotate(8deg);
}

.device-island {
  width: 34%;
  height: 14px;
  margin: 0 auto 2rem;
  background: #050505;
  border-radius: 999px;
}

.device-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.device-grid i {
  aspect-ratio: 1;
  background: linear-gradient(145deg, #111, #777);
  border-radius: 24%;
}

.device-grid i:nth-child(2),
.device-grid i:nth-child(5) {
  background: var(--lime);
}

.device-grid i:nth-child(3) {
  background: var(--violet);
}

.device-grid i:nth-child(4) {
  background: var(--orange);
}

.device-signal {
  display: flex;
  height: calc(100% - 2rem);
  flex-direction: column;
  justify-content: space-between;
}

.device-signal > span {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.65rem;
}

.device-signal strong {
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.09em;
}

.device-signal small {
  color: #aaa;
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.float-chip {
  position: absolute;
  z-index: 5;
  padding: 0.65rem 0.9rem;
  color: var(--black);
  background: var(--white);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
}

.chip-one {
  top: 21%;
  right: 5%;
  transform: rotate(8deg);
}

.chip-two {
  bottom: 15%;
  left: 3%;
  background: var(--lime);
  transform: rotate(-8deg);
}

.chip-three {
  right: 2%;
  bottom: 34%;
  transform: rotate(90deg);
}

.marquee {
  overflow: hidden;
  color: var(--black);
  background: var(--lime);
  border-block: 1px solid var(--black);
}

.marquee > div {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 24s linear infinite;
}

.marquee span {
  padding: 1.1rem 2rem;
  font-size: clamp(1.4rem, 2.7vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.marquee i {
  font-style: normal;
  font-size: 1rem;
}

.section-shell {
  padding: clamp(5rem, 9vw, 10rem) 3.5vw;
}

.surface-light {
  color: var(--black);
  background: var(--white);
  border-radius: 4.5rem 4.5rem 0 0;
}

.section-index {
  display: flex;
  padding-bottom: 1.2rem;
  align-items: center;
  justify-content: space-between;
  color: var(--grey);
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.surface-light .section-index {
  color: var(--grey-dark);
  border-color: var(--line-light);
}

.studio-statement {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(260px, 0.7fr);
  gap: 9vw;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.studio-statement > p {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(3.2rem, 7.4vw, 8rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.studio-note {
  align-self: end;
}

.studio-note > span {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-note p {
  margin: 1.2rem 0 0;
  color: var(--grey-dark);
  font-size: 0.96rem;
  line-height: 1.7;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.principle {
  display: flex;
  min-height: 390px;
  padding: 1.6rem;
  flex-direction: column;
  justify-content: space-between;
  background: #e8e7e1;
  border-radius: 2.2rem;
  transition: transform 250ms ease;
}

.principle:hover,
.case-card:hover,
.project-card[href]:hover {
  transform: translateY(-6px);
}

.principle-gradient {
  background: linear-gradient(145deg, var(--violet), #6da5ff 55%, var(--lime));
}

.principle > span {
  font-family: var(--mono);
  font-size: 0.62rem;
}

.principle h2 {
  max-width: 12ch;
  margin: auto 0 1rem;
  font-size: clamp(2rem, 3.3vw, 3.8rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.principle p {
  max-width: 21rem;
  margin: 0;
  color: rgba(8, 8, 8, 0.62);
  font-size: 0.85rem;
  line-height: 1.5;
}

.work {
  padding-top: clamp(6rem, 10vw, 11rem);
}

.work-heading {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 8vw;
  padding: clamp(4rem, 7vw, 7rem) 0;
  align-items: end;
}

.work-heading h2,
.notice-panel h2,
.closing h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(4rem, 9vw, 10rem);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.085em;
}

.work-heading p {
  max-width: 28rem;
  margin: 0;
  color: var(--grey);
  line-height: 1.7;
}

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

.case-card {
  display: flex;
  min-height: 640px;
  padding: 1.4rem;
  flex-direction: column;
  color: var(--black);
  overflow: hidden;
  border-radius: 2.8rem;
  transition: transform 250ms ease;
}

.case-card header,
.case-card footer,
.notice-panel-top,
.closing-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-card footer {
  margin-top: auto;
  align-items: end;
}

.case-card footer h3 {
  max-width: 15ch;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1.7rem, 2.7vw, 3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
  text-transform: none;
}

.case-violet {
  background: linear-gradient(140deg, #c8bcff, var(--violet) 48%, #6e54ef);
}

.case-orange {
  background: linear-gradient(145deg, #ffc79c, var(--orange));
}

.case-silver {
  background: linear-gradient(145deg, #f0efea, #a8aaa7);
}

.case-blue {
  background: linear-gradient(140deg, #abd5ff, var(--blue) 48%, #3b68ff);
}

.case-stage {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
}

.case-stage-center {
  min-height: 470px;
}

.mini-phone {
  position: relative;
  z-index: 2;
  display: flex;
  width: 200px;
  height: 390px;
  padding: 1.2rem;
  flex-direction: column;
  color: white;
  background: #101010;
  border: 5px solid #2a2a2a;
  border-radius: 2.8rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  transform: rotate(-8deg);
}

.mini-phone > span {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.mini-phone strong {
  margin: auto;
  font-size: 3.5rem;
  font-weight: 500;
  letter-spacing: -0.07em;
}

.mini-phone i {
  width: 100%;
  height: 48px;
  background: var(--lime);
  border-radius: 999px;
}

.stage-orbit {
  position: absolute;
  width: 360px;
  aspect-ratio: 1;
  border: 1px solid rgba(8, 8, 8, 0.3);
  border-radius: 50%;
}

.stage-orbit::before,
.stage-orbit::after {
  position: absolute;
  content: "";
  border: inherit;
  border-radius: inherit;
}

.stage-orbit::before {
  inset: 13%;
}

.stage-orbit::after {
  inset: 27%;
}

.app-symbol {
  display: grid;
  width: min(19vw, 250px);
  aspect-ratio: 1;
  place-items: center;
  background: var(--black);
  border-radius: 28%;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.symbol-bars {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: center;
  transform: rotate(7deg);
}

.symbol-bars i {
  width: 16%;
  background: var(--white);
  border-radius: 999px;
}

.symbol-bars i:nth-child(1) {
  height: 32%;
}

.symbol-bars i:nth-child(2) {
  height: 62%;
  background: var(--lime);
}

.symbol-bars i:nth-child(3) {
  height: 44%;
}

.symbol-ring {
  color: var(--white);
  background: transparent;
  border: 2px solid var(--black);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 28px rgba(255, 255, 255, 0.35),
    0 30px 60px rgba(0, 0, 0, 0.18);
  font-size: 3rem;
  font-weight: 600;
}

.portfolio-count {
  display: flex;
  min-height: 470px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.portfolio-count strong {
  font-size: clamp(8rem, 16vw, 17rem);
  font-weight: 500;
  line-height: 0.7;
  letter-spacing: -0.1em;
}

.portfolio-count span {
  margin-top: 2.2rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 1rem;
}

.project-card {
  position: relative;
  display: flex;
  min-height: 600px;
  padding: 1.5rem;
  flex-direction: column;
  color: var(--black);
  overflow: hidden;
  border-radius: 2.5rem;
  isolation: isolate;
  transition:
    transform 250ms ease,
    box-shadow 250ms ease;
}

.project-card[href]:hover {
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.project-card[href]:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

.project-card::after {
  position: absolute;
  right: -0.06em;
  bottom: -0.2em;
  z-index: -1;
  color: rgba(8, 8, 8, 0.08);
  content: attr(data-code);
  font-size: clamp(8rem, 14vw, 15rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.11em;
}

.project-card-wide {
  grid-column: span 2;
}

.project-card-top,
.project-card-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card-bottom {
  margin-top: auto;
}

.project-copy {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 0 2rem;
}

.project-copy h3 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.8rem);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: -0.075em;
}

.project-copy p {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  color: rgba(8, 8, 8, 0.68);
  font-size: 0.92rem;
  line-height: 1.65;
}

.project-art {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 250px;
  margin: 1.2rem 0;
  place-items: center;
}

.project-art img {
  display: block;
  width: min(62%, 230px);
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 24%;
  box-shadow:
    0 30px 55px rgba(8, 8, 8, 0.2),
    0 4px 12px rgba(8, 8, 8, 0.16);
}

.project-card-wide .project-art {
  position: absolute;
  top: 50%;
  right: clamp(2rem, 5vw, 5rem);
  width: 38%;
  min-height: 0;
  margin: 0;
  transform: translateY(-50%);
}

.project-card-wide .project-art img {
  width: min(100%, 300px);
}

.project-card-wide .project-copy {
  z-index: 2;
  max-width: 52%;
  margin: auto 0;
}

.project-bindery {
  background: linear-gradient(145deg, #eadfc8, #cfa46d);
}

.project-evenawl {
  background: linear-gradient(145deg, #ffc4ab, #ff795b);
}

.project-caliber {
  background: linear-gradient(145deg, #edf0eb, #9ca7a1);
}

.project-city {
  background: linear-gradient(145deg, #c6d7ff, #6f91ff);
}

.project-prosody {
  background: linear-gradient(145deg, #ead6ff, #ba82f4);
}

.project-tiller {
  background: linear-gradient(145deg, #e3bd8d, #a96b3c);
}

.project-traffic {
  background: linear-gradient(145deg, #e8ff9f, var(--lime));
}

.project-pace {
  background: linear-gradient(145deg, #c8f0e5, #72cbb7);
}

.project-doubles {
  color: var(--white);
  background: linear-gradient(145deg, #3e6be8, #1d2b65);
}

.project-doubles::after {
  color: rgba(255, 255, 255, 0.1);
}

.project-doubles .project-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.project-temari {
  background: linear-gradient(145deg, #f5e2d7, #ed9eb7 48%, #72d9d3);
}

.project-facetpilot {
  background: linear-gradient(145deg, #e5dcff, #a78bfa 45%, #61dda8);
}

.project-card-full {
  grid-column: 1 / -1;
}

.notices-callout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
  gap: 1rem;
}

.notice-panel {
  min-height: 640px;
  padding: clamp(2rem, 4vw, 4rem);
  color: var(--black);
  background: var(--white);
  border-radius: 3rem;
}

.notice-panel h2 {
  margin-top: clamp(6rem, 12vw, 12rem);
}

.notice-panel > p {
  max-width: 32rem;
  margin: 2rem 0;
  color: var(--grey-dark);
  line-height: 1.7;
}

.notice-panel .pill-link {
  color: var(--white);
  background: var(--black);
}

.notice-panel .pill-link:hover {
  color: var(--black);
  background: var(--lime);
}

.notice-orb {
  display: flex;
  min-height: 640px;
  padding: 2rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--black);
  background:
    radial-gradient(circle at 35% 25%, #fff 0, transparent 13%),
    linear-gradient(145deg, var(--lime), #4be6c5 48%, var(--blue));
  border-radius: 999px;
}

.notice-orb > span {
  font-size: clamp(6rem, 13vw, 13rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.1em;
}

.notice-orb small {
  margin-top: 2rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.closing {
  min-height: 85vh;
  padding-top: clamp(8rem, 14vw, 16rem);
}

.closing-kicker {
  padding-bottom: 1.2rem;
  color: var(--grey);
  border-bottom: 1px solid var(--line-dark);
}

.closing h2 {
  max-width: 11ch;
  margin-top: 4rem;
  font-size: clamp(4.5rem, 10.6vw, 11.5rem);
}

.closing-actions {
  display: flex;
  gap: 2rem;
  margin-top: 4rem;
  align-items: center;
}

.closing-actions > a:not(.pill-link) {
  color: var(--grey);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill-light {
  color: var(--black);
  background: var(--white);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  padding: 2rem 3.5vw;
  align-items: center;
  border-top: 1px solid var(--line-dark);
}

.footer-links {
  display: flex;
  gap: 1.4rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer > p {
  justify-self: end;
  color: var(--grey);
  font-family: var(--mono);
  font-size: 0.56rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 750ms ease,
    transform 750ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.case-grid .reveal:nth-child(2),
.principles .reveal:nth-child(2) {
  transition-delay: 90ms;
}

.case-grid .reveal:nth-child(3),
.principles .reveal:nth-child(3) {
  transition-delay: 180ms;
}

/* Interior pages */
.interior {
  min-height: 100vh;
  background:
    radial-gradient(circle at 84% 6%, rgba(141, 125, 255, 0.23), transparent 30rem),
    var(--black);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 2.3fr);
  gap: 6vw;
  min-height: 72vh;
  padding: clamp(6rem, 11vw, 12rem) 3.5vw 4rem;
  align-items: end;
  border-bottom: 1px solid var(--line-dark);
}

.eyebrow {
  display: flex;
  gap: 1rem;
  align-self: start;
  color: var(--grey);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2rem;
  height: 1px;
  margin-top: 0.4rem;
  content: "";
  background: var(--lime);
}

.eyebrow span {
  color: var(--white);
}

.page-hero h1 {
  max-width: 10ch;
  font-size: clamp(4.5rem, 10vw, 10.5rem);
}

.page-hero h1 em {
  color: var(--lime);
  font-style: normal;
}

.page-intro {
  max-width: 43rem;
  margin: 2.2rem 0 0;
  color: var(--grey);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.7;
}

.directory {
  padding: 0 3.5vw clamp(7rem, 11vw, 12rem);
}

.directory-card {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 2rem;
  padding: 2.2rem 0;
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  transition:
    padding 200ms ease,
    color 200ms ease;
}

.directory-card:hover {
  padding-inline: 1rem;
  color: var(--lime);
}

.directory-card > span:first-child {
  color: var(--grey);
  font-family: var(--mono);
  font-size: 0.6rem;
}

.directory-card h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.07em;
}

.directory-card p {
  margin: 0.5rem 0 0;
  color: var(--grey);
}

.directory-arrow {
  font-size: 1.8rem;
}

.empty-state {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5vw;
  margin-top: 5rem;
  padding: clamp(2rem, 5vw, 5rem);
  color: var(--black);
  background: linear-gradient(145deg, var(--violet), var(--blue) 58%, var(--lime));
  border-radius: 3rem;
}

.empty-state > span {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.empty-state h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.8rem, 5.8vw, 6rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) minmax(0, 2.3fr);
  gap: 7vw;
  margin: 3.5vw;
  padding: clamp(3rem, 7vw, 7rem);
  color: var(--black);
  background: var(--white);
  border-radius: 3.5rem;
}

.legal-aside {
  position: sticky;
  top: 2rem;
  align-self: start;
  font-family: var(--mono);
  font-size: 0.58rem;
  line-height: 1.9;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.legal-aside span {
  display: block;
  color: var(--grey-dark);
}

.legal-copy {
  max-width: 800px;
}

.legal-copy section + section {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--line-light);
}

.legal-copy h2 {
  margin: 0 0 1.3rem;
  font-size: clamp(2.3rem, 4.6vw, 4.8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.07em;
}

.legal-copy p,
.legal-copy li {
  color: var(--grey-dark);
  font-size: 1rem;
  line-height: 1.85;
}

.legal-copy li + li {
  margin-top: 0.6rem;
}

.legal-callout {
  padding: 1.6rem;
  color: var(--black) !important;
  background: var(--lime);
  border-radius: 1.2rem;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: clamp(4rem, 8vw, 8rem) 3.5vw;
}

.support-card {
  display: flex;
  min-height: 450px;
  padding: 1.7rem;
  flex-direction: column;
  justify-content: space-between;
  color: var(--black);
  background: var(--white);
  border-radius: 2.7rem;
}

.support-card:nth-child(2) {
  background: linear-gradient(145deg, var(--violet), var(--blue));
}

.support-card:nth-child(3) {
  background: linear-gradient(145deg, var(--lime), #62e8bb);
}

.support-card > span {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-card h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.support-card p {
  margin: 1.2rem 0 0;
  color: #080808;
  line-height: 1.7;
}

.support-card-link {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.support-card-link:hover {
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
  transform: translateY(-6px);
}

.support-card-link strong {
  display: block;
  margin-top: 1rem;
  color: var(--black);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-directory-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* App detail pages */
.app-page {
  background:
    radial-gradient(circle at 84% 5%, rgba(76, 234, 179, 0.2), transparent 30rem),
    radial-gradient(circle at 10% 52%, rgba(90, 157, 255, 0.13), transparent 28rem),
    var(--black);
}

.evenawl-page {
  background:
    radial-gradient(circle at 84% 5%, rgba(255, 124, 85, 0.2), transparent 30rem),
    radial-gradient(circle at 10% 52%, rgba(203, 255, 59, 0.1), transparent 28rem),
    var(--black);
}

.bindery-page {
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Monaco, Consolas,
    "Liberation Mono", monospace;
  background:
    radial-gradient(circle at 84% 5%, rgba(205, 166, 110, 0.2), transparent 30rem),
    radial-gradient(circle at 10% 52%, rgba(108, 173, 145, 0.12), transparent 28rem),
    var(--black);
}

.city-ink-page {
  background:
    radial-gradient(circle at 84% 5%, rgba(255, 89, 57, 0.22), transparent 30rem),
    radial-gradient(circle at 10% 52%, rgba(84, 180, 169, 0.15), transparent 28rem),
    var(--black);
}

.prosody-page {
  background:
    radial-gradient(circle at 84% 5%, rgba(177, 112, 255, 0.2), transparent 30rem),
    radial-gradient(circle at 10% 52%, rgba(255, 177, 103, 0.13), transparent 28rem),
    var(--black);
}

.temari-page {
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Monaco, Consolas,
    "Liberation Mono", monospace;
  background:
    radial-gradient(circle at 84% 5%, rgba(235, 105, 139, 0.2), transparent 30rem),
    radial-gradient(circle at 10% 52%, rgba(103, 213, 207, 0.14), transparent 28rem),
    var(--black);
}

.facetpilot-page {
  background:
    radial-gradient(circle at 84% 5%, rgba(167, 139, 250, 0.22), transparent 30rem),
    radial-gradient(circle at 10% 52%, rgba(97, 221, 168, 0.14), transparent 28rem),
    var(--black);
}

.facetpilot-page .temari-scene {
  background:
    radial-gradient(circle at 22% 18%, rgba(167, 139, 250, 0.26), transparent 17rem),
    radial-gradient(circle at 80% 78%, rgba(97, 221, 168, 0.2), transparent 18rem),
    linear-gradient(145deg, #241638, #151025 62%, #0b0814);
}

.facetpilot-page .temari-audit-bar i {
  background: linear-gradient(90deg, #a78bfa, #ffc857 52%, #61dda8);
}

.facetpilot-page .scene-label {
  color: #130d1d;
  background: #61dda8;
}

.page-pinch-page {
  background:
    radial-gradient(circle at 84% 5%, rgba(47, 207, 196, 0.2), transparent 30rem),
    radial-gradient(circle at 8% 54%, rgba(37, 99, 235, 0.16), transparent 30rem),
    var(--black);
}

.app-page-hero h1 {
  max-width: 11ch;
}

.app-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
  gap: 1rem;
  padding: clamp(4rem, 8vw, 8rem) 3.5vw 1rem;
}

.mettlekin-scene {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 650px;
  margin: 0;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(72, 110, 255, 0.32), transparent 19rem),
    radial-gradient(circle at 22% 80%, rgba(126, 60, 255, 0.2), transparent 18rem),
    linear-gradient(145deg, #080f2d, #070b1e 62%, #03050e);
  border-radius: 3rem;
  isolation: isolate;
}

.mettlekin-scene::before {
  position: absolute;
  width: min(84%, 520px);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(112, 166, 255, 0.3);
  border-radius: 50%;
  box-shadow:
    0 0 0 24px rgba(42, 82, 184, 0.08),
    0 0 90px rgba(55, 112, 255, 0.2);
}

.mettlekin-scene img {
  position: relative;
  z-index: 2;
  display: block;
  width: min(76%, 470px);
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24%;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.58);
}

.mettlekin-scene figcaption {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  left: 1.4rem;
  z-index: 3;
  padding: 0.9rem 1rem;
  color: #dfeaff;
  background: rgba(6, 11, 31, 0.82);
  border: 1px solid rgba(112, 166, 255, 0.24);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}

.traffic-scene,
.map-scene,
.stitch-scene,
.mettlekin-scene,
.app-overview-copy {
  min-height: 650px;
  border-radius: 3rem;
}

.page-pinch-scene {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 650px;
  margin: 0;
  overflow: hidden;
  place-items: center;
  background:
    linear-gradient(90deg, transparent 49.75%, rgba(255, 255, 255, 0.08) 50%, transparent 50.25%),
    linear-gradient(transparent 49.75%, rgba(255, 255, 255, 0.08) 50%, transparent 50.25%),
    radial-gradient(circle at 28% 22%, rgba(47, 207, 196, 0.34), transparent 18rem),
    linear-gradient(145deg, #101e35, #07111f 60%, #03070e);
  background-size: 52px 52px, 52px 52px, auto, auto;
  border-radius: 3rem;
  isolation: isolate;
}

.page-pinch-scene::before,
.page-pinch-scene::after {
  position: absolute;
  width: min(54%, 330px);
  aspect-ratio: 1;
  content: "";
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24%;
}

.page-pinch-scene::before {
  transform: translate(-14%, 8%) rotate(-9deg);
}

.page-pinch-scene::after {
  transform: translate(14%, -8%) rotate(8deg);
}

.page-pinch-scene img {
  position: relative;
  z-index: 2;
  display: block;
  width: min(54%, 330px);
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 24%;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
}

.page-pinch-scene figcaption {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  left: 1.4rem;
  z-index: 3;
  padding: 0.9rem 1rem;
  color: #05201f;
  background: #64e0d8;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}

.page-pinch-page .app-overview-copy {
  min-width: 0;
}

.page-pinch-page .app-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-pinch-page .app-facts strong,
.page-pinch-page .app-facts span {
  overflow-wrap: anywhere;
}

.temari-scene {
  position: relative;
  display: grid;
  min-height: 650px;
  margin: 0;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 22% 18%, rgba(235, 105, 139, 0.24), transparent 17rem),
    radial-gradient(circle at 80% 78%, rgba(103, 213, 207, 0.2), transparent 18rem),
    linear-gradient(145deg, #2d183c, #151126 62%, #0c0a16);
  border-radius: 3rem;
  isolation: isolate;
}

.temari-scene::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 18% 74%, rgba(255, 202, 73, 0.16) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 24%, rgba(255, 247, 224, 0.12) 0 1px, transparent 2px);
  background-size: 47px 47px, 31px 31px;
}

.temari-scene-icon {
  position: relative;
  z-index: 3;
  display: block;
  width: min(54%, 330px);
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 24%;
  box-shadow:
    0 42px 80px rgba(0, 0, 0, 0.44),
    0 5px 18px rgba(0, 0, 0, 0.3);
  transform: translateY(-7%);
}

.temari-orbit {
  position: absolute;
  z-index: 1;
  width: min(76%, 520px);
  aspect-ratio: 1.75;
  border: 2px solid rgba(255, 247, 224, 0.24);
  border-radius: 50%;
}

.orbit-one {
  transform: rotate(24deg);
}

.orbit-two {
  border-color: rgba(103, 213, 207, 0.25);
  transform: rotate(-34deg);
}

.temari-audit-card {
  position: absolute;
  right: clamp(1.4rem, 5vw, 4rem);
  bottom: 5.7rem;
  z-index: 4;
  min-width: min(48%, 260px);
  padding: 1.1rem;
  color: #181125;
  background: rgba(255, 248, 232, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 1.2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.temari-audit-card div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.temari-audit-card span,
.temari-audit-card p {
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.temari-audit-card strong {
  color: #23564f;
  font-size: 0.68rem;
}

.temari-audit-bar {
  height: 5px;
  margin: 0.8rem 0;
  overflow: hidden;
  background: rgba(24, 17, 37, 0.12);
  border-radius: 999px;
}

.temari-audit-bar i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ed6d8d, #ffca49 52%, #67d5cf);
}

.temari-audit-card p {
  margin: 0;
  color: rgba(24, 17, 37, 0.67);
}

.temari-page .scene-label {
  color: #181125;
  background: #67d5cf;
}

.temari-boundary {
  margin-top: 1rem;
}

.map-scene {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 49.4%, rgba(20, 43, 57, 0.14) 49.4% 50.6%, transparent 50.6%),
    linear-gradient(transparent 49.4%, rgba(20, 43, 57, 0.14) 49.4% 50.6%, transparent 50.6%),
    repeating-linear-gradient(24deg, rgba(20, 43, 57, 0.035) 0 1px, transparent 1px 17px),
    #e8ddc5;
  background-size: 118px 118px, 118px 118px, auto, auto;
  isolation: isolate;
}

.map-scene::before,
.map-scene::after {
  position: absolute;
  z-index: 1;
  content: "";
  background: #f3ead7;
  border: 1px solid rgba(20, 43, 57, 0.14);
  border-radius: 1.2rem;
  box-shadow: 0 16px 34px rgba(50, 41, 29, 0.12);
  transform: rotate(-5deg);
}

.map-scene::before {
  top: 9%;
  left: 9%;
  width: 26%;
  height: 18%;
}

.map-scene::after {
  right: 8%;
  bottom: 13%;
  width: 30%;
  height: 21%;
  transform: rotate(7deg);
}

.map-block {
  position: absolute;
  z-index: 1;
  background: rgba(247, 240, 222, 0.82);
  border: 1px solid rgba(20, 43, 57, 0.12);
  border-radius: 1rem;
}

.map-block-a {
  top: 35%;
  left: 7%;
  width: 25%;
  height: 17%;
  transform: rotate(3deg);
}

.map-block-b {
  top: 12%;
  right: 10%;
  width: 31%;
  height: 23%;
  transform: rotate(-4deg);
}

.map-block-c {
  right: 12%;
  bottom: 39%;
  width: 22%;
  height: 16%;
  transform: rotate(5deg);
}

.map-block-d {
  bottom: 9%;
  left: 8%;
  width: 27%;
  height: 22%;
  transform: rotate(-6deg);
}

.map-route {
  position: absolute;
  inset: 4%;
  z-index: 3;
  width: 92%;
  height: 92%;
  overflow: visible;
  filter: drop-shadow(0 6px 9px rgba(135, 39, 24, 0.24));
}

.map-route path {
  fill: none;
  stroke: #ef553c;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 17;
}

.map-pulse {
  position: absolute;
  top: 15.8%;
  right: 9.4%;
  z-index: 4;
  width: 25px;
  aspect-ratio: 1;
  background: #163849;
  border: 6px solid #f3ead7;
  border-radius: 50%;
  box-shadow:
    0 0 0 9px rgba(22, 56, 73, 0.17),
    0 7px 16px rgba(20, 43, 57, 0.3);
}

.map-score {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 5;
  min-width: 9.5rem;
  padding: 1rem 1.15rem;
  color: #f7f0de;
  background: #163849;
  border-radius: 1.2rem;
  box-shadow: 0 20px 35px rgba(20, 43, 57, 0.22);
}

.map-score span,
.map-score strong {
  display: block;
}

.map-score span {
  color: #9fd9ce;
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-score strong {
  margin-top: 0.35rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.city-ink-page .scene-label {
  color: #f7f0de;
  background: #ef553c;
}

.traffic-scene {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(76, 234, 179, 0.2) 0 7%, transparent 7.5%),
    radial-gradient(circle at 78% 78%, rgba(90, 157, 255, 0.14) 0 11%, transparent 11.5%),
    linear-gradient(145deg, #0b2c28, #09201e 56%, #071b1a);
  isolation: isolate;
}

.traffic-scene::before {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 16% 78%, rgba(203, 255, 59, 0.1) 0 3px, transparent 4px),
    radial-gradient(circle at 86% 23%, rgba(203, 255, 59, 0.13) 0 2px, transparent 3px);
  background-size: 72px 72px, 54px 54px;
  mix-blend-mode: screen;
}

.traffic-road {
  position: absolute;
  z-index: 1;
  background: #20252f;
  box-shadow:
    inset 1px 0 rgba(255, 255, 255, 0.04),
    inset -1px 0 rgba(255, 255, 255, 0.04);
}

.traffic-road::after {
  position: absolute;
  content: "";
  opacity: 0.48;
}

.traffic-road-vertical {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 31%;
  transform: translateX(-50%);
}

.traffic-road-vertical::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(246, 245, 239, 0.9) 0 22px,
    transparent 22px 42px
  );
  transform: translateX(-50%);
}

.traffic-road-horizontal {
  top: 50%;
  right: 0;
  left: 0;
  height: 31%;
  transform: translateY(-50%);
}

.traffic-road-horizontal::after {
  top: 50%;
  right: 0;
  left: 0;
  height: 3px;
  background: repeating-linear-gradient(
    to right,
    rgba(246, 245, 239, 0.9) 0 22px,
    transparent 22px 42px
  );
  transform: translateY(-50%);
}

.traffic-roundabout {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: min(68%, 470px);
  aspect-ratio: 1;
  background:
    radial-gradient(circle, transparent 0 47%, #20252f 48% 72%, transparent 73%),
    #0b2925;
  border: 3px solid rgba(246, 245, 239, 0.08);
  border-radius: 50%;
  box-shadow:
    0 30px 65px rgba(0, 0, 0, 0.38),
    inset 0 0 0 2px rgba(76, 234, 179, 0.08);
  transform: translate(-50%, -50%);
}

.traffic-roundabout::before {
  position: absolute;
  inset: 17%;
  content: "";
  background:
    radial-gradient(circle at 38% 31%, rgba(203, 255, 59, 0.42) 0 3px, transparent 4px),
    radial-gradient(circle at 66% 65%, rgba(76, 234, 179, 0.5) 0 4px, transparent 5px),
    radial-gradient(circle, #155c4b, #0d4138);
  border: 2px solid rgba(76, 234, 179, 0.52);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 16px rgba(76, 234, 179, 0.06),
    0 0 38px rgba(76, 234, 179, 0.14);
}

.traffic-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 13%;
  aspect-ratio: 1;
  border: 3px solid #4ceab3;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 8px #103f36,
    0 0 22px rgba(76, 234, 179, 0.4);
  transform: translate(-50%, -50%);
}

.traffic-car {
  position: absolute;
  z-index: 5;
  display: block;
  width: 9%;
  height: 16%;
  background: #ff665e;
  border: 3px solid rgba(255, 255, 255, 0.74);
  border-radius: 32% 32% 24% 24%;
  box-shadow:
    inset 0 13px #17212a,
    0 8px 15px rgba(0, 0, 0, 0.35);
}

.traffic-car::after {
  position: absolute;
  right: 14%;
  bottom: 10%;
  left: 14%;
  height: 7%;
  content: "";
  background: rgba(255, 255, 255, 0.62);
  border-radius: 999px;
}

.traffic-car-top {
  top: 3%;
  left: 51%;
  background: #ff665e;
  transform: rotate(7deg);
}

.traffic-car-right {
  top: 49%;
  right: 2%;
  background: #4ceab3;
  transform: rotate(98deg);
}

.traffic-car-bottom {
  bottom: 2%;
  left: 29%;
  background: #ffd633;
  transform: rotate(193deg);
}

.scene-label {
  position: absolute;
  bottom: 1.6rem;
  left: 1.7rem;
  z-index: 6;
  padding: 0.75rem 1rem;
  color: var(--black);
  background: var(--lime);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prosody-scene {
  position: relative;
  display: grid;
  min-height: 650px;
  padding: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 209, 142, 0.3), transparent 15rem),
    radial-gradient(circle at 82% 82%, rgba(178, 127, 255, 0.28), transparent 18rem),
    linear-gradient(145deg, #35203f, #1d1730 58%, #121426);
  border-radius: 3rem;
  isolation: isolate;
}

.prosody-scene::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 37px,
      rgba(255, 255, 255, 0.035) 38px,
      transparent 39px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 37px,
      rgba(255, 255, 255, 0.025) 38px,
      transparent 39px
    );
}

.prosody-sheet {
  position: relative;
  z-index: 2;
  width: min(100%, 620px);
  padding: clamp(1.6rem, 4vw, 3.2rem);
  color: #2d1b31;
  background:
    linear-gradient(rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0)),
    #f2ead7;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 1.7rem;
  box-shadow:
    0 38px 80px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(83, 52, 74, 0.08);
  transform: rotate(-1.5deg);
}

.prosody-sheet-head,
.prosody-sheet-note {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.54rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.prosody-sheet-head span:last-child {
  color: #765087;
}

.prosody-line {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.7rem 0.35rem;
  margin: clamp(3.5rem, 9vw, 7rem) 0 2.6rem;
  align-items: end;
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.3rem, 2.3vw, 1.9rem);
  line-height: 1;
}

.prosody-syllable {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  justify-self: center;
  color: #5063b1;
}

.prosody-syllable small {
  margin-bottom: 0.42rem;
  font-family: var(--mono);
  font-size: 0.55em;
  font-weight: 600;
}

.prosody-strong {
  color: #b94f43;
}

.prosody-footline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.prosody-footline span {
  padding-top: 0.72rem;
  color: #765087;
  border-top: 1px solid rgba(45, 27, 49, 0.26);
  text-align: center;
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
}

.prosody-sheet-note {
  color: #765087;
}

.prosody-sheet-note span:last-child {
  padding: 0.55rem 0.75rem;
  color: #f8f0df;
  background: #2d1b31;
  border-radius: 999px;
}

.prosody-boundary {
  margin-top: clamp(4rem, 7vw, 7rem);
}

.prosody-page .directory-card > div {
  min-width: 0;
}

.prosody-page .directory-card h2 {
  overflow-wrap: anywhere;
}

.checksum-list {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.checksum-list div {
  padding: 1.2rem;
  background: rgba(8, 8, 8, 0.055);
  border: 1px solid var(--line-light);
  border-radius: 1rem;
}

.checksum-list dt {
  color: var(--grey-dark);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.checksum-list dd {
  margin: 0.7rem 0 0;
}

.checksum-list code {
  font-size: 0.76rem;
  overflow-wrap: anywhere;
}

.license-text {
  max-width: 100%;
  margin: 1.5rem 0 0;
  padding: clamp(1rem, 3vw, 1.8rem);
  overflow-x: auto;
  color: #e5e0d3;
  background: var(--black-soft);
  border-radius: 1rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.65;
}

.stitch-scene {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 229, 181, 0.14), transparent 20rem),
    repeating-linear-gradient(
      112deg,
      rgba(255, 255, 255, 0.025) 0 1px,
      transparent 1px 18px
    ),
    linear-gradient(145deg, #8b422b, #522419 62%, #2c1511);
  isolation: isolate;
}

.stitch-scene::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 12% 76%, rgba(255, 216, 152, 0.12) 0 2px, transparent 3px),
    radial-gradient(circle at 84% 23%, rgba(255, 216, 152, 0.09) 0 1px, transparent 2px);
  background-size: 49px 49px, 37px 37px;
  mix-blend-mode: screen;
}

.stitch-board {
  position: absolute;
  inset: clamp(2rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4.5rem);
  z-index: 2;
  display: flex;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  flex-direction: column;
  justify-content: space-between;
  color: var(--black);
  background:
    linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    #e9d5ac;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2rem;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(64, 30, 18, 0.09);
  transform: rotate(-2deg);
}

.stitch-board-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stitch-board-head span:last-child {
  color: #81503b;
}

.stitch-rule {
  position: relative;
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  align-items: center;
}

.stitch-rule::before {
  position: absolute;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: rgba(79, 39, 27, 0.55);
}

.stitch-rule i {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: clamp(7px, 1vw, 11px);
  aspect-ratio: 1;
  background: #4e271e;
  border: 2px solid #c7a577;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(59, 25, 17, 0.28);
}

.stitch-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.stitch-metrics div {
  padding-top: 1rem;
  border-top: 1px solid rgba(79, 39, 27, 0.3);
}

.stitch-metrics span,
.stitch-metrics strong {
  display: block;
}

.stitch-metrics span {
  color: #81503b;
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stitch-metrics strong {
  margin-top: 0.45rem;
  font-size: clamp(0.75rem, 1.25vw, 1rem);
}

.stitch-board > p {
  max-width: 24rem;
  margin: 0;
  color: #81503b;
  font-size: 0.78rem;
  line-height: 1.6;
}

.app-overview-copy {
  display: flex;
  padding: clamp(2rem, 4.2vw, 4.5rem);
  justify-content: center;
  flex-direction: column;
  color: var(--black);
  background: var(--white);
}

.app-kicker {
  margin: 0 0 auto;
  font-family: var(--mono);
  font-size: 0.59rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-overview-copy h2 {
  margin: clamp(3rem, 7vw, 7rem) 0 2rem;
  font-size: clamp(3.2rem, 6vw, 6.5rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.app-overview-copy > p:not(.app-kicker) {
  max-width: 37rem;
  margin: 0;
  color: var(--grey-dark);
  font-size: 1rem;
  line-height: 1.75;
}

.app-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin: 2.4rem 0;
}

.mettlekin-page .app-facts {
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
}

.mettlekin-page .app-facts span {
  font-size: 0.62rem;
  line-height: 1.45;
  text-transform: none;
}

.app-facts div {
  padding-top: 1rem;
  border-top: 1px solid var(--line-light);
}

.app-facts strong,
.app-facts span {
  display: block;
}

.app-facts strong {
  font-size: 0.82rem;
}

.app-facts span {
  margin-top: 0.35rem;
  color: var(--grey-dark);
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.button-dark {
  gap: 1rem;
  width: fit-content;
  color: var(--white);
  background: var(--black);
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.button-dark:hover {
  color: var(--black);
  background: var(--lime);
  transform: translateY(-2px);
}

.app-directory {
  padding-top: clamp(5rem, 9vw, 9rem);
}

.support-details {
  margin-top: 0;
}

.not-found {
  display: grid;
  min-height: calc(100vh - 96px);
  padding: 4vw;
  place-items: center;
  text-align: center;
}

.not-found strong {
  display: block;
  color: var(--lime);
  font-size: clamp(9rem, 26vw, 26rem);
  font-weight: 600;
  line-height: 0.65;
  letter-spacing: -0.1em;
}

.not-found h1 {
  margin: 2.5rem 0 0;
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.07em;
}

.not-found p {
  color: var(--grey);
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0.9rem 1.3rem;
  align-items: center;
  justify-content: center;
  color: var(--black);
  background: var(--white);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Ink Caravan */
.ink-caravan-page {
  --ink-night: #101329;
  --ink-night-deep: #080b19;
  --ink-cyan: #63d9e7;
  --ink-blue: #4983dc;
  --ink-gold: #f1c863;
  --ink-coral: #f07c6c;
  --ink-cream: #fff4d8;
  background:
    radial-gradient(circle at 84% 4%, rgba(99, 217, 231, 0.2), transparent 31rem),
    radial-gradient(circle at 7% 48%, rgba(240, 124, 108, 0.14), transparent 29rem),
    linear-gradient(180deg, var(--ink-night-deep), var(--black) 68%);
}

.ink-caravan-page .eyebrow span {
  color: var(--ink-gold);
}

.ink-caravan-page .page-hero h1 em {
  color: var(--ink-cyan);
}

.ink-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
  gap: 1rem;
  padding: clamp(4rem, 8vw, 8rem) 3.5vw 1rem;
}

.ink-scene,
.ink-overview-copy {
  min-height: 650px;
  border-radius: 3rem;
}

.ink-scene {
  position: relative;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 18%, rgba(241, 200, 99, 0.15), transparent 13rem),
    radial-gradient(circle at 26% 56%, rgba(73, 131, 220, 0.34), transparent 17rem),
    linear-gradient(155deg, #22294d, #11152c 56%, #090b18);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.ink-scene::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.28;
  background-image:
    linear-gradient(30deg, transparent 48%, rgba(255,255,255,0.08) 49%, transparent 50%),
    linear-gradient(150deg, transparent 48%, rgba(255,255,255,0.06) 49%, transparent 50%);
  background-size: 120px 105px;
}

.ink-moon {
  position: absolute;
  top: 9%;
  right: 11%;
  width: clamp(110px, 15vw, 190px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink-cream);
  box-shadow:
    0 0 3rem rgba(241, 200, 99, 0.4),
    inset -2rem -1.1rem 0 rgba(241, 200, 99, 0.22);
}

.ink-road {
  position: absolute;
  right: -12%;
  bottom: -18%;
  left: -12%;
  height: 43%;
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(241, 200, 99, 0.64) 50%, transparent 50.3%),
    linear-gradient(165deg, #22283e, #0c0f20);
  border-top: 2px solid rgba(241, 200, 99, 0.28);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
}

.ink-stars i {
  position: absolute;
  width: 6px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink-gold);
  box-shadow: 0 0 1rem rgba(241, 200, 99, 0.8);
}

.ink-stars i:nth-child(1) { top: 13%; left: 15%; }
.ink-stars i:nth-child(2) { top: 25%; left: 39%; width: 4px; }
.ink-stars i:nth-child(3) { top: 39%; right: 15%; width: 4px; }
.ink-stars i:nth-child(4) { top: 7%; left: 51%; width: 3px; }
.ink-stars i:nth-child(5) { top: 45%; left: 10%; width: 3px; }

.ink-spirit {
  position: absolute;
  bottom: 18%;
  left: 13%;
  width: clamp(190px, 25vw, 310px);
  aspect-ratio: 0.82;
  filter: drop-shadow(0 1.2rem 2rem rgba(0, 0, 0, 0.44));
}

.ink-spirit-body {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(130deg, transparent 48.5%, rgba(16, 19, 41, 0.9) 49%, rgba(16, 19, 41, 0.9) 51%, transparent 51.5%),
    linear-gradient(45deg, transparent 48%, rgba(16, 19, 41, 0.72) 49%, rgba(16, 19, 41, 0.72) 51%, transparent 52%),
    linear-gradient(150deg, #a5f1e8 0 28%, #5bcbdc 29% 57%, #4c83d5 58% 78%, #2854a4 79%);
  border: 8px solid #11162e;
  border-radius: 55% 55% 49% 49% / 68% 68% 34% 34%;
  clip-path: polygon(50% 0, 90% 43%, 97% 68%, 85% 90%, 50% 100%, 15% 90%, 3% 68%, 10% 43%);
}

.ink-spirit-fin {
  position: absolute;
  top: 47%;
  z-index: -1;
  width: 35%;
  height: 30%;
  background: #4d8fd2;
  border: 7px solid #11162e;
}

.fin-left {
  left: -20%;
  border-radius: 80% 20% 70% 30%;
  transform: rotate(-25deg);
}

.fin-right {
  right: -20%;
  border-radius: 20% 80% 30% 70%;
  transform: rotate(25deg);
}

.ink-spirit .eye {
  position: absolute;
  top: 47%;
  width: 7%;
  aspect-ratio: 1;
  background: #101329;
  border-radius: 50%;
}

.ink-spirit .eye-left { left: 31%; }
.ink-spirit .eye-right { right: 31%; }

.ink-spirit .smile {
  position: absolute;
  top: 55%;
  left: 43%;
  width: 14%;
  height: 8%;
  border-bottom: 4px solid #101329;
  border-radius: 50%;
}

.ink-bubble {
  position: absolute;
  z-index: 2;
  aspect-ratio: 1;
  border: 3px solid rgba(165, 241, 232, 0.9);
  border-radius: 50%;
}

.bubble-one { top: 8%; right: -2%; width: 12%; }
.bubble-two { top: 26%; right: -18%; width: 7%; }

.ink-word-card,
.ink-spell-card {
  position: absolute;
  z-index: 3;
  display: grid;
  min-width: 104px;
  padding: 0.9rem 1.15rem 1rem;
  place-items: center;
  color: var(--ink-night);
  background: rgba(255, 244, 216, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 1.35rem;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
}

.ink-word-card {
  top: 18%;
  left: 12%;
  transform: rotate(-4deg);
}

.ink-spell-card {
  right: 9%;
  bottom: 16%;
  transform: rotate(5deg);
}

.ink-word-card span,
.ink-spell-card span {
  color: #3565aa;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
}

.ink-word-card strong,
.ink-spell-card strong {
  font-size: 3.1rem;
  font-weight: 500;
  line-height: 1.1;
}

.ink-word-card small,
.ink-spell-card small {
  color: #685d49;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ink-scene figcaption {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  left: 2rem;
  z-index: 4;
  color: rgba(255, 255, 255, 0.64);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ink-overview-copy {
  display: flex;
  padding: clamp(2rem, 4.2vw, 4.5rem);
  justify-content: center;
  flex-direction: column;
  color: var(--ink-night);
  background:
    radial-gradient(circle at 82% 12%, rgba(241, 200, 99, 0.27), transparent 14rem),
    var(--ink-cream);
}

.ink-overview-copy h2 {
  margin: clamp(3rem, 7vw, 7rem) 0 2rem;
  font-family: "Instrument Serif", serif;
  font-size: clamp(3.7rem, 7vw, 7.2rem);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.055em;
}

.ink-overview-copy > p:not(.app-kicker) {
  max-width: 39rem;
  margin: 0 0 0.75rem;
  color: #58584f;
  font-size: 1rem;
  line-height: 1.72;
}

.ink-overview-copy .app-facts {
  margin-top: 1.7rem;
}

.ink-caravan-page .support-card {
  color: var(--white);
  background:
    radial-gradient(circle at 90% 8%, rgba(99, 217, 231, 0.12), transparent 14rem),
    var(--black-soft);
}

.ink-caravan-page .support-card:nth-child(2n) {
  background:
    radial-gradient(circle at 90% 8%, rgba(241, 200, 99, 0.1), transparent 14rem),
    var(--black-soft);
}

.ink-caravan-page .support-card > span {
  color: var(--ink-cyan);
}

.ink-caravan-page .support-card:nth-child(2n) > span {
  color: var(--ink-gold);
}

.ink-caravan-page .support-card p {
  color: rgba(246, 245, 239, 0.7);
}

.ink-boundaries {
  border: 1px solid rgba(99, 217, 231, 0.17);
}

.ink-caravan-page .legal-copy code {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ink-caravan-page .directory-card > div {
  min-width: 0;
}

.ink-caravan-page .directory-card p {
  min-width: 0;
  overflow-wrap: anywhere;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

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

  .hero h1 {
    font-size: clamp(5rem, 16vw, 10rem);
  }

  .hero h1 span:last-child {
    align-self: flex-start;
  }

  .hero-lower {
    grid-column: 1;
  }

  .hero-canvas {
    position: relative;
    right: auto;
    bottom: auto;
    grid-column: 1;
    width: 100%;
    height: min(70vh, 650px);
  }

  .studio-statement,
  .work-heading {
    grid-template-columns: 1fr;
  }

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

  .studio-note {
    max-width: 30rem;
    margin-left: auto;
  }

  .notices-callout {
    grid-template-columns: 1fr;
  }

  .notice-orb {
    min-height: 420px;
    border-radius: 3rem;
  }

  .page-hero {
    grid-template-columns: 1fr;
  }

  .app-overview {
    grid-template-columns: 1fr;
  }

  .ink-showcase {
    grid-template-columns: 1fr;
  }

  .traffic-scene,
  .map-scene,
  .temari-scene,
  .stitch-scene,
  .page-pinch-scene,
  .mettlekin-scene,
  .app-overview-copy {
    min-height: 580px;
  }

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

  .site-footer > p {
    grid-column: 2;
  }

  .ink-scene,
  .ink-overview-copy {
    min-height: 580px;
  }
}

@media (max-width: 700px) {
  .bindery-page .site-header {
    gap: 1rem;
    align-items: stretch;
    flex-direction: column;
  }

  .bindery-page .site-nav {
    width: 100%;
    text-align: left;
  }

  .bindery-page .nav-cta {
    justify-content: flex-start;
  }

  .site-header {
    min-height: auto;
    padding-block: 1rem;
    align-items: flex-start;
  }

  .wordmark span {
    max-width: 8rem;
  }

  .site-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 0.8rem;
    text-align: right;
  }

  .site-nav > a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: flex-end;
  }

  .nav-cta {
    min-height: 44px;
    padding: 0.35rem 0;
    color: var(--grey);
    background: transparent;
    justify-content: flex-end;
  }

  .hero {
    padding-top: 1.5rem;
  }

  .hero-meta {
    flex-wrap: wrap;
    gap: 0.6rem 1.2rem;
  }

  .hero h1 {
    font-size: clamp(4rem, 16vw, 5.4rem);
    line-height: 0.79;
  }

  .hero-lower {
    grid-template-columns: 1fr;
  }

  .round-link {
    width: 96px;
  }

  .hero-canvas {
    height: 520px;
    border-radius: 2.5rem;
  }

  .device {
    width: 45%;
    border-radius: 2.2rem;
  }

  .device-back {
    left: 9%;
  }

  .device-front {
    right: 8%;
  }

  .surface-light {
    border-radius: 2.8rem 2.8rem 0 0;
  }

  .section-index {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
  }

  .studio-statement > p {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .studio-note {
    margin-left: 0;
  }

  .principles,
  .case-grid,
  .support-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card-wide {
    grid-column: auto;
  }

  .project-card {
    min-height: 560px;
    border-radius: 2.2rem;
  }

  .project-card-wide .project-art {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    min-height: 250px;
    margin: 1.2rem 0;
    transform: none;
  }

  .project-card-wide .project-art img {
    width: min(62%, 230px);
  }

  .project-card-wide .project-copy {
    max-width: 100%;
    margin: 0 0 2rem;
  }

  .project-copy h3 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .principle {
    min-height: 310px;
  }

  .work-heading h2,
  .notice-panel h2,
  .closing h2 {
    font-size: clamp(3.7rem, 16vw, 6rem);
  }

  .case-card {
    min-height: 550px;
    border-radius: 2.2rem;
  }

  .case-stage,
  .case-stage-center,
  .portfolio-count {
    min-height: 380px;
  }

  .app-symbol {
    width: 180px;
  }

  .stage-orbit {
    width: 290px;
  }

  .notice-panel {
    min-height: 570px;
    border-radius: 2.2rem;
  }

  .notice-panel h2 {
    margin-top: 7rem;
  }

  .closing-kicker,
  .closing-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

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

  .footer-links {
    flex-wrap: wrap;
  }

  .site-footer > p {
    grid-column: 1;
    justify-self: start;
  }

  .page-hero {
    min-height: 68vh;
  }

  .bindery-page .page-hero {
    width: 100%;
    min-width: 0;
    padding-inline: 1rem;
  }

  .temari-page .page-hero {
    width: 100%;
    min-width: 0;
    padding-inline: 1rem;
  }

  .bindery-page .page-hero > * {
    min-width: 0;
  }

  .temari-page .page-hero > * {
    min-width: 0;
  }

  .bindery-page .page-hero > div {
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
  }

  .temari-page .page-hero > div {
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
  }

  .page-hero h1 {
    font-size: clamp(4rem, 18vw, 7rem);
  }

  .bindery-page .page-hero h1 {
    max-width: 100%;
    font-size: clamp(3.25rem, 15vw, 4.5rem);
    overflow-wrap: break-word;
  }

  .temari-page .page-hero h1 {
    max-width: 100%;
    font-size: clamp(3.15rem, 14vw, 4.4rem);
    overflow-wrap: break-word;
  }

  .bindery-page .page-intro {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .temari-page .page-intro {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .directory-card {
    grid-template-columns: 38px 1fr auto;
    gap: 0.7rem;
  }

  .empty-state,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    margin: 1rem;
    padding: 2rem 1.4rem;
    border-radius: 2rem;
  }

  .legal-aside {
    position: static;
  }

  .support-card {
    min-height: 370px;
  }

  .app-overview {
    padding-inline: 1rem;
  }

  .ink-showcase {
    padding-inline: 1rem;
  }

  .traffic-scene,
  .map-scene,
  .temari-scene,
  .stitch-scene,
  .page-pinch-scene,
  .mettlekin-scene,
  .app-overview-copy {
    min-height: 500px;
    border-radius: 2.2rem;
  }

  .page-pinch-page .app-facts {
    grid-template-columns: 1fr;
  }

  .mettlekin-page .app-facts {
    grid-template-columns: 1fr;
  }

  .traffic-roundabout {
    width: min(79%, 390px);
  }

  .stitch-board {
    inset: 2.5rem 1.5rem 4.5rem;
    padding: 1.5rem;
  }

  .stitch-metrics {
    gap: 0.4rem;
  }

  .app-overview-copy {
    padding: 2rem 1.4rem;
  }

  .app-overview-copy h2 {
    margin-top: 5rem;
  }

  .app-facts {
    gap: 0.5rem;
  }

  .ink-scene,
  .ink-overview-copy {
    min-height: 510px;
    border-radius: 2.2rem;
  }

  .ink-spirit {
    bottom: 18%;
    left: 10%;
    width: min(48vw, 230px);
  }

  .ink-word-card {
    top: 12%;
    left: 7%;
  }

  .ink-spell-card {
    right: 6%;
    bottom: 15%;
  }

  .ink-word-card,
  .ink-spell-card {
    min-width: 88px;
    padding: 0.65rem 0.8rem 0.75rem;
  }

  .ink-word-card strong,
  .ink-spell-card strong {
    font-size: 2.5rem;
  }

  .ink-scene figcaption {
    right: 1.3rem;
    bottom: 1.3rem;
    left: 1.3rem;
  }

  .ink-caravan-page .directory-card h2 {
    font-size: clamp(1.6rem, 7.8vw, 2.1rem);
    overflow-wrap: normal;
    word-break: normal;
  }

  .temari-scene-icon {
    width: min(67%, 290px);
    transform: translateY(-17%);
  }

  .temari-audit-card {
    right: 1.3rem;
    bottom: 5.4rem;
    left: 1.3rem;
    min-width: 0;
    padding: 0.9rem;
  }
}

@media (max-width: 980px) {
  .prosody-scene {
    min-height: 580px;
  }
}

@media (max-width: 700px) {
  .prosody-scene {
    min-height: 520px;
    padding: 1.3rem;
    border-radius: 2.2rem;
  }

  .prosody-sheet {
    padding: 1.4rem;
    transform: none;
  }

  .prosody-sheet-head,
  .prosody-sheet-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .prosody-line {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    row-gap: 1.2rem;
    margin-block: 2.8rem 2rem;
    font-size: clamp(1.35rem, 7vw, 2rem);
  }

  .prosody-footline {
    margin-bottom: 2.5rem;
  }
}

/* Pop Patch */
.pop-patch-page {
  background:
    radial-gradient(circle at 84% 5%, rgba(91, 218, 235, 0.22), transparent 30rem),
    radial-gradient(circle at 9% 52%, rgba(255, 189, 103, 0.13), transparent 28rem),
    var(--black);
}

.pop-patch-page .page-hero h1 em {
  color: #7ce9f3;
}

.pop-patch-scene {
  position: relative;
  min-width: 0;
  min-height: 650px;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(124, 233, 243, 0.25), transparent 17rem),
    linear-gradient(145deg, #17394b, #0b1c2c 62%, #061119);
  border-radius: 3rem;
  isolation: isolate;
}

.pop-patch-scene svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 650px;
}

.pop-patch-scene figcaption {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  left: 1.4rem;
  z-index: 4;
  padding: 0.9rem 1rem;
  color: #06202a;
  background: rgba(205, 249, 251, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  box-shadow: 0 0.8rem 2rem rgba(5, 19, 27, 0.22);
  font-family: var(--mono);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.pop-patch-flats circle {
  fill: rgba(123, 181, 190, 0.38);
  stroke: rgba(245, 255, 255, 0.82);
  stroke-width: 3;
}

.pop-patch-flats path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.88);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 10 14;
}

.pop-patch-meter rect {
  fill: rgba(7, 26, 35, 0.86);
  stroke: rgba(235, 255, 255, 0.7);
  stroke-width: 2;
}

.pop-patch-meter circle {
  fill: #7ce9f3;
}

.pop-patch-meter path {
  fill: none;
  stroke: rgba(205, 249, 251, 0.34);
  stroke-width: 4;
  stroke-linecap: round;
}

.pop-patch-page .app-business-model {
  margin-top: 1.25rem !important;
  color: #344b54 !important;
  font-family: var(--mono);
  font-size: 0.62rem !important;
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.6 !important;
  text-transform: uppercase;
}

.pop-patch-page .button-dark {
  margin-top: 1.6rem;
}

.pop-patch-feature-grid .support-card:nth-child(1) {
  background: linear-gradient(145deg, #d4f7f7, #88dfe8);
}

.pop-patch-feature-grid .support-card:nth-child(2) {
  background: linear-gradient(145deg, #fff2be, #f2ba69);
}

.pop-patch-feature-grid .support-card:nth-child(3) {
  background: linear-gradient(145deg, #e8dcff, #bca7f8);
}

.pop-patch-feature-grid .support-card:nth-child(4) {
  background: linear-gradient(145deg, #d9f3d1, #91d6a8);
}

.pop-patch-boundaries {
  margin-top: clamp(5rem, 9vw, 9rem);
}

@media (max-width: 1000px) {
  .pop-patch-scene,
  .pop-patch-scene svg {
    min-height: 580px;
  }
}

@media (max-width: 700px) {
  .pop-patch-scene,
  .pop-patch-scene svg {
    min-height: 500px;
  }

  .pop-patch-scene {
    border-radius: 2.2rem;
  }

  .pop-patch-scene figcaption {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    padding-inline: 0.7rem;
    font-size: 0.5rem;
  }

  .pop-patch-page .app-facts {
    grid-template-columns: 1fr;
  }
}

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

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

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
