/* Multi-page portfolio. Shared editorial shell; no runtime dependencies. */
[hidden] {
  display: none !important;
}

@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: folio-page-out 0.12s ease-out both;
}
::view-transition-new(root) {
  animation: folio-page-in 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.folio-header {
  view-transition-name: folio-header;
}
@keyframes folio-page-out {
  to { opacity: 0; transform: translateY(-3px); }
}
@keyframes folio-page-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}
.motion-paused .home-copy,
.motion-paused .sculpture {
  animation-play-state: running !important;
}
.voice-intro > div > p:not(.folio-kicker) {
  max-width: 650px;
  font: 21px/1.5 var(--serif);
  color: var(--muted);
}
:root {
  --paper: #f1eee5;
  --paper-2: #e6e1d5;
  --ink: #141411;
  --muted: #66645d;
  --signal: #ef4d23;
  --acid: #d8ff4f;
  --blue: #4f6cff;
  --white: #fffdf6;
  --line: rgba(20, 20, 17, 0.21);
  --line-light: rgba(255, 253, 246, 0.2);
  --sans: "Bricolage Grotesque", sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --mono: "DM Mono", monospace;
}
* {
  box-sizing: border-box;
}
html {
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}
.folio-scroll-progress {
  position: fixed;
  z-index: 90;
  inset: 0 0 auto;
  height: 3px;
  pointer-events: none;
}
.folio-scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 5px;
}
::selection {
  background: #d8ff4f;
  color: var(--ink);
}
.folio-skip {
  position: absolute;
  top: -80px;
  left: 20px;
  z-index: 99;
  background: var(--ink);
  color: white;
  padding: 12px;
}
.folio-skip:focus {
  top: 12px;
}
.folio-header {
  height: 96px;
  padding: 0 5%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.folio-brand {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -2px;
}
.folio-brand > span {
  display: inline-block;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font: 9px/1.35 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}
.folio-brand i {
  color: var(--signal);
  font-style: normal;
}
.folio-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-self: center;
  font-size: 13px;
  white-space: nowrap;
}
.folio-nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}
.folio-nav a:hover,
.folio-nav a[aria-current="page"] {
  border-color: var(--signal);
}
.folio-status {
  justify-self: end;
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.folio-status:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #6a7d3f;
  border-radius: 50%;
  margin-right: 9px;
}
.folio-footer {
  border-top: 1px solid var(--line);
  margin: 0 5%;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font: 10px/1.8 var(--mono);
}
.folio-footer div {
  display: flex;
  gap: 24px;
}
.folio-kicker {
  font: 10px/1.8 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.home-stage {
  min-height: calc(100svh - 175px);
  padding: 7vh 5% 4vh;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 4vw;
  position: relative;
}
.home-copy {
  position: relative;
  z-index: 2;
}
.home-copy h1 {
  font-size: clamp(62px, 7.8vw, 122px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 500;
  margin: 27px 0 28px;
}
.home-copy h1 em {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.055em;
}
.home-intro {
  max-width: 420px;
  font: 19px/1.55 var(--serif);
  color: #51564a;
}
.home-actions {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  margin: 34px 0;
}
.folio-button {
  background: var(--ink);
  color: var(--paper);
  padding: 17px 23px;
  display: inline-flex;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.folio-button:hover {
  background: #35392b;
  transform: translateY(-2px);
}
.folio-button span {
  color: #d8ff4f;
  font-size: 20px;
}
.folio-text-link {
  font-size: 13px;
  border-bottom: 1px solid var(--ink);
  padding: 10px 0;
}
.home-note {
  font: 10px/1.8 var(--mono);
  color: var(--muted);
}
.sculpture {
  height: 520px;
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1000px;
  isolation: isolate;
}
.sculpture:before {
  content: "";
  position: absolute;
  inset: 4%;
  border: 1px solid #c8cabb;
  border-radius: 50%;
}
.sculpture:after {
  content: "";
  position: absolute;
  inset: 17%;
  border: 1px dashed #b9bdae;
  border-radius: 50%;
}
.sculpture-shadow {
  position: absolute;
  bottom: 12%;
  width: 200px;
  height: 25px;
  border-radius: 50%;
  background: #20241724;
  filter: blur(14px);
}
.sculpture-tilt {
  width: 230px;
  height: 230px;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, -12deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.4s;
}
.sculpture-core {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: object-turn 32s linear infinite;
}
.sculpture-core b {
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid #585f39;
  background: linear-gradient(135deg, #dce4b7e8, #a3b477e8);
  display: grid;
  place-items: center;
  font: 100px var(--serif);
  color: #343d22;
  backface-visibility: visible;
  box-shadow: inset 0 0 60px #ffffff35;
}
.sculpture-core b:nth-child(1) {
  transform: translateZ(115px);
}
.sculpture-core b:nth-child(2) {
  transform: rotateY(90deg) translateZ(115px);
}
.sculpture-core b:nth-child(3) {
  transform: rotateY(180deg) translateZ(115px);
}
.sculpture-core b:nth-child(4) {
  transform: rotateY(-90deg) translateZ(115px);
}
.sculpture-core b:nth-child(5) {
  transform: rotateX(90deg) translateZ(115px);
}
.sculpture-core b:nth-child(6) {
  transform: rotateX(-90deg) translateZ(115px);
}
.sculpture-tag {
  position: absolute;
  z-index: 3;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 8px 13px;
  font: 9px var(--mono);
  letter-spacing: 0.08em;
}
.sculpture-tag.t1 {
  top: 9%;
  left: 6%;
}
.sculpture-tag.t2 {
  bottom: 19%;
  right: 0;
}
.sculpture-caption {
  position: absolute;
  bottom: 0;
  font: 9px var(--mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.motion-toggle {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 5px 0;
  color: var(--muted);
  cursor: pointer;
  font: 10px var(--mono);
  position: absolute;
  right: 0;
  top: 0;
}
.motion-paused * {
  animation-play-state: paused !important;
}
.home-copy {
  animation: folio-arrive 0.8s both;
}
.sculpture {
  animation: folio-arrive 1.1s both;
}
@keyframes object-turn {
  from {
    transform: rotateX(-20deg) rotateY(25deg) rotateZ(-8deg);
  }
  to {
    transform: rotateX(-20deg) rotateY(385deg) rotateZ(-8deg);
  }
}
@keyframes folio-arrive {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page-intro {
  padding: 70px 5% 50px;
  max-width: 1500px;
  margin: auto;
}
.page-intro h1 {
  font-size: clamp(52px, 7vw, 100px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.03;
  margin: 20px 0;
}
.page-intro h1 em {
  font-family: var(--serif);
  font-weight: 400;
}
.page-intro > p:not(.folio-kicker) {
  max-width: 610px;
  font: 21px/1.5 var(--serif);
  color: var(--muted);
}
.library-bar {
  margin: 0 5% 28px;
  padding: 20px 0;
  border-block: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.library-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.library-filters button {
  background: none;
  border: 1px solid transparent;
  border-radius: 30px;
  padding: 9px 16px;
  cursor: pointer;
  font-size: 12px;
}
.library-filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.library-count {
  font: 10px var(--mono);
  color: var(--muted);
}
.study-grid {
  padding: 0 5% 70px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 25px;
}
.study-card {
  min-width: 0;
  display: block;
}
.study-art--screenshot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--ink);
  transition: transform 0.3s;
}
.study-card:hover .study-art--screenshot img { transform: scale(1.025); }
.study-art--screenshot .study-number,
.study-art--screenshot .study-arrow {
  background: var(--paper);
  color: var(--ink);
  opacity: 1;
  padding: 6px 9px;
}
.study-art--screenshot .study-number { top: 10px; left: 10px; }
.study-art--screenshot .study-arrow { bottom: 10px; right: 10px; }
.story-preview { margin: 0; min-width: 0; }
.story-preview--wide { width: 90%; max-width: 1060px; margin: 0 auto 55px; }
.detail-page .deep-screens > .screen { min-width: 0; }
.detail-page .screen__chrome b { min-width: 0; }
.detail-page .asset-out__code { min-width: 0; }
.detail-page .asset-out__code pre { max-width: 100%; overflow-x: auto; }
.detail-page .case__sticky { min-width: 0; }
@media (max-width: 400px) {
  .detail-page .case--newsclaw .case__sticky h3 { font-size: clamp(48px, 16vw, 64px); }
  .detail-page .screen figcaption,
  .detail-page .mock-preview__nav { flex-wrap: wrap; }
}
.story-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}
.story-preview figcaption {
  margin-top: 10px;
  color: var(--muted);
  font: 10px/1.5 var(--mono);
}
.study-card[hidden] {
  display: none;
}
.study-art {
  height: 245px;
  position: relative;
  overflow: hidden;
  background: #dedfd2;
  display: grid;
  place-items: center;
  border: 1px solid #b9bdab;
  perspective: 600px;
}
.study-card:nth-child(4n + 2) .study-art {
  background: #242921;
  color: #cdd9aa;
}
.study-card:nth-child(4n + 3) .study-art {
  background: #d8dfea;
}
.study-card:nth-child(4n + 4) .study-art {
  background: #e8ddd3;
}
.study-number {
  position: absolute;
  top: 16px;
  left: 18px;
  font: 10px var(--mono);
  opacity: 0.65;
}
.study-arrow {
  position: absolute;
  bottom: 14px;
  right: 18px;
  font-size: 24px;
  transition: transform 0.3s;
}
.study-card:hover .study-arrow {
  transform: translate(3px, -3px);
}
.study-object {
  position: relative;
  width: 120px;
  height: 120px;
  transform: rotateX(45deg) rotateZ(-35deg);
  transform-style: preserve-3d;
  transition: transform 0.6s;
}
.study-object i {
  position: absolute;
  inset: 0;
  border: 1px solid currentColor;
  background: #cad5b0cc;
  box-shadow: 10px 14px 25px #00000012;
}
.study-object i:nth-child(2) {
  transform: translateZ(28px);
  background: #e8edddbb;
}
.study-object i:nth-child(3) {
  transform: translateZ(56px);
  background: #f4f4e8dd;
}
.study-card:hover .study-object {
  transform: rotateX(55deg) rotateZ(-15deg) translateZ(10px);
}
.study-card[data-category="voice"] .study-object i {
  border-radius: 50%;
  background: transparent;
  border-width: 2px;
}
.study-card[data-category="education"] .study-object {
  width: 88px;
  height: 126px;
}
.study-card h2 {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 16px 0 8px;
}
.study-card p {
  font: 17px/1.5 var(--serif);
  margin: 0 0 12px;
  max-width: 340px;
}
.study-card small {
  font: 9px/1.7 var(--mono);
  color: var(--muted);
}
.library-extra {
  padding: 55px 5%;
  background: #e5e4d8;
  border-top: 1px solid var(--line);
}
.library-extra h2 {
  font-size: 36px;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.extra-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 45px;
}
.extra-list details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.extra-list summary {
  cursor: pointer;
  font-size: 18px;
}
.extra-list p {
  font: 17px/1.6 var(--serif);
  max-width: 560px;
}
.extra-list a {
  text-decoration: underline;
}
.case-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 5%;
  border-bottom: 1px solid var(--line);
  font: 11px var(--mono);
}
.story-hero {
  padding: 55px 5% 65px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 7%;
  align-items: center;
}
.story-hero h1 {
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.06em;
  margin: 20px 0;
}
.story-hero p {
  font: 23px/1.45 var(--serif);
  max-width: 600px;
}
.story-hero .study-art {
  height: 360px;
}
.story-meta {
  font: 10px/1.8 var(--mono);
  color: var(--muted);
}
.story-body {
  padding: 60px 10%;
  background: #e7e7dc;
}
.story-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.story-block h2 {
  font-size: 26px;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.035em;
}
.story-block p {
  font: 21px/1.6 var(--serif);
  margin: 0 0 20px;
}
.story-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 45px 0;
}
.story-flow div {
  padding: 26px 18px;
  background: var(--paper);
  min-width: 0;
}
.story-flow small {
  display: block;
  font: 10px var(--mono);
  color: var(--signal);
  margin-bottom: 25px;
}
.story-flow b {
  font-size: 17px;
  font-weight: 500;
}
.story-close {
  padding: 65px 5%;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
}
.story-close h2 {
  font: 42px var(--serif);
  margin: 0;
}
.story-demo {
  display: block;
  width: min(100%, 900px);
  aspect-ratio: 16/9;
  border: 0;
  margin: 30px auto;
}
.story-body--case {
  padding-top: 0;
  background:
    linear-gradient(rgba(20, 20, 17, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 17, 0.055) 1px, transparent 1px),
    #e7e7dc;
  background-size: 44px 44px;
}
.story-system {
  --story-accent: var(--signal);
  position: relative;
  display: grid;
  grid-template-columns: minmax(175px, 0.85fr) 42px minmax(175px, 0.85fr) 42px minmax(210px, 1.15fr);
  align-items: stretch;
  padding: 58px 0;
}
.story-system__node {
  position: relative;
  min-height: 190px;
  padding: 25px;
  border: 1px solid var(--line);
  background: rgba(241, 238, 229, 0.94);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.story-system__node::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -60px;
  width: 145px;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--story-accent), transparent 30%);
  border-radius: 50%;
}
.story-system__node--active {
  background: var(--ink);
  color: var(--paper);
}
.story-system__node small,
.story-ledger small,
.story-stat small {
  font: 9px/1.5 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.story-system__node--active small { color: var(--story-accent); }
.story-system__node strong {
  max-width: 240px;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.story-system__node span {
  position: relative;
  z-index: 1;
  max-width: 240px;
  font: 16px/1.35 var(--serif);
  color: var(--muted);
}
.story-system__node--active span { color: rgba(255, 253, 246, 0.66); }
.story-system__link {
  display: grid;
  place-items: center;
  font: 22px var(--mono);
  color: var(--story-accent);
}
.story-ledger {
  margin: 14px 0 50px;
  border-top: 1px solid var(--line);
}
.story-ledger > div {
  display: grid;
  grid-template-columns: 42px minmax(150px, 0.8fr) 2fr;
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.story-ledger b {
  font-size: 16px;
  font-weight: 500;
}
.story-ledger p {
  margin: 0;
  max-width: 720px;
  font: 17px/1.5 var(--serif);
  color: var(--muted);
}
.story-pullquote {
  margin: 35px 0 60px;
  padding: 48px clamp(25px, 5vw, 70px);
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.story-pullquote::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid var(--signal);
  border-radius: 50%;
  right: -120px;
  top: -130px;
}
.story-pullquote p {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0;
  font: clamp(28px, 4vw, 56px)/1.05 var(--serif);
  letter-spacing: -0.035em;
}
.story-pullquote small {
  display: block;
  margin-bottom: 22px;
  font: 9px var(--mono);
  color: var(--acid);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
  margin: 30px 0 55px;
}
.story-stat {
  background: var(--paper);
  padding: 25px;
}
.story-stat strong {
  display: block;
  margin: 25px 0 6px;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}
.story-stat span { font: 15px/1.4 var(--serif); color: var(--muted); }
.story-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding-top: 8px;
}
.detail-page .case__number {
  display: none;
}
.detail-page .folio-header {
  position: relative;
}
.detail-page .folio-footer {
  color: var(--ink);
}
.voice-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
}
.voice-intro h1 {
  font-size: clamp(48px, 5vw, 76px);
}
.voice-intro--compact {
  padding-top: 42px;
  padding-bottom: 30px;
}
.voice-intro--compact h1 {
  margin-bottom: 12px;
}
.voice-shell {
  margin: 0 5% 65px;
  border: 1px solid var(--line);
  background: #e5e6da;
  position: relative;
  overflow: hidden;
}
.voice-welcome {
  min-height: 370px;
  padding: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 65px;
}
.voice-orb {
  height: 180px;
  width: 180px;
  border-radius: 50%;
  border: 1px solid #8a966c;
  display: grid;
  place-items: center;
  position: relative;
  background: radial-gradient(circle at 30% 25%, #f1f5da, #a9ba7e);
  box-shadow:
    inset -15px -20px 40px #78865255,
    0 25px 50px #68744522;
}
.voice-orb:before {
  content: "";
  position: absolute;
  inset: -20px;
  border: 1px solid #8a966c;
  border-radius: 50%;
  transform: rotateX(60deg);
  animation: object-turn 20s linear infinite;
}
.voice-orb b {
  font: 52px var(--serif);
}
.voice-welcome h2 {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.voice-welcome p {
  max-width: 390px;
  font: 18px/1.6 var(--serif);
}
.voice-status {
  font: 11px/1.6 var(--mono) !important;
  color: var(--muted);
}
.voice-frame {
  width: 100%;
  height: 1050px;
  border: 0;
  display: block;
  background: var(--paper);
}
.voice-frame[hidden] {
  display: none;
}
.voice-frame-loader {
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  height: 1050px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  padding: 40px;
  background:
    linear-gradient(rgba(20, 20, 17, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 17, 0.055) 1px, transparent 1px),
    var(--paper);
  background-size: 36px 36px;
  transition: opacity 0.28s ease, visibility 0s 0.28s;
}
.voice-shell.is-ready .voice-frame-loader {
  opacity: 0;
  visibility: hidden;
}
.voice-frame-loader__orb {
  width: 112px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--signal);
  box-shadow:
    0 0 0 12px var(--paper),
    0 0 0 13px var(--ink),
    0 0 0 34px rgba(239, 77, 35, 0.12);
  animation: voice-loader-pulse 1.8s ease-in-out infinite;
}
.voice-frame-loader__orb span {
  color: var(--white);
  font-size: 35px;
  font-weight: 700;
  letter-spacing: -0.08em;
}
.voice-frame-loader p {
  margin: 0 0 10px;
  color: var(--signal);
  font: 10px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.voice-frame-loader strong {
  display: block;
  font-size: clamp(27px, 3vw, 46px);
  line-height: 1;
  letter-spacing: -0.05em;
}
.voice-frame-loader small {
  display: block;
  margin-top: 15px;
  color: var(--muted);
  font: 12px/1.5 var(--mono);
}
@keyframes voice-loader-pulse {
  50% {
    transform: scale(1.045);
    box-shadow: 0 0 0 12px var(--paper), 0 0 0 13px var(--ink), 0 0 0 48px rgba(239, 77, 35, 0.04);
  }
}
.voice-unavailable {
  min-height: 420px;
  padding: 55px;
  place-content: center;
  text-align: center;
}
.voice-unavailable:not([hidden]) {
  display: grid;
}
.voice-unavailable h2 {
  margin: 0 0 12px;
  font-size: 32px;
}
.voice-unavailable p {
  font: 18px/1.5 var(--serif);
}

/* Home retains the original editorial systems-lab visual language while the
   information architecture lives across dedicated pages. */
.home-hero {
  min-height: calc(100svh - 96px);
  padding-top: clamp(48px, 7vh, 84px);
}
.home-hero > *,
.home-hero .hero__copy,
.home-hero .hero__footer {
  min-width: 0;
}
.home-proof {
  padding: clamp(85px, 10vw, 150px) max(24px, calc((100% - 1432px) / 2)) clamp(68px, 7vw, 105px);
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(55px, 8vw, 130px);
}
.home-proof__intro h2 {
  margin: 26px 0;
  font-size: clamp(50px, 6.5vw, 106px);
  font-weight: 650;
  font-stretch: 82%;
  letter-spacing: -0.065em;
  line-height: 0.88;
  text-transform: uppercase;
}
.home-proof__intro h2 em {
  font-family: var(--serif);
  font-weight: 300;
  text-transform: none;
}
.home-proof__intro > p:not(.eyebrow) {
  max-width: 520px;
  margin: 0 0 34px;
  color: rgba(255, 253, 246, 0.72);
  font: clamp(18px, 1.5vw, 23px)/1.45 var(--serif);
}
.home-proof__list {
  border-top: 1px solid var(--line-light);
}
.home-proof__list > a {
  position: relative;
  isolation: isolate;
  display: block;
  padding: 30px 54px 30px 0;
  border-bottom: 1px solid var(--line-light);
  overflow: hidden;
  transition: color 0.3s;
}
.home-proof__list > a::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--signal);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.home-proof__list > a > * {
  position: relative;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s;
}
.home-proof__list > a:hover::before,
.home-proof__list > a:focus-visible::before {
  transform: scaleY(1);
}
.home-proof__list > a:hover,
.home-proof__list > a:focus-visible {
  color: var(--ink);
}
.home-proof__list > a:hover > *,
.home-proof__list > a:focus-visible > * {
  transform: translateX(18px);
}
.home-proof__list small,
.home-proof__list > a > span {
  font: 9px/1.6 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}
.home-proof__list h3 {
  margin: 8px 0;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 580;
  letter-spacing: -0.055em;
}
.home-proof__list p {
  max-width: 560px;
  margin: 0 0 13px;
  color: rgba(255, 253, 246, 0.72);
  font: 18px/1.5 var(--serif);
}
.home-proof__list > a:hover p,
.home-proof__list > a:focus-visible p {
  color: rgba(20, 20, 17, 0.75);
}
.portfolio-bridge {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1.3fr) 78px;
  align-items: center;
  gap: 5vw;
  min-height: 210px;
  padding: 38px max(24px, calc((100% - 1432px) / 2));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}
.portfolio-bridge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.portfolio-bridge:hover::before,
.portfolio-bridge:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left;
}
.portfolio-bridge > * {
  position: relative;
  z-index: 1;
}
.portfolio-bridge__count {
  display: flex;
  align-items: end;
  gap: 14px;
}
.portfolio-bridge__count strong {
  font-size: clamp(68px, 8vw, 120px);
  line-height: 0.72;
  letter-spacing: -0.08em;
}
.portfolio-bridge small {
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.portfolio-bridge__copy {
  display: grid;
  gap: 10px;
}
.portfolio-bridge__copy strong {
  max-width: 870px;
  font-size: clamp(30px, 4vw, 62px);
  font-weight: 560;
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.portfolio-bridge__action {
  display: grid;
  place-items: center;
  width: 64px;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 24px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s;
}
.portfolio-bridge:hover .portfolio-bridge__action,
.portfolio-bridge:focus-visible .portfolio-bridge__action {
  background: var(--paper);
  transform: rotate(45deg) scale(1.08);
}
.home-page .ecosystem {
  padding-top: clamp(95px, 9vw, 145px);
}
.folio-js [data-home-reveal] {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.82s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-order, 0) * 45ms);
}
.folio-js [data-home-reveal].is-visible {
  opacity: 1;
  transform: none;
}
.home-page .hero__copy,
.home-page .system-map {
  will-change: transform;
}
.voice-help {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  font: 11px/1.7 var(--mono);
}
.voice-help a {
  text-decoration: underline;
}
.about-layout {
  padding: 0 5% 70px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 8%;
}
.about-monogram {
  min-height: 380px;
  background: #d9dfc6;
  display: grid;
  place-items: center;
  font: 150px var(--serif);
  border: 1px solid var(--line);
}
.about-copy p {
  font: 23px/1.65 var(--serif);
}
.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.about-facts dt {
  font: 10px var(--mono);
  color: var(--muted);
}
.about-facts dd {
  margin: 10px 0;
  font-size: 15px;
}
@media (min-width: 1600px) {
  .home-stage {
    max-width: 1600px;
    margin: auto;
  }
}
@media (max-width: 1000px) {
  .folio-brand > span {
    display: none;
  }
  .folio-status {
    display: none;
  }
  .sculpture {
    height: 420px;
  }
  .sculpture-core b {
    width: 180px;
    height: 180px;
  }
  .sculpture-tilt {
    width: 180px;
    height: 180px;
  }
  .sculpture-core b:nth-child(1) {
    transform: translateZ(90px);
  }
  .sculpture-core b:nth-child(2) {
    transform: rotateY(90deg) translateZ(90px);
  }
  .sculpture-core b:nth-child(3) {
    transform: rotateY(180deg) translateZ(90px);
  }
  .sculpture-core b:nth-child(4) {
    transform: rotateY(-90deg) translateZ(90px);
  }
  .sculpture-core b:nth-child(5) {
    transform: rotateX(90deg) translateZ(90px);
  }
  .sculpture-core b:nth-child(6) {
    transform: rotateX(-90deg) translateZ(90px);
  }
  .study-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .study-art {
    height: 230px;
  }
  .story-flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-system {
    grid-template-columns: 1fr 30px 1fr;
  }
  .story-system__node:last-child {
    grid-column: 1 / -1;
    margin-top: 30px;
  }
  .story-system__link:nth-of-type(4) { display: none; }
  .home-proof {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .folio-header {
    height: 80px;
    grid-template-columns: auto 1fr;
    gap: 15px;
  }
  .folio-nav {
    gap: 15px;
    font-size: 11px;
  }
  .folio-brand {
    font-size: 23px;
  }
  .folio-brand > span {
    display: none;
  }
  .home-stage {
    grid-template-columns: 1fr;
    padding-top: 45px;
    gap: 20px;
  }
  .home-copy h1 {
    font-size: 66px;
  }
  .home-intro {
    font-size: 19px;
    max-width: 340px;
  }
  .home-actions {
    gap: 18px;
  }
  .sculpture {
    height: 350px;
    margin-bottom: 30px;
  }
  .sculpture-tag.t1 {
    left: 0;
  }
  .folio-footer {
    flex-direction: column;
    gap: 12px;
  }
  .page-intro {
    padding-top: 42px;
  }
  .study-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .study-art {
    height: 265px;
  }
  .extra-list {
    grid-template-columns: 1fr;
  }
  .story-hero {
    grid-template-columns: 1fr;
  }
  .story-hero .study-art {
    height: 260px;
    margin-top: 25px;
  }
  .story-block {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .story-system {
    grid-template-columns: 1fr;
    padding: 38px 0;
  }
  .story-system__link {
    min-height: 42px;
    transform: rotate(90deg);
  }
  .story-system__node:last-child {
    grid-column: auto;
    margin-top: 0;
  }
  .story-ledger > div {
    grid-template-columns: 34px 1fr;
  }
  .story-ledger p { grid-column: 2; }
  .story-stats { grid-template-columns: 1fr; }
  .story-body {
    padding: 30px 5%;
  }
  .story-close {
    flex-direction: column;
    align-items: start;
  }
  .voice-intro {
    display: block;
  }
  .home-hero {
    min-height: auto;
    padding-top: 46px;
  }
  .home-hero .hero__copy,
  .home-hero .system-map {
    width: 100%;
    max-width: 100%;
  }
  .home-proof {
    padding-block: 75px;
    gap: 48px;
  }
  .portfolio-bridge {
    grid-template-columns: 1fr auto;
    gap: 28px 16px;
    min-height: 0;
    padding-top: 42px;
    padding-bottom: 42px;
  }
  .portfolio-bridge__count {
    grid-column: 1 / -1;
  }
  .portfolio-bridge__count strong {
    font-size: 70px;
  }
  .portfolio-bridge__copy strong {
    font-size: 32px;
  }
  .portfolio-bridge__action {
    width: 52px;
  }
  .voice-welcome {
    flex-direction: column;
    gap: 30px;
    padding: 40px 24px;
  }
  .voice-orb {
    width: 130px;
    height: 130px;
  }
  .voice-frame {
    height: 1750px;
  }
  .voice-frame-loader {
    height: 1750px;
    flex-direction: column;
    gap: 42px;
    padding: 34px 24px;
    text-align: center;
  }
  .voice-frame-loader__orb {
    width: 92px;
  }
  .voice-help {
    flex-direction: column;
    gap: 10px;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-monogram {
    min-height: 230px;
    font-size: 100px;
  }
  .about-copy p {
    font-size: 21px;
  }
  .story-meta {
    overflow-wrap: anywhere;
  }
  .case-nav {
    font-size: 10px;
  }
  .study-card h2 {
    font-size: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .sculpture-core {
    transform: rotateX(-20deg) rotateY(25deg) rotateZ(-8deg);
  }
  ::view-transition-old(root),
  ::view-transition-new(root),
  .folio-page main {
    animation: none !important;
  }
  .folio-js [data-home-reveal] {
    opacity: 1;
    transform: none;
  }
}
